! Started logfile: /d2/scr/pima/bp177f_uvs/J2330+4104_X_uvs.log on Fri Mar 21 07:39:50 2014 obs /d2/scr/pima/bp177f_uvs/J2330+4104_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp177f_uvs/J2330+4104_X_uva.fits ! AN table 1: 4 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.95 visibilities/baseline/integration-bin. ! Found source: J2330+4104 ! ! 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 7.392e+09 3.2e+07 1 3.2e+07 ! 02 2 7.424e+09 3.2e+07 1 3.2e+07 ! 03 3 7.456e+09 3.2e+07 1 3.2e+07 ! 04 4 7.552e+09 3.2e+07 1 3.2e+07 ! 05 5 7.744e+09 3.2e+07 1 3.2e+07 ! 06 6 7.776e+09 3.2e+07 1 3.2e+07 ! 07 7 7.808e+09 3.2e+07 1 3.2e+07 ! 08 8 7.84e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 1368 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.2 print "taper_size =", taper_size ! taper_size = 70 ![@/home/lpetrov/bin/01_muppet /d2/scr/pima/bp177f_uvs/J2330+4104_X] 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.200x0.200 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 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 1 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.002762Jy sigma=39.055223 ! Fit after self-cal, rms=0.943845Jy sigma=36.817349 ! 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.7743 mas, bmaj=2.414 mas, bpa=18.63 degrees ! Estimated noise=0.708336 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.0422125 Jy ! Component: 100 - total flux cleaned = 0.0540307 Jy ! Total flux subtracted in 100 components = 0.0540307 Jy ! Clean residual min=-0.003044 max=0.005558 Jy/beam ! Clean residual mean=-0.000013 rms=0.000861 Jy/beam ! Combined flux in latest and established models = 0.0540307 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.0540307 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.024138Jy sigma=0.878195 ! Fit after self-cal, rms=0.020557Jy sigma=0.713841 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00661128 Jy ! Component: 100 - total flux cleaned = 0.0100043 Jy ! Total flux subtracted in 100 components = 0.0100043 Jy ! Clean residual min=-0.002523 max=0.003873 Jy/beam ! Clean residual mean=-0.000009 rms=0.000638 Jy/beam ! Combined flux in latest and established models = 0.064035 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 15 components and 0.064035 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.017846Jy sigma=0.614834 ! Fit after self-cal, rms=0.017830Jy sigma=0.613991 ! Inverting map ! Added new window around map position (2.4, 1). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00351479 Jy ! Component: 100 - total flux cleaned = 0.00528067 Jy ! Total flux subtracted in 100 components = 0.00528067 Jy ! Clean residual min=-0.002182 max=0.002641 Jy/beam ! Clean residual mean=-0.000006 rms=0.000529 Jy/beam ! Combined flux in latest and established models = 0.0693157 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 28 components and 0.0693157 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.017135Jy sigma=0.590695 ! Fit after self-cal, rms=0.017030Jy sigma=0.586751 ! 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.923 mas, bmaj=2.542 mas, bpa=18.14 degrees ! Estimated noise=0.501771 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.00167543 Jy ! Component: 100 - total flux cleaned = 0.00285247 Jy ! Component: 150 - total flux cleaned = 0.00372637 Jy ! Component: 200 - total flux cleaned = 0.0042423 Jy ! Total flux subtracted in 200 components = 0.0042423 Jy ! Clean residual min=-0.001912 max=0.002089 Jy/beam ! Clean residual mean=-0.000007 rms=0.000488 Jy/beam ! Combined flux in latest and established models = 0.073558 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 47 components and 0.073558 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.016757Jy sigma=0.579659 ! Fit after self-cal, rms=0.016747Jy sigma=0.579363 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.923 x 2.542 at 18.14 degrees (North through East) ! Clean map min=-0.0019368 max=0.055331 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.08 FD 1.17 HN 0.87 KP 0.90 ! LA 1.02 MK 1.04 NL 1.11 OV 0.98 ! PT 0.89 SC 0.96 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 1.00* HN 1.00* KP 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 0.86 FD 1.09 HN 0.90 KP 1.06 ! LA 0.96 MK 1.09 NL 1.12 OV 0.96 ! PT 0.88 SC 1.01 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.92 FD 1.08 HN 1.03 KP 0.93 ! LA 0.97 MK 1.09 NL 1.05 OV 0.98 ! PT 0.97 SC 1.04 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.11 FD 0.99 HN 0.90 KP 1.03 ! LA 0.95 MK 0.97 NL 1.02 OV 0.94 ! PT 0.91 SC 0.98 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 1.07 HN 1.03 KP 1.08 ! LA 1.05 MK 1.03 NL 1.13 OV 1.06 ! PT 0.97 SC 1.01 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 FD 1.03 HN 1.02 KP 1.03 ! LA 0.98 MK 0.98 NL 1.16 OV 1.03 ! PT 0.95 SC 0.97 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.19 FD 0.99 HN 0.97 KP 1.09 ! LA 0.95 MK 0.98 NL 1.10 OV 1.01 ! PT 0.86 SC 1.03 ! ! ! Fit before self-cal, rms=0.016747Jy sigma=0.579363 ! Fit after self-cal, rms=0.015675Jy sigma=0.540444 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9238 mas, bmaj=2.544 mas, bpa=18.07 degrees ! Estimated noise=0.506228 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 = 5.50789e-05 Jy ! Component: 100 - total flux cleaned = 5.89898e-05 Jy ! Component: 150 - total flux cleaned = 2.78955e-05 Jy ! Component: 200 - total flux cleaned = 1.16986e-06 Jy ! Total flux subtracted in 200 components = 1.16986e-06 Jy ! Clean residual min=-0.001401 max=0.001329 Jy/beam ! Clean residual mean=-0.000002 rms=0.000350 Jy/beam ! Combined flux in latest and established models = 0.0735591 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 61 components and 0.0735592 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.015634Jy sigma=0.538968 ! Fit after self-cal, rms=0.015633Jy sigma=0.538815 ! 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.015633Jy sigma=0.538815 ! Fit after self-cal, rms=0.015704Jy sigma=0.538592 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9238 mas, bmaj=2.543 mas, bpa=18.07 degrees ! Estimated noise=0.509128 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000290264 Jy ! Component: 100 - total flux cleaned = 0.000264331 Jy ! Component: 150 - total flux cleaned = 0.000241217 Jy ! Component: 200 - total flux cleaned = 0.000231054 Jy ! Total flux subtracted in 200 components = 0.000231054 Jy ! Clean residual min=-0.001398 max=0.001300 Jy/beam ! Clean residual mean=-0.000002 rms=0.000346 Jy/beam ! Combined flux in latest and established models = 0.0737902 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 67 components and 0.0737902 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.015676Jy sigma=0.537870 ! Fit after self-cal, rms=0.015676Jy sigma=0.537834 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 = -3.82664e-05 Jy ! Component: 100 - total flux cleaned = -7.63706e-05 Jy ! Component: 150 - total flux cleaned = -8.50032e-05 Jy ! Component: 200 - total flux cleaned = -9.32522e-05 Jy ! Total flux subtracted in 200 components = -9.32522e-05 Jy ! Clean residual min=-0.001385 max=0.001306 Jy/beam ! Clean residual mean=-0.000002 rms=0.000344 Jy/beam ! Combined flux in latest and established models = 0.073697 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 70 components and 0.0736969 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.015665Jy sigma=0.537509 ! Fit after self-cal, rms=0.015665Jy sigma=0.537492 ! 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.015665Jy sigma=0.537492 ! Fit after self-cal, rms=0.015747Jy sigma=0.537237 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9231 mas, bmaj=2.543 mas, bpa=18.08 degrees ! Estimated noise=0.512173 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000287075 Jy ! Component: 100 - total flux cleaned = 0.000297583 Jy ! Component: 150 - total flux cleaned = 0.000306643 Jy ! Component: 200 - total flux cleaned = 0.000298462 Jy ! Total flux subtracted in 200 components = 0.000298462 Jy ! Clean residual min=-0.001375 max=0.001311 Jy/beam ! Clean residual mean=-0.000002 rms=0.000343 Jy/beam ! Combined flux in latest and established models = 0.0739954 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 74 components and 0.0739954 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.015726Jy sigma=0.536835 ! Fit after self-cal, rms=0.015726Jy sigma=0.536809 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 = -3.74207e-05 Jy ! Component: 100 - total flux cleaned = -5.23236e-05 Jy ! Component: 150 - total flux cleaned = -5.95464e-05 Jy ! Component: 200 - total flux cleaned = -5.25292e-05 Jy ! Total flux subtracted in 200 components = -5.25292e-05 Jy ! Clean residual min=-0.001359 max=0.001313 Jy/beam ! Clean residual mean=-0.000002 rms=0.000341 Jy/beam ! Combined flux in latest and established models = 0.0739428 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 76 components and 0.0739428 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.015719Jy sigma=0.536591 ! Fit after self-cal, rms=0.015720Jy sigma=0.536578 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 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.015720Jy sigma=0.536578 ! Fit after self-cal, rms=0.015799Jy sigma=0.536397 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.024 mas, bmaj=2.929 mas, bpa=15.95 degrees ! Estimated noise=0.64996 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000446814 Jy ! Component: 100 - total flux cleaned = 0.000549134 Jy ! Component: 150 - total flux cleaned = 0.000557701 Jy ! Component: 200 - total flux cleaned = 0.000573288 Jy ! Total flux subtracted in 200 components = 0.000573288 Jy ! Clean residual min=-0.001897 max=0.001761 Jy/beam ! Clean residual mean=-0.000005 rms=0.000501 Jy/beam ! Combined flux in latest and established models = 0.0745161 Jy selfcal ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 79 components and 0.0745161 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.015791Jy sigma=0.536252 ! Fit after self-cal, rms=0.015790Jy sigma=0.536237 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 = -3.7267e-07 Jy ! Component: 100 - total flux cleaned = 7.24032e-06 Jy ! Component: 150 - total flux cleaned = 2.15714e-05 Jy ! Component: 200 - total flux cleaned = 2.83584e-05 Jy ! Total flux subtracted in 200 components = 2.83584e-05 Jy ! Clean residual min=-0.001886 max=0.001746 Jy/beam ! Clean residual mean=-0.000005 rms=0.000500 Jy/beam ! Combined flux in latest and established models = 0.0745445 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 80 components and 0.0745445 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.015788Jy sigma=0.536159 ! Fit after self-cal, rms=0.015786Jy sigma=0.536140 ! 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.9226 mas, bmaj=2.543 mas, bpa=18.1 degrees ! Estimated noise=0.514908 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9226 x 2.543 at 18.1 degrees (North through East) ! Clean map min=-0.0012804 max=0.057063 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.7741 mas, bmaj=2.414 mas, bpa=18.48 degrees ! Estimated noise=0.729802 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0444678 Jy ! Component: 100 - total flux cleaned = 0.0570748 Jy ! Component: 150 - total flux cleaned = 0.0633306 Jy ! Component: 200 - total flux cleaned = 0.0668282 Jy ! Total flux subtracted in 200 components = 0.0668282 Jy ! Clean residual min=-0.002045 max=0.002274 Jy/beam ! Clean residual mean=-0.000005 rms=0.000490 Jy/beam ! Combined flux in latest and established models = 0.0668282 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 18 model components to the UV plane model. ! The established model now contains 18 components and 0.0668282 Jy ! Inverting map and beam ! Estimated beam: bmin=0.9226 mas, bmaj=2.543 mas, bpa=18.1 degrees ! Estimated noise=0.514908 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 (-1, -3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00282323 Jy ! Component: 100 - total flux cleaned = 0.00456216 Jy ! Component: 150 - total flux cleaned = 0.0058504 Jy ! Component: 200 - total flux cleaned = 0.00684608 Jy ! Total flux subtracted in 200 components = 0.00684608 Jy ! Clean residual min=-0.001383 max=0.001253 Jy/beam ! Clean residual mean=-0.000003 rms=0.000336 Jy/beam ! Combined flux in latest and established models = 0.0736742 Jy ! Adding 34 model components to the UV plane model. ! The established model now contains 46 components and 0.0736742 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.024 mas, bmaj=2.929 mas, bpa=15.95 degrees ! Estimated noise=0.64996 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00122393 Jy ! Component: 100 - total flux cleaned = 0.00206411 Jy ! Component: 150 - total flux cleaned = 0.00266791 Jy ! Component: 200 - total flux cleaned = 0.00310758 Jy ! Total flux subtracted in 200 components = 0.00310758 Jy ! Clean residual min=-0.001685 max=0.001430 Jy/beam ! Clean residual mean=-0.000002 rms=0.000432 Jy/beam ! Combined flux in latest and established models = 0.0767818 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.000154329 Jy ! Component: 100 - total flux cleaned = 0.000227996 Jy ! Component: 150 - total flux cleaned = 0.000294426 Jy ! Component: 200 - total flux cleaned = 0.000354675 Jy ! Total flux subtracted in 200 components = 0.000354675 Jy ! Clean residual min=-0.001599 max=0.001397 Jy/beam ! Clean residual mean=-0.000001 rms=0.000426 Jy/beam ! Combined flux in latest and established models = 0.0771365 Jy ! Adding 40 model components to the UV plane model. ! The established model now contains 83 components and 0.0771365 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.9226 mas, bmaj=2.543 mas, bpa=18.1 degrees ! Estimated noise=0.514908 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000131148 Jy ! Component: 100 - total flux cleaned = 0.000232873 Jy ! Component: 150 - total flux cleaned = 0.000262113 Jy ! Component: 200 - total flux cleaned = 0.000288192 Jy ! Total flux subtracted in 200 components = 0.000288192 Jy ! Clean residual min=-0.001152 max=0.001239 Jy/beam ! Clean residual mean=-0.000000 rms=0.000304 Jy/beam ! Combined flux in latest and established models = 0.0774247 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 99 components and 0.0774247 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.015652Jy sigma=0.531324 ! Fit after self-cal, rms=0.015642Jy sigma=0.530950 wmodel /d2/scr/pima/bp177f_uvs/J2330+4104_X_map.mod ! Writing 99 model components to file: /d2/scr/pima/bp177f_uvs/J2330+4104_X_map.mod wobs /d2/scr/pima/bp177f_uvs/J2330+4104_X_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp177f_uvs/J2330+4104_X_uvs.fits wwins /d2/scr/pima/bp177f_uvs/J2330+4104_X_map.win ! wwins: Wrote 3 windows to /d2/scr/pima/bp177f_uvs/J2330+4104_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=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = 0.000386953 Jy ! Component: 100 - total flux cleaned = 0.000387692 Jy ! Component: 150 - total flux cleaned = 0.000462989 Jy ! Component: 200 - total flux cleaned = 0.000588502 Jy ! Component: 250 - total flux cleaned = 0.00067478 Jy ! Component: 300 - total flux cleaned = 0.000774496 Jy ! Component: 350 - total flux cleaned = 0.000870425 Jy ! Component: 400 - total flux cleaned = 0.000916407 Jy ! Component: 450 - total flux cleaned = 0.000946363 Jy ! Component: 500 - total flux cleaned = 0.00103359 Jy ! Component: 550 - total flux cleaned = 0.0010904 Jy ! Component: 600 - total flux cleaned = 0.00113234 Jy ! Component: 650 - total flux cleaned = 0.00117321 Jy ! Component: 700 - total flux cleaned = 0.00119989 Jy ! Component: 750 - total flux cleaned = 0.00125201 Jy ! Component: 800 - total flux cleaned = 0.00129053 Jy ! Component: 850 - total flux cleaned = 0.001328 Jy ! Component: 900 - total flux cleaned = 0.0013529 Jy ! Component: 950 - total flux cleaned = 0.00138926 Jy ! Component: 1000 - total flux cleaned = 0.00143627 Jy ! Component: 1050 - total flux cleaned = 0.00143627 Jy ! Component: 1100 - total flux cleaned = 0.00150469 Jy ! Component: 1150 - total flux cleaned = 0.00154949 Jy ! Component: 1200 - total flux cleaned = 0.0015496 Jy ! Component: 1250 - total flux cleaned = 0.00158231 Jy ! Component: 1300 - total flux cleaned = 0.00162497 Jy ! Component: 1350 - total flux cleaned = 0.00161457 Jy ! Component: 1400 - total flux cleaned = 0.00163546 Jy ! Component: 1450 - total flux cleaned = 0.00167646 Jy ! Component: 1500 - total flux cleaned = 0.00172651 Jy ! Component: 1550 - total flux cleaned = 0.00170656 Jy ! Component: 1600 - total flux cleaned = 0.00173589 Jy ! Component: 1650 - total flux cleaned = 0.00176475 Jy ! Component: 1700 - total flux cleaned = 0.00177448 Jy ! Component: 1750 - total flux cleaned = 0.00182131 Jy ! Component: 1800 - total flux cleaned = 0.00185832 Jy ! Component: 1850 - total flux cleaned = 0.00189493 Jy ! Component: 1900 - total flux cleaned = 0.00192215 Jy ! Component: 1950 - total flux cleaned = 0.00191334 Jy ! Component: 2000 - total flux cleaned = 0.0019395 Jy ! Component: 2050 - total flux cleaned = 0.00193941 Jy ! Component: 2100 - total flux cleaned = 0.00195663 Jy ! Component: 2150 - total flux cleaned = 0.00198203 Jy ! Component: 2200 - total flux cleaned = 0.00198191 Jy ! Component: 2250 - total flux cleaned = 0.0019735 Jy ! Component: 2300 - total flux cleaned = 0.00197351 Jy ! Component: 2350 - total flux cleaned = 0.00195728 Jy ! Component: 2400 - total flux cleaned = 0.00197343 Jy ! Component: 2450 - total flux cleaned = 0.00196541 Jy ! Component: 2500 - total flux cleaned = 0.00196535 Jy ! Component: 2550 - total flux cleaned = 0.00196544 Jy ! Component: 2600 - total flux cleaned = 0.00194225 Jy ! Component: 2650 - total flux cleaned = 0.00196523 Jy ! Component: 2700 - total flux cleaned = 0.00197287 Jy ! Component: 2750 - total flux cleaned = 0.00196545 Jy ! Component: 2800 - total flux cleaned = 0.00198783 Jy ! Component: 2850 - total flux cleaned = 0.00197298 Jy ! Component: 2900 - total flux cleaned = 0.00199483 Jy ! Component: 2950 - total flux cleaned = 0.00200202 Jy ! Component: 3000 - total flux cleaned = 0.00199475 Jy ! Component: 3050 - total flux cleaned = 0.0020091 Jy ! Component: 3100 - total flux cleaned = 0.00201615 Jy ! Component: 3150 - total flux cleaned = 0.00203015 Jy ! Component: 3200 - total flux cleaned = 0.0020232 Jy ! Component: 3250 - total flux cleaned = 0.00205093 Jy ! Component: 3300 - total flux cleaned = 0.00205097 Jy ! Component: 3350 - total flux cleaned = 0.00208507 Jy ! Component: 3400 - total flux cleaned = 0.00211204 Jy ! Component: 3450 - total flux cleaned = 0.00211871 Jy ! Component: 3500 - total flux cleaned = 0.00215193 Jy ! Component: 3550 - total flux cleaned = 0.00216508 Jy ! Component: 3600 - total flux cleaned = 0.00217159 Jy ! Component: 3650 - total flux cleaned = 0.00217811 Jy ! Component: 3700 - total flux cleaned = 0.00219746 Jy ! Component: 3750 - total flux cleaned = 0.00221026 Jy ! Component: 3800 - total flux cleaned = 0.00219113 Jy ! Component: 3850 - total flux cleaned = 0.00224183 Jy ! Component: 3900 - total flux cleaned = 0.00222299 Jy ! Component: 3950 - total flux cleaned = 0.00224173 Jy ! Component: 4000 - total flux cleaned = 0.00227893 Jy ! Component: 4050 - total flux cleaned = 0.00228511 Jy ! Total flux subtracted in 4096 components = 0.00227291 Jy ! Clean residual min=-0.000389 max=0.000367 Jy/beam ! Clean residual mean=-0.000000 rms=0.000107 Jy/beam ! Combined flux in latest and established models = 0.0796976 Jy keep ! Adding 276 model components to the UV plane model. ! The established model now contains 375 components and 0.0796976 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp177f_uvs/J2330+4104_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9226 x 2.543 at 18.1 degrees (North through East) ! Clean map min=-0.00074503 max=0.057179 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp177f_uvs/J2330+4104_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0571793 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000105617 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.554133 0.554133 1.10827 2.21653 4.43306 8.86613 17.7323 35.4645 70.929 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.057 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 541.386 quit ! Quitting program ! Log file /d2/scr/pima/bp177f_uvs/J2330+4104_X_uvs.log closed on Fri Mar 21 07:39:55 2014