calc_log_like function

Calculate the Log-Likelihood