! Started logfile: /scr/pima/s3111a_uvs/J1921-1607_X_uvs.log on Mon Jul 23 07:18:53 2012 obs /scr/pima/s3111a_uvs/J1921-1607_X_uva.fits ! Reading UV FITS file: /scr/pima/s3111a_uvs/J1921-1607_X_uva.fits ! AN table 1: 54 integrations on 55 of 55 possible baselines. ! Apparent sampling: 0.999663 visibilities/baseline/integration-bin. ! Found source: J1921-1607 ! ! There are 8 IFs, and a total of 8 channels: ! ! IF Channel Frequency Freq offset Number of Overall IF ! origin at origin per channel channels bandwidth ! ------------------------------------------------------------- (Hz) ! 01 1 8.41193e+09 1.6e+07 1 1.6e+07 ! 02 2 8.42793e+09 1.6e+07 1 1.6e+07 ! 03 3 8.52393e+09 1.6e+07 1 1.6e+07 ! 04 4 8.57193e+09 1.6e+07 1 1.6e+07 ! 05 5 8.65193e+09 1.6e+07 1 1.6e+07 ! 06 6 8.82793e+09 1.6e+07 1 1.6e+07 ! 07 7 8.85993e+09 1.6e+07 1 1.6e+07 ! 08 8 8.89193e+09 1.6e+07 1 1.6e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 23752 visibilities. select RR ! Selecting polarization: RR, channels: 1..8 ! Reading IF 1 channels: 1..1 ! Reading IF 2 channels: 2..2 ! Reading IF 3 channels: 3..3 ! Reading IF 4 channels: 4..4 ! Reading IF 5 channels: 5..5 ! Reading IF 6 channels: 6..6 ! Reading IF 7 channels: 7..7 ! Reading IF 8 channels: 8..8 print "field_size =",field_size ! field_size = 512 print "field_cell =",field_cell ! field_cell = 0.1 print "taper_size =",taper_size ! taper_size = 120 ![@/home/lpetrov/bin/01_muppet /scr/pima/s3111a_uvs/J1921-1607_X] 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.100x0.100 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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! A total of 108 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=1.001493Jy sigma=0.708161 ! Fit after self-cal, rms=0.979624Jy sigma=0.692699 ! 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=0.6132 mas, bmaj=1.657 mas, bpa=-4.634 degrees ! Estimated noise=14.0488 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.0150008 Jy ! Component: 100 - total flux cleaned = 0.0185216 Jy ! Total flux subtracted in 100 components = 0.0185216 Jy ! Clean residual min=-0.001598 max=0.002074 Jy/beam ! Clean residual mean=-0.000023 rms=0.000465 Jy/beam ! Combined flux in latest and established models = 0.0185216 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.0185216 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.029494Jy sigma=0.020855 ! Fit after self-cal, rms=0.026875Jy sigma=0.019004 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00408175 Jy ! Component: 100 - total flux cleaned = 0.00584885 Jy ! Total flux subtracted in 100 components = 0.00584885 Jy ! Clean residual min=-0.001180 max=0.001536 Jy/beam ! Clean residual mean=0.000009 rms=0.000389 Jy/beam ! Combined flux in latest and established models = 0.0243705 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 21 components and 0.0243705 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025999Jy sigma=0.018384 ! Fit after self-cal, rms=0.025994Jy sigma=0.018381 ! 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=0.8226 mas, bmaj=2.125 mas, bpa=-2.501 degrees ! Estimated noise=6.63344 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.00201004 Jy ! Component: 100 - total flux cleaned = 0.00295107 Jy ! Component: 150 - total flux cleaned = 0.00342643 Jy ! Component: 200 - total flux cleaned = 0.00365118 Jy ! Total flux subtracted in 200 components = 0.00365118 Jy ! Clean residual min=-0.001274 max=0.002252 Jy/beam ! Clean residual mean=0.000004 rms=0.000412 Jy/beam ! Combined flux in latest and established models = 0.0280216 Jy ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 44 components and 0.0280216 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.025855Jy sigma=0.018282 ! Fit after self-cal, rms=0.025851Jy sigma=0.018279 ! 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 1.23 FD 0.94 GB 0.94 HN 0.93 ! KP 0.88 LA 1.08 MK 1.02 NL 1.27 ! OV 1.05 PT 0.97 SC 0.88 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 0.93 GB 0.94 HN 0.99 ! KP 0.88 LA 1.08 MK 1.14 NL 1.15 ! OV 1.10 PT 0.96 SC 0.95 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.10 FD 0.91 GB 0.94 HN 0.93 ! KP 0.87 LA 1.09 MK 0.97 NL 1.26 ! OV 1.07 PT 0.92 SC 0.85 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.16 FD 0.90 GB 0.95 HN 0.90 ! KP 0.85 LA 1.10 MK 1.00 NL 1.26 ! OV 1.17 PT 0.94 SC 0.98 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.19 FD 0.86 GB 0.91 HN 0.89 ! KP 0.89 LA 1.08 MK 1.00 NL 1.18 ! OV 1.09 PT 0.97 SC 1.02 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 0.91 GB 0.96 HN 0.96 ! KP 0.83 LA 1.07 MK 0.98 NL 1.22 ! OV 1.16 PT 1.02 SC 1.01 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 0.90 GB 0.97 HN 0.98 ! KP 0.80 LA 1.12 MK 1.00* NL 1.22 ! OV 1.11 PT 0.98 SC 0.94 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 0.95 GB 0.94 HN 0.99 ! KP 0.85 LA 1.12 MK 0.90 NL 1.14 ! OV 1.06 PT 0.98 SC 1.08 ! ! ! Fit before self-cal, rms=0.025851Jy sigma=0.018279 ! Fit after self-cal, rms=0.026530Jy sigma=0.018102 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8159 mas, bmaj=2.132 mas, bpa=-2.462 degrees ! Estimated noise=6.60757 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 (-1.2, -0.3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00166996 Jy ! Component: 100 - total flux cleaned = 0.00252117 Jy ! Component: 150 - total flux cleaned = 0.00300473 Jy ! Component: 200 - total flux cleaned = 0.00315026 Jy ! Total flux subtracted in 200 components = 0.00315026 Jy ! Clean residual min=-0.000838 max=0.000964 Jy/beam ! Clean residual mean=-0.000022 rms=0.000236 Jy/beam ! Combined flux in latest and established models = 0.0311719 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 73 components and 0.0311719 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026429Jy sigma=0.018025 ! Fit after self-cal, rms=0.026467Jy sigma=0.018002 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026467Jy sigma=0.018002 ! Fit after self-cal, rms=0.026744Jy sigma=0.017980 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8103 mas, bmaj=2.125 mas, bpa=-2.645 degrees ! Estimated noise=6.6245 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000676934 Jy ! Component: 100 - total flux cleaned = 0.00101344 Jy ! Component: 150 - total flux cleaned = 0.00107064 Jy ! Component: 200 - total flux cleaned = 0.00109993 Jy ! Total flux subtracted in 200 components = 0.00109993 Jy ! Clean residual min=-0.000749 max=0.000895 Jy/beam ! Clean residual mean=-0.000024 rms=0.000219 Jy/beam ! Combined flux in latest and established models = 0.0322718 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 88 components and 0.0322718 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026725Jy sigma=0.017965 ! Fit after self-cal, rms=0.026730Jy sigma=0.017963 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.000125175 Jy ! Component: 100 - total flux cleaned = 0.000154616 Jy ! Component: 150 - total flux cleaned = 0.000179937 Jy ! Component: 200 - total flux cleaned = 0.000210445 Jy ! Total flux subtracted in 200 components = 0.000210445 Jy ! Clean residual min=-0.000797 max=0.000893 Jy/beam ! Clean residual mean=-0.000025 rms=0.000217 Jy/beam ! Combined flux in latest and established models = 0.0324823 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 98 components and 0.0324823 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026724Jy sigma=0.017958 ! Fit after self-cal, rms=0.026724Jy sigma=0.017958 ! 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026724Jy sigma=0.017958 ! Fit after self-cal, rms=0.026857Jy sigma=0.017955 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8079 mas, bmaj=2.12 mas, bpa=-2.78 degrees ! Estimated noise=6.65345 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000336747 Jy ! Component: 100 - total flux cleaned = 0.000457848 Jy ! Component: 150 - total flux cleaned = 0.000510987 Jy ! Component: 200 - total flux cleaned = 0.000544235 Jy ! Total flux subtracted in 200 components = 0.000544235 Jy ! Clean residual min=-0.000709 max=0.000886 Jy/beam ! Clean residual mean=-0.000026 rms=0.000212 Jy/beam ! Combined flux in latest and established models = 0.0330265 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 109 components and 0.0330265 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026851Jy sigma=0.017951 ! Fit after self-cal, rms=0.026851Jy sigma=0.017950 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 = 5.4111e-05 Jy ! Component: 100 - total flux cleaned = 8.53205e-05 Jy ! Component: 150 - total flux cleaned = 0.000108021 Jy ! Component: 200 - total flux cleaned = 0.000128906 Jy ! Total flux subtracted in 200 components = 0.000128906 Jy ! Clean residual min=-0.000731 max=0.000880 Jy/beam ! Clean residual mean=-0.000027 rms=0.000211 Jy/beam ! Combined flux in latest and established models = 0.0331554 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 114 components and 0.0331554 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026849Jy sigma=0.017948 ! Fit after self-cal, rms=0.026849Jy sigma=0.017948 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 120 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. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026849Jy sigma=0.017948 ! Fit after self-cal, rms=0.026893Jy sigma=0.017947 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.253 mas, bmaj=2.898 mas, bpa=1.051 degrees ! Estimated noise=7.59631 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000311522 Jy ! Component: 100 - total flux cleaned = 0.000374431 Jy ! Component: 150 - total flux cleaned = 0.0004291 Jy ! Component: 200 - total flux cleaned = 0.000467936 Jy ! Total flux subtracted in 200 components = 0.000467936 Jy ! Clean residual min=-0.000676 max=0.000889 Jy/beam ! Clean residual mean=-0.000044 rms=0.000240 Jy/beam ! Combined flux in latest and established models = 0.0336234 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 128 components and 0.0336233 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026891Jy sigma=0.017945 ! Fit after self-cal, rms=0.026889Jy sigma=0.017944 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 4.35471e-05 Jy ! Component: 100 - total flux cleaned = 8.24115e-05 Jy ! Component: 150 - total flux cleaned = 9.96305e-05 Jy ! Component: 200 - total flux cleaned = 0.000108796 Jy ! Total flux subtracted in 200 components = 0.000108796 Jy ! Clean residual min=-0.000683 max=0.000881 Jy/beam ! Clean residual mean=-0.000045 rms=0.000240 Jy/beam ! Combined flux in latest and established models = 0.0337321 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 134 components and 0.0337322 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026889Jy sigma=0.017944 ! Fit after self-cal, rms=0.026889Jy sigma=0.017943 ! 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=0.8066 mas, bmaj=2.114 mas, bpa=-2.811 degrees ! Estimated noise=6.67801 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8066 x 2.114 at -2.811 degrees (North through East) ! Clean map min=-0.00069384 max=0.024036 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) selfcal true, true end if print "************** CLEARING MODEL AND STARTING OVER **********" ! ************** CLEARING MODEL AND STARTING OVER ********** clrmod true ! clrmod: Cleared the established and tentative models. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.5997 mas, bmaj=1.663 mas, bpa=-4.995 degrees ! Estimated noise=14.0367 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.017653 Jy ! Component: 100 - total flux cleaned = 0.0221005 Jy ! Component: 150 - total flux cleaned = 0.024647 Jy ! Component: 200 - total flux cleaned = 0.026513 Jy ! Total flux subtracted in 200 components = 0.026513 Jy ! Clean residual min=-0.001255 max=0.001127 Jy/beam ! Clean residual mean=0.000007 rms=0.000346 Jy/beam ! Combined flux in latest and established models = 0.026513 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 34 model components to the UV plane model. ! The established model now contains 34 components and 0.026513 Jy ! Inverting map and beam ! Estimated beam: bmin=0.8066 mas, bmaj=2.114 mas, bpa=-2.811 degrees ! Estimated noise=6.67801 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.00236635 Jy ! Component: 100 - total flux cleaned = 0.00384606 Jy ! Component: 150 - total flux cleaned = 0.00485974 Jy ! Component: 200 - total flux cleaned = 0.00557308 Jy ! Total flux subtracted in 200 components = 0.00557308 Jy ! Clean residual min=-0.000725 max=0.000840 Jy/beam ! Clean residual mean=-0.000017 rms=0.000228 Jy/beam ! Combined flux in latest and established models = 0.0320861 Jy ! Adding 48 model components to the UV plane model. ! The established model now contains 78 components and 0.0320861 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 120 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.253 mas, bmaj=2.898 mas, bpa=1.051 degrees ! Estimated noise=7.59631 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000692417 Jy ! Component: 100 - total flux cleaned = 0.00110932 Jy ! Component: 150 - total flux cleaned = 0.00137245 Jy ! Component: 200 - total flux cleaned = 0.00144675 Jy ! Total flux subtracted in 200 components = 0.00144675 Jy ! Clean residual min=-0.000731 max=0.000871 Jy/beam ! Clean residual mean=-0.000043 rms=0.000245 Jy/beam ! Combined flux in latest and established models = 0.0335328 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 = 5.65597e-05 Jy ! Component: 100 - total flux cleaned = 8.7679e-05 Jy ! Component: 150 - total flux cleaned = 0.000115985 Jy ! Component: 200 - total flux cleaned = 0.00014173 Jy ! Total flux subtracted in 200 components = 0.00014173 Jy ! Clean residual min=-0.000719 max=0.000881 Jy/beam ! Clean residual mean=-0.000044 rms=0.000243 Jy/beam ! Combined flux in latest and established models = 0.0336746 Jy ! Adding 65 model components to the UV plane model. ! The established model now contains 136 components and 0.0336746 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.8066 mas, bmaj=2.114 mas, bpa=-2.811 degrees ! Estimated noise=6.67801 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -2.20331e-05 Jy ! Component: 100 - total flux cleaned = -4.37144e-06 Jy ! Component: 150 - total flux cleaned = 1.14704e-05 Jy ! Component: 200 - total flux cleaned = 2.56618e-05 Jy ! Total flux subtracted in 200 components = 2.56618e-05 Jy ! Clean residual min=-0.000744 max=0.000894 Jy/beam ! Clean residual mean=-0.000028 rms=0.000208 Jy/beam ! Combined flux in latest and established models = 0.0337002 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 147 components and 0.0337002 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=0.026891Jy sigma=0.017945 ! Fit after self-cal, rms=0.026890Jy sigma=0.017944 wmodel /scr/pima/s3111a_uvs/J1921-1607_X_map.mod ! Writing 147 model components to file: /scr/pima/s3111a_uvs/J1921-1607_X_map.mod wobs /scr/pima/s3111a_uvs/J1921-1607_X_uvs.fits ! Writing UV FITS file: /scr/pima/s3111a_uvs/J1921-1607_X_uvs.fits wwins /scr/pima/s3111a_uvs/J1921-1607_X_map.win ! wwins: Wrote 2 windows to /scr/pima/s3111a_uvs/J1921-1607_X_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.000394657 Jy ! Component: 100 - total flux cleaned = 0.000569733 Jy ! Component: 150 - total flux cleaned = 0.000725556 Jy ! Component: 200 - total flux cleaned = 0.000881038 Jy ! Component: 250 - total flux cleaned = 0.000933347 Jy ! Component: 300 - total flux cleaned = 0.00091397 Jy ! Component: 350 - total flux cleaned = 0.00087647 Jy ! Component: 400 - total flux cleaned = 0.000804649 Jy ! Component: 450 - total flux cleaned = 0.00076105 Jy ! Component: 500 - total flux cleaned = 0.000710175 Jy ! Component: 550 - total flux cleaned = 0.000660706 Jy ! Component: 600 - total flux cleaned = 0.000596529 Jy ! Component: 650 - total flux cleaned = 0.000534146 Jy ! Component: 700 - total flux cleaned = 0.000480956 Jy ! Component: 750 - total flux cleaned = 0.000421793 Jy ! Component: 800 - total flux cleaned = 0.00036414 Jy ! Component: 850 - total flux cleaned = 0.00028689 Jy ! Component: 900 - total flux cleaned = 0.00019736 Jy ! Component: 950 - total flux cleaned = 0.000116404 Jy ! Component: 1000 - total flux cleaned = 3.01271e-05 Jy ! Component: 1050 - total flux cleaned = -6.11221e-05 Jy ! Component: 1100 - total flux cleaned = -0.000137927 Jy ! Component: 1150 - total flux cleaned = -0.000201013 Jy ! Component: 1200 - total flux cleaned = -0.0002445 Jy ! Component: 1250 - total flux cleaned = -0.000293601 Jy ! Component: 1300 - total flux cleaned = -0.00033599 Jy ! Component: 1350 - total flux cleaned = -0.000377898 Jy ! Component: 1400 - total flux cleaned = -0.00043684 Jy ! Component: 1450 - total flux cleaned = -0.000465816 Jy ! Component: 1500 - total flux cleaned = -0.000506091 Jy ! Component: 1550 - total flux cleaned = -0.000557163 Jy ! Component: 1600 - total flux cleaned = -0.000596323 Jy ! Component: 1650 - total flux cleaned = -0.000640714 Jy ! Component: 1700 - total flux cleaned = -0.000684518 Jy ! Component: 1750 - total flux cleaned = -0.000716947 Jy ! Component: 1800 - total flux cleaned = -0.000754357 Jy ! Component: 1850 - total flux cleaned = -0.0007861 Jy ! Component: 1900 - total flux cleaned = -0.000827945 Jy ! Component: 1950 - total flux cleaned = -0.000864193 Jy ! Component: 2000 - total flux cleaned = -0.000910275 Jy ! Total flux subtracted in 2048 components = -0.00095601 Jy ! Clean residual min=-0.000278 max=0.000316 Jy/beam ! Clean residual mean=-0.000015 rms=0.000116 Jy/beam ! Combined flux in latest and established models = 0.0327442 Jy keep ! Adding 147 model components to the UV plane model. ! The established model now contains 294 components and 0.0327442 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/s3111a_uvs/J1921-1607_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8066 x 2.114 at -2.811 degrees (North through East) ! Clean map min=-0.00050548 max=0.024011 Jy/beam ! Writing clean map to FITS file: /scr/pima/s3111a_uvs/J1921-1607_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0240107 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000115678 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.44534 1.44534 2.89067 5.78134 11.5627 23.1254 46.2507 92.5015 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.024 quit ! Quitting program ! Log file /scr/pima/s3111a_uvs/J1921-1607_X_uvs.log closed on Mon Jul 23 07:18:55 2012