log likelihood function gamma distribution