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

The second Mauna Lua example was precisely what I was working with, but yeah that was my guide.

How else would one fit such a Gaussian Process then? The code does not seem too idiosyncratic, only utilizing 3 priors and 1 kernel. I imagine there is probably another way to define the Periodic component outside of pm.gp.Marginal?