! Started logfile: J0547+2721_S_2009_04_21_pus_uvs.log on Mon Jan 24 18:25:20 2011 obs J0547+2721_S_2009_04_21_pus_uva.fits ! Reading UV FITS file: J0547+2721_S_2009_04_21_pus_uva.fits ! AN table 1: 127 integrations on 120 of 120 possible baselines. ! AN table 2: 92 integrations on 120 of 120 possible baselines. ! AN table 3: 42 integrations on 120 of 120 possible baselines. ! Apparent sampling: 0.298116 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0547+2721 ! ! 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 2.23697e+09 8e+06 1 8e+06 ! 02 2 2.26697e+09 8e+06 1 8e+06 ! 03 3 2.35697e+09 8e+06 1 8e+06 ! 04 4 2.37697e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 1864 lines of history. ! ! Reading 37348 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.5 print "taper_size =",taper_size ! taper_size = 20 ![@muppet J0547+2721_S_2009_04_21_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.500x0.500 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 477 telescope corrections were flagged in sub-array 1. ! A total of 1250 telescope corrections were flagged in sub-array 2. ! A total of 561 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 2. ! A total of 477 telescope corrections were flagged in sub-array 1. ! A total of 1250 telescope corrections were flagged in sub-array 2. ! A total of 555 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 3. ! A total of 477 telescope corrections were flagged in sub-array 1. ! A total of 1250 telescope corrections were flagged in sub-array 2. ! A total of 561 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 4. ! A total of 477 telescope corrections were flagged in sub-array 1. ! A total of 1250 telescope corrections were flagged in sub-array 2. ! A total of 561 telescope corrections were flagged in sub-array 3. ! ! Fit before self-cal, rms=0.848508Jy sigma=0.007111 ! Fit after self-cal, rms=0.788914Jy sigma=0.006553 ! 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 ! Estimated beam: bmin=1.976 mas, bmaj=3.922 mas, bpa=-9.739 degrees ! Estimated noise=1029.6 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.175855 Jy ! Component: 100 - total flux cleaned = 0.234918 Jy ! Total flux subtracted in 100 components = 0.234918 Jy ! Clean residual min=-0.008783 max=0.027020 Jy/beam ! Clean residual mean=0.000261 rms=0.003517 Jy/beam ! Combined flux in latest and established models = 0.234918 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 13 components and 0.234918 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.182225Jy sigma=0.001363 ! Fit after self-cal, rms=0.181995Jy sigma=0.001362 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0327767 Jy ! Component: 100 - total flux cleaned = 0.0530233 Jy ! Total flux subtracted in 100 components = 0.0530233 Jy ! Clean residual min=-0.006671 max=0.010538 Jy/beam ! Clean residual mean=0.000175 rms=0.002026 Jy/beam ! Combined flux in latest and established models = 0.287941 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 25 components and 0.287941 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.175409Jy sigma=0.001270 ! Fit after self-cal, rms=0.175276Jy sigma=0.001270 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0136042 Jy ! Component: 100 - total flux cleaned = 0.022115 Jy ! Total flux subtracted in 100 components = 0.022115 Jy ! Clean residual min=-0.006130 max=0.007114 Jy/beam ! Clean residual mean=0.000139 rms=0.001657 Jy/beam ! Combined flux in latest and established models = 0.310056 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 34 components and 0.310056 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.174211Jy sigma=0.001255 ! Fit after self-cal, rms=0.174157Jy sigma=0.001254 ! Inverting map 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 ! Estimated beam: bmin=2.443 mas, bmaj=4.733 mas, bpa=-9.164 degrees ! Estimated noise=437.167 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.00680561 Jy ! Component: 100 - total flux cleaned = 0.0106554 Jy ! Component: 150 - total flux cleaned = 0.0125307 Jy ! Component: 200 - total flux cleaned = 0.0130221 Jy ! Total flux subtracted in 200 components = 0.0130221 Jy ! Clean residual min=-0.005295 max=0.005625 Jy/beam ! Clean residual mean=0.000605 rms=0.001183 Jy/beam ! Combined flux in latest and established models = 0.323078 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 41 components and 0.323078 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.173911Jy sigma=0.001251 ! Fit after self-cal, rms=0.173897Jy sigma=0.001251 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 1.00 HN 1.09 KB 1.00* ! KK 1.08 KP 0.97 LA 1.05 MK 1.06 ! NL 1.01 NY 0.97 OV 0.96 PT 1.00 ! SC 1.07 TS 1.00* WZ 1.06 ZC 1.00* ! ! A total of 126 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* KB 0.92 ! KK 1.08 KP 1.00* LA 1.00* MK 0.93 ! NL 1.00* NY 1.00* OV 1.00* PT 1.00* ! SC 1.00* TS 0.83 WZ 1.00* ZC 1.00* ! ! A total of 111 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.00* FD 0.00* HN 0.00* KB 0.00* ! KK 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* NY 0.00* OV 0.00* PT 0.00* ! SC 0.00* TS 0.00* WZ 0.00* ZC 0.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.00 HN 1.02 KB 1.00* ! KK 1.01 KP 1.00 LA 0.98 MK 1.03 ! NL 1.01 NY 1.02 OV 1.00 PT 1.00 ! SC 1.08 TS 1.00* WZ 0.95 ZC 1.00* ! ! A total of 126 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* KB 0.99 ! KK 0.92 KP 1.00* LA 1.00* MK 1.01 ! NL 1.00* NY 1.00* OV 1.00* PT 1.00* ! SC 1.00* TS 0.90 WZ 1.00* ZC 1.00* ! ! A total of 117 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.00* FD 0.00* HN 0.00* KB 0.00* ! KK 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* NY 0.00* OV 0.00* PT 0.00* ! SC 0.00* TS 0.00* WZ 0.00* ZC 0.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.00 HN 1.07 KB 1.00* ! KK 1.02 KP 1.01 LA 1.01 MK 1.03 ! NL 1.02 NY 1.03 OV 1.01 PT 1.05 ! SC 0.98 TS 1.00* WZ 0.85 ZC 1.00* ! ! A total of 126 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* KB 1.05 ! KK 1.00 KP 1.00* LA 1.00* MK 1.01 ! NL 1.00* NY 1.00* OV 1.00* PT 1.00* ! SC 1.00* TS 0.90 WZ 1.00* ZC 1.00* ! ! A total of 111 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.00* FD 0.00* HN 0.00* KB 0.00* ! KK 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* NY 0.00* OV 0.00* PT 0.00* ! SC 0.00* TS 0.00* WZ 0.00* ZC 0.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.00 HN 1.05 KB 1.00* ! KK 1.01 KP 0.99 LA 1.01 MK 1.03 ! NL 1.01 NY 0.96 OV 0.85 PT 0.92 ! SC 1.01 TS 1.00* WZ 0.88 ZC 1.00* ! ! A total of 126 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.00* HN 1.00* KB 0.76 ! KK 0.93 KP 1.00* LA 1.00* MK 0.91 ! NL 1.00* NY 1.00* OV 1.00* PT 1.00* ! SC 1.00* TS 0.98 WZ 1.00* ZC 1.00* ! ! A total of 111 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.00* FD 0.00* HN 0.00* KB 0.00* ! KK 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* NY 0.00* OV 0.00* PT 0.00* ! SC 0.00* TS 0.00* WZ 0.00* ZC 0.00* ! ! ! Fit before self-cal, rms=0.173897Jy sigma=0.001251 ! Fit after self-cal, rms=0.172914Jy sigma=0.001239 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.479 mas, bmaj=4.814 mas, bpa=-12.03 degrees ! Estimated noise=446.254 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 (4, 14.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00571589 Jy ! Component: 100 - total flux cleaned = 0.00901498 Jy ! Component: 150 - total flux cleaned = 0.0109874 Jy ! Component: 200 - total flux cleaned = 0.011896 Jy ! Total flux subtracted in 200 components = 0.011896 Jy ! Clean residual min=-0.002492 max=0.003287 Jy/beam ! Clean residual mean=-0.000024 rms=0.000684 Jy/beam ! Combined flux in latest and established models = 0.334974 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 61 components and 0.334974 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.172708Jy sigma=0.001236 ! Fit after self-cal, rms=0.172720Jy sigma=0.001236 ! Inverting map 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.172720Jy sigma=0.001236 ! Fit after self-cal, rms=0.172353Jy sigma=0.001236 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.474 mas, bmaj=4.81 mas, bpa=-12.13 degrees ! Estimated noise=446.544 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00274435 Jy ! Component: 100 - total flux cleaned = 0.00394853 Jy ! Component: 150 - total flux cleaned = 0.00450998 Jy ! Component: 200 - total flux cleaned = 0.0048406 Jy ! Total flux subtracted in 200 components = 0.0048406 Jy ! Clean residual min=-0.002298 max=0.002944 Jy/beam ! Clean residual mean=-0.000004 rms=0.000587 Jy/beam ! Combined flux in latest and established models = 0.339814 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 69 components and 0.339814 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.172282Jy sigma=0.001235 ! Fit after self-cal, rms=0.172266Jy sigma=0.001235 flux_cutoff = imstat(rms) * dynam ! Inverting map 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 (22, -37). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00145762 Jy ! Component: 100 - total flux cleaned = 0.00170928 Jy ! Component: 150 - total flux cleaned = 0.00176292 Jy ! Component: 200 - total flux cleaned = 0.00176254 Jy ! Total flux subtracted in 200 components = 0.00176254 Jy ! Clean residual min=-0.002279 max=0.002200 Jy/beam ! Clean residual mean=-0.000009 rms=0.000547 Jy/beam ! Combined flux in latest and established models = 0.341577 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 82 components and 0.341577 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.172196Jy sigma=0.001235 ! Fit after self-cal, rms=0.172184Jy sigma=0.001235 ! Inverting map 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.172184Jy sigma=0.001235 ! Fit after self-cal, rms=0.171028Jy sigma=0.001235 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.466 mas, bmaj=4.806 mas, bpa=-12.36 degrees ! Estimated noise=446.178 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0014044 Jy ! Component: 100 - total flux cleaned = 0.00187324 Jy ! Component: 150 - total flux cleaned = 0.00210614 Jy ! Component: 200 - total flux cleaned = 0.00219134 Jy ! Total flux subtracted in 200 components = 0.00219134 Jy ! Clean residual min=-0.002139 max=0.002100 Jy/beam ! Clean residual mean=0.000003 rms=0.000516 Jy/beam ! Combined flux in latest and established models = 0.343768 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 89 components and 0.343768 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.170991Jy sigma=0.001235 ! Fit after self-cal, rms=0.170966Jy sigma=0.001235 flux_cutoff = imstat(rms) * dynam ! Inverting map 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.000173845 Jy ! Component: 100 - total flux cleaned = 0.000250878 Jy ! Component: 150 - total flux cleaned = 0.000213154 Jy ! Component: 200 - total flux cleaned = 0.000213208 Jy ! Total flux subtracted in 200 components = 0.000213208 Jy ! Clean residual min=-0.002132 max=0.001969 Jy/beam ! Clean residual mean=0.000002 rms=0.000506 Jy/beam ! Combined flux in latest and established models = 0.343982 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 95 components and 0.343981 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.170945Jy sigma=0.001234 ! Fit after self-cal, rms=0.170941Jy sigma=0.001234 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 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.170941Jy sigma=0.001234 ! Fit after self-cal, rms=0.169778Jy sigma=0.001234 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=6.945 mas, bmaj=10.5 mas, bpa=4.519 degrees ! Estimated noise=582.222 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000929755 Jy ! Component: 100 - total flux cleaned = 0.0011168 Jy ! Component: 150 - total flux cleaned = 0.00119232 Jy ! Component: 200 - total flux cleaned = 0.00127579 Jy ! Total flux subtracted in 200 components = 0.00127579 Jy ! Clean residual min=-0.001921 max=0.001615 Jy/beam ! Clean residual mean=0.000018 rms=0.000568 Jy/beam ! Combined flux in latest and established models = 0.345257 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 104 components and 0.345257 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.169780Jy sigma=0.001234 ! Fit after self-cal, rms=0.169765Jy sigma=0.001234 flux_cutoff = imstat(rms) * dynam ! Inverting map 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.000127956 Jy ! Component: 100 - total flux cleaned = 0.000128362 Jy ! Component: 150 - total flux cleaned = 0.000110647 Jy ! Component: 200 - total flux cleaned = 9.45648e-05 Jy ! Total flux subtracted in 200 components = 9.45648e-05 Jy ! Clean residual min=-0.001899 max=0.001590 Jy/beam ! Clean residual mean=0.000017 rms=0.000557 Jy/beam ! Combined flux in latest and established models = 0.345352 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 109 components and 0.345352 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.169767Jy sigma=0.001234 ! Fit after self-cal, rms=0.169766Jy sigma=0.001234 ! Inverting map 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 ! Estimated beam: bmin=2.459 mas, bmaj=4.802 mas, bpa=-12.59 degrees ! Estimated noise=445.657 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.459 x 4.802 at -12.59 degrees (North through East) ! Clean map min=-0.0017877 max=0.23943 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 ! Estimated beam: bmin=2.02 mas, bmaj=4.096 mas, bpa=-14.96 degrees ! Estimated noise=1070.34 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.178561 Jy ! Component: 100 - total flux cleaned = 0.241499 Jy ! Component: 150 - total flux cleaned = 0.273592 Jy ! Component: 200 - total flux cleaned = 0.292945 Jy ! Total flux subtracted in 200 components = 0.292945 Jy ! Clean residual min=-0.006038 max=0.009971 Jy/beam ! Clean residual mean=0.000083 rms=0.001772 Jy/beam ! Combined flux in latest and established models = 0.292945 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 23 model components to the UV plane model. ! The established model now contains 23 components and 0.292945 Jy ! Inverting map and beam ! Estimated beam: bmin=2.459 mas, bmaj=4.802 mas, bpa=-12.59 degrees ! Estimated noise=445.657 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) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0152508 Jy ! Component: 100 - total flux cleaned = 0.0245143 Jy ! Component: 150 - total flux cleaned = 0.0310412 Jy ! Component: 200 - total flux cleaned = 0.0360058 Jy ! Total flux subtracted in 200 components = 0.0360058 Jy ! Clean residual min=-0.002450 max=0.003580 Jy/beam ! Clean residual mean=0.000058 rms=0.000748 Jy/beam ! Combined flux in latest and established models = 0.328951 Jy ! Adding 28 model components to the UV plane model. ! The established model now contains 47 components and 0.328951 Jy ! Inverting map ! Added new window around map position (-2.5, -1). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00403789 Jy ! Component: 100 - total flux cleaned = 0.0071647 Jy ! Component: 150 - total flux cleaned = 0.00965146 Jy ! Component: 200 - total flux cleaned = 0.0112826 Jy ! Total flux subtracted in 200 components = 0.0112826 Jy ! Clean residual min=-0.002035 max=0.001973 Jy/beam ! Clean residual mean=0.000020 rms=0.000536 Jy/beam ! Combined flux in latest and established models = 0.340234 Jy ! Adding 28 model components to the UV plane model. ! The established model now contains 65 components and 0.340234 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=6.945 mas, bmaj=10.5 mas, bpa=4.519 degrees ! Estimated noise=582.222 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0024942 Jy ! Component: 100 - total flux cleaned = 0.00322476 Jy ! Component: 150 - total flux cleaned = 0.00363786 Jy ! Component: 200 - total flux cleaned = 0.00393347 Jy ! Total flux subtracted in 200 components = 0.00393347 Jy ! Clean residual min=-0.001823 max=0.001542 Jy/beam ! Clean residual mean=0.000027 rms=0.000547 Jy/beam ! Combined flux in latest and established models = 0.344167 Jy flux_cutoff = imstat(rms) * dynam 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) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000273508 Jy ! Component: 100 - total flux cleaned = 0.000427218 Jy ! Component: 150 - total flux cleaned = 0.000539179 Jy ! Component: 200 - total flux cleaned = 0.000657392 Jy ! Total flux subtracted in 200 components = 0.000657392 Jy ! Clean residual min=-0.001772 max=0.001523 Jy/beam ! Clean residual mean=0.000022 rms=0.000531 Jy/beam ! Combined flux in latest and established models = 0.344824 Jy ! Adding 78 model components to the UV plane model. ! The established model now contains 139 components and 0.344824 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=2.459 mas, bmaj=4.802 mas, bpa=-12.59 degrees ! Estimated noise=445.657 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000417912 Jy ! Component: 100 - total flux cleaned = -0.000305808 Jy ! Component: 150 - total flux cleaned = -0.00025742 Jy ! Component: 200 - total flux cleaned = -0.000170355 Jy ! Total flux subtracted in 200 components = -0.000170355 Jy ! Clean residual min=-0.001837 max=0.001820 Jy/beam ! Clean residual mean=0.000007 rms=0.000481 Jy/beam ! Combined flux in latest and established models = 0.344654 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 155 components and 0.344654 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.169737Jy sigma=0.001234 ! Fit after self-cal, rms=0.169716Jy sigma=0.001234 wmodel J0547+2721_S_2009_04_21_pus_map.mod ! Writing 155 model components to file: J0547+2721_S_2009_04_21_pus_map.mod wobs J0547+2721_S_2009_04_21_pus_uvs.fits ! Writing UV FITS file: J0547+2721_S_2009_04_21_pus_uvs.fits wwins J0547+2721_S_2009_04_21_pus_map.win ! wwins: Wrote 4 windows to J0547+2721_S_2009_04_21_pus_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -7.17032e-05 Jy ! Component: 100 - total flux cleaned = -0.000264103 Jy ! Component: 150 - total flux cleaned = -0.000448288 Jy ! Component: 200 - total flux cleaned = -0.00062636 Jy ! Component: 250 - total flux cleaned = -0.000713136 Jy ! Component: 300 - total flux cleaned = -0.000769093 Jy ! Component: 350 - total flux cleaned = -0.000850156 Jy ! Component: 400 - total flux cleaned = -0.000850316 Jy ! Component: 450 - total flux cleaned = -0.00092819 Jy ! Component: 500 - total flux cleaned = -0.000902505 Jy ! Component: 550 - total flux cleaned = -0.000902354 Jy ! Component: 600 - total flux cleaned = -0.000852818 Jy ! Component: 650 - total flux cleaned = -0.000828702 Jy ! Component: 700 - total flux cleaned = -0.00087619 Jy ! Component: 750 - total flux cleaned = -0.000806098 Jy ! Component: 800 - total flux cleaned = -0.000852466 Jy ! Component: 850 - total flux cleaned = -0.000807262 Jy ! Component: 900 - total flux cleaned = -0.00085204 Jy ! Component: 950 - total flux cleaned = -0.000786015 Jy ! Component: 1000 - total flux cleaned = -0.000786424 Jy ! Component: 1050 - total flux cleaned = -0.000765148 Jy ! Component: 1100 - total flux cleaned = -0.000744074 Jy ! Component: 1150 - total flux cleaned = -0.000786047 Jy ! Component: 1200 - total flux cleaned = -0.000744091 Jy ! Component: 1250 - total flux cleaned = -0.000682515 Jy ! Component: 1300 - total flux cleaned = -0.000682344 Jy ! Component: 1350 - total flux cleaned = -0.000702274 Jy ! Component: 1400 - total flux cleaned = -0.000622721 Jy ! Component: 1450 - total flux cleaned = -0.000642195 Jy ! Component: 1500 - total flux cleaned = -0.000603323 Jy ! Component: 1550 - total flux cleaned = -0.000603294 Jy ! Component: 1600 - total flux cleaned = -0.000584196 Jy ! Component: 1650 - total flux cleaned = -0.000527538 Jy ! Component: 1700 - total flux cleaned = -0.000508923 Jy ! Component: 1750 - total flux cleaned = -0.000490509 Jy ! Component: 1800 - total flux cleaned = -0.000490491 Jy ! Component: 1850 - total flux cleaned = -0.000490473 Jy ! Component: 1900 - total flux cleaned = -0.000418338 Jy ! Component: 1950 - total flux cleaned = -0.000400294 Jy ! Component: 2000 - total flux cleaned = -0.000364693 Jy ! Total flux subtracted in 2048 components = -0.000311953 Jy ! Clean residual min=-0.000943 max=0.001133 Jy/beam ! Clean residual mean=0.000013 rms=0.000323 Jy/beam ! Combined flux in latest and established models = 0.344342 Jy keep ! Adding 126 model components to the UV plane model. ! The established model now contains 281 components and 0.344342 Jy ![Exited script file: muppet] wmap "J0547+2721_S_2009_04_21_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.459 x 4.802 at -12.59 degrees (North through East) ! Clean map min=-0.0016535 max=0.24025 Jy/beam ! Writing clean map to FITS file: J0547+2721_S_2009_04_21_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.240247 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000321989 device "J0547+2721_S_2009_04_21_pus\_map.eps/VPS" ! Attempting to open device: 'J0547+2721_S_2009_04_21_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.402072 0.402072 0.804143 1.60829 3.21657 6.43315 12.8663 25.7326 51.4652 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0009 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.24 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.459 x 4.802 at -12.59 degrees (North through East) ! Clean map min=-0.0016535 max=0.24025 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0547+2721_S_2009_04_21_pus\_map.gif/vgif" ! Attempting to open device: 'J0547+2721_S_2009_04_21_pus_map.gif/vgif' mapplot cln