Electromagnetic evidence that SSS17a is the result of a binary neutron star merger