I think it is time to ask a basic question - WHY do you want to know the distance from the light source?
Maybe if we knew that we could offer some useful solutions.
It is always a bad idea to ask two questions at the same time, but I will take a chance that you will answer both of them - How accurately do you want to measure the distance?
...R