GLOBAL NUMERICAL MODELING OF ENERGETIC PROTON ACCELERATION IN A CORONAL MASS EJECTION TRAVELING THROUGH THE SOLAR CORONA