Blazar 3.5 billion light-years from Earth provides better understanding of physics powering their massive optical flare