結果 : how to do maximum likelihood estimation in python