Permanent Photoinduced Refractive Index Changes in Rare Earth Doped Glasses