no you did ok, actually better than ok, you did good.
If she wanted to separate from you, she has to get used to the idea that you will be moving on, she expects you to pine for her, wallow in self-pity, beg, plead and all that other "great" stuff.
Don't do it.
Be fine with it.
It's good that she did this.
Plus if she did drop the "I love you but I'm not in love with you anymore", she may have some action on the side that you're not privy to yet.
Keep doing what you're doing.
If she wants to come back, she'll want to come back and she'll work for it, don't make it easy on her though, if she thinks she can come & go as she pleases tell her you're not cool with that, if she doesn't want to have a committed relationship/marriage with you, you don't want to have one with her.
Keep it up bro, be a great person for yourself and a great father for your kid.