The thermal X-ray flare plasma