Your injector duty cycle is over 100% when you are getting knock. And your fuel trims are high. I'd look for a vac leak.