The more a person matures in the love God has for them the less they fear His judgment. The presence of fear in the believer has nothing to do with whether a person is saved or not, but is an indicator they have not come to a fully mature understanding of who He is (1 John 4:8). This doesn't mean God loves them less, it means their understanding of God's love isn't complete.
As a person becomes more acquainted with God's love their view changes from "how could God possibly save a wretch like me?" to "how could God possibly not save a wretch like me!". It's not that they have somehow become more lovable or less wretched but their understanding of His deep grace, boundless love, and unconditional mercy gives them recognition of the security they've always had thus expelling fear of any measure of judgment. This is more than just knowing scripture, but through scripture (John 5:39), and even nature (Rom. 1:20) it's becoming more acquainted with the person of God, for God is love (1 John 4:8), and therefore your trust transcends merely the promises of God to resting in the character of God and His love for you (1 John 4:16, Luke 12:32). God love for you is already perfect, fearing judgment indicates your understanding of it is not yet complete.