What side mounting screws for old electrical box
Most likely 8-32, possibly 6-32.   Watch out, 8-32 is fine thread. 

The -32 is intentional as it assures enough thread engagement.  

Make sure you are hanging your fan by more than just a couple #8 screws!