Add the log of the pdf for the Gamma distribution.