\section{Introduction}

It is well known that Galactic early-type stars are prominent soft ($\sim$keV) X-ray emitters
 \citep{1979ApJ...234L..51H, 1979ApJ...234L..55S},
usually attributed to shocks within their intrinsically structured outflows \citep{1970ApJ...159..879L, 1988ApJ...335..914O, 1999ApJ...520..833O}. From early surveys with {\it Einstein}, a linear proportionality of X-ray emission to  bolometric luminosity, $L_{\rm X} \sim 10^{-7} L_{\rm Bol}$, was established for O-type stars \citep{1980ApJ...239L..65L, 1981ApJ...248..279P, 1989ApJ...341..427C} which observations from successor X-ray satellites {\it ROSAT, XMM, Chandra} have supported \citep{1997A&A...322..167B, 2006MNRAS.372..661S, 2009A&A...506.1055N, 2011ApJS..194....7N, 2015ApJS..221....1R}.

It is now established that a high fraction of massive stars lie in binary systems with  short periods \citep{2012Sci...337..444S}. A subset of binaries are known to exhibit enhanced, often harder (few keV), X-ray emission \citep{1987ApJ...320..283P, 1991ApJ...368..241C, 2022arXiv220316842R} attributed to colliding stellar winds, although the majority of binaries do not exhibit excess X-ray emission \citep{2005MNRAS.361..679O}. Further, stellar atmosphere improvements to our understanding of massive stars have resulted in revisions to the properties of early-type stars including their temperatures and luminosities \citep{2002ApJ...579..774C, 2004A&A...415..349R} and a subset of early-type stars are known to possess kG-scale magnetic fields \citep{2017MNRAS.465.2432G}, so historical calibrations should  be used with caution. In addition, $\gamma$ Cas-like Oe and Be stars possess unusually bright, hard X-ray emission \citep{2016AdSpR..58..782S}.

Very few X-ray studies of early-type stars in the Magellanic Clouds have been carried out, including  {\it Chandra} ACIS imaging of the N66 region in the SMC, host to NGC~346 \citep{2003ApJ...586..983N}, ACIS imaging of the N11 region in the LMC \citep{2014ApJS..213...23N} and the 30 Doradus or Tarantula Nebula in the LMC, host to the rich star cluster R136  \citep{2002ApJ...574..762P, Leisa06}. However, early datasets were too shallow (20\,ks for 30 Dor) to draw firm conclusions on the $L_{\rm X}-L_{\rm Bol}$ relation since only a handful of OB stars were detected, although \citet{2014ApJS..213....1T} have provided an updated catalogue of X-ray sources in 30 Dor from 92\,ks {\it Chandra} ACIS observations. \citet{2014ApJS..213...23N} suggest LMC O stars possess similar X-ray properties to Milky Way counterparts, albeit based on stacked observations of undetected O stars in N11. Consequently, X-ray properties of Magellanic Cloud OB stars have historically been assumed in spectroscopic analyses \citep[e.g.][]{2002ApJ...579..774C}, since empirical calibrations at low metallicity have not been available. Since X-rays are believed to be emitted from  shocks embedded in the stellar wind, one would expect $L_{\rm X}$ to depend on mass-loss, which itself dependents on luminosity as $L_{\rm Bol}^{1/\alpha^{\prime}}$ with $\alpha^{\prime}$=0.6 \citep{2008A&ARv..16..209P}.

\begin{figure}
	\centering
	\includegraphics[width=0.8\linewidth,angle=0]{Figures/R136_acis_wfc3_sphereKs_sm_label.pdf}
  \caption{Three colour  10$''\times$10$''$ view of R136 comprising \textit{Chandra} ACIS 0.5--7\,keV (X-ray: red, L. Townsley et al. in prep), {\it HST} WFC3/F555W  \citep[optical: green,][]{2011ApJ...739...27D} and {\it VLT} SPHERE/K$_{s}$  \citep[near-IR: blue,][]{2021MNRAS.503..292K}, with X-ray sources and selected optical counterparts labelled in white and yellow respectively, including 9 X-ray sources associated with R136a.  The white polygons define X-ray event extraction apertures, and include c7452 which is host to  multiple spectroscopically confirmed early-type stars. Optical counterparts to these X-ray sources are listed in Table~\ref{multiple}. The O4\,If/WN8 supergiant R136b, located at an X-ray minimum, is also indicated. North is up and East to the left.}
	\label{r136a}
\end{figure}

The recent, much deeper (2\,Ms) {\it Chandra} ACIS imaging survey of the Tarantula Nebula in the LMC, 'Tarantula -- Revealed by X-rays' (T-ReX, PI Townsley), finally represents an opportunity to assess whether the canonical Galactic $L_{\rm X} - L_{\rm Bol}$ relation applies to LMC O-type stars, since this region is host to an exceptionally rich massive star content \citep{2019Galax...7...88C}. The Tarantula has been extensively, spectroscopically surveyed with {\it Very Large Telescope (VLT)}/FLAMES  \citep{2011A&A...530A.108E}, {\it VLT}/MUSE \citep{2018A&A...614A.147C} and {\it Hubble Space Telescope (HST)}/STIS \citep{2016MNRAS.458..624C}. To date, \citet{2018MNRAS.474.3228P} have utilised T-ReX to establish Melnick 34 as a colliding wind binary system, while  \citet{2015A&A...579A.131C} have investigated the candidate high mass X-ray binary VFTS 399.

In this paper we briefly introduce the T-ReX point source catalogue in Sect.~\ref{TREX}, present the
$L_{\rm X}-L_{\rm Bol}$ relation for early-type stars in 30 Doradus in Sect.~\ref{LxLbol}, and consider their X-ray hardness in Sect.~\ref{hardness}.
We investigate non-detections of some 30 Doradus luminous stars  in Sect.~\ref{MLS}, compare their X-ray properties with luminous early-type stars in the Carina Nebula in Sect.~\ref{metallicity_dependence}, and
present a brief summary in Sect.~\ref{summary}.

\section{T-ReX point source catalogue}\label{TREX}

The 2 Ms {\it Chandra} X-ray Visionary Program T-ReX was executed over 630 days between 2014 May 3 and 2016 Jan 22 using the ACIS instrument \citep{2003SPIE.4851...28G}, centred on R136a the central cluster in the heart of the Tarantula Nebula, with a 16.9$' \times 16.9'$ field of view for each pointing. This dataset also incorporates 92\,ks ACIS observations from 2006 Jan 21--30 \citep{2014ApJS..213....1T}, so represents a {\it hundred-fold} increase on exposure times with respect to early {\it Chandra} observations \citep{2002ApJ...574..762P, Leisa06}.
L.~Townsley et al. (in prep) introduce T-ReX,   while P.~Broos \& L.~Townsley (in prep) have produced a T-ReX point source catalogue (PSC). In brief, data reduction, point source detection and extraction follow \citet{2018ApJS..235...43T} and utilise ACIS Extract \citep{2010ApJ...714.1582B} tools\footnote{doi:10.5281/zenodo.781433}.

\begin{figure}
\centering
	\includegraphics[width=0.95\linewidth]{Figures/R136c_spectrum.pdf}
	\includegraphics[width=0.95\linewidth]{Figures/Mk39_spectrum.pdf}
	\includegraphics[width=0.95\linewidth]{Figures/R130_spectrum.pdf}
	\centering
  \caption{Representative XSPEC fits to three X-ray bright sources, involving from top to bottom: R136c (single 2.7\,keV fit in black), Mk\,39 (dual 0.9\,keV red and 2.6\,keV green fit, sum in black), and R130 (dual 0.8\,keV red and 8.1\,keV green fit, sum in black). R130 is one of only four early-type stars in the T-ReX sample which exhibits a very hard X-ray component. XSPEC parameters for these sources are included in Table~\ref{A1}.}
	\label{XSPEC}
\end{figure}

In order to identify massive star counterparts to T-ReX  sources, these were cross-matched against the \citet{2013A&A...558A.134D} catalogue, which involved a compilation of confirmed and candidate early-type
stars in the Tarantula Nebula. This was supplemented by more recent spectroscopic surveys
exploiting {\it VLT}/MUSE \citep{2018A&A...614A.147C} for the NGC~2070 region and {\it HST}/STIS \citep{2016MNRAS.458..624C} for the R136 cluster. In addition, 4 sources inadvertently omitted from \citet{2013A&A...558A.134D} were common to the VLT-FLAMES Tarantula Survey \citep{2011A&A...530A.108E}, namely VFTS 186, 411, 564 and 640.

\begin{table}
\begin{center}
\caption{T-ReX sources host to multiple stellar populations within the core of R136 (X1--9, $r_{\rm d} \leq $2.4$''$ or 0.6 parcsec from R136a1) plus c7452 (5$''$ to the east).
Catalogue numbers are from WB \citep{1985A&A...150L..18W}, MH \citep{1994AJ....107.1054M}, HSH \citep{1995ApJ...448..179H} and BAT \citep{1999A&AS..137..117B}. Cumulative spectroscopic luminosities from alternative studies \citep{2022arXiv220211080B} agree to within $\pm$0.1 dex.}
\label{multiple}
\begin{tabular}{l@{\hspace{2mm}}r@{\hspace{2mm}}rclc@{\hspace{2mm}}c}
\hline
WB & MH & HSH & BAT & Sp.Type & $\log L/L_{\odot}$ & Ref \\
\hline
  \multicolumn{7}{c}{R136a-X1 (p1\_832); PhotonFlux = $1.12 \times 10^{-5}$ cm$^{-2}$\,s$^{-1}$} \\

 a1 &  498 & 3 & 108 & WN5h & 6.79$\pm$0.10 & 1 \\
 a2 &  511 & 5 &  109 & WN5h & 6.75$\pm$0.10 & 1 \\
 a4 &  474 & 21 &        & O3\,V((f*)) & 6.24$\pm$0.18 & 1 \\
 a5 & 519 & 20 & 110  & O2\,I(n)f* & 6.29$\pm$0.10 & 1 \\
 a7 & 509 & 24 &        & O3\,III(f*) & 6.25$\pm$0.18 & 1 \\
 a8 & 480 & 27 &        & O2--3\,V    & 6.17$\pm$0.10   &  2   \\
       & 468      & 30  &        & O6.5\,Vz    & 5.68$\pm$0.14 & 1 \\
        & 443     & 35   &       & O3\,V         & 5.74$\pm$0.18 & 1 \\
        & 553     & 50   &       & O3--4\,V((f*)) & 5.71$\pm$0.11 & 1 \\
        & 542     & 58    &      & O2--3\,V:      & 5.94$\pm$0.16 & 1 \\
        & 518     & 66    &      & O2\,V--III(f*) & 5.64$\pm$0.21 & 1 \\
         & 533     & 70     &      & O5\,Vz & 5.78$\pm$0.18 & 1 \\
 \hline
     \multicolumn{7}{c}{R136a-X2 (cc4970); PhotonFlux = $2.37 \times 10^{-6}$ cm$^{-2}$\,s$^{-1}$} \\

  a3  & 467 &  6 &  106     & WN5h & 6.63$\pm$0.10 & 1 \\
  a6 & 454 &19,26 &        & O2\,I(n)f*p+? & 6.27$\pm$0.09 & 1 \\
   \hline
  \multicolumn{7}{c}{R136a-X3 (p1\_867); PhotonFlux = $1.59 \times 10^{-6}$ cm$^{-2}$\,s$^{-1}$} \\

      & 608       &  36 &       & O2\,If* & 6.33$\pm$0.11 & 1 \\
        & 618     &  46 &       & O2--3\,III(f*) & 6.16$\pm$0.18 & 1 \\
        & 592     &  48 &      & O2--3\,III(f*) & 6.05$\pm$0.20 & 1 \\
             \hline
   \multicolumn{7}{c}{R136a-X4 (c6981); PhotonFlux = $1.11 \times 10^{-6}$ cm$^{-2}$\,s$^{-1}$ } \\
          & 354  & 42 &        & O3\,V+O3\,V &   5.82$\pm$0.3: & 3, 4 \\
            \hline
  \multicolumn{7}{c}{R136a-X5 (c7157); PhotonFlux = $7.67 \times 10^{-7}$ cm$^{-2}$\,s$^{-1}$ } \\

         & 508    &  39 &     & O3\,V+O5.5\,V      & 5.76$\pm$0.3\phantom{0} & 3, 4 \\
         & 535  & 40  &        & O3\,V    & 5.88$\pm$0.18 & 1 \\
         & 486   & 49   &       & O3\,V     & 5.89$\pm$0.37 & 1 \\
            \hline
      \multicolumn{7}{c}{R136a-X6 (c7182); PhotonFlux = $5.86 \times 10^{-7}$ cm$^{-2}$\,s$^{-1}$ } \\

          & 537 & 31    &       & O2\,V((f*)) & 6.01$\pm$0.16 & 1 \\
          & 517 & 52 &         & O3--4\,Vz & 5.67$\pm$0.16 & 1 \\
          & 551 &  55    &       & O2\,V((f*))z & 5.76$\pm$0.15 & 1 \\
           & 536 & 77     &       & O5.5\,V+O5.5\,V & 5.36$\pm$0.3\phantom{0} & 3, 4 \\
          & 559 & 94      &      & O4--5\,Vz  & 5.52$\pm$0.23 & 1 \\
           & 514 & 114    &      & O5--6\,V    & 5.25$\pm$0.21 & 1 \\
           \hline
           \multicolumn{7}{c}{R136a-X7 (c7257); PhotonFlux = $4.00 \times 10^{-7}$ cm$^{-2}$\,s$^{-1}$ } \\
           & 602 & 47    &       & O2\.V((f*)) & 6.09$\pm$0.21 & 1 \\
            \hline
      \multicolumn{7}{c}{R136a-X8 (c7018); PhotonFlux = $2.07 \times 10^{-7}$ cm$^{-2}$\,s$^{-1}$ } \\
          & 409 & 75    &        & O6\,V & 5.29$\pm$0.22 & 1 \\
          & 397 & 108 &         & O\,Vn & 5.04$\pm$0.24 & 1 \\
          \hline
            \multicolumn{7}{c}{R136a-X9 (cc4968); PhotonFlux = $1.82 \times 10^{-7}$ cm$^{-2}$\,s$^{-1}$ } \\
          & 434 & 116    &        & O7\,V & 4.84$\pm$0.16 & 1 \\
          & 465 & 121 &         & O9.5\,V & 4.86$\pm$0.16 & 1 \\
                    \hline
           \multicolumn{7}{c}{c7452; Photon Flux = $2.08 \times 10^{-7}$ cm$^{-2}$\,s$^{-1}$ } \\
           & 744 & 68    &        & O4--5\,Vz & 5.73$\pm$0.22 & 1 \\
           & 741 & 102 &         & O2--3\,III & 5.40$\pm$0.3\phantom{0} & 5 \\
           &  711 & 129 &          & O             & 4.37$\pm$0.26 & 1 \\

