! Started logfile: /d2/scr/pima/bp177c_uvs/J1617+3222_C_uvs.log on Sat Mar 22 21:18:50 2014 obs /d2/scr/pima/bp177c_uvs/J1617+3222_C_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp177c_uvs/J1617+3222_C_uva.fits ! AN table 1: 7 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.746032 visibilities/baseline/integration-bin. ! Found source: J1617+3222 ! ! 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 4.128e+09 3.2e+07 1 3.2e+07 ! 02 2 4.16e+09 3.2e+07 1 3.2e+07 ! 03 3 4.192e+09 3.2e+07 1 3.2e+07 ! 04 4 4.224e+09 3.2e+07 1 3.2e+07 ! 05 5 4.416e+09 3.2e+07 1 3.2e+07 ! 06 6 4.512e+09 3.2e+07 1 3.2e+07 ! 07 7 4.544e+09 3.2e+07 1 3.2e+07 ! 08 8 4.576e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 1504 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 = 1024 print "field_cell =", field_cell ! field_cell = 0.3 print "taper_size =", taper_size ! taper_size = 40 ![@/home/lpetrov/bin/01_muppet /d2/scr/pima/bp177c_uvs/J1617+3222_C] float lim_self lim_self = 120.0 float lim_val lim_va = 1.2 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.300x0.300 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 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 8 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.000062Jy sigma=45.204662 ! Fit after self-cal, rms=0.986372Jy sigma=44.618819 ! 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.356 mas, bmaj=3.906 mas, bpa=24.23 degrees ! Estimated noise=0.59993 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.00965628 Jy ! Component: 100 - total flux cleaned = 0.0123221 Jy ! Total flux subtracted in 100 components = 0.0123221 Jy ! Clean residual min=-0.002375 max=0.003047 Jy/beam ! Clean residual mean=0.000000 rms=0.000615 Jy/beam ! Combined flux in latest and established models = 0.0123221 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.0123221 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.018108Jy sigma=0.747956 ! Fit after self-cal, rms=0.016375Jy sigma=0.662144 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00320441 Jy ! Component: 100 - total flux cleaned = 0.0047955 Jy ! Total flux subtracted in 100 components = 0.0047955 Jy ! Clean residual min=-0.002366 max=0.002700 Jy/beam ! Clean residual mean=-0.000002 rms=0.000581 Jy/beam ! Combined flux in latest and established models = 0.0171176 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 24 components and 0.0171176 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.015552Jy sigma=0.624325 ! Fit after self-cal, rms=0.015557Jy sigma=0.624139 ! Inverting map print "************** FINISHED UNIFORM WEIGHTING CLEAN **************" ! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.676 mas, bmaj=4.336 mas, bpa=25.4 degrees ! Estimated noise=0.416131 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.00158346 Jy ! Component: 100 - total flux cleaned = 0.00243402 Jy ! Component: 150 - total flux cleaned = 0.00279026 Jy ! Component: 200 - total flux cleaned = 0.003009 Jy ! Total flux subtracted in 200 components = 0.003009 Jy ! Clean residual min=-0.001846 max=0.001903 Jy/beam ! Clean residual mean=-0.000000 rms=0.000442 Jy/beam ! Combined flux in latest and established models = 0.0201266 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 37 components and 0.0201266 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.015363Jy sigma=0.615482 ! Fit after self-cal, rms=0.015357Jy sigma=0.615051 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.676 x 4.336 at 25.4 degrees (North through East) ! Clean map min=-0.0016462 max=0.015879 Jy/beam if ( peak(flux,max)/imstat(rms) < lim_self ) selflim lim_val ! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2. ! Selfcal phase corrections will not be limited. gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Fit before self-cal, rms=0.015357Jy sigma=0.615051 ! Fit after self-cal, rms=0.015357Jy sigma=0.615051 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.676 mas, bmaj=4.336 mas, bpa=25.4 degrees ! Estimated noise=0.416131 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.000221229 Jy ! Component: 100 - total flux cleaned = 0.000290645 Jy ! Component: 150 - total flux cleaned = 0.000301762 Jy ! Component: 200 - total flux cleaned = 0.000301676 Jy ! Total flux subtracted in 200 components = 0.000301676 Jy ! Clean residual min=-0.001905 max=0.001888 Jy/beam ! Clean residual mean=-0.000000 rms=0.000438 Jy/beam ! Combined flux in latest and established models = 0.0204282 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 43 components and 0.0204282 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.015331Jy sigma=0.614133 ! Fit after self-cal, rms=0.015329Jy sigma=0.614038 ! 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.015329Jy sigma=0.614038 ! Fit after self-cal, rms=0.015329Jy sigma=0.614038 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.676 mas, bmaj=4.336 mas, bpa=25.4 degrees ! Estimated noise=0.416131 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.21902e-05 Jy ! Component: 100 - total flux cleaned = -1.91864e-06 Jy ! Component: 150 - total flux cleaned = -1.99733e-06 Jy ! Component: 200 - total flux cleaned = -1.04629e-05 Jy ! Total flux subtracted in 200 components = -1.04629e-05 Jy ! Clean residual min=-0.001909 max=0.001875 Jy/beam ! Clean residual mean=-0.000000 rms=0.000437 Jy/beam ! Combined flux in latest and established models = 0.0204178 Jy selfcal ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 45 components and 0.0204178 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.015315Jy sigma=0.613596 ! Fit after self-cal, rms=0.015314Jy sigma=0.613551 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 (-54.9, -53.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00160086 Jy ! Component: 100 - total flux cleaned = 0.00178265 Jy ! Component: 150 - total flux cleaned = 0.00152597 Jy ! Component: 200 - total flux cleaned = 0.00127488 Jy ! Total flux subtracted in 200 components = 0.00127488 Jy ! Clean residual min=-0.001652 max=0.001467 Jy/beam ! Clean residual mean=0.000000 rms=0.000384 Jy/beam ! Combined flux in latest and established models = 0.0216926 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 71 components and 0.0216926 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.015079Jy sigma=0.601257 ! Fit after self-cal, rms=0.015043Jy sigma=0.599786 ! Inverting map ! Added new window around map position (-26.7, 14.7). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000734435 Jy ! Component: 100 - total flux cleaned = 0.000740434 Jy ! Component: 150 - total flux cleaned = 0.000738009 Jy ! Component: 200 - total flux cleaned = 0.000613993 Jy ! Total flux subtracted in 200 components = 0.000613993 Jy ! Clean residual min=-0.001443 max=0.001301 Jy/beam ! Clean residual mean=0.000000 rms=0.000340 Jy/beam ! Combined flux in latest and established models = 0.0223066 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 86 components and 0.0223066 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.014805Jy sigma=0.588058 ! Fit after self-cal, rms=0.014785Jy sigma=0.587309 ! 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.014785Jy sigma=0.587309 ! Fit after self-cal, rms=0.014673Jy sigma=0.586183 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.669 mas, bmaj=4.339 mas, bpa=25.36 degrees ! Estimated noise=0.413813 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 8.01415e-05 Jy ! Component: 100 - total flux cleaned = 0.000106665 Jy ! Component: 150 - total flux cleaned = 0.000105744 Jy ! Component: 200 - total flux cleaned = 8.2114e-05 Jy ! Total flux subtracted in 200 components = 8.2114e-05 Jy ! Clean residual min=-0.001331 max=0.001278 Jy/beam ! Clean residual mean=0.000000 rms=0.000320 Jy/beam ! Combined flux in latest and established models = 0.0223888 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 96 components and 0.0223888 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.014594Jy sigma=0.581754 ! Fit after self-cal, rms=0.014588Jy sigma=0.581541 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.27234e-05 Jy ! Component: 100 - total flux cleaned = -1.09796e-05 Jy ! Component: 150 - total flux cleaned = -3.09743e-05 Jy ! Component: 200 - total flux cleaned = -5.07702e-05 Jy ! Total flux subtracted in 200 components = -5.07702e-05 Jy ! Clean residual min=-0.001275 max=0.001217 Jy/beam ! Clean residual mean=0.000000 rms=0.000309 Jy/beam ! Combined flux in latest and established models = 0.022338 Jy ! Performing phase self-cal ! Adding 39 model components to the UV plane model. ! The established model now contains 111 components and 0.022338 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.014537Jy sigma=0.578774 ! Fit after self-cal, rms=0.014533Jy sigma=0.578688 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 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.014533Jy sigma=0.578688 ! Fit after self-cal, rms=0.014537Jy sigma=0.578674 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.358 mas, bmaj=4.966 mas, bpa=19.49 degrees ! Estimated noise=0.516641 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00011576 Jy ! Component: 100 - total flux cleaned = -0.000328547 Jy ! Component: 150 - total flux cleaned = -0.00048096 Jy ! Component: 200 - total flux cleaned = -0.000603814 Jy ! Total flux subtracted in 200 components = -0.000603814 Jy ! Clean residual min=-0.000982 max=0.001251 Jy/beam ! Clean residual mean=0.000001 rms=0.000293 Jy/beam ! Combined flux in latest and established models = 0.0217342 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 128 components and 0.0217342 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.014517Jy sigma=0.577639 ! Fit after self-cal, rms=0.014511Jy sigma=0.577472 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 (-8.7, 4.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000486239 Jy ! Component: 100 - total flux cleaned = 0.00026203 Jy ! Component: 150 - total flux cleaned = 0.000102095 Jy ! Component: 200 - total flux cleaned = -6.29941e-05 Jy ! Total flux subtracted in 200 components = -6.29941e-05 Jy ! Clean residual min=-0.000987 max=0.000881 Jy/beam ! Clean residual mean=0.000001 rms=0.000237 Jy/beam ! Combined flux in latest and established models = 0.0216712 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 154 components and 0.0216712 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.014456Jy sigma=0.574495 ! Fit after self-cal, rms=0.014444Jy sigma=0.574012 ! 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.67 mas, bmaj=4.338 mas, bpa=25.37 degrees ! Estimated noise=0.414075 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.67 x 4.338 at 25.37 degrees (North through East) ! Clean map min=-0.0011769 max=0.01517 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=1.353 mas, bmaj=3.911 mas, bpa=24.2 degrees ! Estimated noise=0.593713 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0113274 Jy ! Component: 100 - total flux cleaned = 0.0145913 Jy ! Component: 150 - total flux cleaned = 0.0158414 Jy ! Component: 200 - total flux cleaned = 0.0168468 Jy ! Total flux subtracted in 200 components = 0.0168468 Jy ! Clean residual min=-0.002137 max=0.002329 Jy/beam ! Clean residual mean=-0.000001 rms=0.000545 Jy/beam ! Combined flux in latest and established models = 0.0168468 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 31 model components to the UV plane model. ! The established model now contains 31 components and 0.0168468 Jy ! Inverting map and beam ! Estimated beam: bmin=1.67 mas, bmaj=4.338 mas, bpa=25.37 degrees ! Estimated noise=0.414075 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) ! Added new window around map position (0, -25.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00224529 Jy ! Component: 100 - total flux cleaned = 0.00297674 Jy ! Component: 150 - total flux cleaned = 0.00346124 Jy ! Component: 200 - total flux cleaned = 0.00369069 Jy ! Total flux subtracted in 200 components = 0.00369069 Jy ! Clean residual min=-0.001349 max=0.001694 Jy/beam ! Clean residual mean=-0.000000 rms=0.000355 Jy/beam ! Combined flux in latest and established models = 0.0205375 Jy ! Adding 39 model components to the UV plane model. ! The established model now contains 64 components and 0.0205375 Jy ! Inverting map ! Added new window around map position (20.7, 1.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00105768 Jy ! Component: 100 - total flux cleaned = 0.00155478 Jy ! Component: 150 - total flux cleaned = 0.0018555 Jy ! Component: 200 - total flux cleaned = 0.00192279 Jy ! Total flux subtracted in 200 components = 0.00192279 Jy ! Clean residual min=-0.001201 max=0.001323 Jy/beam ! Clean residual mean=-0.000000 rms=0.000298 Jy/beam ! Combined flux in latest and established models = 0.0224603 Jy ! Adding 36 model components to the UV plane model. ! The established model now contains 89 components and 0.0224603 Jy ! Inverting map ! Added new window around map position (-16.8, 55.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000131925 Jy ! Component: 100 - total flux cleaned = -7.20745e-06 Jy ! Component: 150 - total flux cleaned = -4.07252e-05 Jy ! Component: 200 - total flux cleaned = -7.03262e-05 Jy ! Total flux subtracted in 200 components = -7.03262e-05 Jy ! Clean residual min=-0.001049 max=0.000936 Jy/beam ! Clean residual mean=-0.000000 rms=0.000260 Jy/beam ! Combined flux in latest and established models = 0.02239 Jy ! Adding 35 model components to the UV plane model. ! The established model now contains 111 components and 0.02239 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 40 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.358 mas, bmaj=4.966 mas, bpa=19.49 degrees ! Estimated noise=0.516641 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -8.53226e-05 Jy ! Component: 100 - total flux cleaned = -0.000187191 Jy ! Component: 150 - total flux cleaned = -0.000320926 Jy ! Component: 200 - total flux cleaned = -0.000382093 Jy ! Total flux subtracted in 200 components = -0.000382093 Jy ! Clean residual min=-0.000807 max=0.000826 Jy/beam ! Clean residual mean=-0.000000 rms=0.000222 Jy/beam ! Combined flux in latest and established models = 0.0220079 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.82739e-05 Jy ! Component: 100 - total flux cleaned = 8.30305e-05 Jy ! Component: 150 - total flux cleaned = 0.000114815 Jy ! Component: 200 - total flux cleaned = 0.000144951 Jy ! Total flux subtracted in 200 components = 0.000144951 Jy ! Clean residual min=-0.000750 max=0.000769 Jy/beam ! Clean residual mean=-0.000000 rms=0.000204 Jy/beam ! Combined flux in latest and established models = 0.0221528 Jy ! Adding 63 model components to the UV plane model. ! The established model now contains 174 components and 0.0221528 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.67 mas, bmaj=4.338 mas, bpa=25.37 degrees ! Estimated noise=0.414075 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000141809 Jy ! Component: 100 - total flux cleaned = 0.000190508 Jy ! Component: 150 - total flux cleaned = 0.000305035 Jy ! Component: 200 - total flux cleaned = 0.000408963 Jy ! Total flux subtracted in 200 components = 0.000408963 Jy ! Clean residual min=-0.000839 max=0.000799 Jy/beam ! Clean residual mean=-0.000000 rms=0.000217 Jy/beam ! Combined flux in latest and established models = 0.0225618 Jy selfcal ! Performing phase self-cal ! Adding 42 model components to the UV plane model. ! The established model now contains 200 components and 0.0225618 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.014163Jy sigma=0.558157 ! Fit after self-cal, rms=0.014111Jy sigma=0.555675 wmodel /d2/scr/pima/bp177c_uvs/J1617+3222_C_map.mod ! Writing 200 model components to file: /d2/scr/pima/bp177c_uvs/J1617+3222_C_map.mod wobs /d2/scr/pima/bp177c_uvs/J1617+3222_C_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp177c_uvs/J1617+3222_C_uvs.fits wwins /d2/scr/pima/bp177c_uvs/J1617+3222_C_map.win ! wwins: Wrote 7 windows to /d2/scr/pima/bp177c_uvs/J1617+3222_C_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 = -2.90637e-05 Jy ! Component: 100 - total flux cleaned = -4.45815e-05 Jy ! Component: 150 - total flux cleaned = -2.51948e-06 Jy ! Component: 200 - total flux cleaned = 3.81941e-05 Jy ! Component: 250 - total flux cleaned = 0.000129782 Jy ! Component: 300 - total flux cleaned = 0.000205832 Jy ! Component: 350 - total flux cleaned = 0.000255148 Jy ! Component: 400 - total flux cleaned = 0.000267184 Jy ! Component: 450 - total flux cleaned = 0.00029097 Jy ! Component: 500 - total flux cleaned = 0.000291079 Jy ! Component: 550 - total flux cleaned = 0.000279673 Jy ! Component: 600 - total flux cleaned = 0.000268686 Jy ! Component: 650 - total flux cleaned = 0.000268613 Jy ! Component: 700 - total flux cleaned = 0.000279339 Jy ! Component: 750 - total flux cleaned = 0.00026867 Jy ! Component: 800 - total flux cleaned = 0.000237419 Jy ! Component: 850 - total flux cleaned = 0.000196508 Jy ! Component: 900 - total flux cleaned = 0.000186794 Jy ! Component: 950 - total flux cleaned = 0.000176948 Jy ! Component: 1000 - total flux cleaned = 0.000167332 Jy ! Component: 1050 - total flux cleaned = 0.000157983 Jy ! Component: 1100 - total flux cleaned = 0.000129832 Jy ! Component: 1150 - total flux cleaned = 0.000111254 Jy ! Component: 1200 - total flux cleaned = 0.000102094 Jy ! Component: 1250 - total flux cleaned = 0.000110971 Jy ! Component: 1300 - total flux cleaned = 7.51214e-05 Jy ! Component: 1350 - total flux cleaned = 6.62903e-05 Jy ! Component: 1400 - total flux cleaned = 5.26557e-06 Jy ! Component: 1450 - total flux cleaned = -3.29816e-06 Jy ! Component: 1500 - total flux cleaned = -4.57808e-05 Jy ! Component: 1550 - total flux cleaned = -6.24248e-05 Jy ! Component: 1600 - total flux cleaned = -7.08416e-05 Jy ! Component: 1650 - total flux cleaned = -0.000119984 Jy ! Component: 1700 - total flux cleaned = -0.000136253 Jy ! Component: 1750 - total flux cleaned = -0.000192514 Jy ! Component: 1800 - total flux cleaned = -0.000224301 Jy ! Component: 1850 - total flux cleaned = -0.000287038 Jy ! Component: 1900 - total flux cleaned = -0.00031039 Jy ! Component: 1950 - total flux cleaned = -0.000348636 Jy ! Component: 2000 - total flux cleaned = -0.000379046 Jy ! Component: 2050 - total flux cleaned = -0.000439152 Jy ! Component: 2100 - total flux cleaned = -0.000468774 Jy ! Component: 2150 - total flux cleaned = -0.000483531 Jy ! Component: 2200 - total flux cleaned = -0.000512733 Jy ! Component: 2250 - total flux cleaned = -0.000556183 Jy ! Component: 2300 - total flux cleaned = -0.000570529 Jy ! Component: 2350 - total flux cleaned = -0.00059197 Jy ! Component: 2400 - total flux cleaned = -0.000648431 Jy ! Component: 2450 - total flux cleaned = -0.000690331 Jy ! Component: 2500 - total flux cleaned = -0.000738842 Jy ! Component: 2550 - total flux cleaned = -0.000786852 Jy ! Component: 2600 - total flux cleaned = -0.000800429 Jy ! Component: 2650 - total flux cleaned = -0.000840942 Jy ! Component: 2700 - total flux cleaned = -0.000887894 Jy ! Component: 2750 - total flux cleaned = -0.000941015 Jy ! Component: 2800 - total flux cleaned = -0.000980515 Jy ! Component: 2850 - total flux cleaned = -0.00103268 Jy ! Component: 2900 - total flux cleaned = -0.00107787 Jy ! Component: 2950 - total flux cleaned = -0.00110991 Jy ! Component: 3000 - total flux cleaned = -0.00114812 Jy ! Component: 3050 - total flux cleaned = -0.00119232 Jy ! Component: 3100 - total flux cleaned = -0.00120486 Jy ! Component: 3150 - total flux cleaned = -0.00123602 Jy ! Component: 3200 - total flux cleaned = -0.0012855 Jy ! Component: 3250 - total flux cleaned = -0.00131619 Jy ! Component: 3300 - total flux cleaned = -0.00134661 Jy ! Component: 3350 - total flux cleaned = -0.00138292 Jy ! Component: 3400 - total flux cleaned = -0.00139497 Jy ! Component: 3450 - total flux cleaned = -0.00142483 Jy ! Component: 3500 - total flux cleaned = -0.00145446 Jy ! Component: 3550 - total flux cleaned = -0.00148394 Jy ! Component: 3600 - total flux cleaned = -0.00152489 Jy ! Component: 3650 - total flux cleaned = -0.00154235 Jy ! Component: 3700 - total flux cleaned = -0.0015828 Jy ! Component: 3750 - total flux cleaned = -0.00161148 Jy ! Component: 3800 - total flux cleaned = -0.00164575 Jy ! Component: 3850 - total flux cleaned = -0.00170807 Jy ! Component: 3900 - total flux cleaned = -0.00172495 Jy ! Component: 3950 - total flux cleaned = -0.00175851 Jy ! Component: 4000 - total flux cleaned = -0.00178633 Jy ! Component: 4050 - total flux cleaned = -0.00182503 Jy ! Total flux subtracted in 4096 components = -0.00186355 Jy ! Clean residual min=-0.000293 max=0.000327 Jy/beam ! Clean residual mean=-0.000000 rms=0.000096 Jy/beam ! Combined flux in latest and established models = 0.0206983 Jy keep ! Adding 240 model components to the UV plane model. ! The established model now contains 440 components and 0.0206982 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp177c_uvs/J1617+3222_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.67 x 4.338 at 25.37 degrees (North through East) ! Clean map min=-0.00088294 max=0.013924 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp177c_uvs/J1617+3222_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0139237 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 9.54308e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -2.05615 2.05615 4.1123 8.2246 16.4492 32.8984 65.7968 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0002 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.013 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 145.903 quit ! Quitting program ! Log file /d2/scr/pima/bp177c_uvs/J1617+3222_C_uvs.log closed on Sat Mar 22 21:18:55 2014