Censored Weibull

There is one thing else missing in your code which might help too. You are not taking log of the difference as far as I can see. You should return

return pm.math.log(U - L)

however for this to work you have to either discard data where U=L or do like I did (which I think is more sensible if I did not misunderstand your data). Nevertheless if you throw away U=L and return log you get

1 Like