gertrude hastened herself to the capital city wherein most of the royal functionaries were stationed , but to her dismay and everyone elses relief , she soon discovered that the royal astronomers kept their quarters far up a distant mountain , thus to be closer to their subject of interest .