Penalised Maximum Likelihood for Survival Analysis Models