UVA stresses the plant in hopes it causes an uptick of trichome production. It has nothing to do with photosynthesis or providing energy to the plant.
So, use this in flower only when trichomes are being producted. Use it during light hours so you don't interrupt any dark cycles of photoperiod plants.
how intense and how long? no idea, but i'm sure armed with the umol/s production of the UVA lights in use and the area of coverage you can find some excellent recommendations with a simple google search.
I don't do it so i don't know. But, make no doubt.. this is about causing damage to the plant and the effect is hopefully an overprodcution of trichomes - not ulike a damaged branched healing back thicker in that spot. I don't say this to create doubt in the effectiveness of UVA, just to outline the mechanics of it. I've seen proper research that shows the effect of UVA on THC% is statistically significant, but the amplitude of that effect is never given. Being "statistically significant" alone does not make it worthwhile. I don't invest heavily into maybes or small fractions of a percent improvements.
wheher you use it with lights off or on probably won't make 1 bit of difference, but it could probably fuck with a photoperiod plant, if interrupting it's dark period during flower, which is the only time to make use of UVA. Keep it simple.. just use it with lights on because there's no reason not to do so.
trial and error will get you there... too much uva will definitely cause visible damage.