Hey there. I've been there on two seperate occassions. My most recent example began in 2011 and ended last year. It was a roller coaster of emotions. He was in a long term relationship and being attracted to and obsessed with him was painful and difficult. In order to move on, I've tried:
- Admitting to myself that I needed to get over him. You seem to have gotten that part down. Great job!

- Avoid all places I know he'll be and when. This part was difficult because when you're obsessed with him, you want to be where he is. Take it easy. Hang in there. For me it was about avoiding weekly seminars. He was a Masters student, me an undergrad. With our course, weekly seminars were compulsory. I skipped most. I gave in some weeks, just to see him. After a while, it became easier.
- Focus on you. I find journalling or even talking about him produced thoughts about him in my head. I would analyse and re-analyse everything he did and said. It's counter productive if you're trying to move on.
-When you find yourself thinking about him, don't push it out. It would make it more difficult later on. Ride it out. Then decide mentally that that's enough.