Function to obtain restricted log-likelihood and the first derivatives of the log-likelihood, given values for the penalty parameters
Useful links