printing max loss in callgrind file