What Size Screws Should I Use to Mount an Electrical Box Bar Hanger?
The screw should not be larger than the factory drilled hole which looks to be 1/4".  Typically seen in the field are #10 x 1" Slotted Hex Washer Head Sheet Metal Screw.

You can go longer than 1" but for that bar hanger probably not necessary.