Trying to use a prior distribution inside a logarithm

Glad you find a solution - I think the problem is likely that x is a pandas serie
Also, you should get the warning fix otherwise your pymc3 model will be quite slow - installing from Conda (Anaconda or Miniconda) is usually recommended