Gas Fireplace repair

Replacing the thermocouple in my Pleasant Hearth vent free gas fireplace. It kept shutting off too soon. When I would turn it up, it wouldn't kick back on. When I checked the pilot was out. I ordered a new thermocouple.
+