Effect of core pressure gradient just inside the top of the pedestal on the energy loss due to the edge localized mode in JT-60U