Hi,
Great to know that you're getting the expected results. If your material fitting has no gain then the negative values of losses are most likely due to artifacts of the boundary conditions. You can try placing the PML further away from the structure. These modes are unphysical modes and they mainly do not affect the results of the guided modes. So, if you're getting the expected results you can ignore these modes.
Regards,
Amrita