! Started logfile: J1409-2657_S_2009_04_21_pus_uvs.log on Mon Jan 24 18:32:04 2011 obs J1409-2657_S_2009_04_21_pus_uva.fits ! Reading UV FITS file: J1409-2657_S_2009_04_21_pus_uva.fits ! AN table 1: 12 integrations on 120 of 120 possible baselines. ! AN table 2: 26 integrations on 120 of 120 possible baselines. ! AN table 3: 52 integrations on 120 of 120 possible baselines. ! Apparent sampling: 0.17213 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J1409-2657 ! ! 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 7436 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 J1409-2657_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 73 telescope corrections were flagged in sub-array 1. ! A total of 243 telescope corrections were flagged in sub-array 2. ! A total of 615 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 2. ! A total of 73 telescope corrections were flagged in sub-array 1. ! A total of 243 telescope corrections were flagged in sub-array 2. ! A total of 615 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 3. ! A total of 73 telescope corrections were flagged in sub-array 1. ! A total of 231 telescope corrections were flagged in sub-array 2. ! A total of 615 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 4. ! A total of 73 telescope corrections were flagged in sub-array 1. ! A total of 231 telescope corrections were flagged in sub-array 2. ! A total of 615 telescope corrections were flagged in sub-array 3. ! ! Fit before self-cal, rms=0.494063Jy sigma=0.003797 ! Fit after self-cal, rms=0.410887Jy sigma=0.002958 ! 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=2.447 mas, bmaj=6.61 mas, bpa=-5.411 degrees ! Estimated noise=1751.12 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.493439 Jy ! Component: 100 - total flux cleaned = 0.602305 Jy ! Total flux subtracted in 100 components = 0.602305 Jy ! Clean residual min=-0.016746 max=0.035586 Jy/beam ! Clean residual mean=-0.000310 rms=0.004752 Jy/beam ! Combined flux in latest and established models = 0.602305 Jy ! Performing phase self-cal ! Adding 5 model components to the UV plane model. ! The established model now contains 5 components and 0.602305 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.216331Jy sigma=0.001521 ! Fit after self-cal, rms=0.216344Jy sigma=0.001521 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0392635 Jy ! Component: 100 - total flux cleaned = 0.0608373 Jy ! Total flux subtracted in 100 components = 0.0608373 Jy ! Clean residual min=-0.014181 max=0.019757 Jy/beam ! Clean residual mean=-0.000530 rms=0.003685 Jy/beam ! Combined flux in latest and established models = 0.663142 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 14 components and 0.663142 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.207610Jy sigma=0.001441 ! Fit after self-cal, rms=0.207676Jy sigma=0.001441 ! 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=3.132 mas, bmaj=8.282 mas, bpa=-4.112 degrees ! Estimated noise=1134.86 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.0168126 Jy ! Component: 100 - total flux cleaned = 0.0249682 Jy ! Component: 150 - total flux cleaned = 0.0293851 Jy ! Component: 200 - total flux cleaned = 0.0307132 Jy ! Total flux subtracted in 200 components = 0.0307132 Jy ! Clean residual min=-0.012716 max=0.010181 Jy/beam ! Clean residual mean=-0.002656 rms=0.002710 Jy/beam ! Combined flux in latest and established models = 0.693856 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 25 components and 0.693855 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.206630Jy sigma=0.001430 ! Fit after self-cal, rms=0.206677Jy sigma=0.001430 ! 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.01 HN 1.11 KB 1.00* ! KK 1.00* KP 1.03 LA 1.07 MK 1.06 ! NL 0.98 NY 1.00* OV 0.98 PT 1.03 ! SC 1.01 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 0.98 HN 1.01 KB 1.00* ! KK 1.00* KP 0.97 LA 1.05 MK 1.00* ! NL 1.00 NY 1.00* OV 0.95 PT 1.00 ! SC 1.00 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 60 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.96 FD 0.98 HN 1.17 KB 2.73 ! KK 1.06 KP 0.82 LA 0.98 MK 0.96 ! NL 0.92 NY 1.00* OV 0.93 PT 0.99 ! SC 0.94 TS 0.89 WZ 1.00* ZC 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.03 HN 1.11 KB 1.00* ! KK 1.00* KP 1.03 LA 1.04 MK 1.07 ! NL 1.00 NY 1.00* OV 1.03 PT 1.02 ! SC 1.02 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 0.99 HN 1.04 KB 1.00* ! KK 1.00* KP 0.99 LA 1.00 MK 1.00* ! NL 1.04 NY 1.00* OV 1.04 PT 0.98 ! SC 1.06 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 60 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.99 FD 1.00 HN 1.25 KB 3.15 ! KK 0.98 KP 0.99 LA 0.97 MK 0.94 ! NL 0.91 NY 1.00* OV 0.95 PT 1.01 ! SC 0.99 TS 0.90 WZ 1.00* ZC 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 FD 1.02 HN 1.08 KB 1.00* ! KK 1.00* KP 1.04 LA 1.02 MK 1.02 ! NL 0.99 NY 1.00* OV 1.05 PT 1.11 ! SC 0.97 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 1.01 HN 1.01 KB 1.00* ! KK 1.00* KP 0.99 LA 1.01 MK 1.00* ! NL 1.02 NY 1.00* OV 1.02 PT 1.06 ! SC 0.99 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 60 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.05 FD 0.99 HN 1.14 KB 3.11 ! KK 1.02 KP 0.99 LA 0.99 MK 0.96 ! NL 0.93 NY 1.00* OV 1.00 PT 1.02 ! SC 0.96 TS 0.89 WZ 1.00* ZC 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.84 FD 1.00 HN 1.09 KB 1.00* ! KK 1.00* KP 1.01 LA 1.00 MK 1.05 ! NL 1.05 NY 1.00* OV 0.87 PT 0.92 ! SC 0.97 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.00* FD 0.98 HN 1.03 KB 1.00* ! KK 1.00* KP 1.00 LA 1.06 MK 1.00* ! NL 1.04 NY 1.00* OV 0.85 PT 0.91 ! SC 1.00 TS 1.00* WZ 1.00* ZC 1.00* ! ! A total of 60 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.97 FD 0.99 HN 1.16 KB 2.64 ! KK 0.96 KP 1.01 LA 0.98 MK 0.94 ! NL 0.95 NY 1.00* OV 0.80 PT 0.90 ! SC 0.95 TS 0.91 WZ 1.00* ZC 1.00* ! ! ! Fit before self-cal, rms=0.206677Jy sigma=0.001430 ! Fit after self-cal, rms=0.212035Jy sigma=0.001267 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.167 mas, bmaj=8.57 mas, bpa=-5.517 degrees ! Estimated noise=1162.32 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.00158854 Jy ! Component: 100 - total flux cleaned = -0.00183807 Jy ! Component: 150 - total flux cleaned = -0.00195703 Jy ! Component: 200 - total flux cleaned = -0.00212511 Jy ! Total flux subtracted in 200 components = -0.00212511 Jy ! Clean residual min=-0.005739 max=0.005019 Jy/beam ! Clean residual mean=-0.000020 rms=0.001553 Jy/beam ! Combined flux in latest and established models = 0.69173 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 33 components and 0.69173 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.211975Jy sigma=0.001267 ! Fit after self-cal, rms=0.212425Jy sigma=0.001266 ! 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.212425Jy sigma=0.001266 ! Fit after self-cal, rms=0.212099Jy sigma=0.001266 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.171 mas, bmaj=8.575 mas, bpa=-5.515 degrees ! Estimated noise=1160.91 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00201212 Jy ! Component: 100 - total flux cleaned = -0.00227402 Jy ! Component: 150 - total flux cleaned = -0.00237364 Jy ! Component: 200 - total flux cleaned = -0.00251419 Jy ! Total flux subtracted in 200 components = -0.00251419 Jy ! Clean residual min=-0.005980 max=0.004862 Jy/beam ! Clean residual mean=0.000027 rms=0.001541 Jy/beam ! Combined flux in latest and established models = 0.689216 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 38 components and 0.689216 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.212054Jy sigma=0.001265 ! Fit after self-cal, rms=0.211958Jy sigma=0.001265 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.000144741 Jy ! Component: 100 - total flux cleaned = -0.000275308 Jy ! Component: 150 - total flux cleaned = -0.000399435 Jy ! Component: 200 - total flux cleaned = -0.000518405 Jy ! Total flux subtracted in 200 components = -0.000518405 Jy ! Clean residual min=-0.006037 max=0.004842 Jy/beam ! Clean residual mean=0.000007 rms=0.001541 Jy/beam ! Combined flux in latest and established models = 0.688698 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 41 components and 0.688698 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.211934Jy sigma=0.001265 ! Fit after self-cal, rms=0.211929Jy sigma=0.001265 ! 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.211929Jy sigma=0.001265 ! Fit after self-cal, rms=0.288131Jy sigma=0.001269 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.177 mas, bmaj=8.634 mas, bpa=-5.745 degrees ! Estimated noise=1163.39 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000122463 Jy ! Component: 100 - total flux cleaned = -0.000309928 Jy ! Component: 150 - total flux cleaned = -0.000392969 Jy ! Component: 200 - total flux cleaned = -0.000476578 Jy ! Total flux subtracted in 200 components = -0.000476578 Jy ! Clean residual min=-0.004606 max=0.005783 Jy/beam ! Clean residual mean=0.000760 rms=0.001496 Jy/beam ! Combined flux in latest and established models = 0.688221 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 45 components and 0.688221 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.287902Jy sigma=0.001269 ! Fit after self-cal, rms=0.287974Jy sigma=0.001269 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 = -9.60803e-05 Jy ! Component: 100 - total flux cleaned = -9.34994e-05 Jy ! Component: 150 - total flux cleaned = -9.63085e-05 Jy ! Component: 200 - total flux cleaned = -0.000163182 Jy ! Total flux subtracted in 200 components = -0.000163182 Jy ! Clean residual min=-0.004566 max=0.005740 Jy/beam ! Clean residual mean=0.000753 rms=0.001487 Jy/beam ! Combined flux in latest and established models = 0.688058 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 45 components and 0.688058 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.287813Jy sigma=0.001269 ! Fit after self-cal, rms=0.287793Jy sigma=0.001269 ! 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.287793Jy sigma=0.001269 ! Fit after self-cal, rms=0.289153Jy sigma=0.001269 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=7.839 mas, bmaj=19.04 mas, bpa=-6.221 degrees ! Estimated noise=1423.62 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000826677 Jy ! Component: 100 - total flux cleaned = -0.000789917 Jy ! Component: 150 - total flux cleaned = -0.000727416 Jy ! Component: 200 - total flux cleaned = -0.000702842 Jy ! Total flux subtracted in 200 components = -0.000702842 Jy ! Clean residual min=-0.003899 max=0.006772 Jy/beam ! Clean residual mean=0.001549 rms=0.001593 Jy/beam ! Combined flux in latest and established models = 0.687355 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 56 components and 0.687355 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.289096Jy sigma=0.001269 ! Fit after self-cal, rms=0.289058Jy sigma=0.001269 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 = -4.64967e-05 Jy ! Component: 100 - total flux cleaned = 2.7414e-05 Jy ! Component: 150 - total flux cleaned = 2.83284e-05 Jy ! Component: 200 - total flux cleaned = 5.4843e-05 Jy ! Total flux subtracted in 200 components = 5.4843e-05 Jy ! Clean residual min=-0.003964 max=0.006747 Jy/beam ! Clean residual mean=0.001541 rms=0.001590 Jy/beam ! Combined flux in latest and established models = 0.68741 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 60 components and 0.68741 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.289036Jy sigma=0.001269 ! Fit after self-cal, rms=0.289026Jy sigma=0.001269 ! Inverting map ! Added new window around map position (35, 62.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00634129 Jy ! Component: 100 - total flux cleaned = 0.0100032 Jy ! Component: 150 - total flux cleaned = 0.0118058 Jy ! Component: 200 - total flux cleaned = 0.0125743 Jy ! Total flux subtracted in 200 components = 0.0125743 Jy ! Clean residual min=-0.002873 max=0.005438 Jy/beam ! Clean residual mean=0.001416 rms=0.001488 Jy/beam ! Combined flux in latest and established models = 0.699984 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 90 components and 0.699984 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.288865Jy sigma=0.001268 ! Fit after self-cal, rms=0.288871Jy sigma=0.001268 ! 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=3.18 mas, bmaj=8.651 mas, bpa=-5.857 degrees ! Estimated noise=1164.38 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.18 x 8.651 at -5.857 degrees (North through East) ! Clean map min=-0.0051924 max=0.64829 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 ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.288871Jy sigma=0.001268 ! Fit after self-cal, rms=0.750453Jy sigma=0.001112 ! Inverting map and beam ! Estimated beam: bmin=3.179 mas, bmaj=8.601 mas, bpa=-5.665 degrees ! Estimated noise=1162.97 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0021227 Jy ! Component: 100 - total flux cleaned = -0.00239893 Jy ! Component: 150 - total flux cleaned = -0.0022999 Jy ! Component: 200 - total flux cleaned = -0.00230202 Jy ! Total flux subtracted in 200 components = -0.00230202 Jy ! Clean residual min=-0.005711 max=0.004660 Jy/beam ! Clean residual mean=-0.000041 rms=0.001315 Jy/beam ! Combined flux in latest and established models = 0.697682 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 108 components and 0.697682 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.750339Jy sigma=0.001111 ! Fit after self-cal, rms=0.750151Jy sigma=0.001111 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00039225 Jy ! Component: 100 - total flux cleaned = -0.00047863 Jy ! Component: 150 - total flux cleaned = -0.000556877 Jy ! Component: 200 - total flux cleaned = -0.000479018 Jy ! Total flux subtracted in 200 components = -0.000479018 Jy ! Clean residual min=-0.005602 max=0.004677 Jy/beam ! Clean residual mean=-0.000040 rms=0.001306 Jy/beam ! Combined flux in latest and established models = 0.697203 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 124 components and 0.697203 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.750081Jy sigma=0.001110 ! Fit after self-cal, rms=0.750036Jy sigma=0.001110 ! Inverting map ! Performing amp+phase self-cal ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.750036Jy sigma=0.001110 ! Fit after self-cal, rms=0.692154Jy sigma=0.001110 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.458 mas, bmaj=6.75 mas, bpa=-6.139 degrees ! Estimated noise=1803.35 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.496252 Jy ! Component: 100 - total flux cleaned = 0.605767 Jy ! Component: 150 - total flux cleaned = 0.643058 Jy ! Component: 200 - total flux cleaned = 0.661367 Jy ! Total flux subtracted in 200 components = 0.661367 Jy ! Clean residual min=-0.009537 max=0.009655 Jy/beam ! Clean residual mean=0.000001 rms=0.002508 Jy/beam ! Combined flux in latest and established models = 0.661367 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 9 model components to the UV plane model. ! The established model now contains 9 components and 0.661367 Jy ! Inverting map and beam ! Estimated beam: bmin=3.177 mas, bmaj=8.599 mas, bpa=-5.664 degrees ! Estimated noise=1162.93 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.0139614 Jy ! Component: 100 - total flux cleaned = 0.021303 Jy ! Component: 150 - total flux cleaned = 0.0247864 Jy ! Component: 200 - total flux cleaned = 0.0259468 Jy ! Total flux subtracted in 200 components = 0.0259468 Jy ! Clean residual min=-0.005709 max=0.005005 Jy/beam ! Clean residual mean=-0.000010 rms=0.001401 Jy/beam ! Combined flux in latest and established models = 0.687314 Jy ! Adding 31 model components to the UV plane model. ! The established model now contains 37 components and 0.687314 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=7.84 mas, bmaj=19.05 mas, bpa=-6.195 degrees ! Estimated noise=1423.65 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00432493 Jy ! Component: 100 - total flux cleaned = 0.0058474 Jy ! Component: 150 - total flux cleaned = 0.00681972 Jy ! Component: 200 - total flux cleaned = 0.00723814 Jy ! Total flux subtracted in 200 components = 0.00723814 Jy ! Clean residual min=-0.004603 max=0.004019 Jy/beam ! Clean residual mean=-0.000096 rms=0.001462 Jy/beam ! Combined flux in latest and established models = 0.694552 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.000308059 Jy ! Component: 100 - total flux cleaned = 0.000479492 Jy ! Component: 150 - total flux cleaned = 0.000698214 Jy ! Component: 200 - total flux cleaned = 0.000851831 Jy ! Total flux subtracted in 200 components = 0.000851831 Jy ! Clean residual min=-0.004478 max=0.003879 Jy/beam ! Clean residual mean=-0.000104 rms=0.001443 Jy/beam ! Combined flux in latest and established models = 0.695404 Jy ! Adding 42 model components to the UV plane model. ! The established model now contains 77 components and 0.695404 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=3.177 mas, bmaj=8.599 mas, bpa=-5.664 degrees ! Estimated noise=1162.93 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00105555 Jy ! Component: 100 - total flux cleaned = -0.001384 Jy ! Component: 150 - total flux cleaned = -0.00157669 Jy ! Component: 200 - total flux cleaned = -0.0015794 Jy ! Total flux subtracted in 200 components = -0.0015794 Jy ! Clean residual min=-0.005550 max=0.004518 Jy/beam ! Clean residual mean=-0.000038 rms=0.001314 Jy/beam ! Combined flux in latest and established models = 0.693825 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 91 components and 0.693825 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.692088Jy sigma=0.001110 ! Fit after self-cal, rms=0.691645Jy sigma=0.001110 wmodel J1409-2657_S_2009_04_21_pus_map.mod ! Writing 91 model components to file: J1409-2657_S_2009_04_21_pus_map.mod wobs J1409-2657_S_2009_04_21_pus_uvs.fits ! Writing UV FITS file: J1409-2657_S_2009_04_21_pus_uvs.fits wwins J1409-2657_S_2009_04_21_pus_map.win ! wwins: Wrote 2 windows to J1409-2657_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.00190258 Jy ! Component: 100 - total flux cleaned = -0.00280172 Jy ! Component: 150 - total flux cleaned = -0.00311413 Jy ! Component: 200 - total flux cleaned = -0.0031879 Jy ! Component: 250 - total flux cleaned = -0.00347577 Jy ! Component: 300 - total flux cleaned = -0.00375569 Jy ! Component: 350 - total flux cleaned = -0.00422955 Jy ! Component: 400 - total flux cleaned = -0.00449472 Jy ! Component: 450 - total flux cleaned = -0.00469051 Jy ! Component: 500 - total flux cleaned = -0.00494466 Jy ! Component: 550 - total flux cleaned = -0.00519348 Jy ! Component: 600 - total flux cleaned = -0.00537603 Jy ! Component: 650 - total flux cleaned = -0.00561484 Jy ! Component: 700 - total flux cleaned = -0.00579133 Jy ! Component: 750 - total flux cleaned = -0.00608158 Jy ! Component: 800 - total flux cleaned = -0.00625379 Jy ! Component: 850 - total flux cleaned = -0.00647907 Jy ! Component: 900 - total flux cleaned = -0.00664431 Jy ! Component: 950 - total flux cleaned = -0.00664568 Jy ! Component: 1000 - total flux cleaned = -0.0068625 Jy ! Component: 1050 - total flux cleaned = -0.00691587 Jy ! Component: 1100 - total flux cleaned = -0.00691714 Jy ! Component: 1150 - total flux cleaned = -0.00723105 Jy ! Component: 1200 - total flux cleaned = -0.0073857 Jy ! Component: 1250 - total flux cleaned = -0.0073861 Jy ! Component: 1300 - total flux cleaned = -0.00758859 Jy ! Component: 1350 - total flux cleaned = -0.00778847 Jy ! Component: 1400 - total flux cleaned = -0.00798662 Jy ! Component: 1450 - total flux cleaned = -0.0081821 Jy ! Component: 1500 - total flux cleaned = -0.00827846 Jy ! Component: 1550 - total flux cleaned = -0.00837427 Jy ! Component: 1600 - total flux cleaned = -0.0086595 Jy ! Component: 1650 - total flux cleaned = -0.00865867 Jy ! Component: 1700 - total flux cleaned = -0.00875274 Jy ! Component: 1750 - total flux cleaned = -0.00898481 Jy ! Component: 1800 - total flux cleaned = -0.00921508 Jy ! Component: 1850 - total flux cleaned = -0.00944214 Jy ! Component: 1900 - total flux cleaned = -0.00957718 Jy ! Component: 1950 - total flux cleaned = -0.0097113 Jy ! Component: 2000 - total flux cleaned = -0.0100667 Jy ! Total flux subtracted in 2048 components = -0.0101103 Jy ! Clean residual min=-0.003042 max=0.003061 Jy/beam ! Clean residual mean=-0.000040 rms=0.000921 Jy/beam ! Combined flux in latest and established models = 0.683714 Jy keep ! Adding 143 model components to the UV plane model. ! The established model now contains 234 components and 0.683714 Jy ![Exited script file: muppet] wmap "J1409-2657_S_2009_04_21_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.177 x 8.599 at -5.664 degrees (North through East) ! Clean map min=-0.0056903 max=0.64877 Jy/beam ! Writing clean map to FITS file: J1409-2657_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.648775 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000915717 device "J1409-2657_S_2009_04_21_pus\_map.eps/VPS" ! Attempting to open device: 'J1409-2657_S_2009_04_21_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.423437 0.423437 0.846874 1.69375 3.38749 6.77499 13.55 27.1 54.1999 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0027 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.648 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.177 x 8.599 at -5.664 degrees (North through East) ! Clean map min=-0.0056903 max=0.64877 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J1409-2657_S_2009_04_21_pus\_map.gif/vgif" ! Attempting to open device: 'J1409-2657_S_2009_04_21_pus_map.gif/vgif' mapplot cln