logLik1 function

Calculates contribution of one subject to the log-likelihood