DISCLAIMER: Potterworld or Droobledore LLC is not in any way affiliated with Mojang AB, J.K. Rowling, Warner Brothers or any company, copyright or trademark.
What you've come across is the pet cat of the former secretary Gywnn. Back a long time back as she was an astronomy professor this was the living quarters associated with that classroom, and this was her pet cat.