Threaded head thermocouple