select a.ra as wgacat_ra,a.dec as wgacat_dec,a.count_rate as wgacat_count_rate,up.ssc_ra as ssc_ra,up.ssc_dec as ssc_dec,up.ssc_ep_flux as ssc_ep_flux,up.ssc_en_flux as ssc_en_flux,up.ssc_m1_flux as ssc_m1_flux,up.ssc_m2_flux as ssc_m2_flux, up.xmatch_a +1.701806811846088E9 as xmatch_a , up.xmatch_ax + cos(0.017453292519943295*ra)*sin(0.017453292519943295*dec) as xmatch_ax , up.xmatch_ax + sin(0.017453292519943295*ra)*sin(0.017453292519943295*dec) as xmatch_ay , up.xmatch_ax + cos(0.017453292519943295*dec) as xmatch_az from heasarc_wgacat a , #upload up where REGION("CIRCLE J2000 187.277915 2.052388 5'") AND XMATCH(a,up) < 3.5