A man has been ordered to make a donation to a bird sanctuary for owning a goshawk without a licence in the Bradford district.