If you defeat all five waves of enemies in the raid, you'll receive up to 1000 fragments. You will get more fragments the more time you have left. If you survive to the end of the time limit without clearing all five waves, you will get a smaller sum of fragments.