raise exeption if add lightcurve fails