! Started logfile: J0028+2000_X_2011_08_02_pus_uvs.log on Wed Apr 18 21:49:18 2012 obs J0028+2000_X_2011_08_02_pus_uva.fits ! Reading UV FITS file: J0028+2000_X_2011_08_02_pus_uva.fits ! AN table 1: 252 integrations on 78 of 78 possible baselines. ! AN table 2: 358 integrations on 78 of 78 possible baselines. ! Apparent sampling: 0.122173 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0028+2000 ! ! There are 4 IFs, and a total of 4 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 8.40997e+09 8e+06 1 8e+06 ! 02 2 8.47997e+09 8e+06 1 8e+06 ! 03 3 8.79497e+09 8e+06 1 8e+06 ! 04 4 8.89997e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 3146 lines of history. ! ! Reading 23252 visibilities. select I ! Polarization I is unavailable. ! Selecting polarization: RR, channels: 1..4 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 print "field_size =",field_size ! field_size = 512 print "field_cell =",field_cell ! field_cell = 0.2 print "taper_size =",taper_size ! taper_size = 70 ![@muppet J0028+2000_X_2011_08_02_pus] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 120 float soltime2 soltime2 = 20 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float time_av time_av = 16 float old_peak float new_peak float flux_cutoff mapsize field_size, field_cell ! Map grid = 512x512 pixels with 0.200x0.200 milli-arcsec cellsize. startmod ! Applying default point source starting model. ! Performing phase self-cal ! Adding 1 model components to the UV plane model. ! The established model now contains 1 components and 1 Jy ! ! Correcting IF 1. ! A total of 2200 telescope corrections were flagged in sub-array 1. ! A total of 3820 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 2200 telescope corrections were flagged in sub-array 1. ! A total of 3820 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 2200 telescope corrections were flagged in sub-array 1. ! A total of 3820 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 2200 telescope corrections were flagged in sub-array 1. ! A total of 3820 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=0.738746Jy sigma=0.007357 ! Fit after self-cal, rms=0.689283Jy sigma=0.006945 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Your choice of large map pixels excluded 8.39% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=0.7933 mas, bmaj=1.216 mas, bpa=20.13 degrees ! Estimated noise=774.723 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (0, 0). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.266736 Jy ! Component: 100 - total flux cleaned = 0.327432 Jy ! Total flux subtracted in 100 components = 0.327432 Jy ! Clean residual min=-0.010901 max=0.019250 Jy/beam ! Clean residual mean=-0.000021 rms=0.002713 Jy/beam ! Combined flux in latest and established models = 0.327432 Jy ! Performing phase self-cal ! Adding 4 model components to the UV plane model. ! The established model now contains 4 components and 0.327432 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.161658Jy sigma=0.001413 ! Fit after self-cal, rms=0.161770Jy sigma=0.001413 ! Inverting map ! Your choice of large map pixels excluded 8.39% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0181826 Jy ! Component: 100 - total flux cleaned = 0.0267291 Jy ! Total flux subtracted in 100 components = 0.0267291 Jy ! Clean residual min=-0.009892 max=0.007725 Jy/beam ! Clean residual mean=-0.000060 rms=0.002204 Jy/beam ! Combined flux in latest and established models = 0.354161 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 14 components and 0.354161 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.160592Jy sigma=0.001395 ! Fit after self-cal, rms=0.160650Jy sigma=0.001395 ! Inverting map ! Your choice of large map pixels excluded 8.39% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec print "************** FINISHED UNIFORM WEIGHTING CLEAN **************" ! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Your choice of large map pixels excluded 8.39% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=1.062 mas, bmaj=1.641 mas, bpa=14.79 degrees ! Estimated noise=479.926 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000582065 Jy ! Component: 100 - total flux cleaned = -0.000693651 Jy ! Component: 150 - total flux cleaned = -0.000770789 Jy ! Component: 200 - total flux cleaned = -0.000770311 Jy ! Total flux subtracted in 200 components = -0.000770311 Jy ! Clean residual min=-0.011630 max=0.009575 Jy/beam ! Clean residual mean=-0.000242 rms=0.002863 Jy/beam ! Combined flux in latest and established models = 0.353391 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 20 components and 0.353391 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.160617Jy sigma=0.001395 ! Fit after self-cal, rms=0.160618Jy sigma=0.001395 ! Inverting map ! Your choice of large map pixels excluded 8.39% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 252 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 0.88 FT 1.00* HH 1.00* ! HN 1.07 KP 0.90 LA 0.99 MK 0.97 ! NL 0.94 OV 1.01 PT 1.00 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.01 FD 0.93 FT 1.00* HH 0.98 ! HN 1.04 KP 1.00* LA 1.03 MK 1.00* ! NL 0.96 OV 1.00* PT 1.03 TS 1.00* ! WZ 1.00* ! ! ! Correcting IF 2. ! A total of 252 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 0.89 FT 1.00* HH 1.00* ! HN 1.08 KP 0.87 LA 0.99 MK 1.02 ! NL 1.07 OV 1.03 PT 1.08 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.07 FD 0.93 FT 1.00* HH 0.99 ! HN 1.11 KP 1.00* LA 1.07 MK 1.00* ! NL 1.10 OV 1.00* PT 1.10 TS 1.00* ! WZ 1.00* ! ! ! Correcting IF 3. ! A total of 252 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 0.86 FT 1.00* HH 1.00* ! HN 1.09 KP 0.79 LA 0.97 MK 0.98 ! NL 1.01 OV 1.01 PT 1.02 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.07 FD 0.90 FT 1.00* HH 0.97 ! HN 1.09 KP 1.00* LA 1.05 MK 1.00* ! NL 1.03 OV 1.00* PT 1.02 TS 1.00* ! WZ 1.00* ! ! ! Correcting IF 4. ! A total of 252 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 0.91 FT 1.00* HH 1.00* ! HN 1.04 KP 0.84 LA 1.06 MK 1.03 ! NL 1.02 OV 1.06 PT 1.09 TS 1.00* ! WZ 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.10 FD 0.94 FT 1.00* HH 1.18 ! HN 1.05 KP 1.00* LA 1.13 MK 1.00* ! NL 1.05 OV 1.00* PT 1.15 TS 1.00* ! WZ 1.00* ! ! ! Fit before self-cal, rms=0.160618Jy sigma=0.001395 ! Fit after self-cal, rms=0.166898Jy sigma=0.001346 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=1.061 mas, bmaj=1.786 mas, bpa=17.67 degrees ! Estimated noise=499.062 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000518145 Jy ! Component: 100 - total flux cleaned = -0.000582353 Jy ! Component: 150 - total flux cleaned = -0.000582602 Jy ! Component: 200 - total flux cleaned = -0.000562178 Jy ! Total flux subtracted in 200 components = -0.000562178 Jy ! Clean residual min=-0.002635 max=0.002718 Jy/beam ! Clean residual mean=0.000013 rms=0.000674 Jy/beam ! Combined flux in latest and established models = 0.352829 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 27 components and 0.352829 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166892Jy sigma=0.001346 ! Fit after self-cal, rms=0.166950Jy sigma=0.001346 ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec selfcal true, true, soltime1 ! Performing amp+phase self-cal over 120 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166950Jy sigma=0.001346 ! Fit after self-cal, rms=0.167320Jy sigma=0.001346 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=1.063 mas, bmaj=1.788 mas, bpa=17.57 degrees ! Estimated noise=499.012 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000353495 Jy ! Component: 100 - total flux cleaned = -0.000412612 Jy ! Component: 150 - total flux cleaned = -0.000414045 Jy ! Component: 200 - total flux cleaned = -0.00041291 Jy ! Total flux subtracted in 200 components = -0.00041291 Jy ! Clean residual min=-0.002650 max=0.002708 Jy/beam ! Clean residual mean=0.000013 rms=0.000673 Jy/beam ! Combined flux in latest and established models = 0.352416 Jy selfcal ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 28 components and 0.352416 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.167316Jy sigma=0.001346 ! Fit after self-cal, rms=0.167319Jy sigma=0.001346 flux_cutoff = imstat(rms) * dynam ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -8.63562e-06 Jy ! Component: 100 - total flux cleaned = 8.1388e-06 Jy ! Component: 150 - total flux cleaned = 8.02917e-06 Jy ! Component: 200 - total flux cleaned = 7.98586e-06 Jy ! Total flux subtracted in 200 components = 7.98586e-06 Jy ! Clean residual min=-0.002649 max=0.002700 Jy/beam ! Clean residual mean=0.000013 rms=0.000672 Jy/beam ! Combined flux in latest and established models = 0.352424 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 28 components and 0.352424 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.167317Jy sigma=0.001346 ! Fit after self-cal, rms=0.167315Jy sigma=0.001346 ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec selfcal true, true, soltime2 ! Performing amp+phase self-cal over 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.167315Jy sigma=0.001346 ! Fit after self-cal, rms=0.167869Jy sigma=0.001345 clean clean_niter,clean_gain ! Inverting map and beam ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=1.066 mas, bmaj=1.791 mas, bpa=17.34 degrees ! Estimated noise=499.1 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -8.46968e-05 Jy ! Component: 100 - total flux cleaned = -6.64522e-05 Jy ! Component: 150 - total flux cleaned = -4.92527e-05 Jy ! Component: 200 - total flux cleaned = -4.89814e-05 Jy ! Total flux subtracted in 200 components = -4.89814e-05 Jy ! Clean residual min=-0.002748 max=0.002593 Jy/beam ! Clean residual mean=0.000011 rms=0.000657 Jy/beam ! Combined flux in latest and established models = 0.352375 Jy selfcal ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 28 components and 0.352375 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.167866Jy sigma=0.001345 ! Fit after self-cal, rms=0.167873Jy sigma=0.001345 flux_cutoff = imstat(rms) * dynam ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.47316e-05 Jy ! Component: 100 - total flux cleaned = 1.44969e-05 Jy ! Component: 150 - total flux cleaned = 2.92093e-05 Jy ! Component: 200 - total flux cleaned = 2.90444e-05 Jy ! Total flux subtracted in 200 components = 2.90444e-05 Jy ! Clean residual min=-0.002745 max=0.002586 Jy/beam ! Clean residual mean=0.000010 rms=0.000656 Jy/beam ! Combined flux in latest and established models = 0.352404 Jy ! Performing phase self-cal ! Adding 6 model components to the UV plane model. ! The established model now contains 28 components and 0.352404 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.167871Jy sigma=0.001345 ! Fit after self-cal, rms=0.167869Jy sigma=0.001345 ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. win_mult = win_mult * 1.2 selfcal true, true, soltime2 ! Performing amp+phase self-cal over 20 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.167869Jy sigma=0.001345 ! Fit after self-cal, rms=0.168345Jy sigma=0.001345 clean clean_niter,clean_gain ! Inverting map and beam ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=2.407 mas, bmaj=3.21 mas, bpa=-19.38 degrees ! Estimated noise=559.845 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00045076 Jy ! Component: 100 - total flux cleaned = 0.000448372 Jy ! Component: 150 - total flux cleaned = 0.000446925 Jy ! Component: 200 - total flux cleaned = 0.000430844 Jy ! Total flux subtracted in 200 components = 0.000430844 Jy ! Clean residual min=-0.002578 max=0.002189 Jy/beam ! Clean residual mean=0.000013 rms=0.000675 Jy/beam ! Combined flux in latest and established models = 0.352835 Jy selfcal ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 34 components and 0.352835 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.168346Jy sigma=0.001345 ! Fit after self-cal, rms=0.168352Jy sigma=0.001345 flux_cutoff = imstat(rms) * dynam ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 2.38275e-05 Jy ! Component: 100 - total flux cleaned = 2.39752e-05 Jy ! Component: 150 - total flux cleaned = 2.37361e-05 Jy ! Component: 200 - total flux cleaned = 2.37125e-05 Jy ! Total flux subtracted in 200 components = 2.37125e-05 Jy ! Clean residual min=-0.002558 max=0.002198 Jy/beam ! Clean residual mean=0.000013 rms=0.000674 Jy/beam ! Combined flux in latest and established models = 0.352858 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 35 components and 0.352858 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.168352Jy sigma=0.001345 ! Fit after self-cal, rms=0.168352Jy sigma=0.001345 ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=1.068 mas, bmaj=1.793 mas, bpa=17.17 degrees ! Estimated noise=499.267 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.068 x 1.793 at 17.17 degrees (North through East) ! Clean map min=-0.0025406 max=0.34065 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) selfcal true, true end if print "************** CLEARING MODEL AND STARTING OVER **********" ! ************** CLEARING MODEL AND STARTING OVER ********** clrmod true ! clrmod: Cleared the established and tentative models. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=0.7775 mas, bmaj=1.4 mas, bpa=23.11 degrees ! Estimated noise=796.726 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.265262 Jy ! Component: 100 - total flux cleaned = 0.324592 Jy ! Component: 150 - total flux cleaned = 0.34066 Jy ! Component: 200 - total flux cleaned = 0.347051 Jy ! Total flux subtracted in 200 components = 0.347051 Jy ! Clean residual min=-0.004546 max=0.004444 Jy/beam ! Clean residual mean=0.000013 rms=0.001097 Jy/beam ! Combined flux in latest and established models = 0.347051 Jy uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Adding 10 model components to the UV plane model. ! The established model now contains 10 components and 0.347051 Jy ! Inverting map and beam ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=1.068 mas, bmaj=1.793 mas, bpa=17.17 degrees ! Estimated noise=499.267 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (-0.8, -0.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00384025 Jy ! Component: 100 - total flux cleaned = 0.00581582 Jy ! Component: 150 - total flux cleaned = 0.00619208 Jy ! Component: 200 - total flux cleaned = 0.00623455 Jy ! Total flux subtracted in 200 components = 0.00623455 Jy ! Clean residual min=-0.002789 max=0.002616 Jy/beam ! Clean residual mean=0.000007 rms=0.000644 Jy/beam ! Combined flux in latest and established models = 0.353285 Jy ! Adding 15 model components to the UV plane model. ! The established model now contains 25 components and 0.353285 Jy ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec uvw 0,2 ! Uniform weighting is not currently selected. ! Amplitude error weighting is not currently selected. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! Estimated beam: bmin=0.871 mas, bmaj=1.654 mas, bpa=29.26 degrees ! Estimated noise=581.731 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000411851 Jy ! Component: 100 - total flux cleaned = -0.000269303 Jy ! Component: 150 - total flux cleaned = -0.000226446 Jy ! Component: 200 - total flux cleaned = -0.00018955 Jy ! Total flux subtracted in 200 components = -0.00018955 Jy ! Clean residual min=-0.003414 max=0.003334 Jy/beam ! Clean residual mean=0.000003 rms=0.000774 Jy/beam ! Combined flux in latest and established models = 0.353096 Jy clean ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.23125e-05 Jy ! Component: 100 - total flux cleaned = -3.16214e-05 Jy ! Component: 150 - total flux cleaned = -5.97458e-05 Jy ! Component: 200 - total flux cleaned = -5.98551e-05 Jy ! Total flux subtracted in 200 components = -5.98551e-05 Jy ! Clean residual min=-0.003353 max=0.003291 Jy/beam ! Clean residual mean=0.000003 rms=0.000766 Jy/beam ! Combined flux in latest and established models = 0.353036 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 40 components and 0.353036 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.168407Jy sigma=0.001345 ! Fit after self-cal, rms=0.168375Jy sigma=0.001345 wmodel J0028+2000_X_2011_08_02_pus_map.mod ! Writing 40 model components to file: J0028+2000_X_2011_08_02_pus_map.mod wobs J0028+2000_X_2011_08_02_pus_uvs.fits ! Writing UV FITS file: J0028+2000_X_2011_08_02_pus_uvs.fits wwins J0028+2000_X_2011_08_02_pus_map.win ! wwins: Wrote 2 windows to J0028+2000_X_2011_08_02_pus_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! clean: niter=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -5.13507e-05 Jy ! Component: 100 - total flux cleaned = -0.000312844 Jy ! Component: 150 - total flux cleaned = -0.000219762 Jy ! Component: 200 - total flux cleaned = 7.4883e-06 Jy ! Component: 250 - total flux cleaned = 7.54514e-06 Jy ! Component: 300 - total flux cleaned = 0.000133098 Jy ! Component: 350 - total flux cleaned = 0.000133351 Jy ! Component: 400 - total flux cleaned = 0.000134148 Jy ! Component: 450 - total flux cleaned = 0.000208198 Jy ! Component: 500 - total flux cleaned = 0.00028054 Jy ! Component: 550 - total flux cleaned = 0.000454465 Jy ! Component: 600 - total flux cleaned = 0.000589466 Jy ! Component: 650 - total flux cleaned = 0.000688939 Jy ! Component: 700 - total flux cleaned = 0.000816787 Jy ! Component: 750 - total flux cleaned = 0.00100521 Jy ! Component: 800 - total flux cleaned = 0.000944223 Jy ! Component: 850 - total flux cleaned = 0.00106515 Jy ! Component: 900 - total flux cleaned = 0.0011236 Jy ! Component: 950 - total flux cleaned = 0.00112273 Jy ! Component: 1000 - total flux cleaned = 0.00101015 Jy ! Component: 1050 - total flux cleaned = 0.00109367 Jy ! Component: 1100 - total flux cleaned = 0.00112025 Jy ! Component: 1150 - total flux cleaned = 0.00122699 Jy ! Component: 1200 - total flux cleaned = 0.0012802 Jy ! Component: 1250 - total flux cleaned = 0.00143521 Jy ! Component: 1300 - total flux cleaned = 0.00143498 Jy ! Component: 1350 - total flux cleaned = 0.00155909 Jy ! Component: 1400 - total flux cleaned = 0.00155889 Jy ! Component: 1450 - total flux cleaned = 0.00165626 Jy ! Component: 1500 - total flux cleaned = 0.00175167 Jy ! Component: 1550 - total flux cleaned = 0.00182196 Jy ! Component: 1600 - total flux cleaned = 0.00184469 Jy ! Component: 1650 - total flux cleaned = 0.00193614 Jy ! Component: 1700 - total flux cleaned = 0.00200368 Jy ! Component: 1750 - total flux cleaned = 0.00202589 Jy ! Component: 1800 - total flux cleaned = 0.0020695 Jy ! Component: 1850 - total flux cleaned = 0.00217749 Jy ! Component: 1900 - total flux cleaned = 0.00224118 Jy ! Component: 1950 - total flux cleaned = 0.00228323 Jy ! Component: 2000 - total flux cleaned = 0.00238692 Jy ! Total flux subtracted in 2048 components = 0.00240767 Jy ! Clean residual min=-0.001113 max=0.001235 Jy/beam ! Clean residual mean=0.000008 rms=0.000363 Jy/beam ! Combined flux in latest and established models = 0.355443 Jy keep ! Adding 126 model components to the UV plane model. ! The established model now contains 166 components and 0.355443 Jy ![Exited script file: muppet] wmap "J0028+2000_X_2011_08_02_pus\_map.fits" ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.871 x 1.654 at 29.26 degrees (North through East) ! Clean map min=-0.0018363 max=0.33619 Jy/beam ! Writing clean map to FITS file: J0028+2000_X_2011_08_02_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.336192 invert ! Inverting map ! Your choice of large map pixels excluded 8.8% of the data. ! The x-axis pixel size should ideally be below 0.1774 milli-arcsec ! The y-axis pixel size should ideally be below 0.1949 milli-arcsec float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000362438 device "J0028+2000_X_2011_08_02_pus\_map.eps/VPS" ! Attempting to open device: 'J0028+2000_X_2011_08_02_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.32342 0.32342 0.64684 1.29368 2.58736 5.17472 10.3494 20.6989 41.3978 82.7956 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.001 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.336 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.871 x 1.654 at 29.26 degrees (North through East) ! Clean map min=-0.0018363 max=0.33619 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0028+2000_X_2011_08_02_pus\_map.gif/vgif" ! Attempting to open device: 'J0028+2000_X_2011_08_02_pus_map.gif/vgif' mapplot cln