in what capacity she was employed there , i can not begin to guess , but we do know that , as a member of francisco goya 's staff , she accompanied him to the national palace to paint the usurper king joseph 's portrait .