persist x limits when saving figure to database. added sem, but if mswd>1 to regressor error calc.  updated flux task error calc