! Started logfile: J0443+3441_S_2011_08_02_pus_uvs.log on Thu Apr 19 13:13:03 2012 obs J0443+3441_S_2011_08_02_pus_uva.fits ! Reading UV FITS file: J0443+3441_S_2011_08_02_pus_uva.fits ! AN table 1: 60 integrations on 78 of 78 possible baselines. ! AN table 2: 36 integrations on 78 of 78 possible baselines. ! AN table 3: 303 integrations on 78 of 78 possible baselines. ! AN table 4: 22 integrations on 78 of 78 possible baselines. ! Apparent sampling: 0.218375 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0443+3441 ! ! 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 2651 lines of history. ! ! Reading 28684 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 J0443+3441_S_2011_08_02_pus] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 120 float soltime2 soltime2 = 20 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float time_av time_av = 16 float old_peak float new_peak float flux_cutoff mapsize field_size, field_cell ! Map grid = 512x512 pixels with 0.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 780 telescope corrections were flagged in sub-array 1. ! A total of 351 telescope corrections were flagged in sub-array 2. ! A total of 2065 telescope corrections were flagged in sub-array 3. ! A total of 136 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 2. ! A total of 780 telescope corrections were flagged in sub-array 1. ! A total of 351 telescope corrections were flagged in sub-array 2. ! A total of 2065 telescope corrections were flagged in sub-array 3. ! A total of 136 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 3. ! A total of 780 telescope corrections were flagged in sub-array 1. ! A total of 351 telescope corrections were flagged in sub-array 2. ! A total of 2065 telescope corrections were flagged in sub-array 3. ! A total of 136 telescope corrections were flagged in sub-array 4. ! ! Correcting IF 4. ! A total of 780 telescope corrections were flagged in sub-array 1. ! A total of 351 telescope corrections were flagged in sub-array 2. ! A total of 2065 telescope corrections were flagged in sub-array 3. ! A total of 136 telescope corrections were flagged in sub-array 4. ! ! Fit before self-cal, rms=0.534665Jy sigma=0.004468 ! Fit after self-cal, rms=0.425885Jy sigma=0.003236 ! 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.741 mas, bmaj=4.306 mas, bpa=45.03 degrees ! Estimated noise=1164.77 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.516496 Jy ! Component: 100 - total flux cleaned = 0.649717 Jy ! Total flux subtracted in 100 components = 0.649717 Jy ! Clean residual min=-0.025223 max=0.048525 Jy/beam ! Clean residual mean=0.000255 rms=0.006798 Jy/beam ! Combined flux in latest and established models = 0.649717 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.649717 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.238916Jy sigma=0.001742 ! Fit after self-cal, rms=0.238968Jy sigma=0.001742 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0462193 Jy ! Component: 100 - total flux cleaned = 0.065019 Jy ! Total flux subtracted in 100 components = 0.065019 Jy ! Clean residual min=-0.022344 max=0.029136 Jy/beam ! Clean residual mean=0.000246 rms=0.005809 Jy/beam ! Combined flux in latest and established models = 0.714736 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 17 components and 0.714736 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.232635Jy sigma=0.001670 ! Fit after self-cal, rms=0.232715Jy sigma=0.001670 ! 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.014 mas, bmaj=5.853 mas, bpa=43.45 degrees ! Estimated noise=526.281 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.00444704 Jy ! Component: 100 - total flux cleaned = 0.00494122 Jy ! Component: 150 - total flux cleaned = 0.0051441 Jy ! Component: 200 - total flux cleaned = 0.00553725 Jy ! Total flux subtracted in 200 components = 0.00553725 Jy ! Clean residual min=-0.018925 max=0.024601 Jy/beam ! Clean residual mean=0.002162 rms=0.006478 Jy/beam ! Combined flux in latest and established models = 0.720273 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 28 components and 0.720273 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.232190Jy sigma=0.001666 ! Fit after self-cal, rms=0.232155Jy sigma=0.001666 ! 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.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* OV 0.00* PT 0.00* TS 0.00* ! WZ 0.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.08 FT 1.00* HH 1.00* ! HN 1.19 KP 0.95 LA 0.98 MK 1.00* ! NL 0.94 OV 1.00* PT 0.97 TS 1.00* ! WZ 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.97 FD 1.09 FT 1.00* HH 1.04 ! HN 1.07 KP 1.00 LA 1.00 MK 0.77 ! NL 0.89 OV 0.90 PT 1.00 TS 1.00* ! WZ 1.00 ! ! Telescope amplitude corrections in sub-array 4: ! BR 0.93 FD 1.13 FT 1.00* HH 1.00* ! HN 1.00* KP 0.96 LA 1.00 MK 0.85 ! NL 0.94 OV 0.94 PT 0.99 TS 1.00* ! WZ 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* OV 0.00* PT 0.00* TS 0.00* ! WZ 0.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.23 FT 1.00* HH 1.00* ! HN 1.31 KP 1.04 LA 0.91 MK 1.00* ! NL 1.05 OV 1.00* PT 0.98 TS 1.00* ! WZ 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.09 FD 1.21 FT 1.00* HH 1.06 ! HN 1.17 KP 1.09 LA 0.92 MK 0.92 ! NL 0.99 OV 0.95 PT 0.99 TS 1.00* ! WZ 0.91 ! ! Telescope amplitude corrections in sub-array 4: ! BR 1.02 FD 1.25 FT 1.00* HH 1.00* ! HN 1.00* KP 1.05 LA 0.92 MK 0.99 ! NL 1.09 OV 1.02 PT 1.01 TS 1.00* ! WZ 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* OV 0.00* PT 0.00* TS 0.00* ! WZ 0.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.19 FT 1.00* HH 1.00* ! HN 1.22 KP 0.98 LA 0.88 MK 1.00* ! NL 1.07 OV 1.00* PT 0.98 TS 1.00* ! WZ 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.04 FD 1.19 FT 1.00* HH 0.95 ! HN 1.10 KP 1.06 LA 0.91 MK 0.90 ! NL 0.99 OV 0.94 PT 0.97 TS 1.00* ! WZ 0.89 ! ! Telescope amplitude corrections in sub-array 4: ! BR 1.00 FD 1.24 FT 1.00* HH 1.00* ! HN 1.00* KP 1.01 LA 0.90 MK 0.96 ! NL 1.07 OV 0.99 PT 0.98 TS 1.00* ! WZ 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.00* FD 0.00* FT 0.00* HH 0.00* ! HN 0.00* KP 0.00* LA 0.00* MK 0.00* ! NL 0.00* OV 0.00* PT 0.00* TS 0.00* ! WZ 0.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.19 FT 1.00* HH 1.00* ! HN 1.13 KP 0.91 LA 0.74 MK 1.00* ! NL 0.93 OV 1.00* PT 0.91 TS 1.00* ! WZ 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.04 FD 1.20 FT 1.00* HH 0.93 ! HN 1.04 KP 0.98 LA 0.74 MK 0.97 ! NL 0.89 OV 0.81 PT 0.89 TS 1.00* ! WZ 1.11 ! ! Telescope amplitude corrections in sub-array 4: ! BR 0.95 FD 1.26 FT 1.00* HH 1.00* ! HN 1.00* KP 0.92 LA 0.73 MK 0.99 ! NL 0.97 OV 0.85 PT 0.93 TS 1.00* ! WZ 1.00* ! ! ! Fit before self-cal, rms=0.232155Jy sigma=0.001666 ! Fit after self-cal, rms=0.208841Jy sigma=0.001370 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.999 mas, bmaj=5.843 mas, bpa=43.42 degrees ! Estimated noise=525.093 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.000194808 Jy ! Component: 100 - total flux cleaned = -0.000281656 Jy ! Component: 150 - total flux cleaned = -0.000279606 Jy ! Component: 200 - total flux cleaned = -0.000275061 Jy ! Total flux subtracted in 200 components = -0.000275061 Jy ! Clean residual min=-0.005481 max=0.005961 Jy/beam ! Clean residual mean=-0.000419 rms=0.001346 Jy/beam ! Combined flux in latest and established models = 0.719998 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 34 components and 0.719998 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.208750Jy sigma=0.001369 ! Fit after self-cal, rms=0.208980Jy sigma=0.001368 ! 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.208980Jy sigma=0.001368 ! Fit after self-cal, rms=0.208517Jy sigma=0.001362 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.999 mas, bmaj=5.838 mas, bpa=43.44 degrees ! Estimated noise=524.601 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000409634 Jy ! Component: 100 - total flux cleaned = 0.000404125 Jy ! Component: 150 - total flux cleaned = 0.000405353 Jy ! Component: 200 - total flux cleaned = 0.000464779 Jy ! Total flux subtracted in 200 components = 0.000464779 Jy ! Clean residual min=-0.004147 max=0.006136 Jy/beam ! Clean residual mean=0.000022 rms=0.001199 Jy/beam ! Combined flux in latest and established models = 0.720463 Jy selfcal ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 34 components and 0.720463 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.208454Jy sigma=0.001362 ! Fit after self-cal, rms=0.208440Jy sigma=0.001362 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 (-5, 6.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00393319 Jy ! Component: 100 - total flux cleaned = 0.0036947 Jy ! Component: 150 - total flux cleaned = 0.00348571 Jy ! Component: 200 - total flux cleaned = 0.00321531 Jy ! Total flux subtracted in 200 components = 0.00321531 Jy ! Clean residual min=-0.004087 max=0.004565 Jy/beam ! Clean residual mean=-0.000097 rms=0.001071 Jy/beam ! Combined flux in latest and established models = 0.723678 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 50 components and 0.723678 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.208196Jy sigma=0.001360 ! Fit after self-cal, rms=0.208159Jy sigma=0.001360 ! 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.208159Jy sigma=0.001360 ! Fit after self-cal, rms=0.206661Jy sigma=0.001359 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.995 mas, bmaj=5.822 mas, bpa=43.47 degrees ! Estimated noise=523.982 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00334369 Jy ! Component: 100 - total flux cleaned = 0.00318357 Jy ! Component: 150 - total flux cleaned = 0.00311414 Jy ! Component: 200 - total flux cleaned = 0.00304528 Jy ! Total flux subtracted in 200 components = 0.00304528 Jy ! Clean residual min=-0.004035 max=0.003678 Jy/beam ! Clean residual mean=-0.000162 rms=0.000961 Jy/beam ! Combined flux in latest and established models = 0.726724 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 60 components and 0.726724 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.206573Jy sigma=0.001358 ! Fit after self-cal, rms=0.206537Jy sigma=0.001358 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.000611448 Jy ! Component: 100 - total flux cleaned = 0.000359183 Jy ! Component: 150 - total flux cleaned = 0.000301074 Jy ! Component: 200 - total flux cleaned = 0.000191918 Jy ! Total flux subtracted in 200 components = 0.000191918 Jy ! Clean residual min=-0.004091 max=0.003478 Jy/beam ! Clean residual mean=-0.000168 rms=0.000931 Jy/beam ! Combined flux in latest and established models = 0.726915 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 67 components and 0.726915 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.206493Jy sigma=0.001358 ! Fit after self-cal, rms=0.206498Jy sigma=0.001358 ! 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.206498Jy sigma=0.001358 ! Fit after self-cal, rms=0.206373Jy sigma=0.001357 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=10.35 mas, bmaj=13.51 mas, bpa=-74.2 degrees ! Estimated noise=563.79 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00150469 Jy ! Component: 100 - total flux cleaned = 0.00158285 Jy ! Component: 150 - total flux cleaned = 0.00161337 Jy ! Component: 200 - total flux cleaned = 0.00161342 Jy ! Total flux subtracted in 200 components = 0.00161342 Jy ! Clean residual min=-0.003008 max=0.003254 Jy/beam ! Clean residual mean=-0.000182 rms=0.000965 Jy/beam ! Combined flux in latest and established models = 0.728529 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 85 components and 0.728529 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.206368Jy sigma=0.001357 ! Fit after self-cal, rms=0.206359Jy sigma=0.001357 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.000222001 Jy ! Component: 100 - total flux cleaned = 0.000140175 Jy ! Component: 150 - total flux cleaned = 9.40198e-05 Jy ! Component: 200 - total flux cleaned = 7.36429e-05 Jy ! Total flux subtracted in 200 components = 7.36429e-05 Jy ! Clean residual min=-0.003042 max=0.003217 Jy/beam ! Clean residual mean=-0.000185 rms=0.000947 Jy/beam ! Combined flux in latest and established models = 0.728603 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 92 components and 0.728602 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.206362Jy sigma=0.001357 ! Fit after self-cal, rms=0.206362Jy sigma=0.001357 ! 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=1.996 mas, bmaj=5.816 mas, bpa=43.47 degrees ! Estimated noise=524.318 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.996 x 5.816 at 43.47 degrees (North through East) ! Clean map min=-0.0043004 max=0.64276 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.206362Jy sigma=0.001357 ! Fit after self-cal, rms=0.199452Jy sigma=0.001208 ! Inverting map and beam ! Estimated beam: bmin=1.996 mas, bmaj=5.812 mas, bpa=43.46 degrees ! Estimated noise=524.835 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00221885 Jy ! Component: 100 - total flux cleaned = 0.00233704 Jy ! Component: 150 - total flux cleaned = 0.00223454 Jy ! Component: 200 - total flux cleaned = 0.00223404 Jy ! Total flux subtracted in 200 components = 0.00223404 Jy ! Clean residual min=-0.003561 max=0.003233 Jy/beam ! Clean residual mean=-0.000038 rms=0.000824 Jy/beam ! Combined flux in latest and established models = 0.730837 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 103 components and 0.730837 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.199393Jy sigma=0.001207 ! Fit after self-cal, rms=0.199401Jy sigma=0.001207 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000631764 Jy ! Component: 100 - total flux cleaned = 0.000585467 Jy ! Component: 150 - total flux cleaned = 0.000499368 Jy ! Component: 200 - total flux cleaned = 0.000419323 Jy ! Total flux subtracted in 200 components = 0.000419323 Jy ! Clean residual min=-0.003649 max=0.003102 Jy/beam ! Clean residual mean=-0.000052 rms=0.000804 Jy/beam ! Combined flux in latest and established models = 0.731256 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 107 components and 0.731256 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.199367Jy sigma=0.001207 ! Fit after self-cal, rms=0.199370Jy sigma=0.001207 ! 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.199370Jy sigma=0.001207 ! Fit after self-cal, rms=0.199608Jy sigma=0.001207 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.755 mas, bmaj=4.242 mas, bpa=45.07 degrees ! Estimated noise=1144.02 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.506674 Jy ! Component: 100 - total flux cleaned = 0.6354 Jy ! Component: 150 - total flux cleaned = 0.680714 Jy ! Component: 200 - total flux cleaned = 0.70324 Jy ! Total flux subtracted in 200 components = 0.70324 Jy ! Clean residual min=-0.007625 max=0.010886 Jy/beam ! Clean residual mean=-0.000005 rms=0.002167 Jy/beam ! Combined flux in latest and established models = 0.70324 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 0.70324 Jy ! Inverting map and beam ! Estimated beam: bmin=1.997 mas, bmaj=5.811 mas, bpa=43.46 degrees ! Estimated noise=525.337 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.0161687 Jy ! Component: 100 - total flux cleaned = 0.0237365 Jy ! Component: 150 - total flux cleaned = 0.0279072 Jy ! Component: 200 - total flux cleaned = 0.0293036 Jy ! Total flux subtracted in 200 components = 0.0293036 Jy ! Clean residual min=-0.003297 max=0.003814 Jy/beam ! Clean residual mean=-0.000026 rms=0.000882 Jy/beam ! Combined flux in latest and established models = 0.732543 Jy ! Adding 32 model components to the UV plane model. ! The established model now contains 44 components and 0.732543 Jy ! Inverting map ! Added new window around map position (24.5, 16.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00191417 Jy ! Component: 100 - total flux cleaned = 0.00192013 Jy ! Component: 150 - total flux cleaned = 0.00176277 Jy ! Component: 200 - total flux cleaned = 0.00161913 Jy ! Total flux subtracted in 200 components = 0.00161913 Jy ! Clean residual min=-0.002907 max=0.003049 Jy/beam ! Clean residual mean=-0.000079 rms=0.000753 Jy/beam ! Combined flux in latest and established models = 0.734162 Jy ! Adding 25 model components to the UV plane model. ! The established model now contains 66 components and 0.734162 Jy ! Inverting map uvw 0,2 ! Uniform weighting is not currently selected. ! Amplitude error weighting is not currently selected. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.65 mas, bmaj=5.073 mas, bpa=43.43 degrees ! Estimated noise=702.697 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00104758 Jy ! Component: 100 - total flux cleaned = 0.00113849 Jy ! Component: 150 - total flux cleaned = 0.00113786 Jy ! Component: 200 - total flux cleaned = 0.00105942 Jy ! Total flux subtracted in 200 components = 0.00105942 Jy ! Clean residual min=-0.003774 max=0.004265 Jy/beam ! Clean residual mean=-0.000083 rms=0.000951 Jy/beam ! Combined flux in latest and established models = 0.735222 Jy clean ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -7.41283e-05 Jy ! Component: 100 - total flux cleaned = -7.42425e-05 Jy ! Component: 150 - total flux cleaned = -0.000141206 Jy ! Component: 200 - total flux cleaned = -0.000139351 Jy ! Total flux subtracted in 200 components = -0.000139351 Jy ! Clean residual min=-0.003612 max=0.004212 Jy/beam ! Clean residual mean=-0.000077 rms=0.000924 Jy/beam ! Combined flux in latest and established models = 0.735083 Jy selfcal ! Performing phase self-cal ! Adding 40 model components to the UV plane model. ! The established model now contains 96 components and 0.735083 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.199447Jy sigma=0.001207 ! Fit after self-cal, rms=0.199406Jy sigma=0.001206 wmodel J0443+3441_S_2011_08_02_pus_map.mod ! Writing 96 model components to file: J0443+3441_S_2011_08_02_pus_map.mod wobs J0443+3441_S_2011_08_02_pus_uvs.fits ! Writing UV FITS file: J0443+3441_S_2011_08_02_pus_uvs.fits wwins J0443+3441_S_2011_08_02_pus_map.win ! wwins: Wrote 3 windows to J0443+3441_S_2011_08_02_pus_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.000154418 Jy ! Component: 100 - total flux cleaned = -0.000771846 Jy ! Component: 150 - total flux cleaned = -0.0011166 Jy ! Component: 200 - total flux cleaned = -0.00106134 Jy ! Component: 250 - total flux cleaned = -0.00100843 Jy ! Component: 300 - total flux cleaned = -0.00100793 Jy ! Component: 350 - total flux cleaned = -0.00105581 Jy ! Component: 400 - total flux cleaned = -0.00105524 Jy ! Component: 450 - total flux cleaned = -0.00105553 Jy ! Component: 500 - total flux cleaned = -0.00110006 Jy ! Component: 550 - total flux cleaned = -0.000968544 Jy ! Component: 600 - total flux cleaned = -0.000925457 Jy ! Component: 650 - total flux cleaned = -0.000841078 Jy ! Component: 700 - total flux cleaned = -0.000758167 Jy ! Component: 750 - total flux cleaned = -0.000676683 Jy ! Component: 800 - total flux cleaned = -0.000636799 Jy ! Component: 850 - total flux cleaned = -0.000558389 Jy ! Component: 900 - total flux cleaned = -0.000442663 Jy ! Component: 950 - total flux cleaned = -0.000405078 Jy ! Component: 1000 - total flux cleaned = -0.000255325 Jy ! Component: 1050 - total flux cleaned = -0.000218586 Jy ! Component: 1100 - total flux cleaned = -0.000145819 Jy ! Component: 1150 - total flux cleaned = -3.78913e-05 Jy ! Component: 1200 - total flux cleaned = 3.28479e-05 Jy ! Component: 1250 - total flux cleaned = 0.000103177 Jy ! Component: 1300 - total flux cleaned = 0.000172575 Jy ! Component: 1350 - total flux cleaned = 0.000241078 Jy ! Component: 1400 - total flux cleaned = 0.000207251 Jy ! Component: 1450 - total flux cleaned = 0.000274558 Jy ! Component: 1500 - total flux cleaned = 0.000340794 Jy ! Component: 1550 - total flux cleaned = 0.000373451 Jy ! Component: 1600 - total flux cleaned = 0.000470563 Jy ! Component: 1650 - total flux cleaned = 0.000502323 Jy ! Component: 1700 - total flux cleaned = 0.000534145 Jy ! Component: 1750 - total flux cleaned = 0.000597013 Jy ! Component: 1800 - total flux cleaned = 0.000690226 Jy ! Component: 1850 - total flux cleaned = 0.000690182 Jy ! Component: 1900 - total flux cleaned = 0.000721044 Jy ! Component: 1950 - total flux cleaned = 0.000842317 Jy ! Component: 2000 - total flux cleaned = 0.000961928 Jy ! Total flux subtracted in 2048 components = 0.000961793 Jy ! Clean residual min=-0.001560 max=0.002020 Jy/beam ! Clean residual mean=-0.000004 rms=0.000545 Jy/beam ! Combined flux in latest and established models = 0.736044 Jy keep ! Adding 145 model components to the UV plane model. ! The established model now contains 241 components and 0.736044 Jy ![Exited script file: muppet] wmap "J0443+3441_S_2011_08_02_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.65 x 5.073 at 43.43 degrees (North through East) ! Clean map min=-0.0024718 max=0.62737 Jy/beam ! Writing clean map to FITS file: J0443+3441_S_2011_08_02_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.627366 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000543647 device "J0443+3441_S_2011_08_02_pus\_map.eps/VPS" ! Attempting to open device: 'J0443+3441_S_2011_08_02_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.259966 0.259966 0.519933 1.03987 2.07973 4.15946 8.31892 16.6378 33.2757 66.5514 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0016 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.627 mapcolor none ! Mapplot colormap: none, contrast: 1 brightness: 0.5. mapplot cln ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.65 x 5.073 at 43.43 degrees (North through East) ! Clean map min=-0.0024718 max=0.62737 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0443+3441_S_2011_08_02_pus\_map.gif/vgif" ! Attempting to open device: 'J0443+3441_S_2011_08_02_pus_map.gif/vgif' mapplot cln