added warning for setting the flux value to zero. in our case this is not a problem, but it might be for other users so i made a warning message for it.