Context: The properties of the early-type binary Cyg OB2 #5 have been debated for many years and spectroscopic and photometric investigations yielded conflicting results.
Aims: We have attempted to constrain the physical properties of the binary by collecting new optical and X-ray observations.
Methods: The optical light curves obtained with narrow-band continuum and line-bearing filters are analysed and compared. Optical spectra are used to map the location of the He ii λ 4686 and Hα line-emission regions in velocity space. New XMM-Newton as well as archive X-ray spectra are analysed to search for variability and constrain the properties of the hot plasma in this system.
Results: We find that the orbital period of the system slowly changes though we are unable to discriminate between several possible explanations of this trend. The best fit solution of the continuum light curve reveals a contact configuration with the secondary star being significantly brighter and hotter on its leading side facing the primary. The mean temperature of the secondary star turns out to be only slightly lower than that of the primary, whilst the bolometric luminosity ratio is found to be 3.1. The solution of the light curve yields a distance of 925 ± 25 pc much lower than the usually assumed distance of the Cyg OB2 association. Whilst we confirm the existence of episodes of higher X-ray fluxes, the data reveal no phase-locked modulation with the 6.6 day period of the eclipsing binary nor any clear relation between the X-ray flux and the 6.7 yr radio cycle.
Conclusions: The bright region of the secondary star is probably heated by energy transfer in a common envelope in this contact binary system as well as by the collision with the primary's wind. The existence of a common photosphere probably also explains the odd mass-luminosity relation of the stars in this system. Most of the X-ray, non-thermal radio, and possibly γ-ray emission of Cyg OB2 #5 is likely to arise from the interaction of the combined wind of the eclipsing binary with at least one additional star of this multiple system.
Based on observations collected at the Observatoire de Haute Provence (France), the Observatorio Astronómico Nacional of San Pedro Mártir (Mexico) and XMM-Newton, an ESA science mission with instruments and contributions funded by ESA member states and the USA (NASA). Light curves of Cyg OB2 #5 are only available in electronic form at the CDS via anonymous ftp to cdsarc.u-strasbg.fr (126.96.36.199) or via http://cdsweb.u-strasbg.fr/cgi-bin/qcat?J/A+A/495/231