PIC32 programming successfully but not working
It looks like you made a mistake in your schematic:
PIN 8 of the PIC (VSS) is connected to PWR and PIN 13 of the PIC (VDD) is connected to GND. VDD must be tied to the power, and VSS to the GND.
What is the voltage of PWR? Why don't you use 3V3 for MCLR and VDD/AVDD?