Model doesn't contain any free variables error

No, I don’t think so. The model runs for me, removing the shapes and also the njobs. What version of PyMC3 are you running?

Can you also share what seq_x looks like?