Statistics for Massive quark self-energy in cavity QCD