Different values between pymc3 and stan

Thanks. Can you please help me to understand how exactly pymc3 creates Linkelihood function for such type of model? How exactly can I transform this pymc3 model to stan?