This site has a good video explaining how you can diagnose if the optos are functioning correctly. System 3's are known for getting cracked solder joints on those opto boards, you might have wiggled some wires while working on the machine and need to reflow the solder joints.
https://pinballhelp.com/diagnosing-and-testing-optos-on-a-gottlieb-system-3-waterworld/