The “flexsurvreg_prob” function gives an issue with the generalized gamma. All the risks of dying after the value 1 are reported as NaN.