T.F.
First question...... Hmmm.
How long has this been going on? Should you be concerned... well, YEAH.
If my daughter were waking at night and in enough pain to be crying PLUS a high fever... I would not be on a site asking what if... I'd be at the Dr. office finding out what is going on.
Don't compromise her health and safety. GO to the Dr.