getLogPosteriorTrace function

getLogPosteriorTrace