Welcome back:
I have a feeling the knock sensor is what is causing the problem. The computer uses the knock sensor to adjust ignition timing. If it isn't working, it is the most likely cause.
If you look at pic 1, it shows where the knock sensor (detonation sensor) is located. That needs done first. I say first because the knock sensor could be causing issues with the oxygen sensor.
There is one o2 sensor and it is located on the exhaust manifold. See pic 2. These sensor can become corroded and very difficult to remove, so two things. First, there is a special socket designed for removing them because of the wiring harness that come off them. See if the parts store will lend you that tool. Second, when you install the new one, I recommend using anti-seize on the threads of the new sensor before installing it.
One last thing, the code 13 indicates an open circuit to the o2 sensor. That means there is no connection. Before replacement, make sure the connector is properly plugged in and no wires are broken. The sensor could be fine but disconnected. And now that I think of it, the knock sensor wouldn't cause that to happen.
As far as the code 11, that indicates a malfunction in the indicator lamp circuit. That shouldn't have anything to do with the conditions you have.
Let me know if this helps or if you have other questions.
Take care,
Joe
Images (Click to make bigger)
Saturday, July 13th, 2019 AT 9:01 PM