key: cord-0287562-grqw11bf authors: Callingham, J. R.; Crowther, P. A.; Williams, P. M.; Tuthill, P. G.; Han, Y.; Pope, B. J. S.; Marcote, B. title: Two Wolf-Rayet stars at the heart of colliding-wind binary Apep date: 2020-05-01 journal: nan DOI: 10.1093/mnras/staa1244 sha: 983ad6288fa838c9038e4367fa155d701aa7fb8b doc_id: 287562 cord_uid: grqw11bf Infrared imaging of the colliding-wind binary Apep has revealed a spectacular dust plume with complicated internal dynamics that challenges standard colliding-wind binary physics. Such challenges can be potentially resolved if a rapidly-rotating Wolf-Rayet star is located at the heart of the system, implicating Apep as a Galactic progenitor system to long-duration gamma-ray bursts. One of the difficulties in interpreting the dynamics of Apep is that the spectral composition of the stars in the system was unclear. Here we present visual to near-infrared spectra that demonstrate that the central component of Apep is composed of two classical Wolf-Rayet stars of carbon- (WC8) and nitrogen-sequence (WN4-6b) subtypes. We argue that such an assignment represents the strongest case of a classical WR+WR binary system in the Milky Way. The terminal line-of-sight wind velocities of the WC8 and WN4-6b stars are measured to be $2100 pm 200$ and $3500 pm 100$ km s$^{-1}$, respectively. If the mass-loss rate of the two stars are typical for their spectral class, the momentum ratio of the colliding winds is expected to be $approx$ 0.4. Since the expansion velocity of the dust plume is significantly smaller than either of the measured terminal velocities, we explore the suggestion that one of the Wolf-Rayet winds is anisotropic. We can recover a shock-compressed wind velocity consistent with the observed dust expansion velocity if the WC8 star produces a significantly slow equatorial wind with a velocity of $approx$530 km s$^{-1}$. Such slow wind speeds can be driven by near-critical rotation of a Wolf-Rayet star. ing exceptional X-ray, infrared and radio luminosity for a CWB. The system was identified via infrared imaging to be likely a hierarchical triple, with a massive central CWB that dominates the high-energy, non-thermal, and infrared emission, and a third massive northern companion 0 ′′ .7 away. The defining feature of Apep is a spectacular 12 ′′ mid-infrared dust plume centred on the central binary. While the dust plume strongly resembles the pinwheel nebulae, additional intricate structures suggest that there are unknown processes sculpting the outflow from Apep. In particular, Callingham et al. (2019) found that the velocity of the gas in the central binary is a factor of six higher than the velocity derived from the observed proper motion of the dust pattern. As the dust and gas are expected to be coextensive, such a discrepancy between the speed derived from spectra and dust are inconsistent with the existing models of the dynamics of such colliding-wind systems. In standard CWB dust-producing models with isotropic stellar winds, newly formed dust assumes the velocity of the shock compressed stellar wind (Cantó et al. 1996) , generally ≈80 percent of the fastest wind in the system (e.g. Marchenko et al. 2003) . The newly formed dust grains are then quickly accelerated to velocities closer to that of the stellar winds in a fraction of an orbital period (Pittard 2009; Williams et al. 2009a ). All other known Pinwheel nebulae display congruous spectroscopic and dust expansion speeds. Callingham et al. (2019) proposed that the contradiction between the measured dust and gas speeds in Apep can be resolved if the system is capable of launching extremely anisotropic winds, for example due to rapid rotation of the WR star in the central binary. This would imply that Apep is the first known Galactic analogue to long-duration gamma-ray burst progenitors, and a unique laboratory for astrophysics occurring otherwise only at cosmological distances. However, such a conclusion presents its own difficulties as there has not been any definitive observations of critically-rotating WR stars, despite such systems being favoured to exist by longduration gamma-ray burst models (Woosley & Heger 2006) . One impediment to our understanding of the dynamics of Apep is the unknown nature of the three stellar components comprising the system. From near-infrared integral-field spectroscopy, the presence of a WR star in the central binary was established by characteristic broad helium and carbon emission lines (Callingham et al. 2019) , resulting in a Galactic WR catalogue number of WR70-16 1 . The infrared carbon line ratio diagnostic C IV/C III λ 1191.1/1199.9 nm was found to be 3.0, indicating the likely presence of a WC7 type star (Rosslowe & Crowther 2018) . The presence of a dusty late-type WC star was also supported by the observed far-infrared colour excess of Apep. However, the infrared spectrum of central binary of Apep shows stronger He II and weaker C IV line emission than is typical for a WC7 star (Rosslowe & Crowther 2018) . Callingham et al. (2019) interpreted the emission line weakness as dilution by additional continuum and, only partly, from warm dust emission. For example, the ratio of the He II λ 2189/1163 nm lines is 0.16 for the central binary of Apep, while other WC7 stars show an average of ≈0.38 (Rosslowe & Crowther 2018) . The weakness of the He II emission lines for a WC7 star in the J-band, where dust emission is modest, is evidence of additional continuum from a companion star. Based on the abnormal strength of the He II to C IV lines for a WC7 star, Callingham et al. (2019) suggested that the most likely companion to the WC7 star was an early nitrogen-sequence (WN) 1 http://pacrowther.staff.shef.ac.uk/WRCat/ WR star. A WN4 or WN5 star was indicated to be the best candidate after comparison to template WN spectra (Crowther & Smith 1996) , mainly due to the absence of the N V line and relative weakness of the He I lines in the near-infrared spectrum. A binary composed of two classical WR stars located at the heart of Apep would be somewhat surprising since the lifetime of the WR phase is short relative to the evolutionary time of a massive star (de Mink et al. 2013; Crowther 2007) . Based on standard binary evolutionary models, it should be rare to find both stars during such an ephemeral life stage at the same time due to single-star evolution. The (quasi-) chemically-homogeneous evolutionary channel is one process that has been suggested as capable of forming a binary composed of two classical WR stars (e.g. Martins et al. 2013; Marchant et al. 2016 ). In such an evolutionary channel, rapid rotation leads to a mixing timescale shorter than the nuclear timescale, allowing the stars to bypass the post-main-sequence expansion as they would not maintain a massive hydrogen-rich envelope (Maeder 1987; Langer 1992) . Smaller radii post-main-sequence implies a binary system could evolve without mass-transfer, providing an opportunity for two massive stars to enter a similar lateevolutionary stage together (Song et al. 2016) . The rapid rotation required in the model could be sustained via tidal interactions in close binaries (de Mink et al. 2009; Mandel & de Mink 2016) but it is unclear how rapid rotation would be maintained in wider binaries. There are few candidate WR+WR binary systems (e.g. Zhekov et al. 2014; Shenar et al. 2019) , with the strongest cases being longer-lived main-sequence massive stars exhibiting a WN appearance (Schnurr et al. 2008 ) and HD 5980 (Koenigsberger et al. 2014 ). If Apep does harbour a binary comprising two classical WR stars, this will have important consequences for understanding the proposed anisotropic wind model and potential gravitational wave event progenitor systems (Belczynski et al. 2020 ). An alternative spectral class assignment to the WC7+WN4-5 model, which equally-well describes the near-infrared spectra, is that of a WR star in the brief transitory phase between WN and WC phases, labelled WN/C, with an unseen OB-type companion (Conti & Massey 1989; Massey & Grove 1989) . The WN/C classification accurately characterises the line ratios of the C III, C IV, and He I lines in the near-infrared spectra, and the abnormal strength of the He II lines (Rosslowe & Crowther 2018) . Discerning whether Apep harbours a WN/C is important as the role of this rare and transitory phase between nitrogen-rich and carbonrich WR types in influencing the total mass-loss of a WR star remains unclear due to the limited number of such systems known. One way to distinguish between a WC+WN or a WN/C+O composition is through visual-red spectra, particularly via standard classification diagnostics, such as C III λ 569.6 nm and C IV λ λ 580.1-1.2 nm for WC stars (Crowther et al. 1998 ). In addition, if the central binary of Apep is a WN/C+O system, all emission lines would be formed in a single wind, whereas one might expect differences in wind velocities for lines arising in each of the WN and WC components (Willis 1982) . Distinction between these two scenarios will allow us to: (1) establish the wind-momentum of the system and wind speeds of the stars in the central binary, (2) calculate the total kinetic power dissipated in the wind collision that is feeding the X-ray and non-thermal radio emission, (3) probe the geometry of the wind-collision region, which in turn shapes the larger dust plume, and; (4) derive an accurate distance to the system based on spectral class luminosities. Additionally, confident identification of the components of the central binary of Apep will facilitate plan-ning and interpretation of high resolution optical aperture-masking and very long baseline interferometry (VLBI) radio observations. With these goals in mind, we observed Apep with the X-SHOOTER spectrograph (Vernet et al. 2011 ) on the European Southern Observatorys (ESO's) Very Large Telescope (VLT). The X-SHOOTER observations and the data reduction process performed are provided in Section 2. Section 3 details the spectral line and type classification of the central binary and third massive member of the Apep system. The implications of the X-SHOOTER spectra on our understanding of the Apep system is discussed in Section 4, and our study is summarised in Section 5. We observed Apep using the X-SHOOTER spectrograph (Vernet et al. 2011 ) on UT2 at ESO's VLT for a total of 45 minutes on 2019 April 9 (Program ID: 0103.D-0695(A); PI: Callingham). While X-SHOOTER is simultaneously sensitive from ultravioletblue to near-infrared (300 to 2500 nm), the setup of the observation was optimised to extract information from the visual-red arm (550 to 1000 nm) of the spectrograph. Therefore, no nodding was performed. Such a choice was made because reliable near-infrared spectra already exist for the system, and the dust extinction towards Apep makes the ultraviolet-blue data so faint as to be unusable without significantly more observing time. The visual-red and near-infrared arm were set to have a slit width of 0.9 ′′ , resulting in a nominal spectral resolution of 8800 and 5100, respectively. The slit was positioned along the axis connecting the central binary and the third massive northern companion. Exposures were of ≈300 seconds duration. The observations were conducted in seeing conditions of ≈0 ′′ .7 and with an airmass of ≈1.2. We also observed the standard star θ Normae (HIP 79653) to correct for telluric spectral features. To perform the data reduction we followed the standard X-SHOOTER pipeline (v3.2.0; Modigliani et al. 2010 ) via ESORE-FLEX. Bad pixel maps, bias correction, flat-fielding, detector linearity, and wavelength calibration from standard-lamps were applied to θ Normae and Apep frames for each arm of the spectrograph. Each scan was combined, and the median taken, to form the highest signal-to-noise spectra. There was no usable science data in the ultraviolet-blue arm, so it will not be discussed further. To isolate the spectrum of the inner binary from the northern companion, the size of the extraction aperture was adjusted to isolate the broad component of the 656 nm line for the visual-red spectrum and the He I λ 1083 nm line for the near-infrared spectrum. The 656 nm line corresponds to He II+C IV and H α for the central binary and northern companion, respectively. The broad component of these lines are produced by the WR star(s). The reverse was performed to isolate the spectrum of the northern companion. Based on the fine structures present in the central binary's He I λ 1083 nm line, we find cross-contamination at long wavelengths to be < 5%, and smaller at shorter wavelengths. θ Normae's spectra was also extracted and then normalised by a black body curve of the appropriate temperature. The standard star's intrinsic spectral features were removed via modelling of the lines with Lorentzian profiles. The resulting standard star spectra were then used to correct for telluric features in the science spectra of the central binary and northern companion. These final science spectra in each waveband were then continuum-corrected. Table 1 . Observed wavelength (λ obs ), equivalent width (EW), and identification of the detected emission lines (van Hoof 2018) in the X-SHOOTER visual to near-infrared spectra of the central binary of Apep. Blended lines for which we can not split are identified by '(bl)', with the line that likely contributes the most to the reported EW listed first. The Carbon line contributors to the 826 nm blend are 826.3 C III 8h-6g; 828.6 C III 6d-5 f ; 831.4 C III 8i-6h; 831.9 C III 6d-3d; and 832.3 C III 6p-3p. We present the X-SHOOTER spectrum of the central binary of Apep from 650 to 1020 nm in Figure 1 . The data shortward of 650 nm was of low signal-to-noise, and therefore was binned by a factor of sixteen to aid in the detection of broad lines. The two detected lines in that wavelength range, namely the primary WC classification diagnostics C III λ 569.6 nm and C IV λ λ 580.1-1.2 nm, are shown in Figure 2 . We present the usable data between 1000 and 1090 nm from the near-infrared arm in Figure 3 . Data longward of 1090 nm had issues with bad columns and prominent sky lines, and was already presented by Callingham et al. (2019) . All detected emission lines and their equivalent widths (EWs) are presented in Table 1 . To determine whether the central binary is composed of WC+WN stars or a WN/C with an unseen OB-companion, we consider the equivalent width ratio of the C III λ 971 nm and He II λ 1012 nm lines relative to those of C IV λ 1191 nm/He II λ 1163 nm and C IV λ 2078 nm/C III+He I λ 2117 nm (Callingham et al. 2019) . We find that the C III λ 971 nm and He II λ 1012 nm line ratio is ≈0.44. Such a line ratio suggests that the central binary is similar to the WN/C stars WR 8, WR 26, and WR 98 (Rosslowe & Crowther 2018 He ii+C iv The C III λ 569.6 nm and C IV λ λ 580.1-1.2 nm emission lines are detected in this wavelength range. The asymmetric structure of the C IV λ λ 580.1-1.2 nm doublet is likely due to the presence of the He I λ 587.6 nm line. The spectral resolution of this plot has been smoothed by a factor of 16 to increase the signal-to-noise of the two lines. The strong Na I D interstellar doublet around 589 nm is also detected, as are diffuse interstellar bands at 578 and 579.9 nm. The dotted-red lines correspond to the full-width at zerointensity (FWZI) of the C III λ 569.6 nm line. lines, prominent features arising in WN and WN/C stars include the N IV λ 711.6 nm (Smith 1968) , which is also present in the spectrum of the central binary of Apep. In comparison, prominent features in WC and WN/C stars are the C III λ 674 nm, C IV λ 706.5 nm, and C III λ 850 nm lines (Crowther 2007) . As shown in Figure 1 , the C III λ 674 nm line is present, while the C IV λ 706.5 nm line is blended with N IV λ 711.6 nm, and the C III λ 850 nm is relatively weak. Several line profiles are extremely broad, suggesting an extremely high wind velocity for at least one WR star in Apep (Eenens & Williams 1994) . In order to break the apparent degeneracy in spectral morphology between WN/C or WN+WC components, a clear expectation of the single WN/C star scenario is that the emission lines from ions of high ionisation energy form in the inner, accelerating wind, while lower ionisation lies form in the outer wind moving close to terminal velocity (Willis 1982; Hillier 1989) . Therefore, the velocities of the different ions need to be physically consistent if the wind lines arise from a single star. For example, He II lines form at a smaller radii than C III lines, implying we should expect the fullwidth half-maximum (FWHM) of He II lines to be smaller than C III lines. Indeed, we find from a large sample of single WC4-9 stars the trend: FWHM(He II 1012)/FWHM(C III 971) = 0.75±0.05 (Rosslowe & Crowther 2018) , as shown in Figure 4 . In contrast, Apep is a significant outlier in this population with a FWHM(He II 1012)/FWHM(C III 971) = 1.30 ± 0.05. We also directly demonstrate in Figure 5 that the FWHM of the He II λ 1012 nm line exceeds that of the C III λ 971 nm line in Doppler space. We interpret such an unusual ratio as implying that these lines do not arise in a single WN/C star. Therefore, we suggest that the central binary of Apep is composed of a double WR system. Such an assignment is further supported by the spectra presented in Figure 6 , which demonstrates that the identical combination of the spectra of a WC7 (WR 90; Dessart et al. 2000; Rosslowe & Crowther 2018 ) and a WN4b (WR 6; Hamann et al. 1995; Howarth & Schmutz 1992) star displays a close qualitative agreement to the visual-red spectra of the central binary of Apep, as provided in Figure 1 and 2. The morphological agreement of the spectra produced by assuming an identical contribution of WR 90 and WR 6 to the continuum also indicates that neither WR star in central binary of Apep strongly dominates the visual-red spectra, and hot dust is diluting the near-infrared emission lines. The conclusion of a WC+WN system assumes that the reported line ratios are clean proxies for the ion stratification in the stellar winds. We do note that there are several known mechanisms that could distort the line ratios presented. For example, the profile of the C III lines are susceptible to the geometry and dynamics of the wind collision region in a CWB (Luehrs 1997) . However, an excess in the C III lines for CWBs has only been observed in systems with short (days to months) periods (e.g. Hill et al. 2000 ; Bartzakos et al. 2001) . In comparison, the central binary of Apep has an orbital period of ≈100 yr (Callingham et al. 2019 ) and is not actively producing dust (Han et al. subm) . The long period of Apep also implies the wind-collision region is unlikely to be disrupting the ionisation stratification of the stellar winds. Furthermore, the relatively low inclination of the Apep system argues against a significant amount of compressed wind velocity in our line of sight. If the wind-collision region was contributing significantly to the C III lines, we would expect to observe prominent sub-peak structure to be evident in the C III λ 569.6 nm line. Such sub-peak structure would likely be at relatively low radial-velocity given the geometry of the system, and only strong when dust formation is vigorous. Since we conclude that the central binary is likely composed of two classical WR stars, we can use the carbon and nitrogen line diagnostics to pin down their spectral subtypes. The C III λ 569.6 nm and C IV λ λ 580.1-1.2 nm lines are weak or absent in early WN stars. Therefore, we can classify the WC component from their relative strengths. As shown in Figure 2 , both lines are detected and have an equivalent width ratio of C III λ 569.6 nm/C IV λ λ 580.1-1.2 nm ≈ 1.8, establishing the WC component as a WC8 star (Crowther et al. 1998 ). The C III λ 1191 nm/C IV λ 1199 nm ratio of ≈3.0 (Callingham et al. 2019) argues against a WC9 classification. Equivalent widths for the WN star, using the strength of the helium and nitrogen lines, implies the WN component is consistent with a broad-lined WN4-6 star Rosslowe & Crowther 2018) , with the broad-line assignment supported by FWHM(He II 1012) ≫ 1900 km s −1 . In particular, the detection of the N IV λ 712 nm line narrows the spectral type of the WN star to WN4-6 as the N IV λ 712 nm line is absent or weak in both WN2-3 and WN7-9 stars Rosslowe & Crowther 2018) . Hence, we suggest that the central binary of Apep is composed of a WC8+WN4-6b binary. For a WC8+WN4-6 binary, we would expect each component to contribute more or less equally to the continuum flux in the visible range (Rate & Crowther 2020) , as also supported by the close morphological agreement of the combined WR 90+WR 6 spectrum in with that of the central binary ( Figure 6 ). Since the WC8 component is expected to dominate both the C III λ 569.6 nm 1 2 3 4 5 He ii+C iv N iv+C iv and C IV λ λ 580.1-1.2 nm lines, the intrinsic equivalent widths of these lines in the WC8 star are expected to be a factor of two larger than observed. Such strengths are relatively modest with respect to other WC8 stars. For example, WR 60 (HD 121194) has a similar FWHM to the WC8 component of Apep but has the equivalent widths of the C III λ 569.6 nm and C IV λ λ 580.1-1.2 nm lines a factor of three times larger (Smith et al. 1990 ). Therefore, it is likely the WC8 star has unusually weak lines to allow the WN4-6b star to contribute significantly more than expected to the visible continuum flux. We note that the weak line abnormality for the WC8 star can also suggest an additional continuum source, as hot dust will not be prominent at visible wavelengths. However, the internal dynamics and smooth pinwheel dust pattern of Apep does not support a close third member in the central component. We provide the visual-red and near-infrared spectra of the northern companion to the central binary of Apep in Figure 7 , 8, and 9. The figures also highlight some of the diffuse interstellar bands and interstellar sodium and potassium lines, which are also present in the spectra of the central binary. Based on the J-to K-band spectra, Callingham et al. (2019) suggested that the northern companion showed features similar to the B1 Ia+ supergiant HD 169454 (Groh et al. 2007 ). With the detection of C III λ 569.6 nm line emission, plus the separate components of the C III λ 971 nm multiplet, the spectrum of the northern companion now conspicuously resembles that of late-O supergiants (Bohannan & Crowther 1999) . In particular, the presence of weak He II λ 1012 nm absorption and a P Cygni profile for the He I λ 1083 nm line confirm that the star is a late O supergiant, with close morphological similarities to HD 151804 that is of O8 Iaf Normalised Flux Figure 8 . The spectrum of the northern companion to the central binary of Apep from 560 to 590 nm. C III λ 569.6 nm emission is detected in this wavelength range. The P Cygni He I λ 587.6 nm line is also detected. The spectral resolution of this plot has been smoothed by a factor of 12 to increase the signal-to-noise. The strong Na I D interstellar doublet is also seen, as are prominent diffuse interstellar bands at 578 and 579.9 nm. spectral type (Crowther & Bohannan 1997; Bohannan & Crowther 1999) . Additionally, the He I λ 1083 nm P Cygni line demonstrates the star has a terminal velocity of 1280 ± 50 km s −1 . The conditions and structure of the shock produced by the colliding winds in the central binary of Apep can be derived assuming the WC8+WC4-6 binary composition. There is evidence of two different pre-shock terminal wind velocities in the spectra. The first terminal wind velocity of v ∞,WN = 3500 ± 100 km s −1 is derived from fitting the P Cygni profile of the He I λ 1083 nm line Normalised Flux Figure 9 . The spectrum of the northern companion to the central binary of Apep from 1000 to 1090 nm, which displays the prominent He I λ 1083 nm line, plus weak He II λ 1012 nm absorption and Pδ at 1004.9 nm. (Eenens & Williams 1994) shown in Figure 3 . The second terminal wind velocity of v ∞,WC = 2100 ± 200 km s −1 is derived from the full-width at zero-intensity (FWZI) of the C III λ 569.6 nm line presented in Figure 2 . The FWZI of the C III λ 569.6 nm was measured by gridding the spectrum presented in Figure 2 to 0.15 nm and measuring the width of the line 5% above the average noise surrounding the line. Since the C III λ 569.6 nm line can only form in the WC8 star (Smith 1968; Torres et al. 1986 ), the faster wind measured from the P Cygni He I λ 1083 nm line is associated with the WN star in Apep. Such an association is also supported by the large FWHM of the He II λ 1012 nm line. With the measured wind velocities of the two stars, it is possible to predict the momentum ratio for the colliding winds (Usov 1992) . Modelling the winds of both stars as spherical, the windmomentum ratio η is defined as (Tuthill et al. 2008) . The half-opening angle of shock θ (in radians) can be calculated using the formula provided by Eichler & Usov (1993) For η ∼ 0.4, the half-opening angle is expected to be ≈73 • . This is somewhat larger than the half-opening angle of ≈60 • that is estimated from the spiral dust plume (Callingham et al. 2019) , consistent with the dust opening angle being smaller than the opening angle of the main shock (Tuthill et al. 2008) due to a switch in state of dust-production produced by an eccentric orbit (Han et al. subm) . However, one significant problem with the CWB model thus far presented is that a momentum ratio of 0.4 predicts that the dust should inherit a shock-compressed velocity of ≈2500 km s −1 (from Eqn. 29 of Cantó et al. 1996) , significantly higher than the observed dust expansion velocity of ≈600 km s −1 (Callingham et al. 2019) . The calculations performed above are predicated on the collision of two non-accelerating hypersonic spherical winds with the measured line-of-sight velocities, and that the postshock fluid is well mixed across the contact discontinuity separating the two radiative shocks. In contrast, Apep has been hypothesised to contain a dense, slow wind that emerges from the equator of one of the WR stars (Callingham et al. 2019) . While the orbital period of the central binary is ∼100 yr (Han et al. submitted) , it is possible that the slow wind is present in the wind collision region, while the faster wind with one of the measured terminal velocities is escaping from the pole of that same WR star. To test if we can recover the measured dust expansion velocity of ≈600 km s −1 with the hypothesised slow and flattened equatorial wind being present in the wind-collision region, we assume the mass-loss rate is the same for both WR stars and η = 0.4. We find it is possible to recover a shock-compressed wind velocity along the dust shell consistent with the measured dust expansion velocity if the WC8 star produces a wind with a speed of ≈530 km s −1 . Such a slow speed can be driven by near-critical rapid rotation of the WR star (Woosley & Heger 2006; Shenar et al. 2014) . For this calculation we modelled the WC8 star as having the hypothesised anisotropic mass-loss and slow, flattened wind since WC stars are known to dominate dust production in CWBs (e.g. Williams et al. 2009b) . Radio VLBI observations of Apep will be able to test if an half-opening angle of ≈73 • is suited to the central binary, and if the suggestion of the presence of the slow wind in the wind-collision region is accurate (Marcote et al. subm) . With attribution of the spectral classes for all of the components of Apep, it is possible to estimate a distance to the source based on average luminosities of the different spectral classes. Apep has previously been suggested to be at a distance of 2.4 +0.2 −0.5 kpc, and definitely < 4.5 kpc based on kinematic information derived from diffuse interstellar bands (Callingham et al. 2019) . Since the northern companion closely resembles HD 151804, and its spectrum likely has limited contamination from intrinsic dust, we estimate the extinction E(B − V ) by reddening the spectrum of the northern companion to roughly match HD 151804. From that we estimate E(B −V ) ≈ 4.2, implying an absolute visual magnitude of M V = −7.4 mag for a distance modulus of 11.9 mag, using a standard extinction law with R V = A V /E(B −V ) = 3.1 and V -band magnitude of 17.8 mag from Callingham et al. (2019) . This compares closely with the absolute visual magnitude of −7.2 mag of HD 151804 (O8 Iaf) from Crowther & Bohannan (1997) . For the central binary of Apep, we used models for WR 137 (WC7+O) and WR 110 (WN5-6b) to match the spectrum since the wind velocities of those stars are similar to those measured in the central binary. Again a reddening of E(B − V ) ≈ 4.2 generates a match to the combined spectra of the central binary, suggesting that the northern companion and central binary are associated. The combined absolute magnitude is M V = −5.9 mag for a distance modulus of 11.9 mag, R V =3.1 and V -band magnitude of 19.0 mag from (Callingham et al. 2019) . Under the reasonable assumption that each component contributes equally to the visual magnitude, as supported by the composite spectrum in Figure 6 , each component would have M V = −5.15 mag. Average absolute magnitudes for WC8 and WN4-6b stars in the WR visual band, V WR , are −4.5 ± 0.9 mag and −4.5±0.6 mag, respectively. These values are consistent with a distance of ∼2.4 kpc derived by Callingham et al. (2019) , and confirms the mismatch between the observed expansion velocity of the dusty spiral plume and spectroscopic wind in the system. In terms of the luminosity spread in both WR stars and O supergiants, a distance as close as 1.7 kpc and as far as 2.4 kpc are consistent with the photometry of Apep. In summary, we favour a distance of 2.0 +0.4 −0.3 kpc for Apep, and suggest the northern companion is likely associated with the central binary in a hierarchical triple system. Such an association is naturally favoured by the energetics of an O supergiant typical for its spectral class. However, we can not completely exclude the possibility that the northern companion is a rare chance line-ofsight alignment. If the northern companion is a chance alignment, such a configuration would help explain why there is no local heating of the dust near the star and the lack of a non-thermal source where the wind of the central binary impacts the northern companion's wind. The nearer distance of ∼1.7 kpc is favoured photometrically if the northern companion is not associated with the central WR binary. Finally, we note that the Gaia data release 2 (Gaia Collaboration et al. 2018) parallax measurement for Apep is not accurate due to the multiplicity of the system (Callingham et al. 2019 ) and the influence of the complex extended dusty circumstellar environment. With the use of visual-red/near-infrared X-SHOOTER spectra, the three stellar components of the Apep system have been separated and decomposed into a central binary of two WR stars of subtypes WC8 and WN4-6b, together with an O8 Iaf supergiant lying ∼0 ′′ .7 to the north. We contend that the central binary of Apep represents the strongest case of a classical WR+WR binary system in the Milky Way. The terminal wind velocity of the WC8 and WN4-6b stars are measured to be 2100 ± 200 and 3500 ± 100 km s −1 , respectively. If the mass-loss rates of the two WR stars are typical for their spectral class, the momentum ratio of the colliding wind is ∼ 0.4. Such a large momentum ratio predicts a shock half-opening angle of ≈73 • , ≈13 • larger than that obtained by fitting models to the geometry of the spiral dust plume. However, this model does not fit with the observed proper motions of the dust plume. We can recover the momentum ratio and the measured slow dust expansion velocity if the mass-loss rate of both WR stars is assumed to be the identical but the wind from the WC8 star in the wind collision region has a velocity of ≈530 km s −1 . The shock opening angle, and the presence of the slow wind is testable by way of radio VLBI observations (Marcote et al. subm) . Finally, we show that the similar extinction measurements for the central binary and northern companion suggest a physical association, with the entire massive triple-system lying at 2.0 +0.4 −0.3 kpc. SciPy: Open source scientific tools for Python The X-shooter pipeline ACKNOWLEDGEMENTS Dedicated to P. A. C's father, Donald Crowther, who passed away due to COVID-19 during the preparation of this manuscript.We thank the referee, Tomer Shenar (KU Leuven), for his insightful comments on the manuscript. J. R. C. thanks the Nederlandse Organisatie voor Wetenschappelijk Onderzoek (NWO) for support via the Talent Programme Veni grant. This study is based on observations collected at the European Organisation for Astronomical Research in the Southern Hemisphere under ESO programme 0103.D-0695(A).This work was performed in part under contract with the Jet Propulsion Laboratory (JPL) funded by NASA through the Sagan Fellowship Program executed by the NASA Exoplanet Science Institute. B. M. acknowledges support from the Spanish Ministerio de Economía y Competitividad (MINECO) under grant AYA2016-76012-C3-1-P.This research made use of NASA's Astrophysics Data System, the IPYTHON package (Pérez & Granger 2007) ; SCIPY (Jones et al. 2001 ); MATPLOTLIB, a PYTHON library for publication quality graphics (Hunter 2007) ; AS-TROPY, a community-developed core PYTHON package for astronomy (Astropy Collaboration et al. 2013); and NUMPY (Van Der Walt et al. 2011).