new file for checking how flux changes with intensity