Thats not a military pact but a MOU ( Memorandum of understanding ). This has been signed with Pakistan, USA who knows how many more countries, Kuwait as well. The reason for the presence of military commanders is the sensitive Iran-Iraq border oilfield shares/disputes, they need to agree on avoiding misunderstandings which can lead to clashes ( see 2009 Fakkah oil field ).
If you think Iraq is about to sign a military alliance with Iran then your delusional, they are staying away from that with all cost, staying neutral in the Syrian case is a part of that, Moqtada al Sadr former commander of the Mahdi army who put those Khamenei posters disagreed with Iran and Nasrallah on Syria, did not command to send anyone to Syria.
Iraq does not need Iran for anything, the country is growing fast, its military is growing fast, what do we need you for ? As well as the joke of Syria being the puppet of Iran as you have said, during the Iran-Iraq war what did Syria have to fear from Iran exactly ? Their choice is alliance with Iran.
Besides leave us of these "experts", they dont even say what your saying here, I could bring some of these experts that say the opposite.
Still you are not able to show me anything that proves your words, so we end it that you just agree with everything powering Irans image ?
As for more information on this "military pact" when commanders of both countries met, news sources like Press TV and Farsnews report that Iraq is willing to buy Iranian arms, however these reports have been given from the same sources in 2007-2009 while they completely contradict Iraqs stance and billions of dollar deals with the US. Acquiring Iranian weaponry means waving of US deals, so explain this contradiction by these laughable news sources. It also contradicts Iraqs neutral policy.