Method of producing tapered optical fiber