Q113 If my character is under the influence of the Mind Blank spell, and thus immune to divination magic, can I still cast Detect Magic or other divination spells with range: self?

What if I wear an Amulet of Proof against Detection and Location?