You had the head gaskets replaced ??
Couple things...
Thinner headgasket could be increasing compression...
or
Were the heads milled/shaved - were they warped ?
- Both would cause an increase in compression
or
carbon build up
Try a can of top engine cleaner - see if the ping goes away.
Follow the directions on the can