Hi!
I have recently acquired an oscilloscope and amplified photodetector (Siglent SDS 1202X-E, Thorlabs PDA100A2) to make some measurements, and when testing today I got a strange line and a "shadow trace" on the scope. I'm new to the world of oscilloscopes so I don't know what it is and what causes it.
What is it I am looking at, and why does it happen? In this case I had a 5 kOhm load resistor attached to a BNC T-adapter and the PDA100A2 connected to the T-adapter with a 65 cm BNC cable. A Mini Maglite LED was shining on the sensor from some distance.

I also measured if the screen of my old Nexus 5 phone had any signs of PWM flicker, and I was surprised to consistently see 501 kHz on the screen of the scope. I would have expected a maximum of 50 kHz so I'm not sure if I have some other problem too. The screenshot below does not show a very clear line.

In contrast I also measured an old Galaxy Nexus with a OLED display and got more realistic results in terms of frequency, but I'm not sure it's triggered right.
100% brightness

50% brightness

25% brightness

Any ideas about what's going on and any pointers on how to get it right?