Calculating marginal likelihood of GP Model

You can do model.logp(mp) to get the model logp (up to a constant) at the point of MLE.