A federal judge has ordered the United States to pay nearly $228,000 in attorney fees for failing to produce key evidence in a lawsuit over attacks against a Philadelphia prison inmate.