Pilot in gas water heater still goes out after replacing thermocouple
I reinstalled the pilot and cleaned out the burner and related assemblies and the pilot was only going out in the morning.

The issue turned out to be because we are still on a low-pressure gas system, which is susceptible to condensation and water seeping into the natural gas service pipes. The guys from my gas distributor pumped all the water out of the pipes and it's been fine since.