Chances of research position in mathematics without going to a top graduate school?
Here is some relevant research that might actually help you estimate the probability that you will find a good post-doc, and after that, a good tenure-track job:


Systematic inequality and hierarchy in faculty hiring networks. Supplementary material  


Their empirical data comes from Business, Computer Science, and History, but you can probably extrapolate to Mathematics.