Pen type infrared thermometer