Looks to be some type of experimental gun setup going on.
According to J Baugher's database:
Boeing B-17G-30-BO Fortress 42-31931 (MSN 7045) Boeing Aircraft Corporation, Seattle, WA 3Jan44. Accident landing at Boeing Field, WA 3Jan44.
Experimental without top turret glazing. McChord Field, Tacoma, WA 23Jul44. Spokane Field, WA 25Jul44. 20th Ferrying Group, Berry Field, Nashville, TN 30Aug44. 1st EEL, Hanscom Field, Bedford, MA 1Dec44. 902nd Base Unit (Base Complement), Orlando AAB, FL 19Jan45. 903rd Base Unit, Pinecastle Field, FL 23Jan45. Damaged landing at Pinecastle Field 7May45. 4000th Base Unit, Air Materiel Command, Wright Field, Dayton, OH 30Jun45. 4148th Base Unit, Hensley Field, Dallas, TX 2Aug45. 4000th Base Unit, Air Materiel Command, Wright Field, Dayton, OH 7Aug45. To Reconstruction Finance Corporation, Storage Depot No.41, Kingman Field, AZ for storage and disposal 5Dec45. War Assets Administration. Sold to Wunderlich Contracting Company, Jefferson City, MO Jul46; scrapped.
