Astronomers detect light and gravity from cosmic explosion