calculated log likelihood