Initial reports said the attackers fired from a mosque within in the city , 30 mile west of Baghdad .
The Centcom statement said the gunmen appeared to have fired from a mosque in the city , 50 km ( 32 mile ) west of Baghdad .