Also, the lamp could be putting out UVA and not much UVB, so it could tan without producing much vitamin D.
For just the vitamin D, I'd get a "5.0" UVB lamp in a bare-bulb fixture, designed and sold for indoor avian and reptile pets. Aim at arms and hands, and away from the eyes. They're about $15 per bulb, and should be replaced every 6 months, as the UVB output degrades over time. Afterward, they work perfectly fine as compact fluorescents, behind glass or under lampshades, for several more months, albeit shaped inconveniently for some fixtures.
A "10.0" bulb is for desert-species pets. The UV output is too high for the overall lamp brightness, and may damage your eyesight, as human pupils don't constrict enough. I suppose you could wear sunglasses, but that seems counterproductive to just buying a lower-UV lamp.