! Started logfile: J1848+3219_S_2009_04_21_pus_uvs.log on Mon Jan 24 18:34:58 2011 obs J1848+3219_S_2009_04_21_pus_uva.fits ! Reading UV FITS file: J1848+3219_S_2009_04_21_pus_uva.fits ! AN table 1: 52 integrations on 120 of 120 possible baselines. ! AN table 2: 45 integrations on 120 of 120 possible baselines. ! AN table 3: 319 integrations on 120 of 120 possible baselines. ! Apparent sampling: 0.180068 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J1848+3219 ! ! 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 35956 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 J1848+3219_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 516 telescope corrections were flagged in sub-array 1. ! A total of 672 telescope corrections were flagged in sub-array 2. ! A total of 3495 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 2. ! A total of 516 telescope corrections were flagged in sub-array 1. ! A total of 672 telescope corrections were flagged in sub-array 2. ! A total of 3495 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 3. ! A total of 516 telescope corrections were flagged in sub-array 1. ! A total of 672 telescope corrections were flagged in sub-array 2. ! A total of 3495 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 4. ! A total of 516 telescope corrections were flagged in sub-array 1. ! A total of 672 telescope corrections were flagged in sub-array 2. ! A total of 3495 telescope corrections were flagged in sub-array 3. ! ! Fit before self-cal, rms=0.779692Jy sigma=0.006844 ! Fit after self-cal, rms=0.642974Jy sigma=0.005718 ! 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.83 mas, bmaj=3.946 mas, bpa=6.939 degrees ! Estimated noise=798.079 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.289317 Jy ! Component: 100 - total flux cleaned = 0.36593 Jy ! Total flux subtracted in 100 components = 0.36593 Jy ! Clean residual min=-0.008328 max=0.033307 Jy/beam ! Clean residual mean=0.000047 rms=0.002764 Jy/beam ! Combined flux in latest and established models = 0.36593 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 5 components and 0.36593 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.187718Jy sigma=0.001471 ! Fit after self-cal, rms=0.187679Jy sigma=0.001471 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0381211 Jy ! Component: 100 - total flux cleaned = 0.0610473 Jy ! Total flux subtracted in 100 components = 0.0610473 Jy ! Clean residual min=-0.007008 max=0.012095 Jy/beam ! Clean residual mean=-0.000009 rms=0.001886 Jy/beam ! Combined flux in latest and established models = 0.426977 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 20 components and 0.426977 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.178858Jy sigma=0.001353 ! Fit after self-cal, rms=0.178783Jy sigma=0.001353 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0150159 Jy ! Component: 100 - total flux cleaned = 0.025112 Jy ! Total flux subtracted in 100 components = 0.025112 Jy ! Clean residual min=-0.006774 max=0.008353 Jy/beam ! Clean residual mean=-0.000032 rms=0.001687 Jy/beam ! Combined flux in latest and established models = 0.452089 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 30 components and 0.452089 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.177497Jy sigma=0.001334 ! Fit after self-cal, rms=0.177473Jy sigma=0.001334 ! 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.098 mas, bmaj=4.383 mas, bpa=7.4 degrees ! Estimated noise=429.141 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.00786171 Jy ! Component: 100 - total flux cleaned = 0.0123446 Jy ! Component: 150 - total flux cleaned = 0.0150635 Jy ! Component: 200 - total flux cleaned = 0.0167351 Jy ! Total flux subtracted in 200 components = 0.0167351 Jy ! Clean residual min=-0.007522 max=0.005973 Jy/beam ! Clean residual mean=-0.000426 rms=0.001431 Jy/beam ! Combined flux in latest and established models = 0.468824 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 38 components and 0.468824 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.177169Jy sigma=0.001329 ! Fit after self-cal, rms=0.177152Jy sigma=0.001329 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 54 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 0.99 HN 0.98 KB 1.00* ! KK 1.07 KP 1.11 LA 1.01 MK 1.13 ! NL 0.98 NY 1.00* OV 0.93 PT 1.01 ! SC 1.01 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 33 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.09 ! KK 0.98 KP 1.00* LA 1.00* MK 0.84 ! NL 1.00* NY 0.81 OV 1.00* PT 1.00* ! SC 0.96 TS 1.00* 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.98 FD 1.02 HN 1.04 KB 0.98 ! KK 1.11 KP 0.96 LA 1.04 MK 1.01 ! NL 0.98 NY 1.02 OV 0.97 PT 1.02 ! SC 1.03 TS 1.01 WZ 0.92 ZC 1.34 ! ! ! Correcting IF 2. ! A total of 54 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.00 HN 0.98 KB 1.00* ! KK 0.99 KP 0.99 LA 0.96 MK 1.01 ! NL 1.00 NY 1.00* OV 0.98 PT 0.98 ! SC 1.06 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 33 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.13 ! KK 1.09 KP 1.00* LA 1.00* MK 1.00 ! NL 1.00* NY 1.41 OV 1.00* PT 1.00* ! SC 1.03 TS 1.00* 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 1.02 FD 1.03 HN 1.01 KB 1.06 ! KK 1.01 KP 1.01 LA 0.99 MK 1.00 ! NL 0.99 NY 0.98 OV 1.01 PT 1.01 ! SC 1.08 TS 1.00 WZ 0.88 ZC 1.14 ! ! ! Correcting IF 3. ! A total of 54 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 0.98 HN 0.98 KB 1.00* ! KK 1.00 KP 0.99 LA 0.99 MK 0.99 ! NL 0.98 NY 1.00* OV 1.03 PT 1.04 ! SC 0.99 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 33 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.13 ! KK 1.24 KP 1.00* LA 1.00* MK 0.99 ! NL 1.00* NY 0.90 OV 1.00* PT 1.00* ! SC 0.83 TS 1.00* 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 1.05 FD 1.01 HN 1.03 KB 1.06 ! KK 1.01 KP 1.00 LA 1.01 MK 0.99 ! NL 0.99 NY 0.93 OV 1.03 PT 1.04 ! SC 0.98 TS 1.02 WZ 0.79 ZC 0.94 ! ! ! Correcting IF 4. ! A total of 54 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.99 HN 0.99 KB 1.00* ! KK 1.03 KP 0.97 LA 1.01 MK 0.99 ! NL 0.97 NY 1.00* OV 0.84 PT 0.91 ! SC 0.98 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 33 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.28 ! KK 0.98 KP 1.00* LA 1.00* MK 1.07 ! NL 1.00* NY 1.23 OV 1.00* PT 1.00* ! SC 0.94 TS 1.00* 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 1.01 FD 1.03 HN 1.02 KB 1.02 ! KK 1.00 KP 1.02 LA 1.00 MK 1.00 ! NL 0.99 NY 0.91 OV 0.84 PT 0.90 ! SC 1.02 TS 1.04 WZ 0.78 ZC 0.94 ! ! ! Fit before self-cal, rms=0.177152Jy sigma=0.001329 ! Fit after self-cal, rms=0.165749Jy sigma=0.001277 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.118 mas, bmaj=4.359 mas, bpa=7.485 degrees ! Estimated noise=432.81 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.00203822 Jy ! Component: 100 - total flux cleaned = -0.00213194 Jy ! Component: 150 - total flux cleaned = -0.00225539 Jy ! Component: 200 - total flux cleaned = -0.00232705 Jy ! Total flux subtracted in 200 components = -0.00232705 Jy ! Clean residual min=-0.004886 max=0.004409 Jy/beam ! Clean residual mean=0.000118 rms=0.001104 Jy/beam ! Combined flux in latest and established models = 0.466497 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 46 components and 0.466497 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.165693Jy sigma=0.001277 ! Fit after self-cal, rms=0.165600Jy sigma=0.001277 ! 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.165600Jy sigma=0.001277 ! Fit after self-cal, rms=0.166174Jy sigma=0.001262 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.126 mas, bmaj=4.362 mas, bpa=7.356 degrees ! Estimated noise=433.583 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000112694 Jy ! Component: 100 - total flux cleaned = -0.000117172 Jy ! Component: 150 - total flux cleaned = -0.00012061 Jy ! Component: 200 - total flux cleaned = -0.000121764 Jy ! Total flux subtracted in 200 components = -0.000121764 Jy ! Clean residual min=-0.002174 max=0.004183 Jy/beam ! Clean residual mean=0.000132 rms=0.000649 Jy/beam ! Combined flux in latest and established models = 0.466375 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 49 components and 0.466375 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166143Jy sigma=0.001262 ! Fit after self-cal, rms=0.166199Jy sigma=0.001262 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 (-4.5, 11.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00397855 Jy ! Component: 100 - total flux cleaned = 0.00610441 Jy ! Component: 150 - total flux cleaned = 0.00714966 Jy ! Component: 200 - total flux cleaned = 0.00737636 Jy ! Total flux subtracted in 200 components = 0.00737636 Jy ! Clean residual min=-0.002221 max=0.002218 Jy/beam ! Clean residual mean=0.000045 rms=0.000551 Jy/beam ! Combined flux in latest and established models = 0.473752 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 72 components and 0.473752 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166104Jy sigma=0.001261 ! Fit after self-cal, rms=0.166091Jy sigma=0.001261 ! 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.166091Jy sigma=0.001261 ! Fit after self-cal, rms=0.166132Jy sigma=0.001261 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.126 mas, bmaj=4.362 mas, bpa=7.29 degrees ! Estimated noise=433.965 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00117896 Jy ! Component: 100 - total flux cleaned = 0.00159114 Jy ! Component: 150 - total flux cleaned = 0.00188707 Jy ! Component: 200 - total flux cleaned = 0.0020477 Jy ! Total flux subtracted in 200 components = 0.0020477 Jy ! Clean residual min=-0.002346 max=0.002119 Jy/beam ! Clean residual mean=0.000068 rms=0.000537 Jy/beam ! Combined flux in latest and established models = 0.475799 Jy selfcal ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 86 components and 0.475799 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166111Jy sigma=0.001260 ! Fit after self-cal, rms=0.166107Jy sigma=0.001260 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.000481751 Jy ! Component: 100 - total flux cleaned = 0.000597902 Jy ! Component: 150 - total flux cleaned = 0.000730809 Jy ! Component: 200 - total flux cleaned = 0.000828308 Jy ! Total flux subtracted in 200 components = 0.000828308 Jy ! Clean residual min=-0.002365 max=0.002071 Jy/beam ! Clean residual mean=0.000058 rms=0.000532 Jy/beam ! Combined flux in latest and established models = 0.476628 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 88 components and 0.476628 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166097Jy sigma=0.001260 ! Fit after self-cal, rms=0.166097Jy sigma=0.001260 ! 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.166097Jy sigma=0.001260 ! Fit after self-cal, rms=0.166100Jy sigma=0.001260 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.14 mas, bmaj=9.538 mas, bpa=-2.508 degrees ! Estimated noise=621.409 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00151914 Jy ! Component: 100 - total flux cleaned = 0.00193591 Jy ! Component: 150 - total flux cleaned = 0.00195325 Jy ! Component: 200 - total flux cleaned = 0.00197034 Jy ! Total flux subtracted in 200 components = 0.00197034 Jy ! Clean residual min=-0.001681 max=0.002111 Jy/beam ! Clean residual mean=0.000198 rms=0.000628 Jy/beam ! Combined flux in latest and established models = 0.478598 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 102 components and 0.478598 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166104Jy sigma=0.001260 ! Fit after self-cal, rms=0.166100Jy sigma=0.001260 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.000267798 Jy ! Component: 100 - total flux cleaned = 0.000299811 Jy ! Component: 150 - total flux cleaned = 0.000328998 Jy ! Component: 200 - total flux cleaned = 0.000342984 Jy ! Total flux subtracted in 200 components = 0.000342984 Jy ! Clean residual min=-0.001669 max=0.002117 Jy/beam ! Clean residual mean=0.000184 rms=0.000619 Jy/beam ! Combined flux in latest and established models = 0.478941 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 107 components and 0.478941 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166103Jy sigma=0.001260 ! Fit after self-cal, rms=0.166104Jy sigma=0.001260 ! 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.127 mas, bmaj=4.363 mas, bpa=7.265 degrees ! Estimated noise=434.013 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.127 x 4.363 at 7.265 degrees (North through East) ! Clean map min=-0.002028 max=0.38199 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=1.862 mas, bmaj=3.93 mas, bpa=7.345 degrees ! Estimated noise=781.383 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.29043 Jy ! Component: 100 - total flux cleaned = 0.366883 Jy ! Component: 150 - total flux cleaned = 0.403683 Jy ! Component: 200 - total flux cleaned = 0.425159 Jy ! Total flux subtracted in 200 components = 0.425159 Jy ! Clean residual min=-0.004822 max=0.011002 Jy/beam ! Clean residual mean=0.000057 rms=0.001346 Jy/beam ! Combined flux in latest and established models = 0.425159 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 18 model components to the UV plane model. ! The established model now contains 18 components and 0.425159 Jy ! Inverting map and beam ! Estimated beam: bmin=2.127 mas, bmaj=4.363 mas, bpa=7.265 degrees ! Estimated noise=434.013 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.0177597 Jy ! Component: 100 - total flux cleaned = 0.0276498 Jy ! Component: 150 - total flux cleaned = 0.0341714 Jy ! Component: 200 - total flux cleaned = 0.0388579 Jy ! Total flux subtracted in 200 components = 0.0388579 Jy ! Clean residual min=-0.002205 max=0.003105 Jy/beam ! Clean residual mean=0.000228 rms=0.000670 Jy/beam ! Combined flux in latest and established models = 0.464017 Jy ! Adding 36 model components to the UV plane model. ! The established model now contains 47 components and 0.464017 Jy ! Inverting map ! Added new window around map position (-2.5, 3.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00356412 Jy ! Component: 100 - total flux cleaned = 0.00623251 Jy ! Component: 150 - total flux cleaned = 0.00828125 Jy ! Component: 200 - total flux cleaned = 0.00987044 Jy ! Total flux subtracted in 200 components = 0.00987044 Jy ! Clean residual min=-0.002331 max=0.002120 Jy/beam ! Clean residual mean=0.000116 rms=0.000546 Jy/beam ! Combined flux in latest and established models = 0.473887 Jy ! Adding 30 model components to the UV plane model. ! The established model now contains 67 components and 0.473887 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=8.14 mas, bmaj=9.538 mas, bpa=-2.508 degrees ! Estimated noise=621.409 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00242253 Jy ! Component: 100 - total flux cleaned = 0.00365322 Jy ! Component: 150 - total flux cleaned = 0.00440854 Jy ! Component: 200 - total flux cleaned = 0.00480038 Jy ! Total flux subtracted in 200 components = 0.00480038 Jy ! Clean residual min=-0.001668 max=0.002126 Jy/beam ! Clean residual mean=0.000194 rms=0.000615 Jy/beam ! Combined flux in latest and established models = 0.478688 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 = 6.26182e-05 Jy ! Component: 100 - total flux cleaned = 0.000121326 Jy ! Component: 150 - total flux cleaned = 0.000175949 Jy ! Component: 200 - total flux cleaned = 0.000227273 Jy ! Total flux subtracted in 200 components = 0.000227273 Jy ! Clean residual min=-0.001688 max=0.002126 Jy/beam ! Clean residual mean=0.000185 rms=0.000610 Jy/beam ! Combined flux in latest and established models = 0.478915 Jy ! Adding 22 model components to the UV plane model. ! The established model now contains 86 components and 0.478915 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=2.127 mas, bmaj=4.363 mas, bpa=7.265 degrees ! Estimated noise=434.013 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000838833 Jy ! Component: 100 - total flux cleaned = -0.000875074 Jy ! Component: 150 - total flux cleaned = -0.000812048 Jy ! Component: 200 - total flux cleaned = -0.000726532 Jy ! Total flux subtracted in 200 components = -0.000726532 Jy ! Clean residual min=-0.002298 max=0.002018 Jy/beam ! Clean residual mean=0.000067 rms=0.000522 Jy/beam ! Combined flux in latest and established models = 0.478189 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 98 components and 0.478189 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.166095Jy sigma=0.001260 ! Fit after self-cal, rms=0.166090Jy sigma=0.001260 wmodel J1848+3219_S_2009_04_21_pus_map.mod ! Writing 98 model components to file: J1848+3219_S_2009_04_21_pus_map.mod wobs J1848+3219_S_2009_04_21_pus_uvs.fits ! Writing UV FITS file: J1848+3219_S_2009_04_21_pus_uvs.fits wwins J1848+3219_S_2009_04_21_pus_map.win ! wwins: Wrote 3 windows to J1848+3219_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 = -0.000112807 Jy ! Component: 100 - total flux cleaned = 0.000280857 Jy ! Component: 150 - total flux cleaned = 0.000692971 Jy ! Component: 200 - total flux cleaned = 0.00105923 Jy ! Component: 250 - total flux cleaned = 0.00135037 Jy ! Component: 300 - total flux cleaned = 0.00150777 Jy ! Component: 350 - total flux cleaned = 0.00166219 Jy ! Component: 400 - total flux cleaned = 0.00175319 Jy ! Component: 450 - total flux cleaned = 0.00184272 Jy ! Component: 500 - total flux cleaned = 0.00187218 Jy ! Component: 550 - total flux cleaned = 0.00193029 Jy ! Component: 600 - total flux cleaned = 0.00195881 Jy ! Component: 650 - total flux cleaned = 0.0020155 Jy ! Component: 700 - total flux cleaned = 0.00212717 Jy ! Component: 750 - total flux cleaned = 0.00218211 Jy ! Component: 800 - total flux cleaned = 0.00220937 Jy ! Component: 850 - total flux cleaned = 0.0022365 Jy ! Component: 900 - total flux cleaned = 0.00229036 Jy ! Component: 950 - total flux cleaned = 0.00239599 Jy ! Component: 1000 - total flux cleaned = 0.00242201 Jy ! Component: 1050 - total flux cleaned = 0.00244802 Jy ! Component: 1100 - total flux cleaned = 0.00255095 Jy ! Component: 1150 - total flux cleaned = 0.00260171 Jy ! Component: 1200 - total flux cleaned = 0.0026268 Jy ! Component: 1250 - total flux cleaned = 0.00262669 Jy ! Component: 1300 - total flux cleaned = 0.00267646 Jy ! Component: 1350 - total flux cleaned = 0.00270093 Jy ! Component: 1400 - total flux cleaned = 0.00277411 Jy ! Component: 1450 - total flux cleaned = 0.00277376 Jy ! Component: 1500 - total flux cleaned = 0.00277366 Jy ! Component: 1550 - total flux cleaned = 0.00277367 Jy ! Component: 1600 - total flux cleaned = 0.00282106 Jy ! Component: 1650 - total flux cleaned = 0.00282096 Jy ! Component: 1700 - total flux cleaned = 0.0028212 Jy ! Component: 1750 - total flux cleaned = 0.00284458 Jy ! Component: 1800 - total flux cleaned = 0.00289074 Jy ! Component: 1850 - total flux cleaned = 0.00289056 Jy ! Component: 1900 - total flux cleaned = 0.00289041 Jy ! Component: 1950 - total flux cleaned = 0.00289039 Jy ! Component: 2000 - total flux cleaned = 0.00293517 Jy ! Total flux subtracted in 2048 components = 0.00291301 Jy ! Clean residual min=-0.001425 max=0.001114 Jy/beam ! Clean residual mean=0.000025 rms=0.000411 Jy/beam ! Combined flux in latest and established models = 0.481102 Jy keep ! Adding 168 model components to the UV plane model. ! The established model now contains 266 components and 0.481102 Jy ![Exited script file: muppet] wmap "J1848+3219_S_2009_04_21_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.127 x 4.363 at 7.265 degrees (North through East) ! Clean map min=-0.0018542 max=0.38288 Jy/beam ! Writing clean map to FITS file: J1848+3219_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.382878 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000409655 device "J1848+3219_S_2009_04_21_pus\_map.eps/VPS" ! Attempting to open device: 'J1848+3219_S_2009_04_21_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.320981 0.320981 0.641962 1.28392 2.56785 5.1357 10.2714 20.5428 41.0856 82.1711 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0012 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.382 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.127 x 4.363 at 7.265 degrees (North through East) ! Clean map min=-0.0018542 max=0.38288 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J1848+3219_S_2009_04_21_pus\_map.gif/vgif" ! Attempting to open device: 'J1848+3219_S_2009_04_21_pus_map.gif/vgif' mapplot cln