Either "too many indices for array" or "array must not contain infs or NaNs" error with a GP

The code seems an adaptation of https://bwengals.github.io/looking-at-the-keeling-curve-with-gps-in-pymc3.html, which probably doesn’t work in pymc3 anymore.