Try model.debug() and see if it helps.
Otherwise this seems like a typo?
intercept = pm.Normal('intercept', mu = intercept_mean, sd = intercept_mean)
I imagine you want sd = intercept_std
Try model.debug() and see if it helps.
Otherwise this seems like a typo?
intercept = pm.Normal('intercept', mu = intercept_mean, sd = intercept_mean)
I imagine you want sd = intercept_std