\hline
\end{tabular}
\end{center}
\begin{footnotesize}
1: \citet{2020MNRAS.499.1918B}; 2: \citet{2022arXiv220211080B}; 3: \citet{2002ApJ...565..982M}; 4: \citet{2013A&A...558A.134D}; 5 \citet{2016MNRAS.458..624C}
\end{footnotesize}
\end{table}

In total, P.~Broos \& L.~Townsley (in prep, their table 6) identify 115 sources in common between T-ReX and optical photometric catalogues of hot, luminous stars, with a median separation of 0.15$''$ between X-ray and optical positions. Of these, 108 have optical spectral classifications,  most of which involve a single optical source, with the exception of R140a  \citep{1987ApJ...312..612M} and the rich, crowded R136 cluster, whose brightest X-ray sources are associated with multiple stars. Fig~\ref{r136a} shows a three colour image of R136, including {\it Chandra} ACIS (red, L. Townsley et al. in prep), {\it HST} WFC3/F555W \citep[green,][]{2011ApJ...739...27D} and {\it VLT} SPHERE/K$_{s}$ \citep[blue,][]{2021MNRAS.503..292K}. The white polygons define X-ray event extraction apertures; for uncrowded sources, these represent 90\% encircled energy contours of the Chandra/ACIS point spread function (extraction apertures are reduced for crowded sources). Fig~\ref{r136a} also highlights three X-ray counterparts to optically-bright sources elsewhere in the vicinity of R136a, namely R136c (= VFTS 1025), VFTS 1014 \citep[=HSH 29,][]{1995ApJ...448..179H}  and VFTS 1019 (= HSH 38), plus c7452, which is host to multiple early-type stars. Table~\ref{multiple} provides spectral types and luminosities  of the primary optical counterparts to these 9 X-ray sources within R136a plus c7452.

Optical spectroscopy reveals that the majority of the sources, or primaries in binary systems,  are O-type stars (71 sources), followed by Wolf-Rayet stars (14), B-type stars (7) or Of/WN stars (6). We omit cc4769 a.k.a. VFTS 1003 \citep[= SMB 283,][]{1999A&A...341...98S} from our subsequent discussion since it is a peculiar Be star, hindering spectroscopic analysis \citep{2015A&A...574A..13E}, such that our final sample involves 107 sources, of which 11 are X-ray sources host to multiple populations within R136 or R140a. X-ray properties of all sources are provided in Table~\ref{A1}, sorted by photon flux. For each source, net counts (NetCts) and spectral fits were obtained from all observations of that source. However, in some cases a single observation was used to assess detection significance. Thus, detection significance cannot be inferred from NetCts values. For example, the detection of the last source (cc7873) was determined by a single observation from which 4.9 net counts were extracted, NetCts=4.9, and the detection p-value is 0.0018. The 2\,Ms spectrum of this source has 28 total counts, but the expected background is $\sim$27 counts.

\begin{table*}
\begin{center}
\caption{Comparison between observed atomic hydrogen column densities (from Lyman $\alpha$) towards early-type stars at a range of radial distances  from R136a ($r_{\rm d}$ in arcmin) and values predicted from the Galactic and LMC calibrations, $\log N(H)/E_{\rm B-V}$ of \citet{1995A&A...293..889P} and \citet{1982A&A...107..247K}, respectively. For R136a, \citet{2022arXiv220211080B} obtained a total Ly$\alpha$ (log) column density of 21.88$\pm$0.07 cm$^{-2}$ from the average of the brightest 29 stars observed with HST/STIS spectroscopy, in good agreement with 21.85$^{+0.10}_{-0.15}$ cm$^{-2}$ from IUE/SWP spectroscopy \citep{1980ApJ...236..769D}.
A Galactic foreground of $E^{\rm MW}_{\rm B-V}$=0.07 or $A^{\rm MW}_{\rm V}$=0.22 mag is adopted in all cases, corresponding to $N(H)^{\rm MW} = 3.8 \times 10^{20}$ cm$^{-2}$ and we adopt  $A^{\rm LMC}_{\rm V} = 3.5 E_{\rm B-V}^{\rm LMC}$ \citep{2013A&A...558A.134D} such that $N(H)^{\rm Tot} = N(H)^{\rm MW} + N(H)^{\rm LMC}$. Overall good agreement is found between the empirical total hydrogen column density and that obtained from calibrations, $\Delta N(H) = \log N(H)_{\rm Ly\alpha}^{\rm Tot} - \log N(H)^{\rm Tot}$, especially for the bulk of T-ReX sources within $r_{\rm d} \leq 7$ arcmin ($\sim$ 100 pc).}
\label{lyman_alpha}
\begin{tabular}{
l@{\hspace{1mm}}l@{\hspace{1mm}}c@{\hspace{2mm}}
c@{\hspace{1mm}}l@{\hspace{2mm}}
c@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{2mm}}
l@{\hspace{2mm}}l}
\hline
Star &  Aliases & $r_{\rm d}$      & $A^{\rm LMC}_{\rm V}$ & Ref & $N(H)^{\rm LMC}$ & $\log N(H)^{\rm Tot}$ & $\log N(H)_{\rm Ly\alpha}^{\rm Tot}$ & Ref & $\Delta N(H)$  \\
        &         & arcmin & mag                  &      & $10^{21}$ cm$^{-2}$ & cm$^{-2}$               & cm$^{-2}$                   & & dex \\
\hline
R136a & HD~38268, Sk --69$^{\circ}$ 243 & 0.00 & 1.58   & 1 & 9.0 & 21.97 & 21.88 & 2 & --0.09  \\
Mk\,42  & P93~922, BAT99-105 & 0.13 & 1.42 & 3 & 8.1 & 21.93 & 21.79 & 4 &  --0.14 \\
R144  & HD~38282, Sk --69$^{\circ}$ 246, P93~9037, BAT99-118 & 4.1\phantom{0} & 0.40 & 5 & 2.3 & 21.43 & 21.47 & 6 & +0.05  \\
BI\,253 & VFTS\,72 & 7.78 & 0.65 & 3 & 3.7 & 21.61 & 21.68 & 6 & +0.06  \\
VFTS\,696 & Sk --68$^{\circ}$ 140 & 9.26 & 0.68 & 4 & 3.9 & 21.63 & 21.78 & 6 & +0.15  \\
HDE\,269888 & Sk --69$^{\circ}$ 234, VFTS\,136, BAT99-90 & 9.84 & 0.83 & 7 & 4.8 & 21.71 & 21.52 & 4 & --0.19  \\
\hline
\multicolumn{2}{l}{Average ($\pm$ St. Dev.)}           &        &      &            &           & &  & &--0.03$\pm$0.13 \\
\hline
\end{tabular}
\end{center}
\begin{footnotesize}
1: \citet{2016MNRAS.458..624C}
2: \citet{2022arXiv220211080B}
3: \citet{2014A&A...570A..38B}
4:  \citet{2012ApJ...745..173W}
5: \citet{2021A&A...650A.147S}
6: \citet{2019ApJ...871..151R}
7: \citet{2002A&A...392..653C}
\end{footnotesize}
\end{table*}

In order to correct observed X-ray fluxes (0.5--8 keV) for absorption by interstellar gas we undertake XSPEC \citep{1996ASPC..101...17A} $\chi^2$ ($\geq$50 net counts) or Cash statistic \citep{1979ApJ...228..939C} ($<$50 net counts) fitting. For
Mk~34 we provide an update to X-ray luminosities from \citet{2018MNRAS.474.3228P}. \citet{2015A&A...579A.131C} have also analysed initial T-ReX observations of VFTS~399, for which a power law fit is adopted here since high mass X-ray binaries have different X-ray emission mechanisms than OB or WR systems. VFTS~399 aside, all fits used a one-temperature or two-temperature thermal plasma model ({\em vapec}) with frozen metal abundances appropriate for the LMC presented in the Appendix in Table~\ref{abundances}. Spectral fitting restricted plasma temperatures to 0.27 keV $\leq kT \leq$ 9.5 keV.

T\"{u}bingen-Boulder absorption components model the Milky Way ISM ({\em TBabs}$^{\rm MW}$) and LMC ISM ({\em TBvarabs}$^{\rm LMC}$), plus we additionally consider a circumstellar absorption component ({\em TBvarabs}$^{\rm Circ}$), although the latter is excluded from extinction-corrected luminosities for consistency with other studies. For the Milky Way, we adopt a uniform atomic hydrogen column density based on
\[ N_H^{\rm MW} / E^{\rm\bf MW}_{\rm B-V} = 5.3 \times 10^{21}  \hspace*{0.2cm} {\rm cm}^{-2} {\rm mag}^{-1} \]
\citep{1995A&A...293..889P}
with $E^{\rm MW}_{\rm B-V}$ = 0.07 mag adopted from \citet{1984ApJ...279..578F}. For the LMC we consider a variable component, generally selected from the literature dust extinctions listed in the Appendix (Table~\ref{A2}) using
\[ N_H^{\rm LMC}/E^{\rm LMC}_{\rm B-V} = 2  \times 10^{22} \hspace*{0.2cm} {\rm cm}^{-2} {\rm mag}^{-1} \]
\citep{1982A&A...107..247K},
with $A^{\rm LMC}_{\rm V}  \sim 3.5 E^{\rm LMC}_{\rm B-V}$ \citep{2013A&A...558A.134D}\footnote{\citet{2013A&A...558A.134D} favour a higher ratio of $A^{\rm LMC}_{\rm V}  \sim 4.2 E^{\rm LMC}_{\rm B-V}$ in the vicinity of R136}. For the total foreground column density $N(H)^{\rm Tot}$ we sum the Milky Way and LMC components, $N(H)^{\rm MW}$ and $N(H)^{\rm LMC}$.

