All the other comments are excellent
I just want to add that if you are doing it for fat loss then the keto diet and around 2000 kcals would be extremely useful
The keto diet lets you sideskirt the insulin sensitivity you get from fasting. You’ll also stay in ketosis throughout refeeding while building up your muscles. Obviously body mass gain wont be as good without the insulin carbs generate but its good enough when you are fasting for fat loss.