Thank you Andrei. One more question: Although I get for some inputs using this, that they do belong in the support, when I try to compute their log-likelihood I still get the error:
ValueError: The value argument must be within the support
Any ideas on why this may be happening?