Optimized saving avg_losses [skip hazardlib]
Optimized saving avg_losses [skip hazardlib]


Former-commit-id: e4a2f5529aa31dac2d320da3e6ac2b62a9b13b58
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine