The discovery marks the first time researchers have detected light along with gravitational waves.