There is no magic script that you can use that will persuade her to change her mind at this point. In my experience, once someone has made up their mind about a relationship, and particularly girls, then I'm afraid thats it.
You can make a genuine, hearfelt apology for being a prize ass, tell her that you still have feelings for her, and then its up to her... tell her that if she wants to talk about it some more, or if she thinks there is any prospect of rescuing the relationship to call you... but the point is, you have to accept that the ball is in her court now.
You have to move on with your life, on the basis that you wont be getting back together. And do try to remember not to stroke your own ego in the future by attempting to make someone jealous just to show you how much you are loved.