Since there is significant variation in $N_H^{\rm LMC}/E^{\rm LMC}_{\rm B-V}$ \citep[][their fig 5]{2002ApJ...566..857T} we have reassessed the \citet{1982A&A...107..247K} calibration for early-type stars in 30 Doradus. Table~\ref{lyman_alpha} compares
expected hydrogen column densities to measured   Lyman~$\alpha$  column densities for six sight-lines. Overall we find excellent agreement between the observed hydrogen column densities and the total predicted from calibrations, with  $\log N(H)_{\rm Ly \alpha}^{\rm Tot} - \log N(H)^{\rm Tot} = -0.03\pm$0.13 dex.
Frozen abundances in the {\em TBvarabs} components are appropriate for the LMC (Table~\ref{abundances}). The model is implemented in XSPEC as {\em{(TBvarabs$^{\rm LMC}$*TBabs$^{\rm MW}$)(TBvarabs$^{\rm Circ}$*vapec)} or  {\em{(TBvarabs$^{\rm LMC}$*TBabs$^{\rm LMC}$)(TBvarabs$^{\rm Circ1}$*vapec + TBvarabs$^{\rm Circ2}$*vapec)}. Intrinsic X-ray luminosities assume a distance of 50 kpc to the LMC and set both $N_H^{\rm MW}$ and $N_H^{\rm LMC}$ to zero in XSPEC(which does not support the quantification of uncertainties on corrected luminosities). The average attenuation correction to observed X-ray luminosities is 0.31$\pm$0.17 dex.

Single temperature models provided satisfactory fits for the majority of X-ray sources (e.g. R136c in top panel of Fig.~\ref{XSPEC}), whilst improved fits were achieved for 27 sources using two plasma temperatures. These are flagged in the Appendix (Table~\ref{A1}) and include Mk\,39 in the central panel of Fig.~\ref{XSPEC}. Four WR systems (R130, R134, R135 and Mk~53) exhibit extremely hard X-ray components, as indicated for R130 in the lower panel of Fig.~\ref{XSPEC} such that corrected X-ray luminosities represent lower limits. These sources possibly exhibit different emission mechanisms which are responsible for very hard plasmas reminiscent of $\gamma$ Cas systems \citep{2016AdSpR..58..782S}  and are therefore excluded. More detailed comparisons are deferred to subsequent studies, including K.~Tehrani et al. (in prep) for WR and Of/WN stars. The X-ray faintest sources with fewer than 10 net counts were fit with a fixed $kT$ = 0.8 keV (close to the median for other sources) so should also be treated with caution.

\begin{figure*}
\centering
\begin{minipage}[c]{0.75\linewidth}
	\includegraphics[width=0.74\linewidth,angle=-90,bb = 0 60 540 700]{Figures/XSPEC.pdf}
\end{minipage}\hfill
\begin{minipage}[c]{0.25\linewidth}
\centering
  \caption{Comparison between X-ray and bolometric luminosities for 107 early-type sources from the T-ReX point source catalogue (P.~Broos \& L.~Townsley, in prep). X-ray luminosities are corrected for interstellar extinction ($L_{X}^{tc}$ in Table~\ref{A1}), while references to bolometric luminosities are provided in Tables~\ref{multiple} (R136) and \ref{A2} (non-R136). The solid line indicates the canonical $L_{\rm X} = 10^{-7} L_{\rm Bol}$ relation, with dotted lines offset by $\pm$1 dex. Symbols correspond to the nature of the primary/brightest component, namely WR star (square), Of/WN star (triangle), O-type star (circle), B-type star (star). Spectroscopically confirmed binaries are shown as solid symbols and other sources (single and multiple systems lacking a known binary companion) are shown as open symbols. For clarity, uncertainties are included solely for SB2 systems.}
	\label{fig1}
	\end{minipage}
\end{figure*}

Table~\ref{literature} compares  X-ray luminosities from T-ReX for a subset of the brightest sources to literature results based on fits to historical {\it Chandra} shallow surveys. Luminosity estimates from early studies suffered from large uncertainties owing to short exposures (20\,ks), such that T-ReX provides more reliable X-ray properties, especially for fainter sources in common. A number of bright PSC sources are known to be X-ray variable \citep[e.g. Mk\,34,][]{2018MNRAS.474.3228P}, detailed discussion of which is deferred to K.~Tehrani et al. (in prep), such that X-ray luminosities considered here are time averaged quantities (XSPEC fits have also been undertaken for Mk~33Na by \citet{2022MNRAS.510.6133B}).

\citet{2019A&A...626A..59C} presented a hardness colour for early-type stars in Westerlund~1, which involved $(h-s)/(h+s)$ where $h$ is is the observed counts in the 2--8 keV range, and $s$ is the observed counts in the 0.5--2 keV range. Here we adapt their hardness colour to calculate a hardness index, $\eta_{2}$, based on {\it intrinsic} luminosities,  in the hard (2--8 keV, $L^{hc}_{\rm X}$) versus soft (0.5--2 keV, $L^{sc}_{\rm X}$) bands , i.e.
\[
\eta_{2} = \frac{(L^{hc}_{\rm X}- L^{sc}_{\rm X})}{(L^{sc}_{\rm X} + L^{hc}_{\rm X})},
\]
such that exclusively soft emitters will have $\eta_{2}$ = --1 and pure hard emitters will have $\eta_{2}$ = +1. Our approach, involving interstellar extinction-corrected quantities, has two main advantages over observed hardness colours . First, observed event rates will evolve over time owing to the degradation of the ACIS soft energy response, whereas our XSPEC fits (on which our luminosities are based) account for these effects. Second, sources will exhibit a range of line-of sight absorptions, particularly when comparing hardness indices across different regions.

Alternatively, armed with a mix of single and dual temperature XSPEC fits we can evaluate a more physically motivated quantity, namely a weighted mean temperature, $T_{\rm m}$ via
\[ kT_{\rm m} = \frac{\Sigma_i (kT_i \times {\rm EM}_i)}{\Sigma_i {\rm EM_i}}
\]
where EM$_i$ is the volume emission measure.  $\eta_{2}$ and especially $kT_{\rm m}$ are sensitive to well-known degeneracies between column densities and plasma temperatures \citep{2014ApJ...788...90G}, although these are mitigated by optically-derived column densities throughout the present study (circumstellar column densities are not considered when determining X-ray luminosities). Sources for which power law slopes are adopted, such as VFTS 399, permit the determination of a hardness index, though not a plasma temperature.

Table~\ref{A2} in the Appendix provides spectral type information, together with X-ray luminosities, mean plasma temperatures and hardness indices, plus identifications in 30 Doradus-specific catalogues \citep{1985A&A...153..235M, 1993AJ....106..560P, 1994AJ....107.1054M, 1995ApJ...448..179H, 1999A&A...341...98S, 2011A&A...530A.108E, 2018A&A...614A.147C} plus general LMC catalogues \citep{1960MNRAS.121..337F, 1970CoTol..89.....S, 1975A&AS...21..109B, 1992A&AS...92..729S, 1999A&AS..137..117B}.

\begin{table}
\centering
\caption{Comparison between X-ray luminosities for bright early-type stars in the Tarantula Nebula from T-ReX in common with literature results (LT06 \citet{Leisa06}; SPZ02 \citet{2002ApJ...574..762P}) based on shallower {\it Chandra} surveys (20\,ks), sorted by T-ReX photon flux. X-ray luminosities are obtained from XSPEC fits to T-ReX observations from this work ('X') or adapted from \citet[P18]{2018MNRAS.474.3228P}. Variable bright X-ray sources are flagged as "var".}
\begin{tabular}{r@{\hspace{2mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}r@{\hspace{1mm}}r@{\hspace{2mm}}c@{\hspace{2mm}}r@{\hspace{2mm}}c@{\hspace{2mm}}l}
\hline
Photon flux &  $\log L_{\rm X}$ &  & Ref &            LT06 & $\log L_{\rm X}$ & SPZ02 & $\log L_{\rm X}$ & Source \\
cm$^{-2}$\,s$^{-1}$  & erg\,s$^{-1}$           &         &   &                        & erg\,s$^{-1}$                       &           & erg\,s$^{-1}$                     \\
\hline
$1.48 \times 10^{-4}$ & 35.31 & var & P18 & 132 & 35.38 & CX5 & 35.26 &  Mk 34\\
$1.46 \times 10^{-4}$ & 35.38 & var & X & 51 & 35.25 & CX10 & 35.22 &  R140a \\
$4.92 \times 10^{-5}$ & 34.79  & var & X & 27 &  34.06 & ---      & ---        & VFTS 399\\
$1.70 \times 10^{-5}$ & 34.39 & var & X & 102 & 35.04 & CX2 & 34.93 &  R136c \\
$1.69 \times 10^{-5}$ & 34.28 & var & X & 36 & 34.22  & CX8 & 34.00 &  Mk 39\\
$1.12 \times 10^{-5}$ & 34.17 & var & X & 83 & 34.31 & CX1 & 34.10 &  R136a-X1 \\
$4.72 \times 10^{-6}$ & 33.62 & var & X & 131 & 34.63 & CX7 & 33.93 &  Mk 33Sa\\
$4.20 \times 10^{-6}$ & 33.62 & var & X & 82 & 33.39 & CX11 & 33.34 &  R139 \\
$4.10 \times 10^{-6}$ & 33.68 & var & X & 133 & 33.99 & CX9 & 33.44 &  Mk 33Na\\
$2.97 \times 10^{-6}$ & 33.41 & var & X & 154 & 33.51 & CX17 & 33.17 &  R144\\
$2.81 \times 10^{-6}$ & 33.66 & --- & X & 10 & 33.48  & ---    & ---       &  R130 \\
$2.37 \times 10^{-6}$ & 33.38 & var & X & 79 & 33.93 & ---    & ---         &  R136a-X2\\
$2.05 \times 10^{-6}$ & 33.34 &---  & X & ---  &   ---     & CX4    & 33.31 &  Mk 42\\
$1.87 \times 10^{-6}$ & 33.24 & var & X & 156 & 33.99 & CX12 & 33.25 &  R145 \\
$1.59 \times 10^{-6}$ & 33.30 & --- & X & 90 & 33.56 &  ---    & --- &  R136a-X3 \\
$1.50 \times 10^{-6}$ & 33.22 & var & X & 49 & 33.57 &    --- & ---         &  R140b \\
$1.08 \times 10^{-6}$ & 33.04 & --- & X & 45 & 33.81 & CX3 & 33.17  &  HSH 28 \\
$4.19 \times 10^{-7}$ & 32.68 & ---  & X & 23 & ---     & CX14 & 32.55 & VFTS 267\\
$1.38 \times 10^{-7}$   & 32.46 &--- & X &   --- &   ---    & CX6     & 32.86 &  R134\\
\hline
\end{tabular}
\label{literature}
\end{table}

\begin{table*}
\centering
\caption{Average $\log L_{\rm X}/L_{\rm Bol}$, hardness index, $\eta_{2}$, and mean plasma temperature, $kT_{m}$, for spectroscopically classified single/binary/multiple T-ReX point sources, including 1$\sigma$ dispersions. Single and binary systems are also separated into the spectral class of the primary. We also provide average properties excluding the following outliers: 3 extreme systems Mk\,34 (WN5h+WN5h, SB2), R140a (WC4+WN6+, multiple), VFTS 399 (O9\,IIIn+?, SB1), plus 4
systems for which XSPEC fitting requires a discrete very hard component: R130 (WN/C+B1\,I, SB2), R134 (WN6(h), single), R135 (WN5:+WN7, SB2) and Mk~53 (WN8(h), single). }\label{table1}
\begin{tabular}{l@{\hspace{4mm}}
r@{\hspace{1.5mm}}c@{\hspace{1.5mm}}c@{\hspace{1.5mm}}c@{\hspace{8mm}}
r@{\hspace{1.5mm}}c@{\hspace{1.5mm}}c@{\hspace{1.5mm}}c@{\hspace{8mm}}
r@{\hspace{1.5mm}}c@{\hspace{1.5mm}}c@{\hspace{1.5mm}}c}
\hline
Sp.Type& N & $\log \overline{L_{\rm X}/L_{\rm Bol}}$ & $\overline{\eta_{2}}$ & $\overline{kT_{m}}$
& N & $\log \overline{L_{\rm X}/L_{\rm Bol}}$ & $\overline{\eta_{2}}$ & $\overline{kT_{m}}$
& N & $\log \overline{L_{\rm X}/L_{\rm Bol}}$ & $\overline{\eta_{2}}$ & $\overline{kT_{m}}$\\
              &   &                                                               &                                   & keV
              &   &                                                               &                                   & keV
             &    &                                                              &                                     & keV\\
\hline
                  & \multicolumn{4}{c}{--- Single --- }  & \multicolumn{4}{c}{--- Binary --- } & \multicolumn{4}{c}{--- Single \& Binary --- } \\
O  all         & 40 & --7.04$\pm$0.44 & --0.62$\pm$0.32       & 1.03$\pm$0.78           & 31 & --6.92$\pm$0.77 & --0.68$\pm$0.37 &  0.84$\pm$0.36& 71 & --6.98$\pm$0.60 & --0.65$\pm$0.34 & 0.95$\pm$0.64\\
O all excl. & 40 &  --7.04$\pm$0.44 & --0.62$\pm$0.32      & 1.03$\pm$0.78            & 30 & --7.03$\pm$0.42 & --0.73$\pm$0.32 & 0.84$\pm$0.36 & 70 & --7.04$\pm$0.43 & --0.67$\pm$0.33 & 0.95$\pm$0.64\\
\\
O\,V-IV & 21 & --7.03$\pm$0.42 & --0.66$\pm$0.32 & 1.08$\pm$0.91 & 17 & --7.00$\pm$0.37 & --0.74$\pm$0.19 & 0.86$\pm$0.30 &  38 & --7.03$\pm$0.37 & --0.71$\pm$0.26 & 0.96$\pm$0.71 \\
O\,V-IV excl. & 21 & --7.03$\pm$0.42  & --0.66$\pm$0.32 & 1.08$\pm$0.91 & 17 & --7.00$\pm$0.37 & --0.74$\pm$0.19 & 0.86$\pm$0.30 & 38 & --7.03$\pm$0.37& --0.71$\pm$0.26 & 0.96$\pm$0.71 \\
\\
O\,III--I & 12 & --7.02$\pm$0.51 & --0.68$\pm$0.29 & 0.80$\pm$0.57 & 12 & --6.75$\pm$1.18 & --0.54$\pm$0.53 & 0.88$\pm$0.49 &  24 & --6.88$\pm$0.88 & --0.61$\pm$0.42 & 0.84$\pm$0.52 \\
O\,III--I excl.              & 12 & --7.02$\pm$0.51 & --0.68$\pm$0.29 & 0.80$\pm$0.57 & 11 &  --7.06$\pm$0.56 & --0.65$\pm$0.39  & 0.88$\pm$0.49 & 23 & --7.06$\pm$0.56 & --0.65$\pm$0.39 & 0.84$\pm$0.52\\
\\
WR              &  7& --7.08$\pm$0.61 & +0.26$\pm$0.46 & 4.12$\pm$2.80 & 6  & --6.42$\pm$0.75 & +0.33$\pm$0.32  & 4.36$\pm$3.04 & 13 & --6.78$\pm$0.73 & +0.29$\pm$0.38 & 4.23$\pm$2.79\\
WR excl.      & 5 & --7.00$\pm$0.72 & +0.20$\pm$0.47 &  2.60$\pm$1.22 &  3  & --6.83$\pm$0.19 & +0.23$\pm$0.15  & 2.42$\pm$1.57 & 8 & --6.94$\pm$0.56 & +0.24$\pm$0.38  & 2.96$\pm$1.73\\
 \\
Of/WN          &  4 & --7.38$\pm$0.32 & +0.50$\pm$0.18 & 0.86$\pm$0.24 &  2  & --6.44$\pm$1.04 &  --0.33$\pm$0.07   & 1.25$\pm$0.55 & 6 & --7.07$\pm$0.72 & --0.44$\pm$0.17 & 0.99$\pm$0.37 \\
Of/WN excl.  & 4  &--7.38$\pm$0.32  & +0.50$\pm$0.18 & 0.86$\pm$0.24 &  2  & --6.44$\pm$1.04 & --0.33$\pm$0.07  & 1.25$\pm$0.55 & 6 & --7.07$\pm$0.72 & --0.44$\pm$0.17 & 0.99$\pm$0.37 \\
\\
B           &   5$^{a}$   & --6.44$\pm$0.81 & --0.91$\pm$0.05 & 0.63\phantom{$\pm$0.00}  & 1     &  --7.22\phantom{$\pm$0.00}       &  --0.86\phantom{$\pm$0.00}  & 0.76\phantom{$\pm$0.00} & 6 & --6.57$\pm$0.79 & --0.90$\pm$0.05 & 0.70$\pm$0.09 \\
\\
All                 &     56  & --6.97$\pm$0.61 & --0.50$\pm$0.45 & 1.44$\pm$1.62 & 40 & --6.83$\pm$0.77 & --0.51$\pm$0.51  &  1.43$\pm$1.76 & 96 & --6.94$\pm$0.64 & --0.50$\pm$0.47 & 1.44$\pm$1.76 \\
All excl.       &      54    & --7.00$\pm$0.53 & --0.54$\pm$0.43 & 1.17$\pm$0.92 & 36 & --6.99$\pm$0.45 & --0.62$\pm$0.40  & 1.00$\pm$0.69 & 90 &--7.00$\pm$0.49 & --0.57$\pm$0.42 & 1.10$\pm$0.84 \\
\hline
                  & \multicolumn{4}{c}{--- Single+SB1 --- }  & \multicolumn{4}{c}{--- SB2 --- }  &  \multicolumn{4}{c}{--- Multiple --- } \\
All         & 72 & --6.97$\pm$0.70 & --0.53$\pm$0.45 & 1.30$\pm$1.45 & 24 & --6.74$\pm$0.59 & --0.41$\pm$0.53 & 1.83$\pm$0.38 & 11 & --6.56$\pm$0.67 & --0.50$\pm$0.23  & 1.50$\pm$1.11 \\
All excl. & 69 & --7.04$\pm$0.49 & --0.58$\pm$0.42 & 1.09$\pm$0.84 & 21 & --6.84$\pm$0.48 & --0.54$\pm$0.43 & 1.12$\pm$0.85 & 10 &--6.76$\pm$0.19 & --0.50$\pm$0.24 & 1.51$\pm$1.17 \\
\hline
\end{tabular}
(a) VFTS 186 has a measured plasma temperature while other single B stars are adopted to have a median temperature of 0.8 keV.
\end{table*}

\section{Nature of X-ray sources and $L_{\rm X}-L_{\rm Bol}$ relation}\label{LxLbol}

94 of the 107 T-ReX sources have been subject to spectroscopic analysis via a variety of studies, generally outlined in \citet{2019Galax...7...88C}. 50 WR, Of/WN stars and OB-type stars from VFTS have been analysed by \citet{2014A&A...570A..38B}, \citet{2015A&A...575A..70M}, \citet{2017A&A...600A..81R} and \citet{2017A&A...601A..79S}. 5 OB binary systems from the TMBM survey \citep{2017A&A...598A..84A} have been spectroscopically analysed by \citet{2020A&A...634A.118M}. A further 18 OB stars within NGC~2070 observed with {\it VLT}/MUSE have been analysed by \citet{2021A&A...648A..65C}, while \citet{2020MNRAS.499.1918B} have analysed {\it HST}/STIS spectroscopy of individual stars in R136a, involving 8 T-ReX sources. \citet{2012A&A...543A..95R} have analysed {\it HST}/STIS+FOS spectroscopy of Mk 33Sa from \citet{2005ApJ...627..477M} and one further candidate colliding wind binary system Mk 33Na (identified via T-ReX) has been followed up with {\it VLT}/UVES spectroscopic monitoring to confirm its SB2 status and has been analysed by \citet{2022MNRAS.510.6133B}.
The remainder include 8 single or binary Wolf-Rayet stars which have been analysed by \citet{2010MNRAS.408..731C}, \citet{2014A&A...565A..27H}, \citet{2017A&A...598A..85S}, \citet{2019MNRAS.484.2692T}, \citet{2019A&A...627A.151S} and \citet{2021A&A...650A.147S}. Spectral type calibrations are applied for the remaining 14 sources, following \citet{2013A&A...558A.134D}, inevitably leading to higher uncertainties in bolometric luminosities. Table~\ref{A2} in the Appendix provides X-ray and bolometric luminosities for the complete sample, including binary information. X-ray variables are highlighted (with "var") on the basis of Gaussian or Poissonian statistics, although inevitably these are limited to the brightest sources with unattenuated X-ray luminosities of $L_{\rm X} \geq 10^{33}$ erg\,s$^{-1}$.

\citet{2005MNRAS.361..679O} concluded that, in general, binaries follow the canonical X-ray relationship for single early-type stars, although occasionally colliding wind systems exhibit enhanced, harder X-ray emission, with respect to single stars \citep{2011BSRSL..80..555P, 2012ASPC..465..301G, 2022arXiv220316842R}.  In general, establishing the single or binary nature of early-type stars is notoriously difficult. Fortunately, 76 T-ReX sources were included in VFTS, with spectroscopy across a range of cadences and
whose spectroscopic binary status has been summarised in \citet{2014A&A...564A..40W} and \citet{2015A&A...574A..13E}.
A subset of VFTS sources identified as spectroscopic binaries have been followed up with the Tarantula Massive Binary Monitoring \citep[TMBM,][Shenar et al. in prep]{2017A&A...598A..84A} and B-stars binaries characterization \citep[BBC,][]{2021MNRAS.507.5348V}
surveys in order to establish orbital properties. Excluding complex systems in R136a, 41 sources are confirmed spectroscopic binaries, of which 24 are double-lined spectroscopic binaries (SB2). One source (SMB 151) has been identified as an eclipsing binary OGLE-LMC-ECL-21413 \citep{2011AcA....61..103G} which we include in the statistics of (SB1) spectroscopic binaries.

\begin{figure}
\centering
	\includegraphics[width=0.8\linewidth,angle=-90,bb = 0 90 540 730]{Figures/XSPEC-kTm.pdf}
	\includegraphics[width=0.8\linewidth,angle=-90,bb = 0 90 540 730]{Figures/XSPEC-hard.pdf}
  \caption{({\it top panel}): Comparison between $\log kT_{\rm m}$ and $\log L_{\rm X}/L_{\rm Bol}$ for early-type sources from the T-ReX point source catalogue (P.~Broos \& L.~Townsley, in prep). Symbols are included in the key (filled symbols are binaries, uncertainties are included solely for SB2 systems, double concentric shapes denote sources with dual temperature plasma fits). Note that spectral fitting to T-ReX sources required $kT \gtrapprox$ 0.3 keV. Several faint sources are excluded from this figure since their X-ray temperatures were adopted; ({\it bottom panel}): As above, except for a comparison between  the hardness index $\eta_2$ and  $\log L_{\rm X}/L_{\rm Bol}$ for T-ReX early-type sources. $\eta_{2}$ compares extinction corrected luminosities in the 2--8 keV to 0.5--2 keV energy range, such that soft emitters would possess an index of --1 and hard emitters would possess +1. }
	\label{fig2}
\end{figure}

 Figure~\ref{fig1} compares X-ray to bolometric luminosities for all 107 T-ReX sources, with an average ratio of $\log L_{\rm X}/L_{\rm Bol} = -6.90 \pm 0.65$. The rich massive star population of the Tarantula Nebula provides a sample whose O-type sources alone span $4.5 \leq \log L_{\rm Bol}/L_{\odot} \leq 6.5$, while all Of/WN and WR sources exceed $10^{6} L_{\odot}$, with such high luminosity sources providing 40\% of the observed T-ReX sample of early-type stars. Nine X-ray sources lie within the central 2.4$''$ (0.6 parsec) of the R136 star cluster \citep{1998ApJ...493..180M, 2016MNRAS.458..624C} so due to severe crowding the association of X-ray photons with optical counterparts is less secure than elsewhere (recall Fig~\ref{r136a}).

The overwhelming majority of spectroscopically confirmed binaries (filled symbols) do not have higher $L_{\rm X}/L_{\rm Bol}$ ratios than single stars. However, there are some exceptional sources with high X-ray luminosities, namely the candidate X-ray binary VFTS 399 \citep{2015A&A...579A.131C}, the WN5h+WN5h colliding wind binary Mk 34 \citep{2008ApJS..177..216G, 2018MNRAS.474.3228P, 2019MNRAS.484.2692T}, and R140a which is host to WN, WC and OB star(s).
 \citet{1987ApJ...312..612M} have claimed that the WN star within R140a is an SB1 with a period of 2.7 days, although R140b is now favoured as host to the short period binary system \citep{2019A&A...627A.151S}, while \citet{2001MNRAS.324...18B} have not found any evidence that the WC star is a member of a binary system. R140a aside, other X-ray extreme systems currently lacking a confirmed spectroscopic binary include R136c (WN5h+?, VFTS 1025) for which a tentative 8.2\,day period was proposed by \citet{2009MNRAS.397.2049S}  and Mk 33Sa (O3\,III(f*), HSH 18) for which no spectroscopic evidence of binarity has been identified to date \citep{2005ApJ...627..477M}.

Table~\ref{table1} provides a breakdown of average ratios of $\log L_{\rm X}/L_{\rm Bol}$ for single stars, spectroscopic binaries and  multiple  sources within R136a and R140a, with single and binaries split by spectral type of the primary. For the entire sample, multiple systems aside, $\log L_{\rm X}/L_{\rm Bol} = -6.94 \pm 0.66$, in reasonable agreement to previous Galactic results \citep{1989ApJ...341..427C, 2006MNRAS.372..661S, 2015ApJS..221....1R}.
If one excludes extreme outliers (Mk~34, VFTS 399) plus four systems with extremely hard (8--10 keV) components (R130, R134, R135, Mk~53), a revised average of $\log L_{\rm X}/L_{\rm Bol} = -7.00 \pm 0.49$ is obtained.

Separating the sample into confirmed spectroscopic binaries confirms the results from previous studies \citep{2005MNRAS.361..679O} that binary systems generally do not exhibit excess X-ray emission with respect to single
stars. SB2 systems possess a modest X-ray excess which is much lower than the dispersion, i.e. $\log L_{\rm X}/L_{\rm Bol} = -6.97 \pm 0.61$ (single), {$\log L_{\rm X}/L_{\rm Bol} = -6.96 \pm 0.99$} (SB1) and { $\log L_{\rm X}/L_{\rm Bol} = -6.74 \pm 0.59$} (SB2). If X-ray outliers are omitted, averages are $\log L_{\rm X}/L_{\rm Bol}$ = --7.00$\pm$0.53 (single), --7.19$\pm$0.32 (SB1) and --6.84$\pm$0.48 (SB2). For completeness, the average properties of multiple sources are $\log L_{\rm X}/L_{\rm Bol}$ = --6.76$\pm$0.19, excluding R140a, although these should be treated with caution owing to the challenges of associating X-ray emission to individual sources in such a crowded environment (recall Fig.~\ref{r136a}).

Magnetic OB stars may also be X-ray luminous. Upper limits on magnetic fields have been obtained for some luminous early-type stars in the Tarantula Nebula \citep{2020A&A...635A.163B}. Spectroscopically, O-type stars with kG magnetic fields usually possess a peculiar O?fp spectral type, so \citet{2014A&A...564A..40W} have highlighted seven Onfp stars within the Tarantula Nebula (their fig.~11). Of these, only VFTS 526 is included in the T-ReX PSC, it is also a SB1 system, in spite of which it is X-ray {\it faint}. Consequently we have no evidence from T-ReX that favours excess X-ray emission from potentially magnetic OB stars in the Tarantula Nebula.

We find no significant dependence of $\log L_{\rm X}/L_{\rm Bol}$ on spectral class for O, Of/WN and WR stars, especially once X-ray outliers have been omitted, although some classes suffer from low number statistics. In particular, Table~\ref{table1} reveals no differences in  $\log L_{\rm X}/L_{\rm Bol}$ between O dwarfs/subgiants and other luminosity classes, in contrast with the findings of \citet{2018A&A...620A..89N} who have investigated the dependence of X-ray properties of Galactic O stars on luminosity class. From Galactic studies, single WC stars are known to be X-ray faint, presumably because of their optically thick winds \citep{2003A&A...402..755O}. There are no single WC stars in the T-ReX point source list, although R140a is known to host WN and WC stars, and R130 is a WN/C+B1\,I binary\footnote{R130 (BAT99-92) has been assigned a variety of subtypes, ranging from WN3b + B1\,Ia \citep{2014A&A...565A..27H} to WC4 + B1\,Ia \citep{2019A&A...627A.151S} to WCE + WN + B1\,I \citep{1989ApJ...337..251C} but WN/C  is favoured \citep{2013A&A...558A.134D} since the blue feature is dominated by He\,{\sc ii} $\lambda$4686 (preferring a WN or WN/C subtype) while C\,{\sc iv} $\lambda\lambda$5801-12 is exceptionally strong (preferring a WC or WN/C subtype). }.

Only six B stars are detected in T-ReX, with a significant scatter in $\log L_{\rm X}/L_{\rm Bol}$, such that we do not have sufficient statistics to comment on their X-ray properties with respect to previous studies \citep{1997A&A...322..167B,1997ApJ...487..867C, 2011ApJS..194....7N}.

\section{X-ray hardness of T-ReX sources}\label{hardness}

Table~\ref{table1} provides average hardness indices, $\eta_{2}$ and mean plasma temperatures, $kT_{m}$ for T-ReX sources, while Fig.~\ref{fig2} (top panel) compares $kT_{\rm m}$ to $\log L_{\rm X}/L_{\rm Bol}$. Sources with two temperature plasma fits are indicated by two concentric shapes. The average plasma temperature for the entire sample is  $kT_{\rm m}$ = 1.44$\pm$1.61 keV. Fig~\ref{fig2} (bottom panel) compares the hardness index, $\eta_{2}$, of T-ReX sources to $\log L_{\rm X}/L_{\rm Bol}$ with an average value of
$\eta_{2}$ = --0.50$\pm$0.45 for the entire sample. Fig.~\ref{fig2} illustrates that WR systems (shown in red) are predominantly hard emitters, regardless of whether they are known binaries, with an average hardness index of $\eta_{2}$ = +0.29$\pm$0.38.
Aside from the suspected high-mass X-ray binary VFTS 399 \citep{2015A&A...579A.131C}, half of the six X-ray sources with the hardest indices are apparently single: Mk\,49 (WN6(h)), R134 (WN6(h)) and R147 (WN5h), while the remainder are known SB2 binaries: R135 (WN5:+WN7),  R144 (WN5--6h+WN6--7h) and R145 (WN6h+O3/5If/WN7).

This suggests that high wind densities play a role in harder X-ray emission, since the corresponding hardness indices of O dwarfs/subgiants, O (super)giants, Of/WN stars are $\eta_{2}$ = --0.71$\pm$0.26, --0.61$\pm$0.42 and --0.44$\pm$0.17, respectively. \citet[][their fig.~2]{2019A&A...626A..59C} have previously established that (single and binary) WR stars in the Galactic open cluster Westerlund 1 generally possess harder X-ray emission than OB supergiants, based on a  hardness index constructed from {\it attenuated} fluxes, while  \citet{2018A&A...620A..89N} found Galactic O supergiants possess harder X-ray spectra than dwarfs and giants.

A subset of OB stars are hard X-ray emitters, including SMB 116 \citep[O3--6\,V,][]{1997ApJS..112..457W} suggesting a colliding wind binary origin. The majority of spectroscopic binaries are relatively soft, in common with previous Galactic studies. Indeed, the average hardness index of spectroscopic binaries is statistically identical to that of single stars. The average hardness index of the multiple X-ray sources associated with early-type stars in R136 is --0.50$\pm$0.24, identical to the wider sample, with 136a-X2 (host to R136a3 and an early O supergiant) and c7452 (host to two early O stars) the hardest, and R136a-X7 (host to an O2 dwarf) the softest. None possess X-ray properties which unambiguously flag the presence of a colliding wind binary.

\begin{table}
\centering
\caption{Detection statistics of 1001 spectrally classified early-type stars (or multiple systems whose primary is an early-type star) within the T-ReX field-of-view, drawn from  \citet{2019Galax...7...88C} and references therein,
excluding the spatially crowded central region of R136a.}
\begin{tabular}{l@{\hspace{2mm}}r@{\hspace{2mm}}r@{\hspace{1.5mm}}l@{\hspace{5mm}}r@{\hspace{2mm}}r@{\hspace{1.5mm}}l}
\hline
Subtype/ & \multicolumn{2}{l}{X-ray} & Example & \multicolumn{2}{l}{Non X-ray} & Example \\
Luminosity           & N                 & \%            &                & N      & \%                               & \\
\hline
O-type             & 71  & 14.2\% &                     & 428 & 85.8\% &  BI~253       \\
B-type             &   6  &   1.3\% &                      & 469  & 98.7\% &  R142     \\
Wolf-Rayet      & 14  & 70.0\% &                      & 6     & 30.0\% & Mk~33Sb       \\
Of/WN             & 6     & 85.7\% &                    &  1     & 14.3\% & R136b \\
\hline
$\log(L/L_{\odot})<5$        & 10 & 1.5\% &  VFTS399             & 671 & 98.5\%  &       \\
$5\leq \log(L/L_{\odot})<6$&50& 17.9\% &             & 229 & 82.1\% &      \\
$\log(L/L_{\odot})\geq6$   &37& 90.2\% &             &     4  & 9.8\%  &  VFTS~72     \\
\hline
Total              & 97    & 9.7\%    &   & 904 & 90.3\% & \\
\hline
\end{tabular}
\label{non_detections}
\end{table}

\begin{table*}
\centering
\caption{Count rates (CR) and inferred observed X-ray luminosities $L^{t}_{\rm X}$ for a selection of luminous early-type stars
absent from the T-ReX point source catalogue, based on the maximum-likelihood solution (MLS) approach.  Intrinsic X-ray luminosities, $L^{tc}_{\rm X}$ are estimated from typical attenuation corrections of 0.31$\pm$0.17 dex. Catalogues include R \citep{1960MNRAS.121..337F}, BI \citep{1975A&AS...21..109B}, Mk  \citep{1985A&A...153..235M}, VFTS \citep{2011A&A...530A.108E}, MH \citep{1994AJ....107.1054M} HSH \citep{1995ApJ...448..179H}, SMB \citep{1999A&A...341...98S}, P \citep{1993AJ....106..560P},  CCE \citep{2018A&A...614A.147C}, BAT \citep{1999A&AS..137..117B}}\label{Andy}
\begin{tabular}{c@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}r@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{3mm}}l@{\hspace{1mm}}l@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}c@{\hspace{1mm}}l@{\hspace{1mm}}l}
\hline
R         & BI & Mk & VFTS & MH & HSH & SMB & P & CCE & BAT  & Spect. & Ref & $\log L_{\rm Bol}$          & Ref & CR        & $\log L^{t}_{\rm X}$  & $\log L^{tc}_{\rm X}/L_{\rm Bol}$ & Nature & Ref\\
            &      &    &           &           &        &      &       &           &         & Type  &       &  $L_{\odot}$ &       & ksec$^{-1}$   & erg\,s$^{-1}$                &  &\\
