! Started logfile: /scr/pima/s3111b_uvs/J0416+0105_X_uvs.log on Mon Jul 23 22:50:40 2012 obs /scr/pima/s3111b_uvs/J0416+0105_X_uva.fits ! Reading UV FITS file: /scr/pima/s3111b_uvs/J0416+0105_X_uva.fits ! AN table 1: 91 integrations on 55 of 55 possible baselines. ! Apparent sampling: 0.840559 visibilities/baseline/integration-bin. ! Found source: J0416+0105 ! ! 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 33656 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/s3111b_uvs/J0416+0105_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 85 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 85 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 85 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 85 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 85 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 85 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 236 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 85 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=0.993966Jy sigma=0.702769 ! Fit after self-cal, rms=0.968042Jy sigma=0.684438 ! 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.6504 mas, bmaj=1.758 mas, bpa=-5.014 degrees ! Estimated noise=14.2736 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.0242712 Jy ! Component: 100 - total flux cleaned = 0.0297167 Jy ! Total flux subtracted in 100 components = 0.0297167 Jy ! Clean residual min=-0.002095 max=0.003296 Jy/beam ! Clean residual mean=0.000119 rms=0.000767 Jy/beam ! Combined flux in latest and established models = 0.0297167 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.0297167 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.033814Jy sigma=0.023907 ! Fit after self-cal, rms=0.033266Jy sigma=0.023519 ! 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.8707 mas, bmaj=2.042 mas, bpa=-0.8587 degrees ! Estimated noise=5.56122 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.00357374 Jy ! Component: 100 - total flux cleaned = 0.00536487 Jy ! Component: 150 - total flux cleaned = 0.00636612 Jy ! Component: 200 - total flux cleaned = 0.00694438 Jy ! Total flux subtracted in 200 components = 0.00694438 Jy ! Clean residual min=-0.002242 max=0.004019 Jy/beam ! Clean residual mean=0.000213 rms=0.000957 Jy/beam ! Combined flux in latest and established models = 0.0366611 Jy ! Performing phase self-cal ! Adding 41 model components to the UV plane model. ! The established model now contains 48 components and 0.0366611 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.032904Jy sigma=0.023263 ! Fit after self-cal, rms=0.032893Jy sigma=0.023256 ! 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.03 FD 1.00 GB 0.95 HN 1.21 ! KP 0.85 LA 0.91 MK 1.03 NL 2.24 ! OV 1.07 PT 0.92 SC 1.11 ! ! ! Correcting IF 2. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.01 FD 0.98 GB 0.94 HN 1.34 ! KP 0.85 LA 0.92 MK 1.04 NL 2.32 ! OV 1.08 PT 0.92 SC 1.07 ! ! ! Correcting IF 3. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.96 GB 0.96 HN 1.08 ! KP 0.88 LA 0.88 MK 0.93 NL 2.12 ! OV 1.05 PT 0.87 SC 1.08 ! ! ! Correcting IF 4. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 0.98 GB 1.00 HN 1.17 ! KP 0.83 LA 0.95 MK 0.97 NL 2.19 ! OV 1.10 PT 0.92 SC 1.14 ! ! ! Correcting IF 5. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 0.87 GB 0.94 HN 1.14 ! KP 0.83 LA 0.85 MK 0.90 NL 2.12 ! OV 1.06 PT 0.91 SC 1.06 ! ! ! Correcting IF 6. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.99 FD 0.81 GB 1.01 HN 1.28 ! KP 0.80 LA 0.90 MK 0.92 NL 2.01 ! OV 1.03 PT 0.90 SC 1.03 ! ! ! Correcting IF 7. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 0.79 GB 1.01 HN 1.00* ! KP 0.75 LA 0.89 MK 1.00* NL 1.99 ! OV 1.00 PT 0.89 SC 1.05 ! ! ! Correcting IF 8. ! A total of 3 telescope corrections were flagged in sub-array 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.81 FD 0.74 GB 0.91 HN 1.04 ! KP 0.83 LA 0.84 MK 0.80 NL 1.81 ! OV 0.90 PT 0.79 SC 0.95 ! ! ! Fit before self-cal, rms=0.032893Jy sigma=0.023256 ! Fit after self-cal, rms=0.036852Jy sigma=0.022135 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.8699 mas, bmaj=2.082 mas, bpa=-1.067 degrees ! Estimated noise=5.56629 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 = -8.11988e-05 Jy ! Component: 100 - total flux cleaned = -0.000161529 Jy ! Component: 150 - total flux cleaned = -0.000188906 Jy ! Component: 200 - total flux cleaned = -0.000200488 Jy ! Total flux subtracted in 200 components = -0.000200488 Jy ! Clean residual min=-0.000734 max=0.001375 Jy/beam ! Clean residual mean=0.000050 rms=0.000316 Jy/beam ! Combined flux in latest and established models = 0.0364606 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 55 components and 0.0364606 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.036839Jy sigma=0.022127 ! Fit after self-cal, rms=0.037103Jy sigma=0.022074 ! 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.037103Jy sigma=0.022074 ! Fit after self-cal, rms=0.038258Jy sigma=0.022071 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.871 mas, bmaj=2.085 mas, bpa=-0.9347 degrees ! Estimated noise=5.58228 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -5.90108e-05 Jy ! Component: 100 - total flux cleaned = -0.000126819 Jy ! Component: 150 - total flux cleaned = -0.000145008 Jy ! Component: 200 - total flux cleaned = -0.000153566 Jy ! Total flux subtracted in 200 components = -0.000153566 Jy ! Clean residual min=-0.000709 max=0.001376 Jy/beam ! Clean residual mean=0.000050 rms=0.000302 Jy/beam ! Combined flux in latest and established models = 0.0363071 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 59 components and 0.0363071 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.038252Jy sigma=0.022067 ! Fit after self-cal, rms=0.038269Jy sigma=0.022066 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 (2.5, -0.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00139221 Jy ! Component: 100 - total flux cleaned = 0.00216234 Jy ! Component: 150 - total flux cleaned = 0.00244699 Jy ! Component: 200 - total flux cleaned = 0.00250943 Jy ! Total flux subtracted in 200 components = 0.00250943 Jy ! Clean residual min=-0.000689 max=0.000801 Jy/beam ! Clean residual mean=0.000013 rms=0.000190 Jy/beam ! Combined flux in latest and established models = 0.0388165 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 94 components and 0.0388165 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.038223Jy sigma=0.022014 ! Fit after self-cal, rms=0.038222Jy sigma=0.022008 ! 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.038222Jy sigma=0.022008 ! Fit after self-cal, rms=0.038258Jy sigma=0.021989 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.8709 mas, bmaj=2.082 mas, bpa=-0.7965 degrees ! Estimated noise=5.5815 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000564807 Jy ! Component: 100 - total flux cleaned = 0.000707854 Jy ! Component: 150 - total flux cleaned = 0.00077176 Jy ! Component: 200 - total flux cleaned = 0.000782547 Jy ! Total flux subtracted in 200 components = 0.000782547 Jy ! Clean residual min=-0.000604 max=0.000646 Jy/beam ! Clean residual mean=0.000014 rms=0.000168 Jy/beam ! Combined flux in latest and established models = 0.039599 Jy selfcal ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 124 components and 0.039599 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.038247Jy sigma=0.021978 ! Fit after self-cal, rms=0.038254Jy sigma=0.021976 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.000168041 Jy ! Component: 100 - total flux cleaned = 0.000179204 Jy ! Component: 150 - total flux cleaned = 0.000178731 Jy ! Component: 200 - total flux cleaned = 0.00016991 Jy ! Total flux subtracted in 200 components = 0.00016991 Jy ! Clean residual min=-0.000578 max=0.000605 Jy/beam ! Clean residual mean=0.000011 rms=0.000161 Jy/beam ! Combined flux in latest and established models = 0.0397689 Jy ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 141 components and 0.0397689 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.038249Jy sigma=0.021972 ! Fit after self-cal, rms=0.038251Jy sigma=0.021971 ! 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.038251Jy sigma=0.021971 ! Fit after self-cal, rms=0.038125Jy sigma=0.021968 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.378 mas, bmaj=2.7 mas, bpa=6.02 degrees ! Estimated noise=6.15676 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000343564 Jy ! Component: 100 - total flux cleaned = 0.000382864 Jy ! Component: 150 - total flux cleaned = 0.000398386 Jy ! Component: 200 - total flux cleaned = 0.000384112 Jy ! Total flux subtracted in 200 components = 0.000384112 Jy ! Clean residual min=-0.000560 max=0.000572 Jy/beam ! Clean residual mean=0.000023 rms=0.000178 Jy/beam ! Combined flux in latest and established models = 0.040153 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 155 components and 0.0401531 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.038122Jy sigma=0.021965 ! Fit after self-cal, rms=0.038124Jy sigma=0.021964 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.000103558 Jy ! Component: 100 - total flux cleaned = 9.60772e-05 Jy ! Component: 150 - total flux cleaned = 8.94448e-05 Jy ! Component: 200 - total flux cleaned = 7.78392e-05 Jy ! Total flux subtracted in 200 components = 7.78392e-05 Jy ! Clean residual min=-0.000540 max=0.000553 Jy/beam ! Clean residual mean=0.000021 rms=0.000173 Jy/beam ! Combined flux in latest and established models = 0.0402309 Jy ! Performing phase self-cal ! Adding 28 model components to the UV plane model. ! The established model now contains 171 components and 0.0402309 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.038122Jy sigma=0.021962 ! Fit after self-cal, rms=0.038123Jy sigma=0.021962 ! 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.8724 mas, bmaj=2.081 mas, bpa=-0.6615 degrees ! Estimated noise=5.57483 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8724 x 2.081 at -0.6615 degrees (North through East) ! Clean map min=-0.00051631 max=0.032349 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.6508 mas, bmaj=1.779 mas, bpa=-4.686 degrees ! Estimated noise=14.542 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0250343 Jy ! Component: 100 - total flux cleaned = 0.0305223 Jy ! Component: 150 - total flux cleaned = 0.0325851 Jy ! Component: 200 - total flux cleaned = 0.0340662 Jy ! Total flux subtracted in 200 components = 0.0340662 Jy ! Clean residual min=-0.001171 max=0.001374 Jy/beam ! Clean residual mean=0.000040 rms=0.000377 Jy/beam ! Combined flux in latest and established models = 0.0340662 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 18 model components to the UV plane model. ! The established model now contains 18 components and 0.0340662 Jy ! Inverting map and beam ! Estimated beam: bmin=0.8724 mas, bmaj=2.081 mas, bpa=-0.6615 degrees ! Estimated noise=5.57483 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam keep new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (0.6, 0.3). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00202482 Jy ! Component: 100 - total flux cleaned = 0.00321729 Jy ! Component: 150 - total flux cleaned = 0.00404009 Jy ! Component: 200 - total flux cleaned = 0.00464375 Jy ! Total flux subtracted in 200 components = 0.00464375 Jy ! Clean residual min=-0.000553 max=0.000562 Jy/beam ! Clean residual mean=0.000035 rms=0.000177 Jy/beam ! Combined flux in latest and established models = 0.0387099 Jy ! Adding 55 model components to the UV plane model. ! The established model now contains 73 components and 0.0387099 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.378 mas, bmaj=2.7 mas, bpa=6.02 degrees ! Estimated noise=6.15676 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000582601 Jy ! Component: 100 - total flux cleaned = 0.000926857 Jy ! Component: 150 - total flux cleaned = 0.00106826 Jy ! Component: 200 - total flux cleaned = 0.00112732 Jy ! Total flux subtracted in 200 components = 0.00112732 Jy ! Clean residual min=-0.000574 max=0.000560 Jy/beam ! Clean residual mean=0.000030 rms=0.000176 Jy/beam ! Combined flux in latest and established models = 0.0398373 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 = 1.68025e-05 Jy ! Component: 100 - total flux cleaned = 2.42623e-05 Jy ! Component: 150 - total flux cleaned = 3.14451e-05 Jy ! Component: 200 - total flux cleaned = 4.41821e-05 Jy ! Total flux subtracted in 200 components = 4.41821e-05 Jy ! Clean residual min=-0.000558 max=0.000528 Jy/beam ! Clean residual mean=0.000029 rms=0.000168 Jy/beam ! Combined flux in latest and established models = 0.0398814 Jy ! Adding 68 model components to the UV plane model. ! The established model now contains 131 components and 0.0398814 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.8724 mas, bmaj=2.081 mas, bpa=-0.6615 degrees ! Estimated noise=5.57483 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.97696e-05 Jy ! Component: 100 - total flux cleaned = -3.99823e-05 Jy ! Component: 150 - total flux cleaned = -4.68806e-05 Jy ! Component: 200 - total flux cleaned = -4.69054e-05 Jy ! Total flux subtracted in 200 components = -4.69054e-05 Jy ! Clean residual min=-0.000542 max=0.000500 Jy/beam ! Clean residual mean=0.000019 rms=0.000140 Jy/beam ! Combined flux in latest and established models = 0.0398345 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 151 components and 0.0398345 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.038116Jy sigma=0.021958 ! Fit after self-cal, rms=0.038116Jy sigma=0.021957 wmodel /scr/pima/s3111b_uvs/J0416+0105_X_map.mod ! Writing 151 model components to file: /scr/pima/s3111b_uvs/J0416+0105_X_map.mod wobs /scr/pima/s3111b_uvs/J0416+0105_X_uvs.fits ! Writing UV FITS file: /scr/pima/s3111b_uvs/J0416+0105_X_uvs.fits wwins /scr/pima/s3111b_uvs/J0416+0105_X_map.win ! wwins: Wrote 3 windows to /scr/pima/s3111b_uvs/J0416+0105_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 = 6.12422e-05 Jy ! Component: 100 - total flux cleaned = 0.000191247 Jy ! Component: 150 - total flux cleaned = 0.000302837 Jy ! Component: 200 - total flux cleaned = 0.000358199 Jy ! Component: 250 - total flux cleaned = 0.000424255 Jy ! Component: 300 - total flux cleaned = 0.000468853 Jy ! Component: 350 - total flux cleaned = 0.000530178 Jy ! Component: 400 - total flux cleaned = 0.000577685 Jy ! Component: 450 - total flux cleaned = 0.000629706 Jy ! Component: 500 - total flux cleaned = 0.000669053 Jy ! Component: 550 - total flux cleaned = 0.000712893 Jy ! Component: 600 - total flux cleaned = 0.000750306 Jy ! Component: 650 - total flux cleaned = 0.000771276 Jy ! Component: 700 - total flux cleaned = 0.00080197 Jy ! Component: 750 - total flux cleaned = 0.000821916 Jy ! Component: 800 - total flux cleaned = 0.000836524 Jy ! Component: 850 - total flux cleaned = 0.000850881 Jy ! Component: 900 - total flux cleaned = 0.000874413 Jy ! Component: 950 - total flux cleaned = 0.000888312 Jy ! Component: 1000 - total flux cleaned = 0.000906434 Jy ! Component: 1050 - total flux cleaned = 0.000915308 Jy ! Component: 1100 - total flux cleaned = 0.000919727 Jy ! Component: 1150 - total flux cleaned = 0.000932677 Jy ! Component: 1200 - total flux cleaned = 0.00092413 Jy ! Component: 1250 - total flux cleaned = 0.000928345 Jy ! Component: 1300 - total flux cleaned = 0.000932454 Jy ! Component: 1350 - total flux cleaned = 0.000928441 Jy ! Component: 1400 - total flux cleaned = 0.000936451 Jy ! Component: 1450 - total flux cleaned = 0.00093641 Jy ! Component: 1500 - total flux cleaned = 0.000944219 Jy ! Component: 1550 - total flux cleaned = 0.000944213 Jy ! Component: 1600 - total flux cleaned = 0.000948005 Jy ! Component: 1650 - total flux cleaned = 0.000951791 Jy ! Component: 1700 - total flux cleaned = 0.00095556 Jy ! Component: 1750 - total flux cleaned = 0.0009666 Jy ! Component: 1800 - total flux cleaned = 0.000970196 Jy ! Component: 1850 - total flux cleaned = 0.000973757 Jy ! Component: 1900 - total flux cleaned = 0.000977315 Jy ! Component: 1950 - total flux cleaned = 0.000980779 Jy ! Component: 2000 - total flux cleaned = 0.000980808 Jy ! Total flux subtracted in 2048 components = 0.000984297 Jy ! Clean residual min=-0.000177 max=0.000243 Jy/beam ! Clean residual mean=0.000008 rms=0.000075 Jy/beam ! Combined flux in latest and established models = 0.0408188 Jy keep ! Adding 147 model components to the UV plane model. ! The established model now contains 298 components and 0.0408189 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/s3111b_uvs/J0416+0105_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.8724 x 2.081 at -0.6615 degrees (North through East) ! Clean map min=-0.00039935 max=0.032778 Jy/beam ! Writing clean map to FITS file: /scr/pima/s3111b_uvs/J0416+0105_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0327779 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 7.47918e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.684533 0.684533 1.36907 2.73813 5.47626 10.9525 21.905 43.8101 87.6202 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0002 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.032 quit ! Quitting program ! Log file /scr/pima/s3111b_uvs/J0416+0105_X_uvs.log closed on Mon Jul 23 22:50:42 2012