mainly dealt with the fact that the bandflux() method returns both average flux and average flux error.