What is the function of "här" in this sentence? Could you just say " är du uppe så sent?
This is not strictly a question in English, if you are asking this, then you already know the answer, ideally in English you'd ask, "why are you up this late?" It would be like saying are you in this room? If you are asking that person, who is in this room, you already know they are in this room.