CTMP Likelihood function