\hline
 $\cdots$   &253&    $\cdots$    & \phantom{5}72      & $\cdots$ &    $\cdots$        &     $\cdots$      &       $\cdots$     &     $\cdots$     &      $\cdots$          & O2\,V--III & 1 & 6.07$\pm$0.2\phantom{0} & 2 & 0.043$\pm$0.012 & \phantom{$<$}32.08$^{+0.11}_{-0.14}$  &\phantom{$<$}--7.26$^{+0.10}_{-0.14}$  & Single & 1\\[1pt]
142      &   $\cdots$   &    $\cdots$      & 533    & $\cdots$ &     $\cdots$       & 3      & 987  & 2912 &        $\cdots$        & B1.5\,Ia$^+$ & 3 & 5.88$\pm$0.10 & 4 & 0.000$\pm$0.004 & $<$31.05\phantom{+0.00} & $<$--8.1\phantom{+0.00} &  Single & 3\\[1pt]
     $\cdots$         &   $\cdots$   &33Sb&       $\cdots$      & 859 & 34     &      $\cdots$     & 1111 &  $\cdots$ & 115      & WC5   &  5   & 5.9\phantom{0}$\pm$0.3\phantom{0} & 6 & 0.026$\pm$0.009 & \phantom{$<$}31.87$^{+0.13}_{-0.19}$ & \phantom{$<$}--7.31$^{+0.13}_{-0.18}$ & V.Comp & 7\\[1pt]
