Error happens in model after modifying PyMC3 source code

Thanks Junpeng.
I read that once, but it is not very helpful to my problem at hand. So I prefer to backup the PyMC3 source code (at the worse case I can still reinstall the whole package) and modify it, during which I also learn quite a bit.