Mila, Big hugs to you! I'm so sorry he threw such a fit today. He's upset with the consequences of his actions and is projecting everything on to you. It's up to him to be a part of your daughter's life. You are not his mother and can't fix everything for him.
If he's got issues w/what his daughter is doing, he should be discussing them w/her. She's practically grown and has more sense most likely than he does at this time. It's time he grew up and acted like a father and not some child that bounces in and out of your lives on a whim.
Mila, when he's acting out, tell him that you are sorry he feels that way and walk away from him or change the subject. You do not have to listen to his bs. Please do not let this ruin the rest of your weekend. Who knows...the next time he decides to visit from Mars, he will act as if nothing has transpired.
Please take care of yourself.
Sit quietly, the answers will reveal themselves when you least expect them to. The past is gone, the present is a gift and you need to focus on today, allow the future to reveal itself when it is ready.