\hline
\end{tabular}
\newline
1: \citet{2014A&A...564A..40W};
2: \citet{2017A&A...601A..79S};
3: \citet{2015A&A...574A..13E};
4: \citet{2015A&A...575A..70M};
5: \citet{1998ApJ...493..180M};
6: \citet{2013A&A...558A.134D};
7: \citet{2001MNRAS.324...18B}
 \end{table*}

\begin{figure}
\centering
	\includegraphics[width=0.8\linewidth,angle=-90,bb = 0 90 540 730]{Figures/XSPEC-limits.pdf}
  \caption{Comparison between {\it observed} X-ray luminosities and bolometric luminosities for 107 early-type sources from the T-ReX point source catalogue, additionally including limits for non-detected luminous ($\log L/L_{\odot} \geq 5$) early-type stars plus inferred X-ray luminosities from count rate analysis (Sect.~\ref{MLS}) of BI~253 (O2\,V--III, solid black circle), R142 (B1.5\,Ia$^{+}$, purple arrow) and Mk\,33Sb (WC5, solid red square). R136b (O4\,If/WN8, blue arrow) is also indicated. Symbols correspond to the nature of the primary/brightest component, namely WR star (square), Of/WN star (triangle), O-type star (circle), B-type star (star). The solid line indicates the canonical $L_{\rm X} = 10^{-7} L_{\rm Bol}$ relation, with dotted lines offset by $\pm$1 dex, and the vertical dotted arrow indicates average X-ray attenuation corrections (star-by-star corrections cannot be determined since intrinsic X-ray spectral energy distributions are unknown).}
	\label{limits}
