write confidence intervals to file