Description
In PyMC3 we did not recorde the model logp to the trace. Today I came across this explanation from Betancourt, which I think it is quite excellent and we should consider adding it to the trace or output the diagnoistics: http://discourse.mc-stan.org/t/convergence-failure-maybe-in-brms/4148/7. Copied below:
lp__ tends to be extremely sensitive to the autocorrelation of the Markov chain and hence provides a reasonable bound on how well any function of the variables will converge. In other words, ensuring that the diagnostics for lp__ are good gives you the strongest evidence that your fit is okay but if you focus only on a few variables and carefully check the diagnostics for those variables then you may be able to ignore lp__ for that very specific context.