\end{figure}

\begin{figure*}
\centering
\begin{minipage}[c]{0.7\linewidth}
	\includegraphics[width=0.69\linewidth,angle=-90,bb = 40 80 540 700]{Figures/XSPEC-Carina.pdf}
\end{minipage}\hfill
\begin{minipage}[c]{0.3\linewidth}
\centering
   \caption{Comparison between X-ray and bolometric luminosities for single (open) and binary (filled) O stars (circles), Of/WN stars (triangles) and WN stars (squares) in the Tarantula Nebula from XSPEC fits to T-ReX observations (black) with those in the Carina Nebula from CCCP (red). Overall there are no systematic differences between LMC and Galactic early-type stars, although T-ReX statistics are poor below $\log L/L_{\odot} \sim $ 5.0.  According to  \citet{2013MNRAS.429.3379O} one would anticipate lower $L_{\rm X}/L_{\rm Bol}$ ratios for stars with dense stellar winds, which is not apparent from observations. The solid line indicates the canonical $L_{\rm X} = 10^{-7} L_{\rm Bol}$ relation, with dotted lines offset by $\pm$1 dex. Upper limits to attenuation corrected X-ray luminosities of O stars in the Tarantula have been included (arrows). CCCP results for O stars are drawn from \citet{2011ApJS..194....7N}  and \citet{2011ApJS..194....5G}, with the bolometric luminosity of HD\,93129A updated according to \citet{2019A&A...621A..63G} while CCCP results for Of/WN (HD~93162) and WN stars (HD~92740, HD~93131) are newly presented here.}\label{Carina}
	\end{minipage}
\end{figure*}

\section{T-ReX PSC non-detections}\label{MLS}

The T-ReX point source catalogue represents an exceptionally rich dataset with which to consider X-ray emission from early-type stars in the Tarantula Nebula, yet there are over a thousand hot luminous stars
in this region \citep{2019Galax...7...88C}. In Table~\ref{non_detections} we summarise the fraction of spectroscopically confirmed early-type stars within the T-ReX field-of-view that are detected in the PSC, according to spectral type (of the primary in a binary system) or bolometric luminosity (sum of individual components in a binary), excluding the crowded central region of R136a (recall Fig.~\ref{r136a}). The majority of the highest luminosity stars with $\log L/L_{\odot}\geq 5.6$ (with overwhelmingly O, Of/WN or WR subtypes) are detected in the T-ReX PSC, though the reverse is true for moderate luminosity OB-type stars.

Consequently, we have obtained upper limits (95\% probability) to photon fluxes for all  luminous ($\log L/L_{\odot} \geq 5$) early-type stars which are undetected by T-ReX, in order for us to assess whether these are genuinely X-ray faint\footnote{It is important to emphasise that optical counterparts are excluded if they are offset from X-ray PSC centroids by $\gtrapprox 1''$. P.~Broos \& L.~Townsley (in prep, their table 5) identify PSC sources in close proximity to known early-type stars. Those within 1--2$''$ of luminous stars are noted in Table~S1 in the Supplementary Data}. These are converted to attenuated luminosities from a calibration obtained from PSC detections,
\[\log L_{\rm X}^{t} = \log ({\rm PhotonFlux/cm}^{-2}\,{\rm s}^{-1}) + (38.81\pm0.16). \]
and presented in Table S1 (Supplementary Data). It was not possible to obtain upper limits for sources close to the edge of the T-ReX field of view since the background is highly variable, nor those within the vicinity of the N157B supernova remnant \citep{2006AJ....131.2140T} since diffuse emission is highly variable, although all early-type sources are retained for completeness. Typical upper limits to attenuated luminosities lie in the range $31.6 \leq \log L^{t}_{\rm X}/({\rm erg\,s}^{-1})  \leq$ 32.5. X-ray to bolometric luminosity ratios follow, based on average attenuation corrections of 0.31$\pm$0.17 dex. Star-by-star corrections based on measured optical extinctions cannot be determined since intrinsic X-ray spectral energy distributions are unknown.

