! Started logfile: /scr/pima/rdv72_uvs/J2218+1520_S_uvs.log on Sat Oct 5 08:50:27 2013 obs /scr/pima/rdv72_uvs/J2218+1520_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv72_uvs/J2218+1520_S_uva.fits ! AN table 1: 6 integrations on 36 of 36 possible baselines. ! AN table 2: 7 integrations on 55 of 55 possible baselines. ! AN table 3: 4 integrations on 45 of 45 possible baselines. ! AN table 4: 5 integrations on 1 of 1 possible baselines. ! AN table 5: 3 integrations on 1 of 1 possible baselines. ! AN table 6: 18 integrations on 3 of 3 possible baselines. ! Apparent sampling: 0.742586 visibilities/baseline/integration-bin. ! Found source: J2218+1520 ! ! 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.23299e+09 1.6e+07 1 1.6e+07 ! 02 2 2.26299e+09 1.6e+07 1 1.6e+07 ! 03 3 2.35299e+09 1.6e+07 1 1.6e+07 ! 04 4 2.37299e+09 1.6e+07 1 1.6e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 2504 visibilities. select RR ! 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 = 1024 print "field_cell =",field_cell ! field_cell = 0.5 print "taper_size =",taper_size ! taper_size = 20 ![@/home/lpetrov/bin/01_muppet /scr/pima/rdv72_uvs/J2218+1520_S] 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 = 1024x1024 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 4 telescope corrections were flagged in sub-array 1. ! A total of 23 telescope corrections were flagged in sub-array 2. ! A total of 4 telescope corrections were flagged in sub-array 3. ! A total of 10 telescope corrections were flagged in sub-array 4. ! A total of 6 telescope corrections were flagged in sub-array 5. ! A total of 18 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 2. ! A total of 4 telescope corrections were flagged in sub-array 1. ! A total of 23 telescope corrections were flagged in sub-array 2. ! A total of 4 telescope corrections were flagged in sub-array 3. ! A total of 10 telescope corrections were flagged in sub-array 4. ! A total of 6 telescope corrections were flagged in sub-array 5. ! A total of 18 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 3. ! A total of 4 telescope corrections were flagged in sub-array 1. ! A total of 23 telescope corrections were flagged in sub-array 2. ! A total of 4 telescope corrections were flagged in sub-array 3. ! A total of 10 telescope corrections were flagged in sub-array 4. ! A total of 6 telescope corrections were flagged in sub-array 5. ! A total of 18 telescope corrections were flagged in sub-array 6. ! ! Correcting IF 4. ! A total of 4 telescope corrections were flagged in sub-array 1. ! A total of 23 telescope corrections were flagged in sub-array 2. ! A total of 4 telescope corrections were flagged in sub-array 3. ! A total of 10 telescope corrections were flagged in sub-array 4. ! A total of 6 telescope corrections were flagged in sub-array 5. ! A total of 18 telescope corrections were flagged in sub-array 6. ! ! Fit before self-cal, rms=1.050659Jy sigma=6.574071 ! Fit after self-cal, rms=0.639121Jy sigma=3.876151 ! 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.227 mas, bmaj=5.235 mas, bpa=-10.94 degrees ! Estimated noise=3.10573 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.291915 Jy ! Component: 100 - total flux cleaned = 0.362709 Jy ! Total flux subtracted in 100 components = 0.362709 Jy ! Clean residual min=-0.020589 max=0.027695 Jy/beam ! Clean residual mean=-0.000022 rms=0.003676 Jy/beam ! Combined flux in latest and established models = 0.362709 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.362709 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.127158Jy sigma=0.674605 ! Fit after self-cal, rms=0.127167Jy sigma=0.674582 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0288678 Jy ! Component: 100 - total flux cleaned = 0.0348956 Jy ! Total flux subtracted in 100 components = 0.0348956 Jy ! Clean residual min=-0.016004 max=0.016293 Jy/beam ! Clean residual mean=-0.000006 rms=0.003194 Jy/beam ! Combined flux in latest and established models = 0.397605 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 20 components and 0.397605 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.121723Jy sigma=0.631475 ! Fit after self-cal, rms=0.121740Jy sigma=0.631438 ! 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.549 mas, bmaj=5.92 mas, bpa=-9.557 degrees ! Estimated noise=2.39605 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.00421847 Jy ! Component: 100 - total flux cleaned = 0.00395737 Jy ! Component: 150 - total flux cleaned = 0.00347361 Jy ! Component: 200 - total flux cleaned = 0.00284777 Jy ! Total flux subtracted in 200 components = 0.00284777 Jy ! Clean residual min=-0.012082 max=0.016104 Jy/beam ! Clean residual mean=-0.000037 rms=0.002979 Jy/beam ! Combined flux in latest and established models = 0.400452 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 25 components and 0.400452 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.120899Jy sigma=0.623514 ! Fit after self-cal, rms=0.120911Jy sigma=0.623498 ! 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.08 FD 1.04 KP 1.03 LA 1.11 ! NL 1.00 NY 1.51 PT 1.11 SC 0.87 ! ZC 1.01 ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.16 FD 1.07 KK 0.89 KP 0.99 ! LA 1.08 MK 0.94 NL 1.01 NY 1.29 ! OV 0.99 PT 1.08 SC 0.97 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.12 FD 1.04 KK 0.89 KP 0.99 ! LA 1.15 MK 0.93 NL 0.99 OV 1.02 ! PT 1.14 SC 1.10 ! ! Telescope amplitude corrections in sub-array 4: ! HO 0.00* NY 0.00* ! ! Telescope amplitude corrections in sub-array 5: ! HO 0.00* ZC 0.00* ! ! A total of 36 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! NY 0.00* WZ 0.00* ZC 0.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.24 FD 1.07 KP 1.04 LA 1.01 ! NL 1.07 NY 1.29 PT 1.05 SC 0.96 ! ZC 0.96 ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.18 FD 1.22 KK 0.87 KP 1.04 ! LA 1.00 MK 0.98 NL 1.00 NY 1.07 ! OV 1.08 PT 1.09 SC 1.02 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.18 FD 1.13 KK 0.79 KP 1.03 ! LA 1.03 MK 0.96 NL 1.02 OV 1.04 ! PT 1.13 SC 1.24 ! ! Telescope amplitude corrections in sub-array 4: ! HO 0.00* NY 0.00* ! ! Telescope amplitude corrections in sub-array 5: ! HO 0.00* ZC 0.00* ! ! A total of 36 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! NY 0.00* WZ 0.00* ZC 0.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.29 FD 1.07 KP 1.02 LA 0.95 ! NL 1.00 NY 1.28 PT 1.11 SC 0.80 ! ZC 0.81 ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.16 FD 1.12 KK 0.83 KP 0.99 ! LA 0.92 MK 0.97 NL 1.04 NY 1.03 ! OV 1.06 PT 1.09 SC 0.89 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.17 FD 1.09 KK 0.83 KP 1.00 ! LA 0.88 MK 0.94 NL 1.02 OV 1.05 ! PT 1.15 SC 1.09 ! ! Telescope amplitude corrections in sub-array 4: ! HO 0.00* NY 0.00* ! ! Telescope amplitude corrections in sub-array 5: ! HO 0.00* ZC 0.00* ! ! A total of 36 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! NY 0.00* WZ 0.00* ZC 0.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.36 FD 1.07 KP 0.95 LA 0.76 ! NL 1.00 NY 1.38 PT 0.93 SC 0.78 ! ZC 0.86 ! ! A total of 3 telescope corrections were flagged in sub-array 2. ! Telescope amplitude corrections in sub-array 2: ! BR 1.02 FD 1.05 KK 0.82 KP 0.88 ! LA 0.79 MK 1.06 NL 0.98 NY 1.11 ! OV 0.87 PT 0.94 SC 0.93 ! ! Telescope amplitude corrections in sub-array 3: ! BR 1.09 FD 1.01 KK 0.79 KP 0.92 ! LA 0.79 MK 0.99 NL 0.94 OV 0.87 ! PT 0.99 SC 1.11 ! ! Telescope amplitude corrections in sub-array 4: ! HO 0.00* NY 0.00* ! ! Telescope amplitude corrections in sub-array 5: ! HO 0.00* ZC 0.00* ! ! A total of 36 telescope corrections were flagged in sub-array 6. ! Telescope amplitude corrections in sub-array 6: ! NY 0.00* WZ 0.00* ZC 0.00* ! ! ! Fit before self-cal, rms=0.120911Jy sigma=0.623498 ! Fit after self-cal, rms=0.095852Jy sigma=0.447675 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=2.461 mas, bmaj=6.049 mas, bpa=-9.292 degrees ! Estimated noise=2.43869 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.000772314 Jy ! Component: 100 - total flux cleaned = -0.000656437 Jy ! Component: 150 - total flux cleaned = -0.000344371 Jy ! Component: 200 - total flux cleaned = 4.63234e-06 Jy ! Total flux subtracted in 200 components = 4.63234e-06 Jy ! Clean residual min=-0.005640 max=0.004638 Jy/beam ! Clean residual mean=-0.000022 rms=0.001199 Jy/beam ! Combined flux in latest and established models = 0.400457 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 33 components and 0.400457 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095514Jy sigma=0.445995 ! Fit after self-cal, rms=0.095707Jy sigma=0.445708 ! 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.095707Jy sigma=0.445708 ! Fit after self-cal, rms=0.095725Jy sigma=0.445255 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.454 mas, bmaj=6.08 mas, bpa=-9.201 degrees ! Estimated noise=2.4386 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000928638 Jy ! Component: 100 - total flux cleaned = -0.000723004 Jy ! Component: 150 - total flux cleaned = -0.000554296 Jy ! Component: 200 - total flux cleaned = -0.00033626 Jy ! Total flux subtracted in 200 components = -0.00033626 Jy ! Clean residual min=-0.005391 max=0.004611 Jy/beam ! Clean residual mean=-0.000020 rms=0.001162 Jy/beam ! Combined flux in latest and established models = 0.400121 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 37 components and 0.400121 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095484Jy sigma=0.444114 ! Fit after self-cal, rms=0.095494Jy sigma=0.444096 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.000288758 Jy ! Component: 100 - total flux cleaned = 0.00039927 Jy ! Component: 150 - total flux cleaned = 0.000543966 Jy ! Component: 200 - total flux cleaned = 0.000711885 Jy ! Total flux subtracted in 200 components = 0.000711885 Jy ! Clean residual min=-0.005333 max=0.004646 Jy/beam ! Clean residual mean=-0.000019 rms=0.001155 Jy/beam ! Combined flux in latest and established models = 0.400833 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 43 components and 0.400833 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095420Jy sigma=0.443787 ! Fit after self-cal, rms=0.095420Jy sigma=0.443774 ! 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.095420Jy sigma=0.443774 ! Fit after self-cal, rms=0.095476Jy sigma=0.443115 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.445 mas, bmaj=6.118 mas, bpa=-9.076 degrees ! Estimated noise=2.43799 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00100673 Jy ! Component: 100 - total flux cleaned = -0.00101596 Jy ! Component: 150 - total flux cleaned = -0.000949208 Jy ! Component: 200 - total flux cleaned = -0.000836594 Jy ! Total flux subtracted in 200 components = -0.000836594 Jy ! Clean residual min=-0.005148 max=0.004501 Jy/beam ! Clean residual mean=-0.000016 rms=0.001119 Jy/beam ! Combined flux in latest and established models = 0.399996 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 46 components and 0.399996 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095316Jy sigma=0.442367 ! Fit after self-cal, rms=0.095331Jy sigma=0.442361 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.000166763 Jy ! Component: 100 - total flux cleaned = 0.000299187 Jy ! Component: 150 - total flux cleaned = 0.000414452 Jy ! Component: 200 - total flux cleaned = 0.000515695 Jy ! Total flux subtracted in 200 components = 0.000515695 Jy ! Clean residual min=-0.005127 max=0.004518 Jy/beam ! Clean residual mean=-0.000016 rms=0.001116 Jy/beam ! Combined flux in latest and established models = 0.400512 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 50 components and 0.400512 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095278Jy sigma=0.442194 ! Fit after self-cal, rms=0.095280Jy sigma=0.442181 ! 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.095280Jy sigma=0.442181 ! Fit after self-cal, rms=0.095420Jy sigma=0.441707 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.311 mas, bmaj=11.13 mas, bpa=-3.976 degrees ! Estimated noise=3.16475 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 2.42261e-06 Jy ! Component: 100 - total flux cleaned = 4.10592e-06 Jy ! Component: 150 - total flux cleaned = 2.17418e-05 Jy ! Component: 200 - total flux cleaned = 3.67544e-05 Jy ! Total flux subtracted in 200 components = 3.67544e-05 Jy ! Clean residual min=-0.006062 max=0.004529 Jy/beam ! Clean residual mean=-0.000030 rms=0.001497 Jy/beam ! Combined flux in latest and established models = 0.400549 Jy selfcal ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 55 components and 0.400549 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095432Jy sigma=0.441780 ! Fit after self-cal, rms=0.095446Jy sigma=0.441730 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 = -1.62536e-06 Jy ! Component: 100 - total flux cleaned = 3.36272e-05 Jy ! Component: 150 - total flux cleaned = 3.26991e-05 Jy ! Component: 200 - total flux cleaned = 3.29584e-05 Jy ! Total flux subtracted in 200 components = 3.29584e-05 Jy ! Clean residual min=-0.006056 max=0.004527 Jy/beam ! Clean residual mean=-0.000030 rms=0.001495 Jy/beam ! Combined flux in latest and established models = 0.400582 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 57 components and 0.400582 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095456Jy sigma=0.441734 ! Fit after self-cal, rms=0.095451Jy sigma=0.441712 ! 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.437 mas, bmaj=6.152 mas, bpa=-8.969 degrees ! Estimated noise=2.43699 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.437 x 6.152 at -8.969 degrees (North through East) ! Clean map min=-0.0049217 max=0.37763 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=2.139 mas, bmaj=5.379 mas, bpa=-10.08 degrees ! Estimated noise=3.18542 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.292024 Jy ! Component: 100 - total flux cleaned = 0.357624 Jy ! Component: 150 - total flux cleaned = 0.380161 Jy ! Component: 200 - total flux cleaned = 0.390396 Jy ! Total flux subtracted in 200 components = 0.390396 Jy ! Clean residual min=-0.006085 max=0.006966 Jy/beam ! Clean residual mean=-0.000008 rms=0.001407 Jy/beam ! Combined flux in latest and established models = 0.390396 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 15 model components to the UV plane model. ! The established model now contains 15 components and 0.390396 Jy ! Inverting map and beam ! Estimated beam: bmin=2.437 mas, bmaj=6.152 mas, bpa=-8.969 degrees ! Estimated noise=2.43699 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.00626455 Jy ! Component: 100 - total flux cleaned = 0.00901417 Jy ! Component: 150 - total flux cleaned = 0.0095677 Jy ! Component: 200 - total flux cleaned = 0.00999492 Jy ! Total flux subtracted in 200 components = 0.00999492 Jy ! Clean residual min=-0.005175 max=0.004593 Jy/beam ! Clean residual mean=-0.000013 rms=0.001092 Jy/beam ! Combined flux in latest and established models = 0.400391 Jy ! Adding 15 model components to the UV plane model. ! The established model now contains 27 components and 0.400391 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=8.311 mas, bmaj=11.13 mas, bpa=-3.976 degrees ! Estimated noise=3.16475 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000700585 Jy ! Component: 100 - total flux cleaned = 0.000719188 Jy ! Component: 150 - total flux cleaned = 0.0007456 Jy ! Component: 200 - total flux cleaned = 0.000767442 Jy ! Total flux subtracted in 200 components = 0.000767442 Jy ! Clean residual min=-0.006013 max=0.004513 Jy/beam ! Clean residual mean=-0.000028 rms=0.001489 Jy/beam ! Combined flux in latest and established models = 0.401159 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 = 1.79128e-05 Jy ! Component: 100 - total flux cleaned = 1.76399e-05 Jy ! Component: 150 - total flux cleaned = 1.71891e-05 Jy ! Component: 200 - total flux cleaned = 2.43453e-05 Jy ! Total flux subtracted in 200 components = 2.43453e-05 Jy ! Clean residual min=-0.006014 max=0.004510 Jy/beam ! Clean residual mean=-0.000028 rms=0.001489 Jy/beam ! Combined flux in latest and established models = 0.401183 Jy ! Adding 6 model components to the UV plane model. ! The established model now contains 31 components and 0.401183 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=2.437 mas, bmaj=6.152 mas, bpa=-8.969 degrees ! Estimated noise=2.43699 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000167266 Jy ! Component: 100 - total flux cleaned = 0.000124706 Jy ! Component: 150 - total flux cleaned = 0.000124855 Jy ! Component: 200 - total flux cleaned = 0.000126791 Jy ! Total flux subtracted in 200 components = 0.000126791 Jy ! Clean residual min=-0.005098 max=0.004549 Jy/beam ! Clean residual mean=-0.000012 rms=0.001084 Jy/beam ! Combined flux in latest and established models = 0.40131 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 39 components and 0.40131 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.095277Jy sigma=0.441026 ! Fit after self-cal, rms=0.095265Jy sigma=0.440989 wmodel /scr/pima/rdv72_uvs/J2218+1520_S_map.mod ! Writing 39 model components to file: /scr/pima/rdv72_uvs/J2218+1520_S_map.mod wobs /scr/pima/rdv72_uvs/J2218+1520_S_uvs.fits ! Writing UV FITS file: /scr/pima/rdv72_uvs/J2218+1520_S_uvs.fits wwins /scr/pima/rdv72_uvs/J2218+1520_S_map.win ! wwins: Wrote 1 windows to /scr/pima/rdv72_uvs/J2218+1520_S_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.00129203 Jy ! Component: 100 - total flux cleaned = -0.00170594 Jy ! Component: 150 - total flux cleaned = -0.00186427 Jy ! Component: 200 - total flux cleaned = -0.00216238 Jy ! Component: 250 - total flux cleaned = -0.00251924 Jy ! Component: 300 - total flux cleaned = -0.00279459 Jy ! Component: 350 - total flux cleaned = -0.0030636 Jy ! Component: 400 - total flux cleaned = -0.00345819 Jy ! Component: 450 - total flux cleaned = -0.00365061 Jy ! Component: 500 - total flux cleaned = -0.00377582 Jy ! Component: 550 - total flux cleaned = -0.00377632 Jy ! Component: 600 - total flux cleaned = -0.00389803 Jy ! Component: 650 - total flux cleaned = -0.00395998 Jy ! Component: 700 - total flux cleaned = -0.00419469 Jy ! Component: 750 - total flux cleaned = -0.00442245 Jy ! Component: 800 - total flux cleaned = -0.00436604 Jy ! Component: 850 - total flux cleaned = -0.00447779 Jy ! Component: 900 - total flux cleaned = -0.00458721 Jy ! Component: 950 - total flux cleaned = -0.0046414 Jy ! Component: 1000 - total flux cleaned = -0.00464171 Jy ! Component: 1050 - total flux cleaned = -0.00480044 Jy ! Component: 1100 - total flux cleaned = -0.0048527 Jy ! Component: 1150 - total flux cleaned = -0.00500738 Jy ! Component: 1200 - total flux cleaned = -0.00495645 Jy ! Component: 1250 - total flux cleaned = -0.00490692 Jy ! Component: 1300 - total flux cleaned = -0.00495694 Jy ! Component: 1350 - total flux cleaned = -0.0047599 Jy ! Component: 1400 - total flux cleaned = -0.004712 Jy ! Component: 1450 - total flux cleaned = -0.00490443 Jy ! Component: 1500 - total flux cleaned = -0.00504706 Jy ! Component: 1550 - total flux cleaned = -0.00481062 Jy ! Component: 1600 - total flux cleaned = -0.00495208 Jy ! Component: 1650 - total flux cleaned = -0.00509057 Jy ! Component: 1700 - total flux cleaned = -0.00509033 Jy ! Component: 1750 - total flux cleaned = -0.00522605 Jy ! Component: 1800 - total flux cleaned = -0.00513622 Jy ! Component: 1850 - total flux cleaned = -0.0052255 Jy ! Component: 1900 - total flux cleaned = -0.00522545 Jy ! Component: 1950 - total flux cleaned = -0.00526935 Jy ! Component: 2000 - total flux cleaned = -0.00526925 Jy ! Component: 2050 - total flux cleaned = -0.00509655 Jy ! Component: 2100 - total flux cleaned = -0.00513975 Jy ! Component: 2150 - total flux cleaned = -0.0053096 Jy ! Component: 2200 - total flux cleaned = -0.0053517 Jy ! Component: 2250 - total flux cleaned = -0.00530952 Jy ! Component: 2300 - total flux cleaned = -0.0054757 Jy ! Component: 2350 - total flux cleaned = -0.00551686 Jy ! Component: 2400 - total flux cleaned = -0.00539498 Jy ! Component: 2450 - total flux cleaned = -0.00543545 Jy ! Component: 2500 - total flux cleaned = -0.00559689 Jy ! Component: 2550 - total flux cleaned = -0.00579681 Jy ! Component: 2600 - total flux cleaned = -0.00579682 Jy ! Component: 2650 - total flux cleaned = -0.00579669 Jy ! Component: 2700 - total flux cleaned = -0.00611001 Jy ! Component: 2750 - total flux cleaned = -0.00587549 Jy ! Component: 2800 - total flux cleaned = -0.00591377 Jy ! Component: 2850 - total flux cleaned = -0.00602947 Jy ! Component: 2900 - total flux cleaned = -0.005953 Jy ! Component: 2950 - total flux cleaned = -0.00606694 Jy ! Component: 3000 - total flux cleaned = -0.00591577 Jy ! Component: 3050 - total flux cleaned = -0.00632833 Jy ! Component: 3100 - total flux cleaned = -0.0064028 Jy ! Component: 3150 - total flux cleaned = -0.00629192 Jy ! Component: 3200 - total flux cleaned = -0.00643895 Jy ! Component: 3250 - total flux cleaned = -0.00643925 Jy ! Component: 3300 - total flux cleaned = -0.00643903 Jy ! Component: 3350 - total flux cleaned = -0.00661984 Jy ! Component: 3400 - total flux cleaned = -0.00665578 Jy ! Component: 3450 - total flux cleaned = -0.00662067 Jy ! Component: 3500 - total flux cleaned = -0.00669179 Jy ! Component: 3550 - total flux cleaned = -0.00662131 Jy ! Component: 3600 - total flux cleaned = -0.00665613 Jy ! Component: 3650 - total flux cleaned = -0.00669099 Jy ! Component: 3700 - total flux cleaned = -0.00672553 Jy ! Component: 3750 - total flux cleaned = -0.0067945 Jy ! Component: 3800 - total flux cleaned = -0.00655407 Jy ! Component: 3850 - total flux cleaned = -0.00672464 Jy ! Component: 3900 - total flux cleaned = -0.0066903 Jy ! Component: 3950 - total flux cleaned = -0.00679175 Jy ! Component: 4000 - total flux cleaned = -0.00665734 Jy ! Component: 4050 - total flux cleaned = -0.00655709 Jy ! Total flux subtracted in 4096 components = -0.00665695 Jy ! Clean residual min=-0.002155 max=0.001760 Jy/beam ! Clean residual mean=-0.000006 rms=0.000595 Jy/beam ! Combined flux in latest and established models = 0.394653 Jy keep ! Adding 303 model components to the UV plane model. ! The established model now contains 342 components and 0.394653 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/rdv72_uvs/J2218+1520_S\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 2.437 x 6.152 at -8.969 degrees (North through East) ! Clean map min=-0.003463 max=0.37688 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv72_uvs/J2218+1520_S_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.376883 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000591196 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.470594 0.470594 0.941188 1.88238 3.76475 7.5295 15.059 30.118 60.236 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0017 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.376 quit ! Quitting program ! Log file /scr/pima/rdv72_uvs/J2218+1520_S_uvs.log closed on Sat Oct 5 08:50:32 2013