i don't know why mobs are not agroing - perhaps you don't have map files? But there is an error in your npc_faction_entries value_setting.
For factions to be opposite, this needs to be changed to:
|id | faction_id | value | npc_value |
|40000 | 1001 | -1000 | 1 |
|40000 | 1000 | 100 | -1 |
|40001 | 1001 | 10 | -1 |
|40001 | 1000 | -10 | 1 |
note the (-1)s, otherwise your guards will end up assisting the mobs against you =)
|