loglikelihoodepiILM function

Calculates the log likelihood