! Started logfile: /scr/pima/s3111a_uvs/J0805+6144_X_uvs.log on Mon Jul 23 07:16:35 2012 obs /scr/pima/s3111a_uvs/J0805+6144_X_uva.fits ! Reading UV FITS file: /scr/pima/s3111a_uvs/J0805+6144_X_uva.fits ! AN table 1: 5 integrations on 21 of 21 possible baselines. ! Apparent sampling: 0.990476 visibilities/baseline/integration-bin. ! Found source: J0805+6144 ! ! 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 8.41193e+09 1.6e+07 1 1.6e+07 ! 02 2 8.42793e+09 1.6e+07 1 1.6e+07 ! 03 3 8.52393e+09 1.6e+07 1 1.6e+07 ! 04 4 8.57193e+09 1.6e+07 1 1.6e+07 ! 05 5 8.65193e+09 1.6e+07 1 1.6e+07 ! 06 6 8.82793e+09 1.6e+07 1 1.6e+07 ! 07 7 8.85993e+09 1.6e+07 1 1.6e+07 ! 08 8 8.89193e+09 1.6e+07 1 1.6e+07 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 832 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 = 512 print "field_cell =",field_cell ! field_cell = 0.1 print "taper_size =",taper_size ! taper_size = 120 ![@/home/lpetrov/bin/01_muppet /scr/pima/s3111a_uvs/J0805+6144_X] 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 = 512x512 pixels with 0.100x0.100 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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Correcting IF 5. ! ! Correcting IF 6. ! ! Correcting IF 7. ! A total of 5 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=1.093237Jy sigma=0.773035 ! Fit after self-cal, rms=0.663979Jy sigma=0.469504 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.7618 mas, bmaj=3.431 mas, bpa=-82.02 degrees ! Estimated noise=49.1595 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=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.236089 Jy ! Component: 100 - total flux cleaned = 0.323495 Jy ! Total flux subtracted in 100 components = 0.323495 Jy ! Clean residual min=-0.020009 max=0.038105 Jy/beam ! Clean residual mean=0.003311 rms=0.010634 Jy/beam ! Combined flux in latest and established models = 0.323495 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 22 components and 0.323495 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.126096Jy sigma=0.089163 ! Fit after self-cal, rms=0.125788Jy sigma=0.088945 ! Inverting map print "************** FINISHED UNIFORM WEIGHTING CLEAN **************" ! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9324 mas, bmaj=4.019 mas, bpa=-82.27 degrees ! Estimated noise=35.3112 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.0741362 Jy ! Component: 100 - total flux cleaned = 0.11867 Jy ! Component: 150 - total flux cleaned = 0.141697 Jy ! Component: 200 - total flux cleaned = 0.145565 Jy ! Total flux subtracted in 200 components = 0.145565 Jy ! Clean residual min=-0.014635 max=0.014808 Jy/beam ! Clean residual mean=0.000442 rms=0.006958 Jy/beam ! Combined flux in latest and established models = 0.46906 Jy ! Performing phase self-cal ! Adding 103 model components to the UV plane model. ! The established model now contains 119 components and 0.46906 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.062422Jy sigma=0.044139 ! Fit after self-cal, rms=0.062329Jy sigma=0.044073 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 0.95 KP 0.91 LA 1.07 ! OV 0.96 PT 0.93 SC 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 0.95 KP 0.92 LA 1.05 ! OV 0.98 PT 0.93 SC 1.02 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 0.94 KP 0.91 LA 1.06 ! OV 0.98 PT 0.94 SC 1.01 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 0.94 KP 0.89 LA 1.08 ! OV 1.01 PT 0.94 SC 1.07 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 1.05 FD 0.90 KP 0.88 LA 1.11 ! OV 1.03 PT 0.93 SC 1.01 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 0.91 KP 0.85 LA 1.08 ! OV 1.04 PT 0.97 SC 0.99 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 0.94 KP 0.83 LA 1.10 ! OV 1.11 PT 1.02 SC 1.09 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.96 KP 0.87 LA 1.07 ! OV 1.06 PT 0.96 SC 1.15 ! ! ! Fit before self-cal, rms=0.062329Jy sigma=0.044073 ! Fit after self-cal, rms=0.047249Jy sigma=0.033549 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9551 mas, bmaj=4.045 mas, bpa=-82.33 degrees ! Estimated noise=34.3822 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.00459885 Jy ! Component: 100 - total flux cleaned = 0.00274963 Jy ! Component: 150 - total flux cleaned = 0.000618178 Jy ! Component: 200 - total flux cleaned = -0.00156645 Jy ! Total flux subtracted in 200 components = -0.00156645 Jy ! Clean residual min=-0.004309 max=0.004240 Jy/beam ! Clean residual mean=-0.000781 rms=0.001812 Jy/beam ! Combined flux in latest and established models = 0.467493 Jy ! Performing phase self-cal ! Adding 74 model components to the UV plane model. ! The established model now contains 193 components and 0.467493 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.041325Jy sigma=0.029477 ! Fit after self-cal, rms=0.041323Jy sigma=0.029442 ! 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.041323Jy sigma=0.029442 ! Fit after self-cal, rms=0.040861Jy sigma=0.029259 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9531 mas, bmaj=4.034 mas, bpa=-82.3 degrees ! Estimated noise=34.2572 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00169445 Jy ! Component: 100 - total flux cleaned = -0.00123622 Jy ! Component: 150 - total flux cleaned = -0.00144942 Jy ! Component: 200 - total flux cleaned = -0.00199374 Jy ! Total flux subtracted in 200 components = -0.00199374 Jy ! Clean residual min=-0.002881 max=0.002871 Jy/beam ! Clean residual mean=-0.000569 rms=0.001248 Jy/beam ! Combined flux in latest and established models = 0.4655 Jy selfcal ! Performing phase self-cal ! Adding 82 model components to the UV plane model. ! The established model now contains 269 components and 0.4655 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.038566Jy sigma=0.027638 ! Fit after self-cal, rms=0.038555Jy sigma=0.027633 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.0013919 Jy ! Component: 100 - total flux cleaned = -0.00238706 Jy ! Component: 150 - total flux cleaned = -0.00348239 Jy ! Component: 200 - total flux cleaned = -0.00468165 Jy ! Total flux subtracted in 200 components = -0.00468165 Jy ! Clean residual min=-0.002443 max=0.002421 Jy/beam ! Clean residual mean=-0.000551 rms=0.001046 Jy/beam ! Combined flux in latest and established models = 0.460818 Jy ! Performing phase self-cal ! Adding 63 model components to the UV plane model. ! The established model now contains 324 components and 0.460818 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.037296Jy sigma=0.026758 ! Fit after self-cal, rms=0.037294Jy sigma=0.026757 ! 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.037294Jy sigma=0.026757 ! Fit after self-cal, rms=0.037101Jy sigma=0.026643 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9533 mas, bmaj=4.028 mas, bpa=-82.27 degrees ! Estimated noise=34.2711 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00247077 Jy ! Component: 100 - total flux cleaned = -0.00158808 Jy ! Component: 150 - total flux cleaned = -0.00145294 Jy ! Component: 200 - total flux cleaned = -0.00193859 Jy ! Total flux subtracted in 200 components = -0.00193859 Jy ! Clean residual min=-0.001962 max=0.001987 Jy/beam ! Clean residual mean=-0.000340 rms=0.000871 Jy/beam ! Combined flux in latest and established models = 0.458879 Jy selfcal ! Performing phase self-cal ! Adding 71 model components to the UV plane model. ! The established model now contains 380 components and 0.458879 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.036052Jy sigma=0.025919 ! Fit after self-cal, rms=0.036050Jy sigma=0.025918 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.000435985 Jy ! Component: 100 - total flux cleaned = -0.0012563 Jy ! Component: 150 - total flux cleaned = -0.00226707 Jy ! Component: 200 - total flux cleaned = -0.00323294 Jy ! Total flux subtracted in 200 components = -0.00323294 Jy ! Clean residual min=-0.001755 max=0.001763 Jy/beam ! Clean residual mean=-0.000320 rms=0.000766 Jy/beam ! Combined flux in latest and established models = 0.455646 Jy ! Performing phase self-cal ! Adding 53 model components to the UV plane model. ! The established model now contains 406 components and 0.455646 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.035381Jy sigma=0.025458 ! Fit after self-cal, rms=0.035381Jy sigma=0.025457 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 120 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.035381Jy sigma=0.025457 ! Fit after self-cal, rms=0.035255Jy sigma=0.025414 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.629 mas, bmaj=4.321 mas, bpa=-74.26 degrees ! Estimated noise=37.1876 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000810197 Jy ! Component: 100 - total flux cleaned = -0.000421843 Jy ! Component: 150 - total flux cleaned = -7.85562e-05 Jy ! Component: 200 - total flux cleaned = -0.000614446 Jy ! Total flux subtracted in 200 components = -0.000614446 Jy ! Clean residual min=-0.001773 max=0.001767 Jy/beam ! Clean residual mean=-0.000368 rms=0.000812 Jy/beam ! Combined flux in latest and established models = 0.455032 Jy selfcal ! Performing phase self-cal ! Adding 62 model components to the UV plane model. ! The established model now contains 437 components and 0.455032 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.034623Jy sigma=0.024962 ! Fit after self-cal, rms=0.034623Jy sigma=0.024961 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.000498162 Jy ! Component: 100 - total flux cleaned = -0.00100873 Jy ! Component: 150 - total flux cleaned = -0.00158061 Jy ! Component: 200 - total flux cleaned = -0.00222441 Jy ! Total flux subtracted in 200 components = -0.00222441 Jy ! Clean residual min=-0.001510 max=0.001514 Jy/beam ! Clean residual mean=-0.000331 rms=0.000664 Jy/beam ! Combined flux in latest and established models = 0.452808 Jy ! Performing phase self-cal ! Adding 63 model components to the UV plane model. ! The established model now contains 466 components and 0.452808 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.034220Jy sigma=0.024694 ! Fit after self-cal, rms=0.034219Jy sigma=0.024693 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Estimated beam: bmin=0.9534 mas, bmaj=4.024 mas, bpa=-82.25 degrees ! Estimated noise=34.2502 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9534 x 4.024 at -82.25 degrees (North through East) ! Clean map min=-0.012375 max=0.31153 Jy/beam if(peak(flux) > thresh) selfcal true, true clean clean_niter,clean_gain selfcal flux_cutoff = imstat(rms) * dynam repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) selfcal true, true end if print "************** CLEARING MODEL AND STARTING OVER **********" ! ************** CLEARING MODEL AND STARTING OVER ********** clrmod true ! clrmod: Cleared the established and tentative models. uvw 2,-1 ! Uniform weighting binwidth: 2 (pixels). ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.7801 mas, bmaj=3.389 mas, bpa=-81.87 degrees ! Estimated noise=48.8546 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.232495 Jy ! Component: 100 - total flux cleaned = 0.315633 Jy ! Component: 150 - total flux cleaned = 0.357401 Jy ! Component: 200 - total flux cleaned = 0.382142 Jy ! Total flux subtracted in 200 components = 0.382142 Jy ! Clean residual min=-0.015468 max=0.015583 Jy/beam ! Clean residual mean=0.002026 rms=0.006469 Jy/beam ! Combined flux in latest and established models = 0.382142 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 68 model components to the UV plane model. ! The established model now contains 68 components and 0.382142 Jy ! Inverting map and beam ! Estimated beam: bmin=0.9534 mas, bmaj=4.024 mas, bpa=-82.25 degrees ! Estimated noise=34.2502 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.0391812 Jy ! Component: 100 - total flux cleaned = 0.0633886 Jy ! Component: 150 - total flux cleaned = 0.0715759 Jy ! Component: 200 - total flux cleaned = 0.0729791 Jy ! Total flux subtracted in 200 components = 0.0729791 Jy ! Clean residual min=-0.010425 max=0.010546 Jy/beam ! Clean residual mean=0.000980 rms=0.004679 Jy/beam ! Combined flux in latest and established models = 0.455122 Jy ! Adding 96 model components to the UV plane model. ! The established model now contains 160 components and 0.455122 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 120 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.629 mas, bmaj=4.321 mas, bpa=-74.26 degrees ! Estimated noise=37.1876 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00213294 Jy ! Component: 100 - total flux cleaned = 0.000712906 Jy ! Component: 150 - total flux cleaned = -6.77032e-06 Jy ! Component: 200 - total flux cleaned = -0.000934238 Jy ! Total flux subtracted in 200 components = -0.000934238 Jy ! Clean residual min=-0.004848 max=0.004854 Jy/beam ! Clean residual mean=0.000108 rms=0.002548 Jy/beam ! Combined flux in latest and established models = 0.454187 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.000291991 Jy ! Component: 100 - total flux cleaned = 0.00150213 Jy ! Component: 150 - total flux cleaned = 0.00104211 Jy ! Component: 200 - total flux cleaned = 0.0014918 Jy ! Total flux subtracted in 200 components = 0.0014918 Jy ! Clean residual min=-0.003651 max=0.003678 Jy/beam ! Clean residual mean=0.000048 rms=0.001816 Jy/beam ! Combined flux in latest and established models = 0.455679 Jy ! Adding 157 model components to the UV plane model. ! The established model now contains 314 components and 0.455679 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.9534 mas, bmaj=4.024 mas, bpa=-82.25 degrees ! Estimated noise=34.2502 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00124171 Jy ! Component: 100 - total flux cleaned = -0.000864796 Jy ! Component: 150 - total flux cleaned = -0.00118017 Jy ! Component: 200 - total flux cleaned = -0.00194366 Jy ! Total flux subtracted in 200 components = -0.00194366 Jy ! Clean residual min=-0.002451 max=0.002455 Jy/beam ! Clean residual mean=-0.000040 rms=0.001080 Jy/beam ! Combined flux in latest and established models = 0.453736 Jy selfcal ! Performing phase self-cal ! Adding 60 model components to the UV plane model. ! The established model now contains 374 components and 0.453736 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.036460Jy sigma=0.026247 ! Fit after self-cal, rms=0.036454Jy sigma=0.026240 wmodel /scr/pima/s3111a_uvs/J0805+6144_X_map.mod ! Writing 374 model components to file: /scr/pima/s3111a_uvs/J0805+6144_X_map.mod wobs /scr/pima/s3111a_uvs/J0805+6144_X_uvs.fits ! Writing UV FITS file: /scr/pima/s3111a_uvs/J0805+6144_X_uvs.fits wwins /scr/pima/s3111a_uvs/J0805+6144_X_map.win ! wwins: No CLEAN windows to write. ! Error occured in command: wwins ![Exited script file: /home/lpetrov/bin/01_muppet] ! wmap "/scr/pima/s3111a_uvs/J0805+6144_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9534 x 4.024 at -82.25 degrees (North through East) ! Clean map min=-0.01273 max=0.31295 Jy/beam ! Writing clean map to FITS file: /scr/pima/s3111a_uvs/J0805+6144_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.312946 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00113444 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.08751 1.08751 2.17502 4.35005 8.70009 17.4002 34.8004 69.6008 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0034 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.312 quit ! Quitting program ! Log file /scr/pima/s3111a_uvs/J0805+6144_X_uvs.log closed on Mon Jul 23 07:16:36 2012