We can't measure headaches like temperature because there is no device to measure pain in some sort of number.
I can tell a person's temperature with a thermometer. However, to estimate a persons headache, I can only rely on what I see (do they look miserable) and what they tell me. Pain is still very subjective.