! Started logfile: /d2/scr/pima/bp177h_uvs/J1608+0041_C_uvs.log on Sun Mar 30 00:50:43 2014 obs /d2/scr/pima/bp177h_uvs/J1608+0041_C_uva.fits ! Reading UV FITS file: /d2/scr/pima/bp177h_uvs/J1608+0041_C_uva.fits ! AN table 1: 5 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.817778 visibilities/baseline/integration-bin. ! Found source: J1608+0041 ! ! 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 1472 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/bp177h_uvs/J1608+0041_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 5 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 5 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 5 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 5 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 5 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 5 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 5 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 5 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=0.999733Jy sigma=42.672191 ! Fit after self-cal, rms=0.942920Jy sigma=40.288877 ! 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.387 mas, bmaj=3.442 mas, bpa=0.05641 degrees ! Estimated noise=0.634838 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.0386124 Jy ! Component: 100 - total flux cleaned = 0.0507647 Jy ! Total flux subtracted in 100 components = 0.0507647 Jy ! Clean residual min=-0.004221 max=0.005761 Jy/beam ! Clean residual mean=-0.000002 rms=0.000901 Jy/beam ! Combined flux in latest and established models = 0.0507647 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.0507647 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.023075Jy sigma=0.890551 ! Fit after self-cal, rms=0.023015Jy sigma=0.888168 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0068254 Jy ! Component: 100 - total flux cleaned = 0.0107948 Jy ! Total flux subtracted in 100 components = 0.0107948 Jy ! Clean residual min=-0.003709 max=0.004269 Jy/beam ! Clean residual mean=-0.000000 rms=0.000679 Jy/beam ! Combined flux in latest and established models = 0.0615595 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 15 components and 0.0615595 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.019267Jy sigma=0.724944 ! Fit after self-cal, rms=0.019235Jy sigma=0.723417 ! Inverting map ! Added new window around map position (-2.4, 0.9). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00395585 Jy ! Component: 100 - total flux cleaned = 0.00560363 Jy ! Total flux subtracted in 100 components = 0.00560363 Jy ! Clean residual min=-0.003356 max=0.003076 Jy/beam ! Clean residual mean=0.000001 rms=0.000589 Jy/beam ! Combined flux in latest and established models = 0.0671631 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 25 components and 0.0671631 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.018006Jy sigma=0.671614 ! Fit after self-cal, rms=0.017949Jy sigma=0.669736 ! 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.833 mas, bmaj=4.152 mas, bpa=-3.312 degrees ! Estimated noise=0.440675 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.0031368 Jy ! Component: 100 - total flux cleaned = 0.00491384 Jy ! Component: 150 - total flux cleaned = 0.00570863 Jy ! Component: 200 - total flux cleaned = 0.00600189 Jy ! Total flux subtracted in 200 components = 0.00600189 Jy ! Clean residual min=-0.002350 max=0.002465 Jy/beam ! Clean residual mean=0.000001 rms=0.000498 Jy/beam ! Combined flux in latest and established models = 0.073165 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 37 components and 0.073165 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.017241Jy sigma=0.645798 ! Fit after self-cal, rms=0.017193Jy sigma=0.644035 ! 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.833 x 4.152 at -3.312 degrees (North through East) ! Clean map min=-0.0019414 max=0.054693 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 0.89 FD 1.01 HN 0.95 KP 0.89 ! LA 1.04 MK 0.98 NL 1.05 OV 1.01 ! PT 0.84 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 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 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 1.12 HN 0.94 KP 0.97 ! LA 1.07 MK 0.97 NL 1.00 OV 0.91 ! PT 1.05 SC 0.95 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.00 HN 1.00 KP 1.02 ! LA 1.05 MK 1.08 NL 1.07 OV 1.00 ! PT 0.95 SC 1.00 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.04 HN 1.01 KP 1.02 ! LA 1.08 MK 0.94 NL 1.01 OV 1.00 ! PT 1.00 SC 1.08 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 0.94 HN 0.98 KP 0.93 ! LA 1.04 MK 1.01 NL 1.05 OV 0.97 ! PT 1.01 SC 0.97 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.02 HN 1.06 KP 1.04 ! LA 1.05 MK 1.09 NL 1.03 OV 1.02 ! PT 0.91 SC 1.01 ! ! ! Fit before self-cal, rms=0.017193Jy sigma=0.644035 ! Fit after self-cal, rms=0.016600Jy sigma=0.618469 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.835 mas, bmaj=4.152 mas, bpa=-3.21 degrees ! Estimated noise=0.441993 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, 2.7). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00207559 Jy ! Component: 100 - total flux cleaned = 0.00260866 Jy ! Component: 150 - total flux cleaned = 0.0030256 Jy ! Component: 200 - total flux cleaned = 0.00337196 Jy ! Total flux subtracted in 200 components = 0.00337196 Jy ! Clean residual min=-0.001570 max=0.001494 Jy/beam ! Clean residual mean=0.000001 rms=0.000343 Jy/beam ! Combined flux in latest and established models = 0.076537 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 54 components and 0.076537 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.016248Jy sigma=0.603169 ! Fit after self-cal, rms=0.016223Jy sigma=0.602000 ! 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.016223Jy sigma=0.602000 ! Fit after self-cal, rms=0.016235Jy sigma=0.601494 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.836 mas, bmaj=4.15 mas, bpa=-3.143 degrees ! Estimated noise=0.443148 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000813452 Jy ! Component: 100 - total flux cleaned = 0.00113911 Jy ! Component: 150 - total flux cleaned = 0.00126746 Jy ! Component: 200 - total flux cleaned = 0.00136061 Jy ! Total flux subtracted in 200 components = 0.00136061 Jy ! Clean residual min=-0.001551 max=0.001393 Jy/beam ! Clean residual mean=0.000001 rms=0.000332 Jy/beam ! Combined flux in latest and established models = 0.0778976 Jy selfcal ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 64 components and 0.0778976 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.016129Jy sigma=0.597749 ! Fit after self-cal, rms=0.016119Jy sigma=0.597417 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.000262669 Jy ! Component: 100 - total flux cleaned = 0.0003275 Jy ! Component: 150 - total flux cleaned = 0.000385798 Jy ! Component: 200 - total flux cleaned = 0.000386122 Jy ! Total flux subtracted in 200 components = 0.000386122 Jy ! Clean residual min=-0.001493 max=0.001327 Jy/beam ! Clean residual mean=0.000001 rms=0.000325 Jy/beam ! Combined flux in latest and established models = 0.0782837 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 75 components and 0.0782837 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.016065Jy sigma=0.595366 ! Fit after self-cal, rms=0.016059Jy sigma=0.595220 ! 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.016059Jy sigma=0.595220 ! Fit after self-cal, rms=0.016113Jy sigma=0.594840 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.836 mas, bmaj=4.15 mas, bpa=-3.096 degrees ! Estimated noise=0.445593 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000516104 Jy ! Component: 100 - total flux cleaned = 0.000675485 Jy ! Component: 150 - total flux cleaned = 0.000745525 Jy ! Component: 200 - total flux cleaned = 0.000777704 Jy ! Total flux subtracted in 200 components = 0.000777704 Jy ! Clean residual min=-0.001430 max=0.001311 Jy/beam ! Clean residual mean=0.000001 rms=0.000324 Jy/beam ! Combined flux in latest and established models = 0.0790614 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 81 components and 0.0790614 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.016055Jy sigma=0.593365 ! Fit after self-cal, rms=0.016051Jy sigma=0.593253 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.000122006 Jy ! Component: 100 - total flux cleaned = 0.000168973 Jy ! Component: 150 - total flux cleaned = 0.000183421 Jy ! Component: 200 - total flux cleaned = 0.000197303 Jy ! Total flux subtracted in 200 components = 0.000197303 Jy ! Clean residual min=-0.001386 max=0.001291 Jy/beam ! Clean residual mean=0.000001 rms=0.000320 Jy/beam ! Combined flux in latest and established models = 0.0792587 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 83 components and 0.0792587 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.016023Jy sigma=0.592136 ! Fit after self-cal, rms=0.016019Jy sigma=0.592061 ! 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.016019Jy sigma=0.592061 ! Fit after self-cal, rms=0.016082Jy sigma=0.591784 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.998 mas, bmaj=6.198 mas, bpa=-7.88 degrees ! Estimated noise=0.543382 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000668281 Jy ! Component: 100 - total flux cleaned = 0.000830311 Jy ! Component: 150 - total flux cleaned = 0.000854548 Jy ! Component: 200 - total flux cleaned = 0.000873294 Jy ! Total flux subtracted in 200 components = 0.000873294 Jy ! Clean residual min=-0.001513 max=0.001316 Jy/beam ! Clean residual mean=0.000001 rms=0.000409 Jy/beam ! Combined flux in latest and established models = 0.080132 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 101 components and 0.080132 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.016072Jy sigma=0.591434 ! Fit after self-cal, rms=0.016063Jy sigma=0.591194 flux_cutoff = imstat(rms) * dynam ! Inverting map repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -1.79683e-05 Jy ! Component: 100 - total flux cleaned = 5.32349e-06 Jy ! Component: 150 - total flux cleaned = 1.50512e-05 Jy ! Component: 200 - total flux cleaned = 3.03077e-05 Jy ! Total flux subtracted in 200 components = 3.03077e-05 Jy ! Clean residual min=-0.001547 max=0.001294 Jy/beam ! Clean residual mean=0.000001 rms=0.000404 Jy/beam ! Combined flux in latest and established models = 0.0801623 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 107 components and 0.0801623 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.016064Jy sigma=0.590921 ! Fit after self-cal, rms=0.016055Jy sigma=0.590696 ! 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.838 mas, bmaj=4.151 mas, bpa=-3.063 degrees ! Estimated noise=0.448184 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.838 x 4.151 at -3.063 degrees (North through East) ! Clean map min=-0.0012738 max=0.055352 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.392 mas, bmaj=3.448 mas, bpa=0.4956 degrees ! Estimated noise=0.646211 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0393692 Jy ! Component: 100 - total flux cleaned = 0.0519261 Jy ! Component: 150 - total flux cleaned = 0.0591449 Jy ! Component: 200 - total flux cleaned = 0.0637768 Jy ! Total flux subtracted in 200 components = 0.0637768 Jy ! Clean residual min=-0.003033 max=0.002945 Jy/beam ! Clean residual mean=-0.000002 rms=0.000607 Jy/beam ! Combined flux in latest and established models = 0.0637769 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 19 model components to the UV plane model. ! The established model now contains 19 components and 0.0637769 Jy ! Inverting map and beam ! Estimated beam: bmin=1.838 mas, bmaj=4.151 mas, bpa=-3.063 degrees ! Estimated noise=0.448184 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.00557774 Jy ! Component: 100 - total flux cleaned = 0.00896966 Jy ! Component: 150 - total flux cleaned = 0.0112712 Jy ! Component: 200 - total flux cleaned = 0.0129009 Jy ! Total flux subtracted in 200 components = 0.0129009 Jy ! Clean residual min=-0.001669 max=0.001689 Jy/beam ! Clean residual mean=-0.000000 rms=0.000383 Jy/beam ! Combined flux in latest and established models = 0.0766777 Jy ! Adding 34 model components to the UV plane model. ! The established model now contains 46 components and 0.0766777 Jy ! Inverting map ! Added new window around map position (10.8, -18.9). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00128626 Jy ! Component: 100 - total flux cleaned = 0.00196033 Jy ! Component: 150 - total flux cleaned = 0.00240778 Jy ! Component: 200 - total flux cleaned = 0.00270105 Jy ! Total flux subtracted in 200 components = 0.00270105 Jy ! Clean residual min=-0.001609 max=0.001325 Jy/beam ! Clean residual mean=0.000001 rms=0.000332 Jy/beam ! Combined flux in latest and established models = 0.0793788 Jy ! Adding 20 model components to the UV plane model. ! The established model now contains 62 components and 0.0793788 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.998 mas, bmaj=6.198 mas, bpa=-7.88 degrees ! Estimated noise=0.543382 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000580983 Jy ! Component: 100 - total flux cleaned = 0.000755637 Jy ! Component: 150 - total flux cleaned = 0.000838925 Jy ! Component: 200 - total flux cleaned = 0.00089817 Jy ! Total flux subtracted in 200 components = 0.00089817 Jy ! Clean residual min=-0.001582 max=0.001337 Jy/beam ! Clean residual mean=0.000001 rms=0.000396 Jy/beam ! Combined flux in latest and established models = 0.080277 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 = 4.21747e-05 Jy ! Component: 100 - total flux cleaned = 8.19779e-05 Jy ! Component: 150 - total flux cleaned = 0.000131281 Jy ! Component: 200 - total flux cleaned = 0.000166579 Jy ! Total flux subtracted in 200 components = 0.000166579 Jy ! Clean residual min=-0.001554 max=0.001330 Jy/beam ! Clean residual mean=0.000001 rms=0.000389 Jy/beam ! Combined flux in latest and established models = 0.0804435 Jy ! Adding 26 model components to the UV plane model. ! The established model now contains 82 components and 0.0804435 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.838 mas, bmaj=4.151 mas, bpa=-3.063 degrees ! Estimated noise=0.448184 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000101779 Jy ! Component: 100 - total flux cleaned = -0.000129121 Jy ! Component: 150 - total flux cleaned = -0.00015355 Jy ! Component: 200 - total flux cleaned = -0.00015252 Jy ! Total flux subtracted in 200 components = -0.00015252 Jy ! Clean residual min=-0.001490 max=0.001182 Jy/beam ! Clean residual mean=0.000001 rms=0.000309 Jy/beam ! Combined flux in latest and established models = 0.080291 Jy selfcal ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 93 components and 0.080291 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.016039Jy sigma=0.589450 ! Fit after self-cal, rms=0.016020Jy sigma=0.588923 wmodel /d2/scr/pima/bp177h_uvs/J1608+0041_C_map.mod ! Writing 93 model components to file: /d2/scr/pima/bp177h_uvs/J1608+0041_C_map.mod wobs /d2/scr/pima/bp177h_uvs/J1608+0041_C_uvs.fits ! Writing UV FITS file: /d2/scr/pima/bp177h_uvs/J1608+0041_C_uvs.fits wwins /d2/scr/pima/bp177h_uvs/J1608+0041_C_map.win ! wwins: Wrote 4 windows to /d2/scr/pima/bp177h_uvs/J1608+0041_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.000503387 Jy ! Component: 100 - total flux cleaned = -0.00074254 Jy ! Component: 150 - total flux cleaned = -0.000884815 Jy ! Component: 200 - total flux cleaned = -0.00103812 Jy ! Component: 250 - total flux cleaned = -0.00121887 Jy ! Component: 300 - total flux cleaned = -0.0013574 Jy ! Component: 350 - total flux cleaned = -0.00147377 Jy ! Component: 400 - total flux cleaned = -0.00153781 Jy ! Component: 450 - total flux cleaned = -0.00158469 Jy ! Component: 500 - total flux cleaned = -0.00169073 Jy ! Component: 550 - total flux cleaned = -0.0017935 Jy ! Component: 600 - total flux cleaned = -0.00182193 Jy ! Component: 650 - total flux cleaned = -0.0018499 Jy ! Component: 700 - total flux cleaned = -0.00187712 Jy ! Component: 750 - total flux cleaned = -0.00187693 Jy ! Component: 800 - total flux cleaned = -0.00187686 Jy ! Component: 850 - total flux cleaned = -0.00186387 Jy ! Component: 900 - total flux cleaned = -0.00185143 Jy ! Component: 950 - total flux cleaned = -0.00188852 Jy ! Component: 1000 - total flux cleaned = -0.00187631 Jy ! Component: 1050 - total flux cleaned = -0.00188818 Jy ! Component: 1100 - total flux cleaned = -0.00187634 Jy ! Component: 1150 - total flux cleaned = -0.00191087 Jy ! Component: 1200 - total flux cleaned = -0.00188801 Jy ! Component: 1250 - total flux cleaned = -0.00187686 Jy ! Component: 1300 - total flux cleaned = -0.00189874 Jy ! Component: 1350 - total flux cleaned = -0.00190958 Jy ! Component: 1400 - total flux cleaned = -0.00192034 Jy ! Component: 1450 - total flux cleaned = -0.00189939 Jy ! Component: 1500 - total flux cleaned = -0.00190984 Jy ! Component: 1550 - total flux cleaned = -0.00189953 Jy ! Component: 1600 - total flux cleaned = -0.00191982 Jy ! Component: 1650 - total flux cleaned = -0.00190994 Jy ! Component: 1700 - total flux cleaned = -0.00191975 Jy ! Component: 1750 - total flux cleaned = -0.00192947 Jy ! Component: 1800 - total flux cleaned = -0.00195846 Jy ! Component: 1850 - total flux cleaned = -0.00192993 Jy ! Component: 1900 - total flux cleaned = -0.00189253 Jy ! Component: 1950 - total flux cleaned = -0.00192993 Jy ! Component: 2000 - total flux cleaned = -0.00192989 Jy ! Component: 2050 - total flux cleaned = -0.00192987 Jy ! Component: 2100 - total flux cleaned = -0.00192995 Jy ! Component: 2150 - total flux cleaned = -0.00193887 Jy ! Component: 2200 - total flux cleaned = -0.00193017 Jy ! Component: 2250 - total flux cleaned = -0.00195646 Jy ! Component: 2300 - total flux cleaned = -0.0019389 Jy ! Component: 2350 - total flux cleaned = -0.0019304 Jy ! Component: 2400 - total flux cleaned = -0.00194732 Jy ! Component: 2450 - total flux cleaned = -0.00195561 Jy ! Component: 2500 - total flux cleaned = -0.00193051 Jy ! Component: 2550 - total flux cleaned = -0.00193051 Jy ! Component: 2600 - total flux cleaned = -0.00190591 Jy ! Component: 2650 - total flux cleaned = -0.00193041 Jy ! Component: 2700 - total flux cleaned = -0.00189809 Jy ! Component: 2750 - total flux cleaned = -0.00189814 Jy ! Component: 2800 - total flux cleaned = -0.00187435 Jy ! Component: 2850 - total flux cleaned = -0.00186649 Jy ! Component: 2900 - total flux cleaned = -0.00184304 Jy ! Component: 2950 - total flux cleaned = -0.00181205 Jy ! Component: 3000 - total flux cleaned = -0.00177365 Jy ! Component: 3050 - total flux cleaned = -0.00176607 Jy ! Component: 3100 - total flux cleaned = -0.00173567 Jy ! Component: 3150 - total flux cleaned = -0.0016906 Jy ! Component: 3200 - total flux cleaned = -0.00165324 Jy ! Component: 3250 - total flux cleaned = -0.00162378 Jy ! Component: 3300 - total flux cleaned = -0.0016459 Jy ! Component: 3350 - total flux cleaned = -0.00160213 Jy ! Component: 3400 - total flux cleaned = -0.00162389 Jy ! Component: 3450 - total flux cleaned = -0.0015661 Jy ! Component: 3500 - total flux cleaned = -0.00154451 Jy ! Component: 3550 - total flux cleaned = -0.0015161 Jy ! Component: 3600 - total flux cleaned = -0.00148078 Jy ! Component: 3650 - total flux cleaned = -0.00147376 Jy ! Component: 3700 - total flux cleaned = -0.00144581 Jy ! Component: 3750 - total flux cleaned = -0.00141802 Jy ! Component: 3800 - total flux cleaned = -0.00139739 Jy ! Component: 3850 - total flux cleaned = -0.00138368 Jy ! Component: 3900 - total flux cleaned = -0.00136318 Jy ! Component: 3950 - total flux cleaned = -0.00132933 Jy ! Component: 4000 - total flux cleaned = -0.00132261 Jy ! Component: 4050 - total flux cleaned = -0.00128242 Jy ! Total flux subtracted in 4096 components = -0.0012891 Jy ! Clean residual min=-0.000353 max=0.000380 Jy/beam ! Clean residual mean=0.000000 rms=0.000114 Jy/beam ! Combined flux in latest and established models = 0.0790019 Jy keep ! Adding 245 model components to the UV plane model. ! The established model now contains 338 components and 0.0790019 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/d2/scr/pima/bp177h_uvs/J1608+0041_C\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.838 x 4.151 at -3.063 degrees (North through East) ! Clean map min=-0.00092851 max=0.055141 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/bp177h_uvs/J1608+0041_C_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.055141 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.000111827 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.608404 0.608404 1.21681 2.43362 4.86723 9.73447 19.4689 38.9379 77.8757 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0003 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.055 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 493.093 quit ! Quitting program ! Log file /d2/scr/pima/bp177h_uvs/J1608+0041_C_uvs.log closed on Sun Mar 30 00:50:48 2014