This is because cosmic strings are not gravitating matter in the usual sense but space-time defects. You will in fact obtain a flat space-time for every σ=k/4,k∈Z but in the coordinates you use this will be every time Minkowski but in a different set of coordinates.
You can see this by the canonical construction of cosmic strings as can be found e.g. in Griffiths & Podolský: Consider Minkowski in cylindrical coordinates: ds2=−dt2+dρ2+dz2+ρ2dφ2
Now introduce a defect by glueing
φ=0 to
φ=2π(1−δ) instead of
2π. Now rescale
ϕ=(1−δ)φ and your metric will be
ds2=−dt2+dρ2+dz2+(1−δ)2ρ2dφ2
The parameter
δ can also be linked with the matter density
λ of the defect interpreted as a massive string,
λ=δ/4.
However, once you circulate from
δ=0 to
δ=1, you should start again identifying
0 to
2π and get Minkowski again, which is not reflected in the construction of the coordinate
ϕ given above. On the other hand, the metric in Weyl coordinates as you introduce it seems to be satisfactory in this respect, albeit at the cost of a re-covering of Minkowski at every loop.
(Do note that if you obtained this formal solution by putting a δ-peak of matter on the ρ=0 axis in Weyl coordinates, you have righteously unleashed the exact-solution horrors upon yourself as the metric singularity you produce can erase the matter itself! *Evil laughter with that reverb suggesting it is coming from hell.*)