This is the true source of your problem!!! the fact that your optimism and happiness was attached and dependent on your former self and how you envisioned your life turning out! But once the baby came along, the rug was swept from under your feet and this all fell apart! The child and the girl do no fit in this old picture. You are semi embarressed and ashamed! You invested so much into your former self and had so much pride in that "rockstar" of a person you were that now that its no longer the case, you dont want your friends or family to see that Superman has lost his armour! Now you are just having a self pity party.
The cure.....get over the past!! That chapter has ended!! Bury it, have a funeral and dont look back! the rockstar is dead!! Cry and get over it ASAP!!
Now its time to look at your new life as a father and make the adjustments, your kid is going absolutely NOWHERE!! Embrace your child and focus on being the best father in the world!! this should bring you more joy than any party or group of friends! Your kid should be the equivalent of all your friends stacked into one Voltron! If you arent into your kid's mother get rid of her, or make some kind of arrangement where she lives with you for the purposes of your child but there is no relationship!! But you have to get your priorities straight....fv$k your family, fv$k your friends, fv$k your former self, hell fvck your baby mother....your kid is THE NUMBER 1 PRIORITY!! Once you focus on your child....God will honor that and take extra care of you! If your family and friends don't accept your child and girl than they were never there for you to begin with. Its moments like this in your life that build character, and sculpt manhood out of boys!