When the components of the momentum vector of the system are zero, i.e. P = 0, the approximate mass of the system is just (E+E binding)/c, E binding being a negative number representing the Newtonian gravitational self-binding energy.