The maximum flux of star-forming galaxies