The 3 red lights near the flag indicate the car is currently running in third place for the LMP1 class.
This car, however went on to win the race nearly 3 hours later.
2 lights = second, 3 lights = third.
The other 3 classes in the race use green, blue, and yellow.