By way of example, VFTS 419 (O9:\,V(n))  has a luminosity of  log $L/L_{\odot}$ = 5.07 \citep{2017A&A...601A..79S}, close to the average  of all 499 visually classified O-type stars in the Tarantula. We find an upper limit of $\log L^{t}_{\rm X}/({\rm erg\,s}^{-1}) \leq$  31.71 for VFTS 419, such that $\log L_{\rm X}^{tc}/L_{\rm Bol} \leq -6.64$. Consequently we are not able to assess whether low luminosity O stars are X-ray `normal' or faint. This is further illustrated in Fig.~\ref{limits} where we compare {\it attenuated} X-ray luminosities, or limits, to bolometric luminosities for the full sample.

The absence of 4 very high luminosity stars with $\log L/L_{\odot} \geq 6$ from the T-ReX PSC (Table~\ref{non_detections}) merits further discussion. Of these, one lies at the edge of the survey field (VFTS 3), two lie in regions of very high background (R136b, HSH 59) though one, BI\,253, does permit a useful upper limit of $\log L^{t}_{\rm X}/({\rm erg\,s}^{-1}) \leq$ 32.18, indicating $\log L_{\rm X}/L_{\rm Bol} \leq -7.16$.  R136b represents the only non-detected Of/WN supergiant in T-ReX, though it lies in a complex region (Fig.~\ref{r136a}).

We have employed one other technique to estimate X-ray luminosities for a subset of very luminous stars excluded from the T-ReX PSC.  We have constructed spatial models incorporating weak target stars and any survey neighbours into multiple overlapping PSFs and a background term and seeking the maximum-likelihood solution (MLS) with respect to all the count rates (CRs) simultaneously. Count rates map into observed luminosities via $\log (L^{t}_{\rm X}/ {\rm erg\,s}^{-1}) = \log ({\rm CR} \times T_{\rm Exp}) + (30.15 \pm 0.18)$, where $T_{\rm Exp}$ is the total exposure time, obtained from a comparison with 16 {\it Chandra} Source Catalog Release 2.0\footnote{https://cxc.cfa.harvard.edu/csc} sources within the T-ReX field.  By way of a sanity check, for 6 sources in common with the T-ReX point source catalogue (Table~\ref{A1}) we find $\log L^{t}_{\rm X}$(MLS) -- $\log L^{t}_{\rm X}$(PSC) = +0.09 $\pm$ 0.06 dex.

For the MLS technique we have considered the luminous O star BI\,253 (O2\,V--III), the early B supergiant R142 (B1.5\,Ia$^+$) and the WR star Mk\,33Sb (WC5), none of which are included in the T-ReX PSC (Table~\ref{non_detections}). Results of our analysis are presented in Table~\ref{Andy}, and reveal {\it unattenuated} X-ray to bolometric luminosity ratios, $L^{tc}_{X}/L_{\rm Bol}$, for the early O star and WC star which are consistent with early-type stars detected in the T-ReX PSC after folding in typical attenuation corrections. Consequently,  it is currently not possible to conclude whether typical OB stars in 30 Dor are subluminous in X-rays.

We have highlighted these systems in Fig.~\ref{limits}, which further illustrates that the B hypergiant R142 is also X-ray faint. Galactic B stars are known to exhibit a larger dispersion in $L_{\rm X}/L_{\rm Bol}$ than O stars, with a tendency towards a lower value for high luminosity sources \citep{2011ApJS..194....7N}. Still, R142 does appear to be anomalously X-ray faint, in common with Mk\,54 (B0.5\,Ia), the latest luminous B supergiant detected in the T-ReX PSC with $\log L_{\rm X}/L_{\rm Bol} = -7.49$. Of  these three sources one would expect that the WC star Mk~33Sb would be X-ray faint rather than the B hypergiant, since single Galactic WC stars have not been detected in X-rays \citep{2003A&A...402..755O}. Perhaps Mk\,33Sb is an unidentified binary system  \citep[see][]{2001MNRAS.324...18B}.

\begin{figure}
\centering
	\includegraphics[width=0.75\linewidth,angle=-90,bb = 0 80 540 720]{Figures/XSPEC-Carina-kT.pdf}
		\includegraphics[width=0.75\linewidth,angle=-90,bb = 0 80 540 720]{Figures/XSPEC-Carina-hard.pdf}
\centering
  \caption{({\it Top panel}): Comparison between  $\log kT_{\rm m}$ and $\log L_{\rm X}/L_{\rm Bol}$ for single (open) and binary (filled) O stars in the Tarantula Nebula (black) with those in the Carina Nebula (red) from \citet{2011ApJS..194....7N}  and \citet{2011ApJS..194....5G},  in which two plasma temperature components are indicated with two concentric circles. Single O stars in the LMC possess higher plasma temperatures than their counterparts in Carina. Note that
 spectral fitting to T-ReX sources {\it required} $kT \gtrapprox$ 0.3 keV.  Sources with $kT_{m} \geq$3 keV are labelled. ({\it Bottom panel}): As above, except for a comparison between hardness index, $\eta$, and $\log L_{\rm X}/L_{\rm Bol}$. A modified
index $\eta_{2.5}$ is adopted for Carina O stars since \citet{2011ApJS..194....7N} provided soft, medium and hard luminosities, such that the Galactic $\eta_{2.5}$ index will be systematically softer than the LMC index $\eta_{2}$. }
	\label{Carina-kT}
\end{figure}
\begin{table*}
\begin{center}
\caption{
Comparison between average $\log L_{\rm X}/L_{\rm Bol}$, hardness indices, $\eta$, and mean plasma temperature $kT_{m}$ for {\it luminous} ($\log L_{\rm Bol}/L_{\odot} \geq 5$) OB, Of/WN and WN stars in the Carina Nebula \citep{2011ApJS..194....7N, 2011ApJS..194....5G} versus the Tarantula Nebula from this study. The hardness index for Galactic OB stars, $\eta_{2.5}$ is defined relative to a 2.5 keV threshold instead of 2 keV for LMC stars, so will produce systematically softer indices. Average properties for Carina OB stars are also presented excluding O-type outliers  HD\,93250 (single), HD\,93403 (binary). We include previously unpublished Carina CCCP X-ray results for HD~92740 (WN7ha+O), HD~93131 (WN6ha) and HD~93162 (O2.5\,If*/WN6+O) for completeness (including $\eta_{2}$), adjusting spectroscopic results \citep{2019A&A...625A..57H} to Gaia eDR3 distances following the approach of \citet{2020MNRAS.493.1512R}.
}
\label{MW_vs_LMC}
\begin{tabular}{l@{\hspace{3mm}}
r@{\hspace{2mm}}c@{\hspace{2mm}}c@{\hspace{2mm}}c@{\hspace{2.5mm}}c@{\hspace{10mm}}
r@{\hspace{2mm}}c@{\hspace{2mm}}c@{\hspace{2mm}}c@{\hspace{2.5mm}}c}
\hline
Subtype & N & $\log \overline{L_{\rm Bol}/L_{\odot}}$ & $\log \overline{L_{\rm X}/L_{\rm Bol}}$ & $\overline{\eta_{2.5} }$ & $\overline{kT_{m}}$ &
                 N & $\log \overline{L_{\rm Bol}/L_{\odot}}$ & $\log \overline{L_{\rm X}/L_{\rm Bol}}$ & $\overline{\eta_{2} }$ & $\overline{kT_{m}}$  \\
\hline
                     & \multicolumn{5}{c}{--- Carina (Milky Way) --- }  & \multicolumn{5}{c}{--- Tarantula (LMC) --- } \\
O single    & 28 & 5.37$\pm$0.25 & --7.25$\pm$0.27 & --0.94$\pm$0.10 &  0.47$\pm$0.39 &                  38 & 5.68$\pm$0.39 & --7.08$\pm$0.41 &   --0.63$\pm$0.31 & 0.99$\pm$0.75 \\
(excl.) & 27 & 5.38$\pm$0.28 & --7.28$\pm$0.21 & --0.96$\pm$0.06 &    0.40$\pm$0.15 &                     38 & 5.68$\pm$0.39            & --7.08$\pm$0.41  &  --0.63$\pm$0.31 & 0.99$\pm$0.75 \\
O binary$^{a}$ & 13 & 5.52$\pm$0.42 & --7.10$\pm$0.31 &  --0.89$\pm$0.13 &  0.77$\pm$0.76 &          28 & 5.77$\pm$0.37 & --7.02$\pm$0.42 & --0.73$\pm$0.28 & 0.84$\pm$0.36 \\
(excl.) & 12 & 5.48$\pm$0.42 & --7.15$\pm$0.24 & --0.90$\pm$0.13 &   0.75$\pm$0.79 &                      28 & 5.77$\pm$0.37 & --7.02$\pm$0.42 & --0.73$\pm$0.28 & 0.84$\pm$0.36 \\
\\
B single &  2 & 5.28$\pm$0.16 & --7.74$\pm$0.15 & --0.66$\pm$0.45 & 1.46$\pm$1.27  &                   1 & 5.84\phantom{$\pm$0.00}  & --7.49\phantom{$\pm$0.00} & --0.87\phantom{$\pm$0.00} & $\cdots$  \\
B binary &  0   &       $\cdots$                    &      $\cdots$    & $\cdots$   & $\cdots$               &        1 & 5.91\phantom{$\pm$0.00}                  & --7.22\phantom{$\pm$0.00}   & --0.86\phantom{$\pm$0.00} & 0.76\phantom{$\pm$0.00} \\
\hline
Subtype & N & $\log L_{\rm Bol}/L_{\odot}$ & $\log L_{\rm X}/L_{\rm Bol}$ & $\eta_{2}$ & $kT_{m}$ & N & $\log \overline{L_{\rm Bol}/L_{\odot}}$ & $\log \overline{L_{\rm X}/L_{\rm Bol}}$ & $\overline{\eta_{2} }$ & $\overline{kT_{m}}$ \\
               &    &                                                             &                                                               &                                         & keV &
                    &                                                             &                                                                 &                                         & keV\\

\hline
                     & \multicolumn{5}{c}{--- Carina (Milky Way) --- }  & \multicolumn{5}{c}{--- Tarantula (LMC) --- } \\
Of/WN single & 0 & $\cdots$                             & $\cdots$                       & $\cdots$ &  $\cdots$ & 4   &   6.30$\pm$0.13      &    --7.38$\pm$0.32           &      --0.50$\pm$0.18    & 0.86$\pm$0.24 \\
Of/WN binary$^{b}$ & 1 & 6.46\phantom{$\pm$0.00} & --6.58\phantom{$\pm$0.00} & --0.44\phantom{$\pm$0.00} &  1.86\phantom{$\pm$0.00}  &    2    &   6.28$\pm$0.17     &   --6.44$\pm$1.04            &    --0.33$\pm$0.07  & 1.25$\pm$0.55    \\
\\
WN single$^{b}$      & 1 & 6.19\phantom{$\pm$0.00} & --7.42\phantom{$\pm$0.00} & --0.38\phantom{$\pm$0.00} & 1.94\phantom{$\pm$0.00} &        8  &     6.42$\pm$0.22  &    --6.77$\pm$1.04           &    +0.16$\pm$0.51   & 4.12$\pm$2.80 \\
WN binary$^{b}$     & 1 & 6.31\phantom{$\pm$0.00} & --7.63\phantom{$\pm$0.00} & --0.40\phantom{$\pm$0.00} & 1.70\phantom{$\pm$0.00} &      5    &    6.50$\pm$0.25 & --6.45$\pm$0.84 & +0.31$\pm$0.35 & 3.97$\pm$3.22 \\
\hline
\end{tabular}
\end{center}
\footnotesize{ (a): Updated luminosity for HD\,93129A from \citet{2019A&A...621A..63G}; (b): X-ray properties of Carina Of/WN and WN stars are based on CCCP observations, with luminosities resulting from Gaia eDR3 distances of 2.48, 2.62 and 2.19 kpc for HD~92740, HD~93131 and HD~93162, respectively.}
\end{table*}

\section{Metallicity dependence of $L_{\rm X}/L_{\rm Bol}$} \label{metallicity_dependence}

X-rays originate in shocks embedded within stellar winds due to instabilities arising from the line driven phenomenon, so one would expect a mass-loss dependence, either $L_{\rm X} \sim \dot{M}$ if the shocks are radiative, or $L_{\rm X} \sim \dot{M}^2$ if they are adiabatic \citep{2013MNRAS.429.3379O}.
To date,  \citet{2014ApJS..213...23N} have suggested LMC O stars possess comparable X-ray emission  to Milky Way O stars from stacked (300\,ks) {\it Chandra} observations of undetected O stars in N11.  At face value our results favour reduced X-ray output from single O stars in the LMC ($\log L_{\rm X}/L_{\rm Bol} = -7.04 \pm 0.44$) versus the Milky Way based on $\log L_{\rm X}/L_{\rm Bol} = -6.72 \pm 0.49$ obtained by \citet{2009A&A...506.1055N} for a large sample of single O stars. However, the latter are a heterogenous sample while the former are strongly biased to high luminosity O stars which possess strong winds.

In order to quantitatively compare X-ray properties of LMC O stars with realistic Galactic O-type counterparts, we focus on the Carina Nebula, which is the closest Galactic analogue to 30 Doradus\footnote{ \citet{2002ApJ...573..191M}, \citet{2014ApJS..213....1T} and \citet{2019AJ....157...29H} have investigated the X-ray properties of luminous stars in NGC~3603, which is the closest Galactic analogue to the R136 cluster \citep{1994ApJ...436..183M} }, comprising a rich population of massive stars  spanning a range of ages in a large star-forming complex. The Carina Nebula has been surveyed in X-rays with the {\it Chandra} Carina Complex Project \citep[CCCP,][]{2011ApJS..194....1T}. \citet{2011ApJS..194....7N} and \citet{2011ApJS..194....5G} have studied the X-ray properties of OB stars in the Carina Nebula. We have supplemented these results with CCCP X-ray results for HD~HD92740 (WN7ha+O), HD~93131 (WN6ha) and HD~93162 (O2.5\,If*/WN6+O) based on Gaia eDR3 distances of 2.48, 2.62 and 2.19 kpc, respectively, following the approach of \citet{2020MNRAS.493.1512R}. Bolometric luminosities for these stars from \citet{2019A&A...625A..57H} have been adjusted to the eDR3 distances.

Fig.~\ref{Carina} compares the  X-ray luminosities to bolometric luminosities of O stars, Of/WN stars and WN stars in the Tarantula (T-ReX, black) and Carina (CCCP, red). Very few members of Carina significantly exceed the  $10^{-7}$ X-ray to bolometric ratio relation, two single stars  HD\,93250 (O4\,III(fc)), Tr14 MJ\,496 (O8.5\,V) plus  two known binaries HD\,93403 (O5.5\,I+O7\,V) and HD 93162 (O2.5\,If/WN6+O). From inspection,  Galactic and LMC O stars reveal comparable X-ray luminosities, contrary to expectations that weaker winds at reduced metallicity would lead to lower X-ray luminosities \citep{2013MNRAS.429.3379O}. A couple of comments are necessary regarding Fig.~\ref{Carina}. Firstly, CCCP is sensitive to weak X-ray emission from relatively low luminosity O stars, whereas T-ReX has detected exclusively the most extreme X-ray sources in the Tarantula. Indeed only two O stars in Carina exceed $\log L_{\rm Bol}/L_{\odot} =$  6 (both binaries)\footnote{The most extreme O-type system in Carina is HD~93129A \citep{2019A&A...621A..63G} which exhibits normal X-ray properties despite being a spectroscopic binary (O2\,If* + O3\,III(f*)), presumably due to the large physical separation between the two components, diluting any wind-wind collision contribution.} versus 18 sources in 30 Doradus, such that the bulk of the Carina O star sample are lower luminosity, late subtypes ($\log \overline{L_{\rm Bol}/L_{\odot}} = 5.20\pm0.40$)  while there are large numbers of high luminosity, early O subtypes in the T-ReX sample ($\log \overline{L_{\rm Bol}/L_{\odot}} = 5.65\pm0.45$).

In view of the differences between Carina and Tarantula O star samples, we compare the X-ray properties of {\it luminous} OB stars, Of/WN stars and WN stars in these star-forming regions with $\log L/L_{\odot} \geq 5$ in Table~\ref{MW_vs_LMC}.
 For luminous O stars in Carina $\log L_{\rm X}/L_{\rm Bol} = -7.25\pm 0.27$ for 28 single stars (vs $-7.08\pm 0.42$ for 37 single O stars in the Tarantula) and $\log L_{\rm X}/L_{\rm Bol} = -7.10 \pm 0.31$ for 13 binaries (vs $-7.02 \pm 0.42$ for 28 O-type binaries in the Tarantula), confirming results for the full datasets. Detailed comparisons between the Of/WN and WN stars are severely constrained by their scarcity, although their bolometric luminosities are comparable, and Carina WN stars are relatively X-ray faint. The well known colliding wind binary HD~93162 \citep{2006A&A...445.1093P, 2006A&A...460..777G}  is conspicuous in Carina for its exceptional $L_{\rm X}/L_{\rm Bol}$, yet in comparison with the Tarantula its properties are intermediate between those of Of/WN binaries Mk~39 and Mk~30 (Fig.~\ref{Carina}).

Table~\ref{MW_vs_LMC} also provides mean plasma temperatures for luminous O stars in Carina and the Tarantula Nebula, and reveals softer X-ray emission in the Milky Way ($\overline{kT_{m}} =$ 0.5 keV) than the LMC ($\overline{kT_{m}} = 1.0$ keV).  The upper panel of Fig.~\ref{Carina-kT}  compares $kT_{m}$ and $L_{\rm X}/L_{\rm Bol}$ ratios of Carina O stars to those in the Tarantula. Sources with  $kT_{m} \geq$3 keV are labelled and include HD~93343 (O8\,V+O7--8.5\,V, binary) and MJ~449 (O8.5\,V((f)), single) in Carina, plus SMB~116 (O3--6\,V, single) and P~649 (O8--9\,V, single) in the Tarantula.

\citet{2011ApJS..194....7N} provide extinction-corrected luminosities of Carina stars in the soft ($\leq$ 1 keV), medium (1--2.5 keV, $L_{\rm X}^{mc}$) and hard ($\geq$ 2.5 keV, $L_{\rm X}^{hc}$) bands, it is necessary to use a modified hardness index, $\eta_{2.5}$,
\[
\eta_{2.5} = \frac{L^{hc}_{\rm X}- (L^{sc}_{\rm X} + L^{mc}_{\rm X})}{(L^{sc}_{\rm X} + L^{mc}_{\rm X} + L^{hc}_{\rm X})}.
\]
The lower panel of Fig.~\ref{Carina-kT} compares the hardness indices of Carina and Tarantula O stars, although these are more difficult to directly compare than plasma temperatures. Nevertheless, the average $\eta_{2.5}$ = --0.94$\pm$0.10 for single O stars in Carina  is {\it significantly} softer than the average $\eta_{2}$ = --0.64$\pm$0.32 for single O stars in the Tarantula, too large a difference to be explained solely by their different definitions.

Overall, there does not appear to be a significant difference between the X-ray luminosities of luminous single O-type stars in the LMC and Galaxy, aside from higher temperatures/harder X-ray emission for single stars at lower metallicity. Table~\ref{MW_vs_LMC} also reinforces higher plasma temperatures and harder $\eta_{2}$ indices for WN stars in the Tarantula than their Carina counterparts.

 In Fig.~\ref{KM} we present an estimate
 of the cumulative distribution function (CDF) for  $\log L_{\rm X}/L_{\rm Bol}$, for three samples of luminous O stars:  the T-ReX sample presented here (224 stars, comprising 66 detections from Table~\ref{A2}, BI~253~from Table~\ref{Andy}, plus 157 attenuation-corrected upper limits from Table~S1), the Carina sample (41 stars from \citet{2011ApJS..194....5G}, no upper limits, excluding  the X-ray sub-luminous supergiant HDE~305619) and the combined T-ReX-Carina sample (263 stars). Since these samples contain upper limits, the CDF is calculated using the Kaplan-Meier estimator.

We compare the Tarantula and Carina CDFs using the common method--statistical hypothesis testing, which computes the probability (``p-value'') that the Tarantula and Carina samples would produce CDFs less similar than we observed, under the null hypothesis that Tarantula and Carina have the same $L_{\rm X}/L_{\rm Bol}$ relationship. The measure similarity of our CDFs, we used three two-sample statistical tests (Gehan-Breslow, Prentice, Peto) that are designed for Kaplan-Meier distributions \citep[][see p.173]{1996asst.book.....B}. Since these three hypothesis tests produced large p-values (0.682, 0.831, and 0.827, respectively), we find that these data do not provide enough evidence to support the alternative hypothesis -- that Tarantula and Carina have different $L_{\rm X}/L_{\rm Bol}$ relationships.

Theoretically \citet{1999ApJ...520..833O} have argued  $L_{\rm X} \sim (\dot{M}/v_{\infty})^2$ for optically thin winds, so for $\dot{M} \propto Z^{0.83}$ \citep{2007A&A...473..603M} and  $v_{\infty} \propto Z^{0.13}$ \citep{1992ApJ...401..596L}, one would expect $L_{\rm X} \propto (Z^{0.7})^{2}$ i.e.
$\log L_{\rm X} \propto 1.4 \log Z$, so X-ray luminosities of LMC O stars would be expected to be 0.4 dex lower than Galactic counterparts owing to a half-solar metallicity (Table~\ref{abundances}). Therefore, contrary to  \citet{1999ApJ...520..833O}, we find no evidence supporting lower X-ray luminosities in LMC O stars than Galactic counterparts. \citet{2013MNRAS.429.3379O}  provided an alternative parameterisation in which $L_{\rm X} \propto \dot{M}^{1-m} \propto L_{\rm Bol}^{(1-m)/\alpha^{\prime}}$, where a mixing exponent $m = 1 - \alpha^{\prime} \sim 0.4$ is required to reproduce the empirical Galactic $L_{\rm X} \sim 10^{-7} L_{\rm Bol}$ relationship. This scaling suggests $L_{\rm X} \propto (Z^{0.83})^{0.6} $ or
$\log L_{\rm X} \propto 0.5 \log Z$ based on the empirical mass-loss dependence on $Z$ \citep{2007A&A...473..603M}, such that LMC O stars are expected to be offset by only 0.15 dex from Milky Way counterparts, which is much more challenging to observationally verify. \citet{2013MNRAS.429.3379O} also propose that X-ray luminosities should decrease for optically thick winds with very high mass-loss rates. Since we find no systematic difference between $L_{\rm X}/L_{\rm Bol}$ for single O, Of/WN and WR stars, this result does challenge predictions given our sample includes very luminous stars with dense stellar winds.

\begin{figure*}
\begin{center}
\includegraphics[width=0.33\linewidth]{Figures/T-ReX_KM_95.png}
\includegraphics[width=0.33\linewidth]{Figures/Carina_KM_95.png}
\includegraphics[width=0.33\linewidth]{Figures/T-Rex_Carina_KM_95.png}
  \caption{({\it left panel}): Cumulative distribution function (CDF) of $\log L_{\rm X}/L_{\rm Bol}$ for luminous O stars in the T-ReX sample (N=224, 67 detections ncluding BI~253 plus 157 upper limits), with 95\% confidence limits, calculated using the Kaplan-Meier estimator since sample includes upper limits; ({\it centre panel}): CDF for luminous O stars in Carina \citep[N=41,][ excl. HDE~305619]{2011ApJS..194....7N, 2011ApJS..194....5G}; ({\it right panel}): CDF for the joint T-ReX and Carina O star samples (N=265).}
	\label{KM}
	\end{center}
\end{figure*}

In summary, the null hypothesis is that the T-ReX and Carina $\log L_{\rm X}/L_{\rm Bol}$ values for luminous O stars are drawn from the same parent population. Since these three hypothesis tests produce relatively large p-values, we conclude that there is {\it no} evidence in these data that the Carina and T-ReX samples are drawn from different underlying $\log L_{\rm X}/L_{\rm Bol}$ distributions. This result confirms a similar result for the LMC star forming region N11 \citep{2014ApJS..213...23N}. Further work on low-Z O star wind acceleration may be needed to explain this result.

\section{Summary} \label{summary}

From a comparison between the rich X-ray point source catalogue from T-ReX (P.~Broos \& L.~Townsley, in prep.) to optical photometric and spectroscopic surveys of the Tarantula Nebula we have obtained the X-ray properties
of a rich population of luminous early-type stars at a sub-solar metallicity for the first time, building on previous analyses of shallow X-ray observations \citep{2002ApJ...574..762P, Leisa06, 2014ApJS..213....1T}. Overall, excluding extreme outliers and multiple systems we find  $\log L_{\rm X} /L_{\rm Bol} = -7.00 \pm 0.49$, in good agreement with studies of Galactic early-type stars.

Armed with extensive binary properties of early-type stars in the Tarantula from VFTS \citep{2013A&A...550A.107S, 2014A&A...564A..40W}, TMBM \citep[][Shenar et al, in prep]{2017A&A...598A..84A} and BBC \citep{2021MNRAS.507.5348V}
we have been able to separate T-ReX sources into single, SB1 and SB2. In general, we confirm previous X-ray studies of Galactic OB stars that binaries possess similar X-ray properties to single stars \citep{2005MNRAS.361..679O}.
Exceptional X-ray properties are observed in some systems (Mk\,34, R140a and VFTS 399) and some WR systems are unusually hard X-ray emitters (R130, R134, R135, Mk~53). Indeed, the hardness index increases from O dwarfs, through O (super)giants, Of/WN stars and WN stars, in common with recent Galactic results for OB stars \citep{2018A&A...620A..89N}.

We find no statistical evidence supporting reduced X-ray luminosities for O stars in the LMC than high luminosity counterparts in the Carina Nebula \citep{2011ApJS..194....7N, 2011ApJS..194....5G}, folding in upper X-ray limits to hundreds of luminous early-type
stars undetected by T-ReX. Consistent results for O, Of/WN and WN stars challenges predictions for X-ray emission from single stars at high luminosity with strong winds \citep{2013MNRAS.429.3379O}.

We advocate $L_{\rm X} \sim 10^{-7} L_{\rm Bol}$ and (median) $kT_m \sim 0.8$ keV for UV spectroscopic analysis of single LMC O stars from the ULLYSES\footnote{https://ullyses.stsci.edu/} programme since it is well established that X-ray production influences the predicted strength of high ionization metallic resonance lines \citep{1980ApJ...241..300L, 1994A&A...283..525P, 2002ApJ...579..774C}. Further analysis is deferred to future T-ReX studies, including a detailed discussion of X-ray properties of WR and Of/WN stars (K.~Tehrani et al, in prep).

\section*{Acknowledgements}

We would like to thank Lidia Oskinova and the anonymous referee for useful comments which helped to clarify a number of topics in the submitted manuscript, and Tomer Shenar for sharing TMBM results prior to publication.

This work was supported by the {\it Chandra X-ray Observatory} General Observer grants GO5-6080X (PI: L. Townsley) and by GO4-15131X (PI: L. Townsley) and by the Penn State ACIS Instrument Team Contract SV4-74108. All of these were issued by the {\it Chandra} X-ray Centre, which is operated by the Smithsonian Astrophysical Observatory for and on behalf of NASA under contract NAS8-03060. PAC is supported by the Science and Technology Facilities Council research grant ST/V000853/1 (PI. V. Dhillon). We would like to thank Leigh Parrott's contribution to the statistical tests comparing T-ReX and Carina samples.

This research has made extensive use of NASA's Astrophysics Data System Bibliographic Services, and the SIMBAD database, operated at CDS, Strasbourg, France. For the purpose of open access, the author has applied a Creative Commons Attributation (CC BY) license to any Author Accepted Manuscript version arising.

\section*{Data Availability}

T-ReX data products are archived in Zenodo collection 10.5281/zenodo.6808367. For every T-ReX point source in this paper we include spectral fitting products and a region file, together with a FITS table and a separate FITS table for upper-limits summarised in the supplementary data. The full T-ReX point source catalog will be added to the Zenodo collection upon publication. Individual T-ReX datasets may also be accessed via the Chandra Data Archive.

\bibliographystyle{mnras}