I had this issue on my 96 mustang. I never could track down what was causing it.
What I had to do was use the lock button on the door to lock the car before turning the car off. When I did this the doors would be locked and the alarm wouldn't go off. If I used the key FOB it would go off every time. If I remember correctly if I locked the doors after car was off with the door button it would cause alarm to go off as well... I know this isn't a fix, but rather a way to lock your car without alarm going off until you are able to track down the cause and are able to fix it.
Too your question the map lights should be on when the door sensor is saying door is open. All it takes to set the alarm off though is a flicker of a sensor saying a door, trunk, or the hood is open and it will go off.
Good luck.
What I had to do was use the lock button on the door to lock the car before turning the car off. When I did this the doors would be locked and the alarm wouldn't go off. If I used the key FOB it would go off every time. If I remember correctly if I locked the doors after car was off with the door button it would cause alarm to go off as well... I know this isn't a fix, but rather a way to lock your car without alarm going off until you are able to track down the cause and are able to fix it.
Too your question the map lights should be on when the door sensor is saying door is open. All it takes to set the alarm off though is a flicker of a sensor saying a door, trunk, or the hood is open and it will go off.
Good luck.