llikChisq function

log likelihood and derivatives for chi-squared distribution