The Lockheed AC-130 , an an attack aircraft is used by the United States Air Force which operates Al Asad airbase . It was also involved in both the Invasion of Panama and Operation Enduring Freedom .