Maximum Likelihood Estimation of Flexible Survival Densities with Importance Sampling