An analysis of fluxons in long Josephson junctions