Optical and ultraviolet spectroscopic analysis of SN 2011fe at late times