revise log likelihood