Custom likelihood computation with no direct model-data comparison

I suggest you try just a few samples with the default PyMC trace. I am confident the Deterministic will show in the trace obtained that way. Then you have to figure out why it is not showing up with your custom trace. CC @michaelosthege