Bug in log-likelihood of the STM model