update writing of summary.log for _CalcProbs.py script