You Are The Father

So I am sure I know the answer, but would like your insight.

Was seeing someone for about one year, but on June 1st had sex with an ex. Had a period in the middle of June and another in the middle of July. Found out I was 6 weeks pregnant at the end of August.

Is it safe to eliminate the ex as dad?