Painful eyebrows and eye sockets may be because of referred pain
from diseases of surrounding structures like sinusitis
. Before going to non eye causes you need to get eye checkup to rule out refractive error
. If vision is normal and no refractive error please consult ent doctor to rule out sinusitis.