! Started logfile: J0217+7349_S_2009_04_21_pus_uvs.log on Mon Jan 24 23:02:24 2011 obs J0217+7349_S_2009_04_21_pus_uva.fits ! Reading UV FITS file: J0217+7349_S_2009_04_21_pus_uva.fits ! AN table 1: 218 integrations on 120 of 120 possible baselines. ! AN table 2: 19 integrations on 120 of 120 possible baselines. ! Apparent sampling: 0.698383 visibilities/baseline/integration-bin. ! Found source: J0217+7349 ! ! 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 1869 lines of history. ! ! Reading 79448 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 J0217+7349_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 603 telescope corrections were flagged in sub-array 1. ! A total of 245 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 602 telescope corrections were flagged in sub-array 1. ! A total of 245 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 599 telescope corrections were flagged in sub-array 1. ! A total of 245 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 598 telescope corrections were flagged in sub-array 1. ! A total of 245 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.217064Jy sigma=0.013993 ! Fit after self-cal, rms=0.988112Jy sigma=0.012124 ! 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.7 mas, bmaj=2.034 mas, bpa=-35.08 degrees ! Estimated noise=587.008 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 = 1.2645 Jy ! Component: 100 - total flux cleaned = 1.61895 Jy ! Total flux subtracted in 100 components = 1.61895 Jy ! Clean residual min=-0.048046 max=0.166273 Jy/beam ! Clean residual mean=0.000255 rms=0.014649 Jy/beam ! Combined flux in latest and established models = 1.61895 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 1.61895 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.612353Jy sigma=0.007966 ! Fit after self-cal, rms=0.612438Jy sigma=0.007964 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.195915 Jy ! Component: 100 - total flux cleaned = 0.329185 Jy ! Total flux subtracted in 100 components = 0.329185 Jy ! Clean residual min=-0.052278 max=0.146183 Jy/beam ! Clean residual mean=-0.000014 rms=0.012691 Jy/beam ! Combined flux in latest and established models = 1.94813 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 12 components and 1.94813 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.496482Jy sigma=0.006611 ! Fit after self-cal, rms=0.496337Jy sigma=0.006610 ! Inverting map ! Added new window around map position (14, -0.5). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.132309 Jy ! Component: 100 - total flux cleaned = 0.220497 Jy ! Total flux subtracted in 100 components = 0.220497 Jy ! Clean residual min=-0.046016 max=0.116477 Jy/beam ! Clean residual mean=-0.000175 rms=0.011345 Jy/beam ! Combined flux in latest and established models = 2.16863 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 23 components and 2.16863 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.438300Jy sigma=0.005883 ! Fit after self-cal, rms=0.436555Jy sigma=0.005874 ! Inverting map ! Added new window around map position (3.5, -1). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.103172 Jy ! Component: 100 - total flux cleaned = 0.172556 Jy ! Total flux subtracted in 100 components = 0.172556 Jy ! Clean residual min=-0.044203 max=0.058398 Jy/beam ! Clean residual mean=-0.000311 rms=0.010369 Jy/beam ! Combined flux in latest and established models = 2.34119 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 29 components and 2.34119 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.400275Jy sigma=0.005432 ! Fit after self-cal, rms=0.399177Jy sigma=0.005427 ! 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=1.999 mas, bmaj=2.35 mas, bpa=-69.03 degrees ! Estimated noise=224.329 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 (-2.5, -2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.110652 Jy ! Component: 100 - total flux cleaned = 0.184128 Jy ! Component: 150 - total flux cleaned = 0.23784 Jy ! Component: 200 - total flux cleaned = 0.278581 Jy ! Total flux subtracted in 200 components = 0.278581 Jy ! Clean residual min=-0.049117 max=0.049323 Jy/beam ! Clean residual mean=-0.009276 rms=0.010685 Jy/beam ! Combined flux in latest and established models = 2.61977 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 54 components and 2.61977 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.368931Jy sigma=0.004931 ! Fit after self-cal, rms=0.367491Jy sigma=0.004921 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 0.98 HN 1.03 KB 1.51 ! KK 1.08 KP 0.94 LA 1.02 MK 1.00 ! NL 1.02 NY 0.98 OV 0.95 PT 0.98 ! SC 1.02 TS 1.10 WZ 0.96 ZC 1.34 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.03 FD 1.00* HN 1.00* KB 0.90 ! KK 1.10 KP 1.00* LA 1.00* MK 1.00* ! NL 1.00* NY 1.08 OV 1.00* PT 1.00* ! SC 1.00* TS 0.92 WZ 1.00* ZC 1.07 ! ! ! Correcting IF 2. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.98 HN 1.02 KB 1.66 ! KK 1.00 KP 0.97 LA 0.96 MK 1.01 ! NL 1.01 NY 0.96 OV 1.00 PT 0.98 ! SC 1.05 TS 0.88 WZ 0.90 ZC 1.13 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.03 FD 1.00* HN 1.00* KB 0.96 ! KK 1.02 KP 1.00* LA 1.00* MK 1.00* ! NL 1.00* NY 1.02 OV 1.00* PT 1.00* ! SC 1.00* TS 0.91 WZ 1.00* ZC 0.91 ! ! ! Correcting IF 3. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 0.97 HN 0.98 KB 1.58 ! KK 1.02 KP 0.97 LA 0.98 MK 0.98 ! NL 1.00 NY 0.92 OV 1.00 PT 1.01 ! SC 0.95 TS 1.01 WZ 0.84 ZC 0.98 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.08 FD 1.00* HN 1.00* KB 0.99 ! KK 1.03 KP 1.00* LA 1.00* MK 1.00* ! NL 1.00* NY 0.97 OV 1.00* PT 1.00* ! SC 1.00* TS 0.94 WZ 1.00* ZC 0.80 ! ! ! Correcting IF 4. ! A total of 6 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 0.97 HN 0.98 KB 1.63 ! KK 0.99 KP 0.96 LA 0.98 MK 0.98 ! NL 0.99 NY 0.90 OV 0.83 PT 0.89 ! SC 0.98 TS 0.95 WZ 0.80 ZC 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.02 FD 1.00* HN 1.00* KB 1.01 ! KK 0.98 KP 1.00* LA 1.00* MK 1.00* ! NL 1.00* NY 0.94 OV 1.00* PT 1.00* ! SC 1.00* TS 0.94 WZ 1.00* ZC 0.79 ! ! ! Fit before self-cal, rms=0.367491Jy sigma=0.004921 ! Fit after self-cal, rms=0.427484Jy sigma=0.003511 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.042 mas, bmaj=2.385 mas, bpa=-59.63 degrees ! Estimated noise=227.762 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 (12, 0). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00104024 Jy ! Component: 100 - total flux cleaned = 0.010107 Jy ! Component: 150 - total flux cleaned = 0.021941 Jy ! Component: 200 - total flux cleaned = 0.0308003 Jy ! Total flux subtracted in 200 components = 0.0308003 Jy ! Clean residual min=-0.029285 max=0.033177 Jy/beam ! Clean residual mean=0.000259 rms=0.006787 Jy/beam ! Combined flux in latest and established models = 2.65057 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 75 components and 2.65057 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.412185Jy sigma=0.003403 ! Fit after self-cal, rms=0.411853Jy sigma=0.003398 ! 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.411853Jy sigma=0.003398 ! Fit after self-cal, rms=0.215889Jy sigma=0.002102 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.039 mas, bmaj=2.39 mas, bpa=-58.16 degrees ! Estimated noise=225.925 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.0020301 Jy ! Component: 100 - total flux cleaned = 0.00531556 Jy ! Component: 150 - total flux cleaned = 0.0107997 Jy ! Component: 200 - total flux cleaned = 0.0168819 Jy ! Total flux subtracted in 200 components = 0.0168819 Jy ! Clean residual min=-0.016929 max=0.021726 Jy/beam ! Clean residual mean=-0.001613 rms=0.003299 Jy/beam ! Combined flux in latest and established models = 2.66745 Jy selfcal ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 96 components and 2.66745 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.209413Jy sigma=0.002007 ! Fit after self-cal, rms=0.209122Jy sigma=0.002003 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 (7, -2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.013661 Jy ! Component: 100 - total flux cleaned = 0.0182431 Jy ! Component: 150 - total flux cleaned = 0.0202667 Jy ! Component: 200 - total flux cleaned = 0.0221171 Jy ! Total flux subtracted in 200 components = 0.0221171 Jy ! Clean residual min=-0.015728 max=0.015638 Jy/beam ! Clean residual mean=-0.001823 rms=0.002736 Jy/beam ! Combined flux in latest and established models = 2.68957 Jy ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 117 components and 2.68957 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.205890Jy sigma=0.001959 ! Fit after self-cal, rms=0.205641Jy sigma=0.001956 ! Inverting map ! Added new window around map position (22, 2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.01087 Jy ! Component: 100 - total flux cleaned = 0.0121839 Jy ! Component: 150 - total flux cleaned = 0.0134022 Jy ! Component: 200 - total flux cleaned = 0.0145303 Jy ! Total flux subtracted in 200 components = 0.0145303 Jy ! Clean residual min=-0.013860 max=0.007844 Jy/beam ! Clean residual mean=-0.001962 rms=0.002404 Jy/beam ! Combined flux in latest and established models = 2.7041 Jy ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 133 components and 2.7041 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.203958Jy sigma=0.001931 ! Fit after self-cal, rms=0.203908Jy sigma=0.001930 ! 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.203908Jy sigma=0.001930 ! Fit after self-cal, rms=0.200537Jy sigma=0.001901 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.04 mas, bmaj=2.394 mas, bpa=-56.54 degrees ! Estimated noise=225.216 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00722549 Jy ! Component: 100 - total flux cleaned = -0.00368697 Jy ! Component: 150 - total flux cleaned = -0.000682865 Jy ! Component: 200 - total flux cleaned = 0.00155455 Jy ! Total flux subtracted in 200 components = 0.00155455 Jy ! Clean residual min=-0.010599 max=0.007372 Jy/beam ! Clean residual mean=-0.001286 rms=0.001944 Jy/beam ! Combined flux in latest and established models = 2.70565 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 139 components and 2.70565 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.198169Jy sigma=0.001872 ! Fit after self-cal, rms=0.198081Jy sigma=0.001871 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.00289309 Jy ! Component: 100 - total flux cleaned = 0.00511107 Jy ! Component: 150 - total flux cleaned = 0.00655356 Jy ! Component: 200 - total flux cleaned = 0.00814705 Jy ! Total flux subtracted in 200 components = 0.00814705 Jy ! Clean residual min=-0.009806 max=0.006024 Jy/beam ! Clean residual mean=-0.001361 rms=0.001756 Jy/beam ! Combined flux in latest and established models = 2.7138 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 146 components and 2.7138 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.197207Jy sigma=0.001860 ! Fit after self-cal, rms=0.197155Jy sigma=0.001859 ! 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.197155Jy sigma=0.001859 ! Fit after self-cal, rms=0.195920Jy sigma=0.001850 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=7.251 mas, bmaj=11.04 mas, bpa=33.09 degrees ! Estimated noise=368.862 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00554074 Jy ! Component: 100 - total flux cleaned = 0.00554424 Jy ! Component: 150 - total flux cleaned = 0.0057857 Jy ! Component: 200 - total flux cleaned = 0.00595698 Jy ! Total flux subtracted in 200 components = 0.00595698 Jy ! Clean residual min=-0.013353 max=0.004849 Jy/beam ! Clean residual mean=-0.004450 rms=0.003163 Jy/beam ! Combined flux in latest and established models = 2.71976 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 160 components and 2.71975 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.195617Jy sigma=0.001843 ! Fit after self-cal, rms=0.195521Jy sigma=0.001842 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.0008358 Jy ! Component: 100 - total flux cleaned = 0.000988387 Jy ! Component: 150 - total flux cleaned = 0.000723099 Jy ! Component: 200 - total flux cleaned = 0.000490877 Jy ! Total flux subtracted in 200 components = 0.000490877 Jy ! Clean residual min=-0.013165 max=0.004081 Jy/beam ! Clean residual mean=-0.004466 rms=0.003061 Jy/beam ! Combined flux in latest and established models = 2.72025 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 169 components and 2.72025 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.195434Jy sigma=0.001840 ! Fit after self-cal, rms=0.195406Jy sigma=0.001840 ! 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.04 mas, bmaj=2.397 mas, bpa=-55.48 degrees ! Estimated noise=224.744 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.04 x 2.397 at -55.48 degrees (North through East) ! Clean map min=-0.0093128 max=1.7244 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.195406Jy sigma=0.001840 ! Fit after self-cal, rms=0.226809Jy sigma=0.001697 ! Inverting map and beam ! Estimated beam: bmin=2.04 mas, bmaj=2.398 mas, bpa=-55.55 degrees ! Estimated noise=224.57 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00345944 Jy ! Component: 100 - total flux cleaned = -0.00414951 Jy ! Component: 150 - total flux cleaned = -0.00418371 Jy ! Component: 200 - total flux cleaned = -0.00370151 Jy ! Total flux subtracted in 200 components = -0.00370151 Jy ! Clean residual min=-0.008284 max=0.005091 Jy/beam ! Clean residual mean=-0.000911 rms=0.001327 Jy/beam ! Combined flux in latest and established models = 2.71654 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 173 components and 2.71654 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.225858Jy sigma=0.001684 ! Fit after self-cal, rms=0.225874Jy sigma=0.001683 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000437902 Jy ! Component: 100 - total flux cleaned = 0.000835094 Jy ! Component: 150 - total flux cleaned = 0.00101794 Jy ! Component: 200 - total flux cleaned = 0.0013666 Jy ! Total flux subtracted in 200 components = 0.0013666 Jy ! Clean residual min=-0.007420 max=0.004604 Jy/beam ! Clean residual mean=-0.000923 rms=0.001247 Jy/beam ! Combined flux in latest and established models = 2.71791 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 184 components and 2.71791 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.225551Jy sigma=0.001679 ! Fit after self-cal, rms=0.225560Jy sigma=0.001679 ! 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.225560Jy sigma=0.001679 ! Fit after self-cal, rms=0.228251Jy sigma=0.001674 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.688 mas, bmaj=2.102 mas, bpa=-30.65 degrees ! Estimated noise=577.325 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.24396 Jy ! Component: 100 - total flux cleaned = 1.59868 Jy ! Component: 150 - total flux cleaned = 1.79394 Jy ! Component: 200 - total flux cleaned = 1.93011 Jy ! Total flux subtracted in 200 components = 1.93011 Jy ! Clean residual min=-0.016419 max=0.077126 Jy/beam ! Clean residual mean=0.000399 rms=0.006223 Jy/beam ! Combined flux in latest and established models = 1.93011 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 16 model components to the UV plane model. ! The established model now contains 16 components and 1.93011 Jy ! Inverting map and beam ! Estimated beam: bmin=2.039 mas, bmaj=2.4 mas, bpa=-54.84 degrees ! Estimated noise=224.326 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.186176 Jy ! Component: 100 - total flux cleaned = 0.317402 Jy ! Component: 150 - total flux cleaned = 0.41564 Jy ! Component: 200 - total flux cleaned = 0.491594 Jy ! Total flux subtracted in 200 components = 0.491594 Jy ! Clean residual min=-0.012646 max=0.044854 Jy/beam ! Clean residual mean=0.001992 rms=0.007737 Jy/beam ! Combined flux in latest and established models = 2.4217 Jy ! Adding 54 model components to the UV plane model. ! The established model now contains 58 components and 2.4217 Jy ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0597929 Jy ! Component: 100 - total flux cleaned = 0.107103 Jy ! Component: 150 - total flux cleaned = 0.14473 Jy ! Component: 200 - total flux cleaned = 0.174745 Jy ! Total flux subtracted in 200 components = 0.174745 Jy ! Clean residual min=-0.006930 max=0.017861 Jy/beam ! Clean residual mean=0.000420 rms=0.003374 Jy/beam ! Combined flux in latest and established models = 2.59645 Jy ! Adding 53 model components to the UV plane model. ! The established model now contains 92 components and 2.59645 Jy ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0240177 Jy ! Component: 100 - total flux cleaned = 0.0432856 Jy ! Component: 150 - total flux cleaned = 0.0588047 Jy ! Component: 200 - total flux cleaned = 0.0713814 Jy ! Total flux subtracted in 200 components = 0.0713814 Jy ! Clean residual min=-0.005428 max=0.008610 Jy/beam ! Clean residual mean=-0.000223 rms=0.001794 Jy/beam ! Combined flux in latest and established models = 2.66783 Jy ! Adding 60 model components to the UV plane model. ! The established model now contains 118 components and 2.66783 Jy ! Inverting map ! Added new window around map position (2.5, 2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0104953 Jy ! Component: 100 - total flux cleaned = 0.0190385 Jy ! Component: 150 - total flux cleaned = 0.0261039 Jy ! Component: 200 - total flux cleaned = 0.0319855 Jy ! Total flux subtracted in 200 components = 0.0319855 Jy ! Clean residual min=-0.004618 max=0.005126 Jy/beam ! Clean residual mean=-0.000511 rms=0.001260 Jy/beam ! Combined flux in latest and established models = 2.69982 Jy ! Adding 51 model components to the UV plane model. ! The established model now contains 140 components and 2.69981 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.243 mas, bmaj=11.04 mas, bpa=32.95 degrees ! Estimated noise=367.922 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0120209 Jy ! Component: 100 - total flux cleaned = 0.0180607 Jy ! Component: 150 - total flux cleaned = 0.020321 Jy ! Component: 200 - total flux cleaned = 0.0204361 Jy ! Total flux subtracted in 200 components = 0.0204361 Jy ! Clean residual min=-0.009398 max=0.004562 Jy/beam ! Clean residual mean=-0.003054 rms=0.002476 Jy/beam ! Combined flux in latest and established models = 2.72025 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.000100148 Jy ! Component: 100 - total flux cleaned = -0.00010138 Jy ! Component: 150 - total flux cleaned = -0.000267163 Jy ! Component: 200 - total flux cleaned = -0.000268299 Jy ! Total flux subtracted in 200 components = -0.000268299 Jy ! Clean residual min=-0.009162 max=0.004117 Jy/beam ! Clean residual mean=-0.003048 rms=0.002421 Jy/beam ! Combined flux in latest and established models = 2.71998 Jy ! Adding 46 model components to the UV plane model. ! The established model now contains 170 components and 2.71998 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=2.039 mas, bmaj=2.4 mas, bpa=-54.84 degrees ! Estimated noise=224.326 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000341085 Jy ! Component: 100 - total flux cleaned = 0.000348501 Jy ! Component: 150 - total flux cleaned = 0.000590682 Jy ! Component: 200 - total flux cleaned = 0.000815688 Jy ! Total flux subtracted in 200 components = 0.000815688 Jy ! Clean residual min=-0.004663 max=0.003132 Jy/beam ! Clean residual mean=-0.000702 rms=0.001029 Jy/beam ! Combined flux in latest and established models = 2.7208 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 189 components and 2.7208 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.227306Jy sigma=0.001660 ! Fit after self-cal, rms=0.227254Jy sigma=0.001659 wmodel J0217+7349_S_2009_04_21_pus_map.mod ! Writing 189 model components to file: J0217+7349_S_2009_04_21_pus_map.mod wobs J0217+7349_S_2009_04_21_pus_uvs.fits ! Writing UV FITS file: J0217+7349_S_2009_04_21_pus_uvs.fits wwins J0217+7349_S_2009_04_21_pus_map.win ! wwins: Wrote 8 windows to J0217+7349_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.00203764 Jy ! Component: 100 - total flux cleaned = -0.00385763 Jy ! Component: 150 - total flux cleaned = -0.0055805 Jy ! Component: 200 - total flux cleaned = -0.00723485 Jy ! Component: 250 - total flux cleaned = -0.00883438 Jy ! Component: 300 - total flux cleaned = -0.0102649 Jy ! Component: 350 - total flux cleaned = -0.011539 Jy ! Component: 400 - total flux cleaned = -0.0127269 Jy ! Component: 450 - total flux cleaned = -0.0138329 Jy ! Component: 500 - total flux cleaned = -0.0148632 Jy ! Component: 550 - total flux cleaned = -0.0158773 Jy ! Component: 600 - total flux cleaned = -0.0169857 Jy ! Component: 650 - total flux cleaned = -0.0180224 Jy ! Component: 700 - total flux cleaned = -0.0190437 Jy ! Component: 750 - total flux cleaned = -0.0199984 Jy ! Component: 800 - total flux cleaned = -0.0209927 Jy ! Component: 850 - total flux cleaned = -0.0218714 Jy ! Component: 900 - total flux cleaned = -0.0227394 Jy ! Component: 950 - total flux cleaned = -0.0235974 Jy ! Component: 1000 - total flux cleaned = -0.0243957 Jy ! Component: 1050 - total flux cleaned = -0.0251853 Jy ! Component: 1100 - total flux cleaned = -0.0258204 Jy ! Component: 1150 - total flux cleaned = -0.0265938 Jy ! Component: 1200 - total flux cleaned = -0.0272162 Jy ! Component: 1250 - total flux cleaned = -0.0277858 Jy ! Component: 1300 - total flux cleaned = -0.0284913 Jy ! Component: 1350 - total flux cleaned = -0.0290963 Jy ! Component: 1400 - total flux cleaned = -0.0296504 Jy ! Component: 1450 - total flux cleaned = -0.030291 Jy ! Component: 1500 - total flux cleaned = -0.0307901 Jy ! Component: 1550 - total flux cleaned = -0.0313751 Jy ! Component: 1600 - total flux cleaned = -0.0319551 Jy ! Component: 1650 - total flux cleaned = -0.03253 Jy ! Component: 1700 - total flux cleaned = -0.0330565 Jy ! Component: 1750 - total flux cleaned = -0.0335794 Jy ! Component: 1800 - total flux cleaned = -0.0341411 Jy ! Component: 1850 - total flux cleaned = -0.034656 Jy ! Component: 1900 - total flux cleaned = -0.0352939 Jy ! Component: 1950 - total flux cleaned = -0.0358003 Jy ! Component: 2000 - total flux cleaned = -0.0362197 Jy ! Total flux subtracted in 2048 components = -0.0367193 Jy ! Clean residual min=-0.002712 max=0.002075 Jy/beam ! Clean residual mean=-0.000450 rms=0.000758 Jy/beam ! Combined flux in latest and established models = 2.68408 Jy keep ! Adding 200 model components to the UV plane model. ! The established model now contains 389 components and 2.68408 Jy ![Exited script file: muppet] wmap "J0217+7349_S_2009_04_21_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.039 x 2.4 at -54.84 degrees (North through East) ! Clean map min=-0.0034863 max=1.7255 Jy/beam ! Writing clean map to FITS file: J0217+7349_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 1.72554 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000757833 device "J0217+7349_S_2009_04_21_pus\_map.eps/VPS" ! Attempting to open device: 'J0217+7349_S_2009_04_21_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.131756 0.131756 0.263511 0.527023 1.05405 2.10809 4.21618 8.43236 16.8647 33.7294 67.4589 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0022 print "peak=",int(1000*peak_flux)/1000 ! peak= 1.725 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.039 x 2.4 at -54.84 degrees (North through East) ! Clean map min=-0.0034863 max=1.7255 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0217+7349_S_2009_04_21_pus\_map.gif/vgif" ! Attempting to open device: 'J0217+7349_S_2009_04_21_pus_map.gif/vgif' mapplot cln