! Started logfile: /scr/pima/s3111a_uvs/J0958+6533_X_uvs.log on Mon Jul 23 07:17:03 2012 obs /scr/pima/s3111a_uvs/J0958+6533_X_uva.fits ! Reading UV FITS file: /scr/pima/s3111a_uvs/J0958+6533_X_uva.fits ! AN table 1: 27 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.497119 visibilities/baseline/integration-bin. ! *** This seems a bit low - see "help observe" on the binwid argument. ! Found source: J0958+6533 ! ! 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 4832 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/J0958+6533_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. ! A total of 99 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 99 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 99 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 99 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 99 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 99 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 131 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 99 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.270657Jy sigma=0.898490 ! Fit after self-cal, rms=0.440829Jy sigma=0.311714 ! 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.6652 mas, bmaj=1.865 mas, bpa=68.41 degrees ! Estimated noise=25.2601 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.449733 Jy ! Component: 100 - total flux cleaned = 0.636012 Jy ! Total flux subtracted in 100 components = 0.636012 Jy ! Clean residual min=-0.046797 max=0.086365 Jy/beam ! Clean residual mean=0.000013 rms=0.017261 Jy/beam ! Combined flux in latest and established models = 0.636011 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 16 components and 0.636011 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.187762Jy sigma=0.132768 ! Fit after self-cal, rms=0.187710Jy sigma=0.132731 ! 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.8572 mas, bmaj=2.269 mas, bpa=69.56 degrees ! Estimated noise=14.7506 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.106267 Jy ! Component: 100 - total flux cleaned = 0.152533 Jy ! Component: 150 - total flux cleaned = 0.17396 Jy ! Component: 200 - total flux cleaned = 0.181073 Jy ! Total flux subtracted in 200 components = 0.181073 Jy ! Clean residual min=-0.027756 max=0.041474 Jy/beam ! Clean residual mean=-0.000934 rms=0.009889 Jy/beam ! Combined flux in latest and established models = 0.817084 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 33 components and 0.817084 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.125298Jy sigma=0.088599 ! Fit after self-cal, rms=0.125254Jy sigma=0.088568 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.23 FD 0.93 GB 0.85 HN 0.98 ! KP 0.91 LA 1.02 MK 1.05 NL 1.08 ! OV 1.09 PT 0.97 ! ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.21 FD 0.93 GB 0.84 HN 0.98 ! KP 0.93 LA 1.02 MK 1.05 NL 1.07 ! OV 1.08 PT 0.98 ! ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.23 FD 0.92 GB 0.84 HN 0.94 ! KP 0.91 LA 1.01 MK 1.01 NL 1.06 ! OV 1.08 PT 0.98 ! ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.21 FD 0.92 GB 0.84 HN 0.96 ! KP 0.86 LA 1.02 MK 1.02 NL 1.07 ! OV 1.12 PT 1.00 ! ! ! Correcting IF 5. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.21 FD 0.86 GB 0.80 HN 0.93 ! KP 0.88 LA 1.04 MK 0.98 NL 1.06 ! OV 1.15 PT 0.98 ! ! ! Correcting IF 6. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.28 FD 0.89 GB 0.84 HN 1.00 ! KP 0.85 LA 1.01 MK 1.03 NL 1.05 ! OV 1.12 PT 1.01 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* FD 0.93 GB 0.84 HN 1.01 ! KP 0.85 LA 1.01 MK 1.00* NL 1.08 ! OV 1.15 PT 1.04 ! ! ! Correcting IF 8. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.21 FD 0.93 GB 0.81 HN 1.02 ! KP 0.85 LA 1.01 MK 1.02 NL 1.10 ! OV 1.14 PT 1.02 ! ! ! Fit before self-cal, rms=0.125254Jy sigma=0.088568 ! Fit after self-cal, rms=0.096173Jy sigma=0.065794 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8631 mas, bmaj=2.272 mas, bpa=69.4 degrees ! Estimated noise=14.7616 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.000979849 Jy ! Component: 100 - total flux cleaned = 0.000977114 Jy ! Component: 150 - total flux cleaned = 0.000980328 Jy ! Component: 200 - total flux cleaned = 0.000979009 Jy ! Total flux subtracted in 200 components = 0.000979009 Jy ! Clean residual min=-0.014440 max=0.036116 Jy/beam ! Clean residual mean=-0.001002 rms=0.007440 Jy/beam ! Combined flux in latest and established models = 0.818063 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 41 components and 0.818063 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.095084Jy sigma=0.065124 ! Fit after self-cal, rms=0.095070Jy sigma=0.065085 ! 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.095070Jy sigma=0.065085 ! Fit after self-cal, rms=0.094570Jy sigma=0.063612 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.864 mas, bmaj=2.274 mas, bpa=69.65 degrees ! Estimated noise=14.7879 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00209786 Jy ! Component: 100 - total flux cleaned = 0.00209804 Jy ! Component: 150 - total flux cleaned = 0.00236909 Jy ! Component: 200 - total flux cleaned = 0.00236731 Jy ! Total flux subtracted in 200 components = 0.00236731 Jy ! Clean residual min=-0.014384 max=0.033437 Jy/beam ! Clean residual mean=-0.001043 rms=0.007076 Jy/beam ! Combined flux in latest and established models = 0.820431 Jy selfcal ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 50 components and 0.820431 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.094156Jy sigma=0.063297 ! Fit after self-cal, rms=0.094140Jy sigma=0.063281 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 (12.3, 1.3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.028418 Jy ! Component: 100 - total flux cleaned = 0.0277765 Jy ! Component: 150 - total flux cleaned = 0.0272999 Jy ! Component: 200 - total flux cleaned = 0.0269402 Jy ! Total flux subtracted in 200 components = 0.0269402 Jy ! Clean residual min=-0.015516 max=0.028447 Jy/beam ! Clean residual mean=-0.000998 rms=0.005870 Jy/beam ! Combined flux in latest and established models = 0.847371 Jy ! Performing phase self-cal ! Adding 40 model components to the UV plane model. ! The established model now contains 90 components and 0.847371 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.083083Jy sigma=0.055969 ! Fit after self-cal, rms=0.082495Jy sigma=0.055517 ! Inverting map ! Added new window around map position (12.7, -9.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0196327 Jy ! Component: 100 - total flux cleaned = 0.0220095 Jy ! Component: 150 - total flux cleaned = 0.0231223 Jy ! Component: 200 - total flux cleaned = 0.0237857 Jy ! Total flux subtracted in 200 components = 0.0237857 Jy ! Clean residual min=-0.012474 max=0.025209 Jy/beam ! Clean residual mean=-0.000842 rms=0.005133 Jy/beam ! Combined flux in latest and established models = 0.871156 Jy ! Performing phase self-cal ! Adding 42 model components to the UV plane model. ! The established model now contains 128 components and 0.871156 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.074878Jy sigma=0.050195 ! Fit after self-cal, rms=0.074443Jy sigma=0.049920 ! 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.074443Jy sigma=0.049920 ! Fit after self-cal, rms=0.070458Jy sigma=0.048590 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8651 mas, bmaj=2.275 mas, bpa=69.56 degrees ! Estimated noise=14.7136 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0119283 Jy ! Component: 100 - total flux cleaned = 0.0157169 Jy ! Component: 150 - total flux cleaned = 0.0171457 Jy ! Component: 200 - total flux cleaned = 0.0181744 Jy ! Total flux subtracted in 200 components = 0.0181744 Jy ! Clean residual min=-0.012306 max=0.022623 Jy/beam ! Clean residual mean=-0.000876 rms=0.004470 Jy/beam ! Combined flux in latest and established models = 0.889331 Jy selfcal ! Performing phase self-cal ! Adding 49 model components to the UV plane model. ! The established model now contains 156 components and 0.889331 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.067593Jy sigma=0.046365 ! Fit after self-cal, rms=0.067438Jy sigma=0.046292 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 (-12, -1.1). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.018444 Jy ! Component: 100 - total flux cleaned = 0.0221283 Jy ! Component: 150 - total flux cleaned = 0.0247499 Jy ! Component: 200 - total flux cleaned = 0.0270351 Jy ! Total flux subtracted in 200 components = 0.0270351 Jy ! Clean residual min=-0.013139 max=0.018085 Jy/beam ! Clean residual mean=-0.000872 rms=0.003463 Jy/beam ! Combined flux in latest and established models = 0.916366 Jy ! Performing phase self-cal ! Adding 46 model components to the UV plane model. ! The established model now contains 200 components and 0.916366 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.061347Jy sigma=0.042243 ! Fit after self-cal, rms=0.061114Jy sigma=0.042074 ! Inverting map ! Added new window around map position (-12.8, 9). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0144611 Jy ! Component: 100 - total flux cleaned = 0.0144511 Jy ! Component: 150 - total flux cleaned = 0.0142064 Jy ! Component: 200 - total flux cleaned = 0.0144346 Jy ! Total flux subtracted in 200 components = 0.0144346 Jy ! Clean residual min=-0.012466 max=0.011030 Jy/beam ! Clean residual mean=-0.000743 rms=0.003055 Jy/beam ! Combined flux in latest and established models = 0.9308 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 224 components and 0.9308 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.056372Jy sigma=0.038732 ! Fit after self-cal, rms=0.056178Jy sigma=0.038551 ! 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.056178Jy sigma=0.038551 ! Fit after self-cal, rms=0.053997Jy sigma=0.037249 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.353 mas, bmaj=3.313 mas, bpa=60.09 degrees ! Estimated noise=16.2563 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00964875 Jy ! Component: 100 - total flux cleaned = 0.0107685 Jy ! Component: 150 - total flux cleaned = 0.0126379 Jy ! Component: 200 - total flux cleaned = 0.013674 Jy ! Total flux subtracted in 200 components = 0.013674 Jy ! Clean residual min=-0.014017 max=0.010618 Jy/beam ! Clean residual mean=-0.001081 rms=0.003301 Jy/beam ! Combined flux in latest and established models = 0.944474 Jy selfcal ! Performing phase self-cal ! Adding 43 model components to the UV plane model. ! The established model now contains 257 components and 0.944475 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.051998Jy sigma=0.035839 ! Fit after self-cal, rms=0.051931Jy sigma=0.035771 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.00169562 Jy ! Component: 100 - total flux cleaned = 0.00207041 Jy ! Component: 150 - total flux cleaned = 0.00175505 Jy ! Component: 200 - total flux cleaned = 0.00130356 Jy ! Total flux subtracted in 200 components = 0.00130356 Jy ! Clean residual min=-0.013529 max=0.010377 Jy/beam ! Clean residual mean=-0.001060 rms=0.003188 Jy/beam ! Combined flux in latest and established models = 0.945778 Jy ! Performing phase self-cal ! Adding 37 model components to the UV plane model. ! The established model now contains 274 components and 0.945778 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.051201Jy sigma=0.035229 ! Fit after self-cal, rms=0.051195Jy sigma=0.035214 ! 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.865 mas, bmaj=2.272 mas, bpa=69.49 degrees ! Estimated noise=14.6488 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.865 x 2.272 at 69.49 degrees (North through East) ! Clean map min=-0.011422 max=0.61854 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 ! Performing amp+phase self-cal ! ! 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.051195Jy sigma=0.035214 ! Fit after self-cal, rms=0.049426Jy sigma=0.033929 ! Inverting map and beam ! Estimated beam: bmin=0.8652 mas, bmaj=2.271 mas, bpa=69.44 degrees ! Estimated noise=14.6455 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00191999 Jy ! Component: 100 - total flux cleaned = 0.00222945 Jy ! Component: 150 - total flux cleaned = 0.00222945 Jy ! Component: 200 - total flux cleaned = 0.00210537 Jy ! Total flux subtracted in 200 components = 0.00210537 Jy ! Clean residual min=-0.010401 max=0.008944 Jy/beam ! Clean residual mean=-0.000709 rms=0.002480 Jy/beam ! Combined flux in latest and established models = 0.947883 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 299 components and 0.947883 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.048629Jy sigma=0.033341 ! Fit after self-cal, rms=0.048627Jy sigma=0.033327 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000159062 Jy ! Component: 100 - total flux cleaned = -8.35408e-05 Jy ! Component: 150 - total flux cleaned = -0.000197393 Jy ! Component: 200 - total flux cleaned = -0.000531477 Jy ! Total flux subtracted in 200 components = -0.000531477 Jy ! Clean residual min=-0.010099 max=0.008558 Jy/beam ! Clean residual mean=-0.000716 rms=0.002426 Jy/beam ! Combined flux in latest and established models = 0.947352 Jy ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 310 components and 0.947352 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.048113Jy sigma=0.032948 ! Fit after self-cal, rms=0.048113Jy sigma=0.032937 ! Inverting map ! Performing amp+phase self-cal ! ! 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.048113Jy sigma=0.032937 ! Fit after self-cal, rms=0.048036Jy sigma=0.032896 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.6686 mas, bmaj=1.854 mas, bpa=68.49 degrees ! Estimated noise=24.8856 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.441215 Jy ! Component: 100 - total flux cleaned = 0.622392 Jy ! Component: 150 - total flux cleaned = 0.717813 Jy ! Component: 200 - total flux cleaned = 0.773122 Jy ! Total flux subtracted in 200 components = 0.773122 Jy ! Clean residual min=-0.023759 max=0.030431 Jy/beam ! Clean residual mean=-0.000181 rms=0.007997 Jy/beam ! Combined flux in latest and established models = 0.773122 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 22 model components to the UV plane model. ! The established model now contains 22 components and 0.773122 Jy ! Inverting map and beam ! Estimated beam: bmin=0.8647 mas, bmaj=2.271 mas, bpa=69.42 degrees ! Estimated noise=14.6404 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.0442624 Jy ! Component: 100 - total flux cleaned = 0.0787651 Jy ! Component: 150 - total flux cleaned = 0.106748 Jy ! Component: 200 - total flux cleaned = 0.129791 Jy ! Total flux subtracted in 200 components = 0.129791 Jy ! Clean residual min=-0.015387 max=0.014598 Jy/beam ! Clean residual mean=-0.000501 rms=0.005192 Jy/beam ! Combined flux in latest and established models = 0.902914 Jy ! Adding 50 model components to the UV plane model. ! The established model now contains 70 components and 0.902914 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.353 mas, bmaj=3.315 mas, bpa=60 degrees ! Estimated noise=16.2482 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0228723 Jy ! Component: 100 - total flux cleaned = 0.0402671 Jy ! Component: 150 - total flux cleaned = 0.0475401 Jy ! Component: 200 - total flux cleaned = 0.0536249 Jy ! Total flux subtracted in 200 components = 0.0536249 Jy ! Clean residual min=-0.017991 max=0.012779 Jy/beam ! Clean residual mean=-0.000878 rms=0.004538 Jy/beam ! Combined flux in latest and established models = 0.956539 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.00243261 Jy ! Component: 100 - total flux cleaned = 0.00352957 Jy ! Component: 150 - total flux cleaned = 0.00389654 Jy ! Component: 200 - total flux cleaned = 0.00449372 Jy ! Total flux subtracted in 200 components = 0.00449372 Jy ! Clean residual min=-0.016519 max=0.011603 Jy/beam ! Clean residual mean=-0.000951 rms=0.003993 Jy/beam ! Combined flux in latest and established models = 0.961032 Jy ! Adding 113 model components to the UV plane model. ! The established model now contains 167 components and 0.961032 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.8647 mas, bmaj=2.271 mas, bpa=69.42 degrees ! Estimated noise=14.6404 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000357659 Jy ! Component: 100 - total flux cleaned = 0.00158746 Jy ! Component: 150 - total flux cleaned = 0.00130997 Jy ! Component: 200 - total flux cleaned = 0.00129425 Jy ! Total flux subtracted in 200 components = 0.00129425 Jy ! Clean residual min=-0.012600 max=0.010089 Jy/beam ! Clean residual mean=-0.000710 rms=0.002945 Jy/beam ! Combined flux in latest and established models = 0.962327 Jy selfcal ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 196 components and 0.962327 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.053420Jy sigma=0.036491 ! Fit after self-cal, rms=0.053102Jy sigma=0.036277 wmodel /scr/pima/s3111a_uvs/J0958+6533_X_map.mod ! Writing 196 model components to file: /scr/pima/s3111a_uvs/J0958+6533_X_map.mod wobs /scr/pima/s3111a_uvs/J0958+6533_X_uvs.fits ! Writing UV FITS file: /scr/pima/s3111a_uvs/J0958+6533_X_uvs.fits wwins /scr/pima/s3111a_uvs/J0958+6533_X_map.win ! wwins: Wrote 5 windows to /scr/pima/s3111a_uvs/J0958+6533_X_map.win x = (field_size-8) * field_cell / 4 addwin -x,x,-x,x clean (field_size*4),0.01 ! Inverting map ! clean: niter=2048 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = -0.00322147 Jy ! Component: 100 - total flux cleaned = -0.00393302 Jy ! Component: 150 - total flux cleaned = -0.0047119 Jy ! Component: 200 - total flux cleaned = -0.00572376 Jy ! Component: 250 - total flux cleaned = -0.00681632 Jy ! Component: 300 - total flux cleaned = -0.00772381 Jy ! Component: 350 - total flux cleaned = -0.00871593 Jy ! Component: 400 - total flux cleaned = -0.00966537 Jy ! Component: 450 - total flux cleaned = -0.0106884 Jy ! Component: 500 - total flux cleaned = -0.0115623 Jy ! Component: 550 - total flux cleaned = -0.0120925 Jy ! Component: 600 - total flux cleaned = -0.0124014 Jy ! Component: 650 - total flux cleaned = -0.0130941 Jy ! Component: 700 - total flux cleaned = -0.013672 Jy ! Component: 750 - total flux cleaned = -0.0141456 Jy ! Component: 800 - total flux cleaned = -0.0147935 Jy ! Component: 850 - total flux cleaned = -0.0150642 Jy ! Component: 900 - total flux cleaned = -0.0152406 Jy ! Component: 950 - total flux cleaned = -0.0152391 Jy ! Component: 1000 - total flux cleaned = -0.0154086 Jy ! Component: 1050 - total flux cleaned = -0.0153229 Jy ! Component: 1100 - total flux cleaned = -0.0154065 Jy ! Component: 1150 - total flux cleaned = -0.0157348 Jy ! Component: 1200 - total flux cleaned = -0.0159749 Jy ! Component: 1250 - total flux cleaned = -0.0158961 Jy ! Component: 1300 - total flux cleaned = -0.0162096 Jy ! Component: 1350 - total flux cleaned = -0.016362 Jy ! Component: 1400 - total flux cleaned = -0.0165123 Jy ! Component: 1450 - total flux cleaned = -0.016437 Jy ! Component: 1500 - total flux cleaned = -0.016437 Jy ! Component: 1550 - total flux cleaned = -0.0163638 Jy ! Component: 1600 - total flux cleaned = -0.0164361 Jy ! Component: 1650 - total flux cleaned = -0.0165077 Jy ! Component: 1700 - total flux cleaned = -0.0167176 Jy ! Component: 1750 - total flux cleaned = -0.0166475 Jy ! Component: 1800 - total flux cleaned = -0.016579 Jy ! Component: 1850 - total flux cleaned = -0.0166466 Jy ! Component: 1900 - total flux cleaned = -0.0166467 Jy ! Component: 1950 - total flux cleaned = -0.0167128 Jy ! Component: 2000 - total flux cleaned = -0.0167126 Jy ! Total flux subtracted in 2048 components = -0.0168421 Jy ! Clean residual min=-0.003451 max=0.003893 Jy/beam ! Clean residual mean=-0.000268 rms=0.001440 Jy/beam ! Combined flux in latest and established models = 0.945485 Jy keep ! Adding 130 model components to the UV plane model. ! The established model now contains 325 components and 0.945485 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/s3111a_uvs/J0958+6533_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8647 x 2.271 at 69.42 degrees (North through East) ! Clean map min=-0.0088401 max=0.61855 Jy/beam ! Writing clean map to FITS file: /scr/pima/s3111a_uvs/J0958+6533_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.618553 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 0.00141853 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.687992 0.687992 1.37598 2.75197 5.50393 11.0079 22.0157 44.0315 88.063 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0042 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.618 quit ! Quitting program ! Log file /scr/pima/s3111a_uvs/J0958+6533_X_uvs.log closed on Mon Jul 23 07:17:04 2012