I will look into what I can do to make a minimum reproducible example. I am using PyMC version 5.8.1.