How to use pymc3 for survival analysis?

It adds the log-likelihood of the observed into the model. For more information see:

and