Equipment for bottomhole thermal treatment