This is a B-52D and her badge indicates most likely a former 7th BW machine out of Carswell AFB TX. The last three of her serial looks like 598 so perhaps could be 56-0598, perhaps something quite similar. Either way she was in good condition.
Yüksel