IR flashes from the X-ray rapid burster