結果 : calculate log likelihood python