Just to add more context, similar discussion has been held at
Pystan log-probability confusing! and How exactly is lp__ being calculated which could shed more details on why all this stuff happens :-)
6 Likes