Flashing marker light with photocell