Erros when calling a function when using pymc3

Thanks,I will try to accomplish using scan and find out if those functions will work the same as numpy or spicy , but I’m not familiar with scan,I will try.