! Started logfile: J0157+7442_S_2008_04_02_pus_uvs.log on Mon Feb 22 21:34:58 2010 obs J0157+7442_S_2008_04_02_pus_uva.fits ! Reading UV FITS file: J0157+7442_S_2008_04_02_pus_uva.fits ! AN table 1: 130 integrations on 120 of 120 possible baselines. ! AN table 2: 389 integrations on 120 of 120 possible baselines. ! AN table 3: 136 integrations on 120 of 120 possible baselines. ! Apparent sampling: 0.172036 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0157+7442 ! ! 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 984 lines of history. ! ! Reading 54088 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 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 1593 telescope corrections were flagged in sub-array 1. ! A total of 4187 telescope corrections were flagged in sub-array 2. ! A total of 881 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 2. ! A total of 1593 telescope corrections were flagged in sub-array 1. ! A total of 4187 telescope corrections were flagged in sub-array 2. ! A total of 881 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 3. ! A total of 1593 telescope corrections were flagged in sub-array 1. ! A total of 4187 telescope corrections were flagged in sub-array 2. ! A total of 881 telescope corrections were flagged in sub-array 3. ! ! Correcting IF 4. ! A total of 1593 telescope corrections were flagged in sub-array 1. ! A total of 4187 telescope corrections were flagged in sub-array 2. ! A total of 881 telescope corrections were flagged in sub-array 3. ! ! Fit before self-cal, rms=0.847985Jy sigma=0.008151 ! Fit after self-cal, rms=0.530045Jy sigma=0.004989 ! 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.832 mas, bmaj=4.47 mas, bpa=17.01 degrees ! Estimated noise=971.145 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.717709 Jy ! Component: 100 - total flux cleaned = 0.981325 Jy ! Total flux subtracted in 100 components = 0.981325 Jy ! Clean residual min=-0.063828 max=0.218282 Jy/beam ! Clean residual mean=0.001913 rms=0.021416 Jy/beam ! Combined flux in latest and established models = 0.981325 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 21 components and 0.981325 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.508217Jy sigma=0.004861 ! Fit after self-cal, rms=0.507378Jy sigma=0.004851 ! Inverting map ! Added new window around map position (-3.5, 9). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.206985 Jy ! Component: 100 - total flux cleaned = 0.333512 Jy ! Total flux subtracted in 100 components = 0.333512 Jy ! Clean residual min=-0.045183 max=0.082853 Jy/beam ! Clean residual mean=0.001281 rms=0.013491 Jy/beam ! Combined flux in latest and established models = 1.31484 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 33 components and 1.31484 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.355929Jy sigma=0.003374 ! Fit after self-cal, rms=0.348407Jy sigma=0.003304 ! Inverting map ! Added new window around map position (0.5, 6). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.102802 Jy ! Component: 100 - total flux cleaned = 0.17357 Jy ! Total flux subtracted in 100 components = 0.17357 Jy ! Clean residual min=-0.034140 max=0.039951 Jy/beam ! Clean residual mean=0.000927 rms=0.009664 Jy/beam ! Combined flux in latest and established models = 1.48841 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 51 components and 1.48841 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.288803Jy sigma=0.002720 ! Fit after self-cal, rms=0.286165Jy sigma=0.002695 ! 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.949 mas, bmaj=5.885 mas, bpa=14.63 degrees ! Estimated noise=321.038 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.0960194 Jy ! Component: 100 - total flux cleaned = 0.15034 Jy ! Component: 150 - total flux cleaned = 0.18448 Jy ! Component: 200 - total flux cleaned = 0.20653 Jy ! Total flux subtracted in 200 components = 0.20653 Jy ! Clean residual min=-0.022561 max=0.031170 Jy/beam ! Clean residual mean=0.001036 rms=0.007659 Jy/beam ! Combined flux in latest and established models = 1.69494 Jy ! Performing phase self-cal ! Adding 44 model components to the UV plane model. ! The established model now contains 88 components and 1.69494 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.249877Jy sigma=0.002367 ! Fit after self-cal, rms=0.247951Jy sigma=0.002348 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HH 1.00* HN 1.00* ! KK 1.06 KP 0.95 LA 1.00* MK 0.81 ! NL 1.00* NY 1.00* ON 1.00* OV 1.06 ! PT 1.00* SC 1.00* WZ 1.00* ZC 1.00* ! ! A total of 21 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.94 FD 1.07 HH 1.00* HN 1.01 ! KK 1.07 KP 1.00 LA 1.17 MK 1.00* ! NL 0.97 NY 1.00* ON 1.00* OV 0.96 ! PT 0.98 SC 1.00* WZ 1.00* ZC 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 0.98 FD 1.06 HH 1.00* HN 1.06 ! KK 1.00* KP 0.98 LA 1.20 MK 0.83 ! NL 0.90 NY 1.00* ON 1.00* OV 0.95 ! PT 0.99 SC 1.10 WZ 1.00* ZC 1.00* ! ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HH 1.00* HN 1.00* ! KK 0.95 KP 0.98 LA 1.00* MK 0.85 ! NL 1.00* NY 1.00* ON 1.00* OV 1.10 ! PT 1.00* SC 1.00* WZ 1.00* ZC 1.00* ! ! A total of 21 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.98 FD 1.15 HH 1.00* HN 1.06 ! KK 0.99 KP 1.03 LA 1.09 MK 1.00* ! NL 1.00 NY 1.00* ON 1.00* OV 0.97 ! PT 0.98 SC 1.00* WZ 1.00* ZC 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.02 FD 1.14 HH 1.00* HN 1.13 ! KK 1.00* KP 1.01 LA 1.13 MK 0.88 ! NL 0.95 NY 1.00* ON 1.00* OV 0.98 ! PT 0.99 SC 1.15 WZ 1.00* ZC 1.00* ! ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HH 1.00* HN 1.00* ! KK 1.04 KP 0.92 LA 1.00* MK 0.87 ! NL 1.00* NY 1.00* ON 1.00* OV 1.20 ! PT 1.00* SC 1.00* WZ 1.00* ZC 1.00* ! ! A total of 21 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.05 FD 1.17 HH 1.00* HN 1.05 ! KK 1.01 KP 1.02 LA 0.87 MK 1.00* ! NL 1.07 NY 1.00* ON 1.00* OV 1.03 ! PT 1.05 SC 1.00* WZ 1.00* ZC 1.00* ! ! A total of 3 telescope corrections were flagged in sub-array 3. ! Telescope amplitude corrections in sub-array 3: ! BR 1.08 FD 1.16 HH 1.00* HN 1.13 ! KK 1.00* KP 1.02 LA 0.90 MK 0.91 ! NL 1.00 NY 1.00* ON 1.00* OV 1.02 ! PT 1.05 SC 1.06 WZ 1.00* ZC 1.00* ! ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HH 1.00* HN 1.00* ! KK 0.98 KP 0.85 LA 1.00* MK 0.94 ! NL 1.00* NY 1.00* ON 1.00* OV 0.98 ! PT 1.00* SC 1.00* WZ 1.00* ZC 1.00* ! ! A total of 21 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 0.94 FD 1.15 HH 1.00* HN 0.97 ! KK 0.97 KP 0.95 LA 0.73 MK 1.00* ! NL 0.97 NY 1.00* ON 1.00* OV 0.85 ! PT 0.90 SC 1.00* WZ 1.00* ZC 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.13 HH 1.00* HN 1.05 ! KK 1.00* KP 0.93 LA 0.73 MK 0.97 ! NL 0.90 NY 1.00* ON 1.00* OV 0.84 ! PT 0.92 SC 1.09 WZ 1.00* ZC 1.00* ! ! ! Fit before self-cal, rms=0.247951Jy sigma=0.002348 ! Fit after self-cal, rms=0.145352Jy sigma=0.001382 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.958 mas, bmaj=5.884 mas, bpa=15.77 degrees ! Estimated noise=318.602 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.0091848 Jy ! Component: 100 - total flux cleaned = 0.0111691 Jy ! Component: 150 - total flux cleaned = 0.0114724 Jy ! Component: 200 - total flux cleaned = 0.0116861 Jy ! Total flux subtracted in 200 components = 0.0116861 Jy ! Clean residual min=-0.009758 max=0.008149 Jy/beam ! Clean residual mean=0.000015 rms=0.001967 Jy/beam ! Combined flux in latest and established models = 1.70662 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 100 components and 1.70662 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.143282Jy sigma=0.001359 ! Fit after self-cal, rms=0.143036Jy sigma=0.001355 ! 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.143036Jy sigma=0.001355 ! Fit after self-cal, rms=0.142444Jy sigma=0.001348 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.959 mas, bmaj=5.888 mas, bpa=15.94 degrees ! Estimated noise=318.761 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00629224 Jy ! Component: 100 - total flux cleaned = 0.00609402 Jy ! Component: 150 - total flux cleaned = 0.00589209 Jy ! Component: 200 - total flux cleaned = 0.0057278 Jy ! Total flux subtracted in 200 components = 0.0057278 Jy ! Clean residual min=-0.006332 max=0.005550 Jy/beam ! Clean residual mean=-0.000018 rms=0.001488 Jy/beam ! Combined flux in latest and established models = 1.71235 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 109 components and 1.71235 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.141704Jy sigma=0.001340 ! Fit after self-cal, rms=0.141586Jy sigma=0.001339 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.000736573 Jy ! Component: 100 - total flux cleaned = 0.000431334 Jy ! Component: 150 - total flux cleaned = 0.000172254 Jy ! Component: 200 - total flux cleaned = 6.08093e-05 Jy ! Total flux subtracted in 200 components = 6.08093e-05 Jy ! Clean residual min=-0.005866 max=0.005132 Jy/beam ! Clean residual mean=-0.000017 rms=0.001383 Jy/beam ! Combined flux in latest and established models = 1.71241 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 110 components and 1.71241 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.141311Jy sigma=0.001337 ! Fit after self-cal, rms=0.141264Jy sigma=0.001336 ! 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.141264Jy sigma=0.001336 ! Fit after self-cal, rms=0.140936Jy sigma=0.001333 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.956 mas, bmaj=5.892 mas, bpa=16.13 degrees ! Estimated noise=318.722 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00394018 Jy ! Component: 100 - total flux cleaned = 0.00377702 Jy ! Component: 150 - total flux cleaned = 0.0035097 Jy ! Component: 200 - total flux cleaned = 0.00328265 Jy ! Total flux subtracted in 200 components = 0.00328265 Jy ! Clean residual min=-0.004724 max=0.004370 Jy/beam ! Clean residual mean=-0.000013 rms=0.001173 Jy/beam ! Combined flux in latest and established models = 1.7157 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 115 components and 1.7157 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.140613Jy sigma=0.001330 ! Fit after self-cal, rms=0.140573Jy sigma=0.001330 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.000636968 Jy ! Component: 100 - total flux cleaned = 0.000436463 Jy ! Component: 150 - total flux cleaned = 0.000256925 Jy ! Component: 200 - total flux cleaned = 1.8908e-05 Jy ! Total flux subtracted in 200 components = 1.8908e-05 Jy ! Clean residual min=-0.004802 max=0.004267 Jy/beam ! Clean residual mean=-0.000012 rms=0.001122 Jy/beam ! Combined flux in latest and established models = 1.71571 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 115 components and 1.71571 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.140448Jy sigma=0.001328 ! Fit after self-cal, rms=0.140430Jy sigma=0.001328 ! 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.140430Jy sigma=0.001328 ! Fit after self-cal, rms=0.140300Jy sigma=0.001326 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=9.116 mas, bmaj=10.61 mas, bpa=6.233 degrees ! Estimated noise=382.537 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0019134 Jy ! Component: 100 - total flux cleaned = 0.00161314 Jy ! Component: 150 - total flux cleaned = 0.00145738 Jy ! Component: 200 - total flux cleaned = 0.00137634 Jy ! Total flux subtracted in 200 components = 0.00137634 Jy ! Clean residual min=-0.003049 max=0.002998 Jy/beam ! Clean residual mean=-0.000015 rms=0.000929 Jy/beam ! Combined flux in latest and established models = 1.71709 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 120 components and 1.71709 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.140260Jy sigma=0.001326 ! Fit after self-cal, rms=0.140241Jy sigma=0.001325 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.000264614 Jy ! Component: 100 - total flux cleaned = 0.000225729 Jy ! Component: 150 - total flux cleaned = 0.000154052 Jy ! Component: 200 - total flux cleaned = 9.511e-05 Jy ! Total flux subtracted in 200 components = 9.511e-05 Jy ! Clean residual min=-0.003068 max=0.002922 Jy/beam ! Clean residual mean=-0.000016 rms=0.000911 Jy/beam ! Combined flux in latest and established models = 1.71719 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 132 components and 1.71719 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.140228Jy sigma=0.001325 ! Fit after self-cal, rms=0.140222Jy sigma=0.001325 ! 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.953 mas, bmaj=5.898 mas, bpa=16.28 degrees ! Estimated noise=318.837 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.953 x 5.898 at 16.28 degrees (North through East) ! Clean map min=-0.0040134 max=0.97448 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.140222Jy sigma=0.001325 ! Fit after self-cal, rms=0.125086Jy sigma=0.001162 ! Inverting map and beam ! Estimated beam: bmin=3.95 mas, bmaj=5.895 mas, bpa=16.35 degrees ! Estimated noise=318.367 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000446752 Jy ! Component: 100 - total flux cleaned = 0.000449016 Jy ! Component: 150 - total flux cleaned = 0.000536298 Jy ! Component: 200 - total flux cleaned = 0.000378832 Jy ! Total flux subtracted in 200 components = 0.000378832 Jy ! Clean residual min=-0.004782 max=0.003474 Jy/beam ! Clean residual mean=-0.000025 rms=0.000879 Jy/beam ! Combined flux in latest and established models = 1.71756 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 136 components and 1.71756 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.124930Jy sigma=0.001160 ! Fit after self-cal, rms=0.124920Jy sigma=0.001160 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000294237 Jy ! Component: 100 - total flux cleaned = 0.000218353 Jy ! Component: 150 - total flux cleaned = 0.00015168 Jy ! Component: 200 - total flux cleaned = 9.2239e-05 Jy ! Total flux subtracted in 200 components = 9.2239e-05 Jy ! Clean residual min=-0.004434 max=0.003300 Jy/beam ! Clean residual mean=-0.000024 rms=0.000858 Jy/beam ! Combined flux in latest and established models = 1.71766 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 140 components and 1.71766 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.124850Jy sigma=0.001160 ! Fit after self-cal, rms=0.124844Jy sigma=0.001159 ! 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.124844Jy sigma=0.001159 ! Fit after self-cal, rms=0.124819Jy sigma=0.001159 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.823 mas, bmaj=4.514 mas, bpa=18.92 degrees ! Estimated noise=964.533 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.712765 Jy ! Component: 100 - total flux cleaned = 1.01541 Jy ! Component: 150 - total flux cleaned = 1.2099 Jy ! Component: 200 - total flux cleaned = 1.3426 Jy ! Total flux subtracted in 200 components = 1.3426 Jy ! Clean residual min=-0.026664 max=0.073572 Jy/beam ! Clean residual mean=0.000818 rms=0.009711 Jy/beam ! Combined flux in latest and established models = 1.3426 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 30 model components to the UV plane model. ! The established model now contains 30 components and 1.3426 Jy ! Inverting map and beam ! Estimated beam: bmin=3.948 mas, bmaj=5.902 mas, bpa=16.49 degrees ! Estimated noise=318.311 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.152954 Jy ! Component: 100 - total flux cleaned = 0.238794 Jy ! Component: 150 - total flux cleaned = 0.289355 Jy ! Component: 200 - total flux cleaned = 0.319871 Jy ! Total flux subtracted in 200 components = 0.319871 Jy ! Clean residual min=-0.006245 max=0.016139 Jy/beam ! Clean residual mean=0.000184 rms=0.002625 Jy/beam ! Combined flux in latest and established models = 1.66247 Jy ! Adding 59 model components to the UV plane model. ! The established model now contains 75 components and 1.66247 Jy ! Inverting map ! Added new window around map position (-3.5, 1.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0190858 Jy ! Component: 100 - total flux cleaned = 0.0314112 Jy ! Component: 150 - total flux cleaned = 0.0394878 Jy ! Component: 200 - total flux cleaned = 0.0448618 Jy ! Total flux subtracted in 200 components = 0.0448618 Jy ! Clean residual min=-0.003706 max=0.004549 Jy/beam ! Clean residual mean=0.000019 rms=0.000934 Jy/beam ! Combined flux in latest and established models = 1.70733 Jy ! Adding 27 model components to the UV plane model. ! The established model now contains 95 components and 1.70733 Jy ! Inverting map ! Added new window around map position (6, 12). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00310223 Jy ! Component: 100 - total flux cleaned = 0.0039389 Jy ! Component: 150 - total flux cleaned = 0.00453189 Jy ! Component: 200 - total flux cleaned = 0.00506046 Jy ! Total flux subtracted in 200 components = 0.00506046 Jy ! Clean residual min=-0.003241 max=0.003303 Jy/beam ! Clean residual mean=-0.000004 rms=0.000785 Jy/beam ! Combined flux in latest and established models = 1.7124 Jy ! Adding 23 model components to the UV plane model. ! The established model now contains 112 components and 1.7124 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=9.119 mas, bmaj=10.6 mas, bpa=6.628 degrees ! Estimated noise=382.048 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00179911 Jy ! Component: 100 - total flux cleaned = 0.00220854 Jy ! Component: 150 - total flux cleaned = 0.00233138 Jy ! Component: 200 - total flux cleaned = 0.00246948 Jy ! Total flux subtracted in 200 components = 0.00246948 Jy ! Clean residual min=-0.001987 max=0.002135 Jy/beam ! Clean residual mean=-0.000027 rms=0.000654 Jy/beam ! Combined flux in latest and established models = 1.71486 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.000148472 Jy ! Component: 100 - total flux cleaned = 0.000282041 Jy ! Component: 150 - total flux cleaned = 0.000404688 Jy ! Component: 200 - total flux cleaned = 0.000496494 Jy ! Total flux subtracted in 200 components = 0.000496494 Jy ! Clean residual min=-0.001953 max=0.002076 Jy/beam ! Clean residual mean=-0.000033 rms=0.000641 Jy/beam ! Combined flux in latest and established models = 1.71536 Jy ! Adding 30 model components to the UV plane model. ! The established model now contains 140 components and 1.71536 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=3.948 mas, bmaj=5.902 mas, bpa=16.49 degrees ! Estimated noise=318.311 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000448101 Jy ! Component: 100 - total flux cleaned = -0.000540789 Jy ! Component: 150 - total flux cleaned = -0.000458986 Jy ! Component: 200 - total flux cleaned = -0.000303043 Jy ! Total flux subtracted in 200 components = -0.000303043 Jy ! Clean residual min=-0.002831 max=0.002747 Jy/beam ! Clean residual mean=-0.000017 rms=0.000721 Jy/beam ! Combined flux in latest and established models = 1.71506 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 151 components and 1.71506 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.124599Jy sigma=0.001157 ! Fit after self-cal, rms=0.124521Jy sigma=0.001156 wmodel J0157+7442_S_2008_04_02_pus_map.mod ! Writing 151 model components to file: J0157+7442_S_2008_04_02_pus_map.mod wobs J0157+7442_S_2008_04_02_pus_uvs.fits ! Writing UV FITS file: J0157+7442_S_2008_04_02_pus_uvs.fits wwins J0157+7442_S_2008_04_02_pus_map.win ! wwins: Wrote 5 windows to J0157+7442_S_2008_04_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.000603844 Jy ! Component: 100 - total flux cleaned = 0.00105438 Jy ! Component: 150 - total flux cleaned = 0.00126881 Jy ! Component: 200 - total flux cleaned = 0.00147311 Jy ! Component: 250 - total flux cleaned = 0.00166929 Jy ! Component: 300 - total flux cleaned = 0.00189759 Jy ! Component: 350 - total flux cleaned = 0.00200815 Jy ! Component: 400 - total flux cleaned = 0.00211626 Jy ! Component: 450 - total flux cleaned = 0.00222163 Jy ! Component: 500 - total flux cleaned = 0.00225588 Jy ! Component: 550 - total flux cleaned = 0.00222266 Jy ! Component: 600 - total flux cleaned = 0.00225536 Jy ! Component: 650 - total flux cleaned = 0.00222321 Jy ! Component: 700 - total flux cleaned = 0.00228764 Jy ! Component: 750 - total flux cleaned = 0.00235051 Jy ! Component: 800 - total flux cleaned = 0.00235083 Jy ! Component: 850 - total flux cleaned = 0.00241206 Jy ! Component: 900 - total flux cleaned = 0.00247182 Jy ! Component: 950 - total flux cleaned = 0.0024718 Jy ! Component: 1000 - total flux cleaned = 0.00255923 Jy ! Component: 1050 - total flux cleaned = 0.00250144 Jy ! Component: 1100 - total flux cleaned = 0.00258663 Jy ! Component: 1150 - total flux cleaned = 0.00258709 Jy ! Component: 1200 - total flux cleaned = 0.00261454 Jy ! Component: 1250 - total flux cleaned = 0.00261436 Jy ! Component: 1300 - total flux cleaned = 0.00269548 Jy ! Component: 1350 - total flux cleaned = 0.0026416 Jy ! Component: 1400 - total flux cleaned = 0.002668 Jy ! Component: 1450 - total flux cleaned = 0.00264153 Jy ! Component: 1500 - total flux cleaned = 0.0026413 Jy ! Component: 1550 - total flux cleaned = 0.00258966 Jy ! Component: 1600 - total flux cleaned = 0.00256427 Jy ! Component: 1650 - total flux cleaned = 0.00261416 Jy ! Component: 1700 - total flux cleaned = 0.00263855 Jy ! Component: 1750 - total flux cleaned = 0.002589 Jy ! Component: 1800 - total flux cleaned = 0.00256505 Jy ! Component: 1850 - total flux cleaned = 0.00266125 Jy ! Component: 1900 - total flux cleaned = 0.00266119 Jy ! Component: 1950 - total flux cleaned = 0.00263745 Jy ! Component: 2000 - total flux cleaned = 0.00261442 Jy ! Total flux subtracted in 2048 components = 0.00268385 Jy ! Clean residual min=-0.001268 max=0.001153 Jy/beam ! Clean residual mean=-0.000018 rms=0.000461 Jy/beam ! Combined flux in latest and established models = 1.71774 Jy keep ! Adding 129 model components to the UV plane model. ! The established model now contains 278 components and 1.71774 Jy wmap "J0157+7442_S_2008_04_02_pus\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.948 x 5.902 at 16.49 degrees (North through East) ! Clean map min=-0.0024786 max=0.97362 Jy/beam ! Writing clean map to FITS file: J0157+7442_S_2008_04_02_pus_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.973617 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000462136 device "J0157+7442_S_2008_04_02_pus\_map.eps/VPS" ! Attempting to open device: 'J0157+7442_S_2008_04_02_pus_map.eps/VPS' loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.142398 0.142398 0.284795 0.569591 1.13918 2.27836 4.55672 9.11345 18.2269 36.4538 72.9076 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0013 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.973 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.948 x 5.902 at 16.49 degrees (North through East) ! Clean map min=-0.0024786 max=0.97362 Jy/beam mapcolor color, 0.9 ! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5. device "J0157+7442_S_2008_04_02_pus\_map.gif/vgif" ! Attempting to open device: 'J0157+7442_S_2008_04_02_pus_map.gif/vgif' mapplot cln quit ! Quitting program ! Log file J0157+7442_S_2008_04_02_pus_uvs.log closed on Mon Feb 22 21:35:11 2010