logdensity