added check for non-finite p-value out of log-like ratio test -- issue warning and set pvalue to 1 if that happens