The battery was bad. I guess I should do another and a leak down
Hey bud, I was having the same problems as you with the detonation and primarily when it was hot/warm..every sensor that I checked was perfectly in spec. I found my air pump leaking vacuum so I replaced it with the delete pulley from UPR, yet the fault was still there on being sluggish and detonating.
I vacuum tested the system and noticed on the EGR, with "slight" throttle on the road(under load) I would loose almost all vacuum**again only slight throttle**, which meant the EGR was open to early making the lean mixture.. On the FPR vacum was good at any throttle grade..looked at the vacuum circuit..FPR and EGR are on a different circuit, right away knew there was a leak on the EGR circuit side....btw: When I deleted the air pump I jammed bolts in the vacuum ends from the air pump..
So I capped off the throttle body and I smoke tested entire vacuum circuit..The bolts that I had jammed in the vacuum rubber fittings to the air pump where slightly leaking smoke, smoke was running along the threads to breath/vent..I removed the fitted and kept the bolts still in place, tried to vacuum the fitting with a pump, could not hold any vacuum...I removed the bolts and stuffed Right Stuff black silicone into the ports(let it dry)...Smoke tested again, no leaks, filled it with nitrogen from the smoke machine tester, system held the pressure..drove the car...AMAZING!! Instant fix!!...It's only been 1 day, but throttle response, detonation, sluggish, idle..has all been fixed..
Going to get a hold on a timing light and see if I can pull more that 10* now, compared to before I was at 8* to reduce the detonation..
If you can, I'd try and smoke test the circuit, even through the fittings are tight doesn't mean there not leaking..then use the nitrogen on the smoke machine to fill the system and see if it holds, if it doesn't..you'd be still shooting for a vacuum leak again..hope this helps dude