Viewing two light sources through a gradient index lens