Measuring the luminosity of stars is difficult because the distance of stars relative to Earth makes it difficult to measure the brightness.