! Started logfile: /scr/pima/bp177a_uvs/J1309+4047_C_uvs.log on Fri Feb 7 04:28:18 2014 obs /scr/pima/bp177a_uvs/J1309+4047_C_uva.fits ! Reading UV FITS file: /scr/pima/bp177a_uvs/J1309+4047_C_uva.fits ! AN table 1: 4 integrations on 28 of 28 possible baselines. ! Apparent sampling: 0.857143 visibilities/baseline/integration-bin. ! Found source: J1309+4047 ! ! 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 768 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 /scr/pima/bp177a_uvs/J1309+4047_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 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.037871Jy sigma=42.685166 ! Fit after self-cal, rms=1.005607Jy sigma=41.005548 ! 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.382 mas, bmaj=4.138 mas, bpa=29.72 degrees ! Estimated noise=0.841088 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.0241304 Jy ! Component: 100 - total flux cleaned = 0.0351091 Jy ! Total flux subtracted in 100 components = 0.0351091 Jy ! Clean residual min=-0.008056 max=0.012181 Jy/beam ! Clean residual mean=0.000019 rms=0.002409 Jy/beam ! Combined flux in latest and established models = 0.0351091 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 16 components and 0.0351091 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.296260Jy sigma=1.728148 ! Fit after self-cal, rms=0.296158Jy sigma=1.668293 ! 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.755 mas, bmaj=4.368 mas, bpa=26.89 degrees ! Estimated noise=0.630108 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.0160149 Jy ! Component: 100 - total flux cleaned = 0.0261286 Jy ! Component: 150 - total flux cleaned = 0.0335109 Jy ! Component: 200 - total flux cleaned = 0.0390914 Jy ! Total flux subtracted in 200 components = 0.0390914 Jy ! Clean residual min=-0.007222 max=0.012075 Jy/beam ! Clean residual mean=0.000014 rms=0.002305 Jy/beam ! Combined flux in latest and established models = 0.0742004 Jy ! Performing phase self-cal ! Adding 74 model components to the UV plane model. ! The established model now contains 87 components and 0.0742004 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.295855Jy sigma=1.322027 ! Fit after self-cal, rms=0.295800Jy sigma=1.320297 ! 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.755 x 4.368 at 26.89 degrees (North through East) ! Clean map min=-0.0069814 max=0.042765 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* 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* 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* 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* 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* 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* 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* 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* OV 1.00* PT 1.00* SC 1.00* ! ! ! Fit before self-cal, rms=0.295800Jy sigma=1.320297 ! Fit after self-cal, rms=0.295800Jy sigma=1.320297 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.755 mas, bmaj=4.368 mas, bpa=26.89 degrees ! Estimated noise=0.630108 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 (19.2, -49.5). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0106893 Jy ! Component: 100 - total flux cleaned = 0.0149446 Jy ! Component: 150 - total flux cleaned = 0.0169804 Jy ! Component: 200 - total flux cleaned = 0.0187436 Jy ! Total flux subtracted in 200 components = 0.0187436 Jy ! Clean residual min=-0.006465 max=0.008852 Jy/beam ! Clean residual mean=0.000003 rms=0.001580 Jy/beam ! Combined flux in latest and established models = 0.092944 Jy ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 117 components and 0.092944 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.295789Jy sigma=1.133311 ! Fit after self-cal, rms=0.295678Jy sigma=1.112237 ! 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.295678Jy sigma=1.112237 ! Fit after self-cal, rms=0.295678Jy sigma=1.112237 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.755 mas, bmaj=4.368 mas, bpa=26.89 degrees ! Estimated noise=0.630108 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00285031 Jy ! Component: 100 - total flux cleaned = 0.00400877 Jy ! Component: 150 - total flux cleaned = 0.00481073 Jy ! Component: 200 - total flux cleaned = 0.00526928 Jy ! Total flux subtracted in 200 components = 0.00526928 Jy ! Clean residual min=-0.005533 max=0.006211 Jy/beam ! Clean residual mean=-0.000001 rms=0.001344 Jy/beam ! Combined flux in latest and established models = 0.0982132 Jy selfcal ! Performing phase self-cal ! Adding 41 model components to the UV plane model. ! The established model now contains 149 components and 0.0982132 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.295716Jy sigma=1.066922 ! Fit after self-cal, rms=0.295685Jy sigma=1.063011 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 (29.1, -68.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00394197 Jy ! Component: 100 - total flux cleaned = 0.00398062 Jy ! Component: 150 - total flux cleaned = 0.00397934 Jy ! Component: 200 - total flux cleaned = 0.00417434 Jy ! Total flux subtracted in 200 components = 0.00417434 Jy ! Clean residual min=-0.005288 max=0.005295 Jy/beam ! Clean residual mean=-0.000001 rms=0.001104 Jy/beam ! Combined flux in latest and established models = 0.102388 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 179 components and 0.102388 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.295396Jy sigma=0.990254 ! Fit after self-cal, rms=0.295560Jy sigma=0.980525 ! Inverting map ! Added new window around map position (-35.1, 74.1). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0010976 Jy ! Component: 100 - total flux cleaned = 0.00109797 Jy ! Component: 150 - total flux cleaned = 0.0012994 Jy ! Component: 200 - total flux cleaned = 0.00138485 Jy ! Total flux subtracted in 200 components = 0.00138485 Jy ! Clean residual min=-0.003949 max=0.004287 Jy/beam ! Clean residual mean=-0.000002 rms=0.000909 Jy/beam ! Combined flux in latest and established models = 0.103772 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 208 components and 0.103772 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.295362Jy sigma=0.928446 ! Fit after self-cal, rms=0.295461Jy sigma=0.923743 ! Inverting map ! Added new window around map position (-59.1, -44.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00184205 Jy ! Component: 100 - total flux cleaned = 0.00184197 Jy ! Component: 150 - total flux cleaned = 0.00167102 Jy ! Component: 200 - total flux cleaned = 0.00159122 Jy ! Total flux subtracted in 200 components = 0.00159122 Jy ! Clean residual min=-0.003603 max=0.003775 Jy/beam ! Clean residual mean=-0.000003 rms=0.000792 Jy/beam ! Combined flux in latest and established models = 0.105364 Jy ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 235 components and 0.105364 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.295348Jy sigma=0.886715 ! Fit after self-cal, rms=0.295405Jy sigma=0.883833 ! 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.295405Jy sigma=0.883833 ! Fit after self-cal, rms=0.295405Jy sigma=0.883833 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.755 mas, bmaj=4.368 mas, bpa=26.89 degrees ! Estimated noise=0.630108 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000732999 Jy ! Component: 100 - total flux cleaned = 0.000659116 Jy ! Component: 150 - total flux cleaned = 0.00072661 Jy ! Component: 200 - total flux cleaned = 0.000848334 Jy ! Total flux subtracted in 200 components = 0.000848334 Jy ! Clean residual min=-0.003245 max=0.003149 Jy/beam ! Clean residual mean=-0.000003 rms=0.000733 Jy/beam ! Combined flux in latest and established models = 0.106212 Jy selfcal ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 249 components and 0.106212 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.295323Jy sigma=0.866149 ! Fit after self-cal, rms=0.295360Jy sigma=0.865225 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.000445313 Jy ! Component: 100 - total flux cleaned = 0.000501946 Jy ! Component: 150 - total flux cleaned = 0.000553707 Jy ! Component: 200 - total flux cleaned = 0.000654706 Jy ! Total flux subtracted in 200 components = 0.000654706 Jy ! Clean residual min=-0.002964 max=0.002951 Jy/beam ! Clean residual mean=-0.000003 rms=0.000697 Jy/beam ! Combined flux in latest and established models = 0.106867 Jy ! Performing phase self-cal ! Adding 41 model components to the UV plane model. ! The established model now contains 262 components and 0.106867 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.295315Jy sigma=0.853524 ! Fit after self-cal, rms=0.295334Jy sigma=0.853097 ! 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.295334Jy sigma=0.853097 ! Fit after self-cal, rms=0.259507Jy sigma=0.847765 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.324 mas, bmaj=5.07 mas, bpa=29.32 degrees ! Estimated noise=0.803868 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000594002 Jy ! Component: 100 - total flux cleaned = -0.00054768 Jy ! Component: 150 - total flux cleaned = -0.000591026 Jy ! Component: 200 - total flux cleaned = -0.000515561 Jy ! Total flux subtracted in 200 components = -0.000515561 Jy ! Clean residual min=-0.002166 max=0.002184 Jy/beam ! Clean residual mean=-0.000006 rms=0.000586 Jy/beam ! Combined flux in latest and established models = 0.106351 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 286 components and 0.106351 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.259482Jy sigma=0.840344 ! Fit after self-cal, rms=0.259498Jy sigma=0.840057 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -4.04383e-05 Jy ! Component: 100 - total flux cleaned = 3.15661e-05 Jy ! Component: 150 - total flux cleaned = 9.81233e-05 Jy ! Component: 200 - total flux cleaned = 9.77881e-05 Jy ! Total flux subtracted in 200 components = 9.77881e-05 Jy ! Clean residual min=-0.001963 max=0.002125 Jy/beam ! Clean residual mean=-0.000006 rms=0.000550 Jy/beam ! Combined flux in latest and established models = 0.106449 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 303 components and 0.106449 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.259502Jy sigma=0.835987 ! Fit after self-cal, rms=0.259510Jy sigma=0.835814 ! 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.757 mas, bmaj=4.374 mas, bpa=26.92 degrees ! Estimated noise=0.631235 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.757 x 4.374 at 26.92 degrees (North through East) ! Clean map min=-0.0060559 max=0.038137 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.382 mas, bmaj=4.142 mas, bpa=29.74 degrees ! Estimated noise=0.842585 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0258391 Jy ! Component: 100 - total flux cleaned = 0.0398549 Jy ! Component: 150 - total flux cleaned = 0.0507363 Jy ! Component: 200 - total flux cleaned = 0.0595989 Jy ! Total flux subtracted in 200 components = 0.0595989 Jy ! Clean residual min=-0.005655 max=0.008749 Jy/beam ! Clean residual mean=0.000013 rms=0.001763 Jy/beam ! Combined flux in latest and established models = 0.0595989 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 35 model components to the UV plane model. ! The established model now contains 35 components and 0.0595989 Jy ! Inverting map and beam ! Estimated beam: bmin=1.757 mas, bmaj=4.374 mas, bpa=26.92 degrees ! Estimated noise=0.631235 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 (21.3, -22.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0137294 Jy ! Component: 100 - total flux cleaned = 0.0229962 Jy ! Component: 150 - total flux cleaned = 0.029902 Jy ! Component: 200 - total flux cleaned = 0.0352878 Jy ! Total flux subtracted in 200 components = 0.0352878 Jy ! Clean residual min=-0.004355 max=0.006349 Jy/beam ! Clean residual mean=0.000006 rms=0.001278 Jy/beam ! Combined flux in latest and established models = 0.0948867 Jy ! Adding 63 model components to the UV plane model. ! The established model now contains 92 components and 0.0948867 Jy ! Inverting map ! Added new window around map position (-19.2, 48.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00523336 Jy ! Component: 100 - total flux cleaned = 0.007043 Jy ! Component: 150 - total flux cleaned = 0.00874318 Jy ! Component: 200 - total flux cleaned = 0.0100237 Jy ! Total flux subtracted in 200 components = 0.0100237 Jy ! Clean residual min=-0.003087 max=0.003390 Jy/beam ! Clean residual mean=0.000000 rms=0.000843 Jy/beam ! Combined flux in latest and established models = 0.10491 Jy ! Adding 51 model components to the UV plane model. ! The established model now contains 138 components and 0.10491 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.324 mas, bmaj=5.07 mas, bpa=29.32 degrees ! Estimated noise=0.803868 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00390554 Jy ! Component: 100 - total flux cleaned = 0.00528521 Jy ! Component: 150 - total flux cleaned = 0.00614792 Jy ! Component: 200 - total flux cleaned = 0.00644495 Jy ! Total flux subtracted in 200 components = 0.00644495 Jy ! Clean residual min=-0.002552 max=0.002543 Jy/beam ! Clean residual mean=-0.000007 rms=0.000681 Jy/beam ! Combined flux in latest and established models = 0.111355 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.000319533 Jy ! Component: 100 - total flux cleaned = 0.000375409 Jy ! Component: 150 - total flux cleaned = 0.000427794 Jy ! Component: 200 - total flux cleaned = 0.000524657 Jy ! Total flux subtracted in 200 components = 0.000524657 Jy ! Clean residual min=-0.002091 max=0.002236 Jy/beam ! Clean residual mean=-0.000009 rms=0.000589 Jy/beam ! Combined flux in latest and established models = 0.11188 Jy ! Adding 91 model components to the UV plane model. ! The established model now contains 221 components and 0.11188 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.757 mas, bmaj=4.374 mas, bpa=26.92 degrees ! Estimated noise=0.631235 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000365811 Jy ! Component: 100 - total flux cleaned = -0.00022002 Jy ! Component: 150 - total flux cleaned = -0.000218112 Jy ! Component: 200 - total flux cleaned = -9.16242e-05 Jy ! Total flux subtracted in 200 components = -9.16242e-05 Jy ! Clean residual min=-0.002610 max=0.002608 Jy/beam ! Clean residual mean=-0.000004 rms=0.000600 Jy/beam ! Combined flux in latest and established models = 0.111788 Jy selfcal ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 250 components and 0.111788 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.259505Jy sigma=0.826415 ! Fit after self-cal, rms=0.259542Jy sigma=0.820594 wmodel /scr/pima/bp177a_uvs/J1309+4047_C_map.mod ! Writing 250 model components to file: /scr/pima/bp177a_uvs/J1309+4047_C_map.mod wobs /scr/pima/bp177a_uvs/J1309+4047_C_uvs.fits ! Writing UV FITS file: /scr/pima/bp177a_uvs/J1309+4047_C_uvs.fits wwins /scr/pima/bp177a_uvs/J1309+4047_C_map.win ! wwins: Wrote 7 windows to /scr/pima/bp177a_uvs/J1309+4047_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 = 7.43401e-05 Jy ! Component: 100 - total flux cleaned = -0.00025715 Jy ! Component: 150 - total flux cleaned = -0.000257756 Jy ! Component: 200 - total flux cleaned = -0.000183897 Jy ! Component: 250 - total flux cleaned = -0.000148896 Jy ! Component: 300 - total flux cleaned = 2.1136e-05 Jy ! Component: 350 - total flux cleaned = 0.000120168 Jy ! Component: 400 - total flux cleaned = 0.000248497 Jy ! Component: 450 - total flux cleaned = 0.000495961 Jy ! Component: 500 - total flux cleaned = 0.00055541 Jy ! Component: 550 - total flux cleaned = 0.000614039 Jy ! Component: 600 - total flux cleaned = 0.000671467 Jy ! Component: 650 - total flux cleaned = 0.000671586 Jy ! Component: 700 - total flux cleaned = 0.00075385 Jy ! Component: 750 - total flux cleaned = 0.000833907 Jy ! Component: 800 - total flux cleaned = 0.000886137 Jy ! Component: 850 - total flux cleaned = 0.000937256 Jy ! Component: 900 - total flux cleaned = 0.00101287 Jy ! Component: 950 - total flux cleaned = 0.00111155 Jy ! Component: 1000 - total flux cleaned = 0.00115946 Jy ! Component: 1050 - total flux cleaned = 0.00118312 Jy ! Component: 1100 - total flux cleaned = 0.00127621 Jy ! Component: 1150 - total flux cleaned = 0.00136781 Jy ! Component: 1200 - total flux cleaned = 0.00143525 Jy ! Component: 1250 - total flux cleaned = 0.0015017 Jy ! Component: 1300 - total flux cleaned = 0.00163141 Jy ! Component: 1350 - total flux cleaned = 0.00163119 Jy ! Component: 1400 - total flux cleaned = 0.00163117 Jy ! Component: 1450 - total flux cleaned = 0.00171379 Jy ! Component: 1500 - total flux cleaned = 0.0017136 Jy ! Component: 1550 - total flux cleaned = 0.00173356 Jy ! Component: 1600 - total flux cleaned = 0.00171323 Jy ! Component: 1650 - total flux cleaned = 0.00169343 Jy ! Component: 1700 - total flux cleaned = 0.00171262 Jy ! Component: 1750 - total flux cleaned = 0.00159798 Jy ! Component: 1800 - total flux cleaned = 0.00161741 Jy ! Component: 1850 - total flux cleaned = 0.00158043 Jy ! Component: 1900 - total flux cleaned = 0.00156209 Jy ! Component: 1950 - total flux cleaned = 0.00152569 Jy ! Component: 2000 - total flux cleaned = 0.00148993 Jy ! Component: 2050 - total flux cleaned = 0.001472 Jy ! Component: 2100 - total flux cleaned = 0.00148972 Jy ! Component: 2150 - total flux cleaned = 0.00142009 Jy ! Component: 2200 - total flux cleaned = 0.00142001 Jy ! Component: 2250 - total flux cleaned = 0.00135203 Jy ! Component: 2300 - total flux cleaned = 0.00131839 Jy ! Component: 2350 - total flux cleaned = 0.00126843 Jy ! Component: 2400 - total flux cleaned = 0.00128489 Jy ! Component: 2450 - total flux cleaned = 0.00125206 Jy ! Component: 2500 - total flux cleaned = 0.00118716 Jy ! Component: 2550 - total flux cleaned = 0.00115514 Jy ! Component: 2600 - total flux cleaned = 0.0011553 Jy ! Component: 2650 - total flux cleaned = 0.0011394 Jy ! Component: 2700 - total flux cleaned = 0.00113947 Jy ! Component: 2750 - total flux cleaned = 0.00112397 Jy ! Component: 2800 - total flux cleaned = 0.00112392 Jy ! Component: 2850 - total flux cleaned = 0.00109343 Jy ! Component: 2900 - total flux cleaned = 0.00109344 Jy ! Component: 2950 - total flux cleaned = 0.00107849 Jy ! Component: 3000 - total flux cleaned = 0.0011084 Jy ! Component: 3050 - total flux cleaned = 0.00109353 Jy ! Component: 3100 - total flux cleaned = 0.00112296 Jy ! Component: 3150 - total flux cleaned = 0.00113749 Jy ! Component: 3200 - total flux cleaned = 0.00112296 Jy ! Component: 3250 - total flux cleaned = 0.00112315 Jy ! Component: 3300 - total flux cleaned = 0.00112326 Jy ! Component: 3350 - total flux cleaned = 0.00112327 Jy ! Component: 3400 - total flux cleaned = 0.0010948 Jy ! Component: 3450 - total flux cleaned = 0.00109476 Jy ! Component: 3500 - total flux cleaned = 0.00102471 Jy ! Component: 3550 - total flux cleaned = 0.00101082 Jy ! Component: 3600 - total flux cleaned = 0.000969235 Jy ! Component: 3650 - total flux cleaned = 0.000983003 Jy ! Component: 3700 - total flux cleaned = 0.000927988 Jy ! Component: 3750 - total flux cleaned = 0.000873182 Jy ! Component: 3800 - total flux cleaned = 0.000832338 Jy ! Component: 3850 - total flux cleaned = 0.000805254 Jy ! Component: 3900 - total flux cleaned = 0.000751242 Jy ! Component: 3950 - total flux cleaned = 0.000710908 Jy ! Component: 4000 - total flux cleaned = 0.00061729 Jy ! Component: 4050 - total flux cleaned = 0.00059068 Jy ! Total flux subtracted in 4096 components = 0.000577419 Jy ! Clean residual min=-0.000816 max=0.000687 Jy/beam ! Clean residual mean=-0.000002 rms=0.000237 Jy/beam ! Combined flux in latest and established models = 0.112366 Jy keep ! Adding 253 model components to the UV plane model. ! The established model now contains 503 components and 0.112366 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bp177a_uvs/J1309+4047_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.757 x 4.374 at 26.92 degrees (North through East) ! Clean map min=-0.0036908 max=0.030297 Jy/beam ! Writing clean map to FITS file: /scr/pima/bp177a_uvs/J1309+4047_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0302972 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000236406 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -2.34087 2.34087 4.68175 9.36349 18.727 37.454 74.9079 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0007 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.03 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 128.157 quit ! Quitting program ! Log file /scr/pima/bp177a_uvs/J1309+4047_C_uvs.log closed on Fri Feb 7 04:28:22 2014