! Started logfile: /d2/scr/pima/bp177b_uvs/J1158+1821_C_uvs.log on Sat Mar 22 08:09:25 2014 obs /d2/scr/pima/bp177b_uvs/J1158+1821_C_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp177b_uvs/J1158+1821_C_uva.fits ! AN table 1: 4 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.944444 visibilities/baseline/integration-bin. ! Found source: J1158+1821 ! ! 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 1088 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/bp177b_uvs/J1158+1821_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 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.004937Jy sigma=44.939650 ! Fit after self-cal, rms=0.913401Jy sigma=40.808694 ! 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.4 mas, bmaj=3.508 mas, bpa=9.883 degrees ! Estimated noise=0.633243 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.0663173 Jy ! Component: 100 - total flux cleaned = 0.0807847 Jy ! Total flux subtracted in 100 components = 0.0807847 Jy ! Clean residual min=-0.002510 max=0.004739 Jy/beam ! Clean residual mean=0.000001 rms=0.000742 Jy/beam ! Combined flux in latest and established models = 0.0807847 Jy ! Performing phase self-cal ! Adding 2 model components to the UV plane model. ! The established model now contains 2 components and 0.0807847 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.017555Jy sigma=0.760983 ! Fit after self-cal, rms=0.017541Jy sigma=0.760383 ! Inverting map ! Added new window around map position (-2.4, -1.2). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00511028 Jy ! Component: 100 - total flux cleaned = 0.0079778 Jy ! Total flux subtracted in 100 components = 0.0079778 Jy ! Clean residual min=-0.001990 max=0.003059 Jy/beam ! Clean residual mean=0.000001 rms=0.000554 Jy/beam ! Combined flux in latest and established models = 0.0887625 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.0887625 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.015564Jy sigma=0.662314 ! Fit after self-cal, rms=0.015483Jy sigma=0.659772 ! 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.67 mas, bmaj=3.872 mas, bpa=10.08 degrees ! Estimated noise=0.488423 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 (67.2, 9.3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00363652 Jy ! Component: 100 - total flux cleaned = 0.0054951 Jy ! Component: 150 - total flux cleaned = 0.0067497 Jy ! Component: 200 - total flux cleaned = 0.00765167 Jy ! Total flux subtracted in 200 components = 0.00765167 Jy ! Clean residual min=-0.001550 max=0.001985 Jy/beam ! Clean residual mean=0.000002 rms=0.000440 Jy/beam ! Combined flux in latest and established models = 0.0964142 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 41 components and 0.0964142 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.014601Jy sigma=0.617783 ! Fit after self-cal, rms=0.014543Jy sigma=0.614844 ! 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.67 x 3.872 at 10.08 degrees (North through East) ! Clean map min=-0.0013483 max=0.086126 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.02 HN 1.00 LA 1.01 ! MK 1.13 NL 1.07 OV 0.98 PT 0.91 ! SC 1.02 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.14 HN 0.98 LA 1.06 ! MK 1.01 NL 1.08 OV 1.03 PT 0.99 ! SC 0.99 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.09 FD 0.87 HN 0.97 LA 1.02 ! MK 1.00 NL 0.93 OV 1.02 PT 1.00 ! SC 0.97 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 1.07 HN 1.00 LA 1.04 ! MK 1.03 NL 0.98 OV 0.97 PT 1.04 ! SC 1.02 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.02 HN 0.99 LA 1.01 ! MK 1.03 NL 1.00 OV 0.99 PT 0.91 ! SC 1.01 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 0.98 HN 1.02 LA 1.05 ! MK 0.99 NL 1.01 OV 0.95 PT 1.02 ! SC 1.06 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.95 FD 0.91 HN 0.98 LA 0.98 ! MK 0.98 NL 0.97 OV 0.94 PT 0.98 ! SC 0.94 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.95 HN 1.02 LA 0.94 ! MK 0.99 NL 0.95 OV 1.01 PT 0.91 ! SC 0.98 ! ! ! Fit before self-cal, rms=0.014543Jy sigma=0.614844 ! Fit after self-cal, rms=0.012958Jy sigma=0.538731 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.674 mas, bmaj=3.881 mas, bpa=10.13 degrees ! Estimated noise=0.485958 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 (-6.3, -3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00117107 Jy ! Component: 100 - total flux cleaned = 0.00108319 Jy ! Component: 150 - total flux cleaned = 0.000993027 Jy ! Component: 200 - total flux cleaned = 0.000930813 Jy ! Total flux subtracted in 200 components = 0.000930813 Jy ! Clean residual min=-0.001102 max=0.001207 Jy/beam ! Clean residual mean=0.000002 rms=0.000278 Jy/beam ! Combined flux in latest and established models = 0.097345 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 60 components and 0.097345 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.012775Jy sigma=0.528401 ! Fit after self-cal, rms=0.012766Jy sigma=0.527922 ! 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.012766Jy sigma=0.527922 ! Fit after self-cal, rms=0.012708Jy sigma=0.527413 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.671 mas, bmaj=3.878 mas, bpa=10.12 degrees ! Estimated noise=0.484389 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000191673 Jy ! Component: 100 - total flux cleaned = 0.000276129 Jy ! Component: 150 - total flux cleaned = 0.000296067 Jy ! Component: 200 - total flux cleaned = 0.000260854 Jy ! Total flux subtracted in 200 components = 0.000260854 Jy ! Clean residual min=-0.001012 max=0.001131 Jy/beam ! Clean residual mean=0.000002 rms=0.000262 Jy/beam ! Combined flux in latest and established models = 0.0976059 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 72 components and 0.0976059 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.012647Jy sigma=0.524633 ! Fit after self-cal, rms=0.012644Jy sigma=0.524512 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 (-69.9, 61.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00108404 Jy ! Component: 100 - total flux cleaned = 0.00169409 Jy ! Component: 150 - total flux cleaned = 0.00188864 Jy ! Component: 200 - total flux cleaned = 0.00199212 Jy ! Total flux subtracted in 200 components = 0.00199212 Jy ! Clean residual min=-0.000987 max=0.001019 Jy/beam ! Clean residual mean=0.000001 rms=0.000232 Jy/beam ! Combined flux in latest and established models = 0.099598 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 91 components and 0.099598 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.012532Jy sigma=0.519545 ! Fit after self-cal, rms=0.012528Jy sigma=0.519382 ! Inverting map ! Added new window around map position (43.2, 5.7). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000871886 Jy ! Component: 100 - total flux cleaned = 0.000969957 Jy ! Component: 150 - total flux cleaned = 0.00100395 Jy ! Component: 200 - total flux cleaned = 0.00100396 Jy ! Total flux subtracted in 200 components = 0.00100396 Jy ! Clean residual min=-0.000913 max=0.000847 Jy/beam ! Clean residual mean=0.000000 rms=0.000212 Jy/beam ! Combined flux in latest and established models = 0.100602 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 108 components and 0.100602 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.012441Jy sigma=0.515599 ! Fit after self-cal, rms=0.012439Jy sigma=0.515372 ! 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.012439Jy sigma=0.515372 ! Fit after self-cal, rms=0.012402Jy sigma=0.514980 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.671 mas, bmaj=3.878 mas, bpa=10.12 degrees ! Estimated noise=0.483057 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00018687 Jy ! Component: 100 - total flux cleaned = 0.000235348 Jy ! Component: 150 - total flux cleaned = 0.000220762 Jy ! Component: 200 - total flux cleaned = 0.000221075 Jy ! Total flux subtracted in 200 components = 0.000221075 Jy ! Clean residual min=-0.000868 max=0.000811 Jy/beam ! Clean residual mean=0.000000 rms=0.000203 Jy/beam ! Combined flux in latest and established models = 0.100823 Jy selfcal ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 120 components and 0.100823 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.012364Jy sigma=0.513450 ! Fit after self-cal, rms=0.012363Jy sigma=0.513402 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.000160455 Jy ! Component: 100 - total flux cleaned = 0.000146779 Jy ! Component: 150 - total flux cleaned = 0.000133908 Jy ! Component: 200 - total flux cleaned = 0.000133872 Jy ! Total flux subtracted in 200 components = 0.000133872 Jy ! Clean residual min=-0.000856 max=0.000767 Jy/beam ! Clean residual mean=0.000000 rms=0.000197 Jy/beam ! Combined flux in latest and established models = 0.100957 Jy ! Performing phase self-cal ! Adding 34 model components to the UV plane model. ! The established model now contains 127 components and 0.100957 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.012336Jy sigma=0.512354 ! Fit after self-cal, rms=0.012336Jy sigma=0.512327 ! 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.012336Jy sigma=0.512327 ! Fit after self-cal, rms=0.012329Jy sigma=0.512262 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.439 mas, bmaj=5.114 mas, bpa=2.603 degrees ! Estimated noise=0.599699 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.57535e-05 Jy ! Component: 100 - total flux cleaned = -7.07801e-05 Jy ! Component: 150 - total flux cleaned = -0.000118579 Jy ! Component: 200 - total flux cleaned = -0.000162267 Jy ! Total flux subtracted in 200 components = -0.000162267 Jy ! Clean residual min=-0.000749 max=0.000867 Jy/beam ! Clean residual mean=0.000000 rms=0.000206 Jy/beam ! Combined flux in latest and established models = 0.100795 Jy selfcal ! Performing phase self-cal ! Adding 49 model components to the UV plane model. ! The established model now contains 171 components and 0.100795 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.012318Jy sigma=0.511646 ! Fit after self-cal, rms=0.012317Jy sigma=0.511596 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 = 2.92432e-05 Jy ! Component: 100 - total flux cleaned = -2.19416e-05 Jy ! Component: 150 - total flux cleaned = -4.10777e-05 Jy ! Component: 200 - total flux cleaned = -7.7426e-05 Jy ! Total flux subtracted in 200 components = -7.7426e-05 Jy ! Clean residual min=-0.000749 max=0.000812 Jy/beam ! Clean residual mean=0.000000 rms=0.000198 Jy/beam ! Combined flux in latest and established models = 0.100717 Jy ! Performing phase self-cal ! Adding 43 model components to the UV plane model. ! The established model now contains 189 components and 0.100717 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.012310Jy sigma=0.511195 ! Fit after self-cal, rms=0.012310Jy sigma=0.511175 ! 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.671 mas, bmaj=3.878 mas, bpa=10.12 degrees ! Estimated noise=0.482698 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.671 x 3.878 at 10.12 degrees (North through East) ! Clean map min=-0.00078809 max=0.085661 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.4 mas, bmaj=3.515 mas, bpa=9.905 degrees ! Estimated noise=0.626855 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0656329 Jy ! Component: 100 - total flux cleaned = 0.080035 Jy ! Component: 150 - total flux cleaned = 0.0852381 Jy ! Component: 200 - total flux cleaned = 0.0884746 Jy ! Total flux subtracted in 200 components = 0.0884746 Jy ! Clean residual min=-0.001561 max=0.001793 Jy/beam ! Clean residual mean=0.000000 rms=0.000422 Jy/beam ! Combined flux in latest and established models = 0.0884746 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 11 model components to the UV plane model. ! The established model now contains 11 components and 0.0884746 Jy ! Inverting map and beam ! Estimated beam: bmin=1.671 mas, bmaj=3.878 mas, bpa=10.12 degrees ! Estimated noise=0.482698 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00332356 Jy ! Component: 100 - total flux cleaned = 0.0053828 Jy ! Component: 150 - total flux cleaned = 0.00692351 Jy ! Component: 200 - total flux cleaned = 0.00817277 Jy ! Total flux subtracted in 200 components = 0.00817277 Jy ! Clean residual min=-0.001059 max=0.001174 Jy/beam ! Clean residual mean=0.000001 rms=0.000289 Jy/beam ! Combined flux in latest and established models = 0.0966474 Jy ! Adding 39 model components to the UV plane model. ! The established model now contains 48 components and 0.0966474 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.439 mas, bmaj=5.114 mas, bpa=2.603 degrees ! Estimated noise=0.599699 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00159023 Jy ! Component: 100 - total flux cleaned = 0.00227561 Jy ! Component: 150 - total flux cleaned = 0.00282205 Jy ! Component: 200 - total flux cleaned = 0.0032126 Jy ! Total flux subtracted in 200 components = 0.0032126 Jy ! Clean residual min=-0.000907 max=0.000953 Jy/beam ! Clean residual mean=0.000002 rms=0.000246 Jy/beam ! Combined flux in latest and established models = 0.09986 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.000323948 Jy ! Component: 100 - total flux cleaned = 0.000514616 Jy ! Component: 150 - total flux cleaned = 0.00065161 Jy ! Component: 200 - total flux cleaned = 0.00073364 Jy ! Total flux subtracted in 200 components = 0.00073364 Jy ! Clean residual min=-0.000823 max=0.000828 Jy/beam ! Clean residual mean=0.000001 rms=0.000215 Jy/beam ! Combined flux in latest and established models = 0.100594 Jy ! Adding 98 model components to the UV plane model. ! The established model now contains 139 components and 0.100594 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.671 mas, bmaj=3.878 mas, bpa=10.12 degrees ! Estimated noise=0.482698 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000266811 Jy ! Component: 100 - total flux cleaned = 0.000395362 Jy ! Component: 150 - total flux cleaned = 0.000492376 Jy ! Component: 200 - total flux cleaned = 0.000546316 Jy ! Total flux subtracted in 200 components = 0.000546316 Jy ! Clean residual min=-0.000947 max=0.000835 Jy/beam ! Clean residual mean=0.000000 rms=0.000210 Jy/beam ! Combined flux in latest and established models = 0.10114 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 164 components and 0.10114 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.012420Jy sigma=0.515815 ! Fit after self-cal, rms=0.012412Jy sigma=0.515295 wmodel /d2/scr/pima/bp177b_uvs/J1158+1821_C_map.mod ! Writing 164 model components to file: /d2/scr/pima/bp177b_uvs/J1158+1821_C_map.mod wobs /d2/scr/pima/bp177b_uvs/J1158+1821_C_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp177b_uvs/J1158+1821_C_uvs.fits wwins /d2/scr/pima/bp177b_uvs/J1158+1821_C_map.win ! wwins: Wrote 6 windows to /d2/scr/pima/bp177b_uvs/J1158+1821_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 = -0.000335497 Jy ! Component: 100 - total flux cleaned = -0.000469116 Jy ! Component: 150 - total flux cleaned = -0.000580855 Jy ! Component: 200 - total flux cleaned = -0.000621455 Jy ! Component: 250 - total flux cleaned = -0.000596099 Jy ! Component: 300 - total flux cleaned = -0.000546451 Jy ! Component: 350 - total flux cleaned = -0.000522347 Jy ! Component: 400 - total flux cleaned = -0.000487383 Jy ! Component: 450 - total flux cleaned = -0.00048765 Jy ! Component: 500 - total flux cleaned = -0.000420442 Jy ! Component: 550 - total flux cleaned = -0.000321928 Jy ! Component: 600 - total flux cleaned = -0.000279263 Jy ! Component: 650 - total flux cleaned = -0.000237038 Jy ! Component: 700 - total flux cleaned = -0.000185154 Jy ! Component: 750 - total flux cleaned = -0.000154596 Jy ! Component: 800 - total flux cleaned = -9.48835e-05 Jy ! Component: 850 - total flux cleaned = -8.51015e-05 Jy ! Component: 900 - total flux cleaned = -3.68597e-05 Jy ! Component: 950 - total flux cleaned = -1.80196e-05 Jy ! Component: 1000 - total flux cleaned = -8.65557e-06 Jy ! Component: 1050 - total flux cleaned = 3.71312e-05 Jy ! Component: 1100 - total flux cleaned = 5.50495e-05 Jy ! Component: 1150 - total flux cleaned = 6.39743e-05 Jy ! Component: 1200 - total flux cleaned = 9.04346e-05 Jy ! Component: 1250 - total flux cleaned = 0.000124885 Jy ! Component: 1300 - total flux cleaned = 0.000125073 Jy ! Component: 1350 - total flux cleaned = 0.000133645 Jy ! Component: 1400 - total flux cleaned = 0.000158712 Jy ! Component: 1450 - total flux cleaned = 0.000175038 Jy ! Component: 1500 - total flux cleaned = 0.000191224 Jy ! Component: 1550 - total flux cleaned = 0.000215065 Jy ! Component: 1600 - total flux cleaned = 0.00019129 Jy ! Component: 1650 - total flux cleaned = 0.000206905 Jy ! Component: 1700 - total flux cleaned = 0.000222225 Jy ! Component: 1750 - total flux cleaned = 0.000229815 Jy ! Component: 1800 - total flux cleaned = 0.000237415 Jy ! Component: 1850 - total flux cleaned = 0.000252328 Jy ! Component: 1900 - total flux cleaned = 0.000274234 Jy ! Component: 1950 - total flux cleaned = 0.000281409 Jy ! Component: 2000 - total flux cleaned = 0.000288584 Jy ! Component: 2050 - total flux cleaned = 0.000323888 Jy ! Component: 2100 - total flux cleaned = 0.000344838 Jy ! Component: 2150 - total flux cleaned = 0.000365591 Jy ! Component: 2200 - total flux cleaned = 0.000386074 Jy ! Component: 2250 - total flux cleaned = 0.000399653 Jy ! Component: 2300 - total flux cleaned = 0.00040638 Jy ! Component: 2350 - total flux cleaned = 0.000432986 Jy ! Component: 2400 - total flux cleaned = 0.000446175 Jy ! Component: 2450 - total flux cleaned = 0.000472254 Jy ! Component: 2500 - total flux cleaned = 0.000491552 Jy ! Component: 2550 - total flux cleaned = 0.000517118 Jy ! Component: 2600 - total flux cleaned = 0.000523384 Jy ! Component: 2650 - total flux cleaned = 0.000523395 Jy ! Component: 2700 - total flux cleaned = 0.000542072 Jy ! Component: 2750 - total flux cleaned = 0.000572744 Jy ! Component: 2800 - total flux cleaned = 0.000566604 Jy ! Component: 2850 - total flux cleaned = 0.000566576 Jy ! Component: 2900 - total flux cleaned = 0.000578526 Jy ! Component: 2950 - total flux cleaned = 0.000560726 Jy ! Component: 3000 - total flux cleaned = 0.000548986 Jy ! Component: 3050 - total flux cleaned = 0.000548957 Jy ! Component: 3100 - total flux cleaned = 0.00053735 Jy ! Component: 3150 - total flux cleaned = 0.000543042 Jy ! Component: 3200 - total flux cleaned = 0.000514499 Jy ! Component: 3250 - total flux cleaned = 0.000497559 Jy ! Component: 3300 - total flux cleaned = 0.000503126 Jy ! Component: 3350 - total flux cleaned = 0.00049199 Jy ! Component: 3400 - total flux cleaned = 0.000491944 Jy ! Component: 3450 - total flux cleaned = 0.000469879 Jy ! Component: 3500 - total flux cleaned = 0.000480867 Jy ! Component: 3550 - total flux cleaned = 0.000475482 Jy ! Component: 3600 - total flux cleaned = 0.000470125 Jy ! Component: 3650 - total flux cleaned = 0.000480802 Jy ! Component: 3700 - total flux cleaned = 0.000459556 Jy ! Component: 3750 - total flux cleaned = 0.000464871 Jy ! Component: 3800 - total flux cleaned = 0.000459629 Jy ! Component: 3850 - total flux cleaned = 0.000459657 Jy ! Component: 3900 - total flux cleaned = 0.000454498 Jy ! Component: 3950 - total flux cleaned = 0.000464751 Jy ! Component: 4000 - total flux cleaned = 0.000459642 Jy ! Component: 4050 - total flux cleaned = 0.000459667 Jy ! Total flux subtracted in 4096 components = 0.000464744 Jy ! Clean residual min=-0.000262 max=0.000269 Jy/beam ! Clean residual mean=-0.000000 rms=0.000088 Jy/beam ! Combined flux in latest and established models = 0.101605 Jy keep ! Adding 262 model components to the UV plane model. ! The established model now contains 426 components and 0.101605 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp177b_uvs/J1158+1821_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.671 x 3.878 at 10.12 degrees (North through East) ! Clean map min=-0.00074004 max=0.085607 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp177b_uvs/J1158+1821_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0856075 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 8.61781e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.302 0.302 0.604 1.208 2.416 4.832 9.664 19.328 38.656 77.312 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0002 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.085 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 993.377 quit ! Quitting program ! Log file /d2/scr/pima/bp177b_uvs/J1158+1821_C_uvs.log closed on Sat Mar 22 08:09:30 2014