4N25 opto leaking ?

Here is the updated diagram with the new input pin values