Conditions for fully gapped topological superconductivity in topological insulator nanowires