Your credit, and your debt load, is one of the most important things dictating options in your life. I am new here and don't want to seem like I'm preaching, lecturing or just being the blah blah blah guy, but try, put every possible effort, into staying out of debt.
Having said that, aviation is an expensive business, and to an extent your age and rate of progress are going to be a factor. Based on your situation, I am guessing you are around age 18, starting out your adult life 40K in the red could really set you back in ways you may not even be considering right now. You have A LOT of time if indeed this is your situation.
Something to think about, can you, in the event something were to happen in a few years preventing you from, say, maintaining a 1st class medical certificate, be employed in a position that will pay enough to cover all this?
My brother is an attorney. He went to law school to be a child advocate, which he ended up doing for seven years. He recently left for more lucrative opportunities with far less personal reward because his law school debt load was eating him alive. He wants kids, a house, a car other than his fiance's saturn and my grandmothers hand-me down '89 Taurus.
So, before I get into novel length territory-this is going to be your gut check-would you be happy not being able to fly for a living because your debt load precludes you? Or having to fly for a company you don't like, or do a type of flying not as rewarding, simply because it pays a bit better?
Blah blah blah.....sorry to lecture-just be careful out there!