The translation for the signature is:
a couplet from a ghazal by poet Hafiz

Other than thy threshold I have not refuge in this world.
My head has no resting place other than this doorway.
Work of a servant of the court, Maqsud of Kashan, in the year 946 (1539–40)