"Have you checked the power-supply voltages when this problem occurs?" yes and they remained normal.
"If the pic is in a socket what signals are you getting if you swap the pic outputs, or lift the pin out of the socket?" Swap which outputs?
"It seems to reset to zero at 06:47?" Yes at 06:47:43 is when it resets and then continue to do it about every 1min or 2 after that. I think right before this it ran for about 25min. It seems to do ok for about 25-30min before it faults. Which is odd.
"If the pic is in a socket what signals are you getting if you swap the pic outputs, or lift the pin out of the socket?" Swap which outputs?
"It seems to reset to zero at 06:47?" Yes at 06:47:43 is when it resets and then continue to do it about every 1min or 2 after that. I think right before this it ran for about 25min. It seems to do ok for about 25-30min before it faults. Which is odd.