Nokia Lumia 1020 flash problem

Sounds to me like a hardware problem.

I'm assuming you're still on W8.1 correct? Did you try any 3rd party camera apps over stock to see if flash works with them?