Self-modulation of nonlinear waves in a weakly magnetized relativistic electron-positron plasma with temperature uri icon