Add exception handling into ScoreEstimate.py