! Started logfile: /scr/pima/bs241c_uvs/J2358-1807_X_uvs.log on Thu Jul 2 09:13:24 2015 obs /scr/pima/bs241c_uvs/J2358-1807_X_uva.fits ! Reading UV FITS file: /scr/pima/bs241c_uvs/J2358-1807_X_uva.fits ! AN table 1: 39 integrations on 28 of 28 possible baselines. ! AN table 2: 39 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.972603 visibilities/baseline/integration-bin. ! Found source: J2358-1807 ! ! 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 7.392e+09 3.2e+07 1 3.2e+07 ! 02 2 7.424e+09 3.2e+07 1 3.2e+07 ! 03 3 7.456e+09 3.2e+07 1 3.2e+07 ! 04 4 7.552e+09 3.2e+07 1 3.2e+07 ! 05 5 7.744e+09 3.2e+07 1 3.2e+07 ! 06 6 7.776e+09 3.2e+07 1 3.2e+07 ! 07 7 7.808e+09 3.2e+07 1 3.2e+07 ! 08 8 7.84e+09 3.2e+07 1 3.2e+07 ! ! Polarization(s): I ! ! Read 0 lines of history. ! ! Reading 22152 visibilities. select RR ! Polarization RR is unavailable. ! Selecting polarization: I, 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.2 print "taper_size =", taper_size ! taper_size = 70 ![@/home/lpetrov/bin/01_muppet /scr/pima/bs241c_uvs/J2358-1807_X] 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.200x0.200 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. ! ! Correcting IF 8. ! ! Fit before self-cal, rms=1.000182Jy sigma=28.161096 ! Fit after self-cal, rms=0.988420Jy sigma=27.844855 ! 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.7949 mas, bmaj=2.156 mas, bpa=-3.795 degrees ! Estimated noise=0.364792 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.00887921 Jy ! Component: 100 - total flux cleaned = 0.010829 Jy ! Total flux subtracted in 100 components = 0.010829 Jy ! Clean residual min=-0.001164 max=0.001147 Jy/beam ! Clean residual mean=-0.000003 rms=0.000296 Jy/beam ! Combined flux in latest and established models = 0.010829 Jy ! Performing phase self-cal ! Adding 4 model components to the UV plane model. ! The established model now contains 4 components and 0.010829 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.027250Jy sigma=0.713910 ! Fit after self-cal, rms=0.025699Jy sigma=0.667627 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00354993 Jy ! Component: 100 - total flux cleaned = 0.00444405 Jy ! Total flux subtracted in 100 components = 0.00444405 Jy ! Clean residual min=-0.001103 max=0.001185 Jy/beam ! Clean residual mean=-0.000003 rms=0.000279 Jy/beam ! Combined flux in latest and established models = 0.015273 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 15 components and 0.015273 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.025215Jy sigma=0.656377 ! Fit after self-cal, rms=0.025215Jy sigma=0.656302 ! 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.9829 mas, bmaj=2.621 mas, bpa=-2.726 degrees ! Estimated noise=0.171812 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.000546586 Jy ! Component: 100 - total flux cleaned = 0.000662405 Jy ! Component: 150 - total flux cleaned = 0.000662125 Jy ! Component: 200 - total flux cleaned = 0.000662205 Jy ! Total flux subtracted in 200 components = 0.000662205 Jy ! Clean residual min=-0.000622 max=0.000599 Jy/beam ! Clean residual mean=0.000001 rms=0.000166 Jy/beam ! Combined flux in latest and established models = 0.0159352 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 33 components and 0.0159352 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.025195Jy sigma=0.656125 ! Fit after self-cal, rms=0.025193Jy sigma=0.656078 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9829 x 2.621 at -2.726 degrees (North through East) ! Clean map min=-0.00061354 max=0.015407 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: ! FD 1.02 HN 0.94 KP 0.91 LA 0.86 ! NL 0.96 OV 0.85 PT 0.92 SC 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.10 FD 1.07 HN 0.91 KP 1.17 ! LA 0.97 MK 0.92 NL 0.93 OV 1.09 ! PT 0.91 SC 1.05 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 1.00* SC 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.15 FD 1.11 HN 0.97 KP 1.10 ! LA 1.01 MK 1.08 NL 0.98 OV 0.99 ! PT 1.04 SC 0.94 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.10 HN 0.89 KP 1.06 LA 1.00 ! NL 0.87 OV 0.85 PT 0.92 SC 0.87 ! ! Telescope amplitude corrections in sub-array 2: ! 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: ! FD 1.00* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 1.00* SC 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.88 FD 1.10 HN 1.07 KP 1.02 ! LA 1.04 MK 1.14 NL 0.99 OV 1.05 ! PT 0.96 SC 1.06 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! FD 1.17 HN 0.91 KP 0.98 LA 0.97 ! NL 0.93 OV 0.87 PT 0.91 SC 0.96 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.96 FD 1.17 HN 1.05 KP 1.10 ! LA 1.07 MK 1.05 NL 1.04 OV 0.98 ! PT 1.01 SC 1.04 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 1.00* SC 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! 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 7. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 1.00* SC 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! 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 8. ! Telescope amplitude corrections in sub-array 1: ! FD 1.00* HN 1.00* KP 1.00* LA 1.00* ! NL 1.00* OV 1.00* PT 1.00* SC 1.00* ! ! Telescope amplitude corrections in sub-array 2: ! 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* ! ! ! Fit before self-cal, rms=0.025193Jy sigma=0.656078 ! Fit after self-cal, rms=0.025088Jy sigma=0.654993 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=0.9869 mas, bmaj=2.632 mas, bpa=-2.694 degrees ! Estimated noise=0.172628 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.000170936 Jy ! Component: 100 - total flux cleaned = 0.000176213 Jy ! Component: 150 - total flux cleaned = 0.000176027 Jy ! Component: 200 - total flux cleaned = 0.000172411 Jy ! Total flux subtracted in 200 components = 0.000172411 Jy ! Clean residual min=-0.000534 max=0.000557 Jy/beam ! Clean residual mean=0.000000 rms=0.000136 Jy/beam ! Combined flux in latest and established models = 0.0161077 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 34 components and 0.0161077 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.025085Jy sigma=0.654982 ! Fit after self-cal, rms=0.025073Jy sigma=0.654586 ! 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.025073Jy sigma=0.654586 ! Fit after self-cal, rms=0.025136Jy sigma=0.654538 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.9851 mas, bmaj=2.627 mas, bpa=-2.656 degrees ! Estimated noise=0.172934 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 8.58672e-05 Jy ! Component: 100 - total flux cleaned = 9.77335e-05 Jy ! Component: 150 - total flux cleaned = 9.78736e-05 Jy ! Component: 200 - total flux cleaned = 9.50286e-05 Jy ! Total flux subtracted in 200 components = 9.50286e-05 Jy ! Clean residual min=-0.000506 max=0.000565 Jy/beam ! Clean residual mean=0.000000 rms=0.000135 Jy/beam ! Combined flux in latest and established models = 0.0162027 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 36 components and 0.0162027 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.025134Jy sigma=0.654533 ! Fit after self-cal, rms=0.025132Jy sigma=0.654464 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.61087e-06 Jy ! Component: 100 - total flux cleaned = -4.4071e-06 Jy ! Component: 150 - total flux cleaned = -6.69051e-06 Jy ! Component: 200 - total flux cleaned = -8.74657e-06 Jy ! Total flux subtracted in 200 components = -8.74657e-06 Jy ! Clean residual min=-0.000506 max=0.000576 Jy/beam ! Clean residual mean=0.000001 rms=0.000135 Jy/beam ! Combined flux in latest and established models = 0.0161939 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 38 components and 0.0161939 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.025132Jy sigma=0.654455 ! Fit after self-cal, rms=0.025131Jy sigma=0.654452 ! 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.025131Jy sigma=0.654452 ! Fit after self-cal, rms=0.025186Jy sigma=0.654442 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=0.983 mas, bmaj=2.622 mas, bpa=-2.646 degrees ! Estimated noise=0.173209 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 4.90935e-05 Jy ! Component: 100 - total flux cleaned = 5.49255e-05 Jy ! Component: 150 - total flux cleaned = 5.26851e-05 Jy ! Component: 200 - total flux cleaned = 5.06449e-05 Jy ! Total flux subtracted in 200 components = 5.06449e-05 Jy ! Clean residual min=-0.000499 max=0.000576 Jy/beam ! Clean residual mean=0.000000 rms=0.000135 Jy/beam ! Combined flux in latest and established models = 0.0162446 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 40 components and 0.0162446 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.025185Jy sigma=0.654440 ! Fit after self-cal, rms=0.025185Jy sigma=0.654436 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 (-20.4, -43.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000496584 Jy ! Component: 100 - total flux cleaned = 0.000577886 Jy ! Component: 150 - total flux cleaned = 0.000613416 Jy ! Component: 200 - total flux cleaned = 0.000613771 Jy ! Total flux subtracted in 200 components = 0.000613771 Jy ! Clean residual min=-0.000464 max=0.000507 Jy/beam ! Clean residual mean=0.000000 rms=0.000128 Jy/beam ! Combined flux in latest and established models = 0.0168584 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 56 components and 0.0168584 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.025175Jy sigma=0.654142 ! Fit after self-cal, rms=0.025167Jy sigma=0.654034 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 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.025167Jy sigma=0.654034 ! Fit after self-cal, rms=0.025170Jy sigma=0.654027 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.171 mas, bmaj=4.622 mas, bpa=-3.306 degrees ! Estimated noise=0.214089 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000207582 Jy ! Component: 100 - total flux cleaned = 0.000215388 Jy ! Component: 150 - total flux cleaned = 0.000210275 Jy ! Component: 200 - total flux cleaned = 0.00021025 Jy ! Total flux subtracted in 200 components = 0.00021025 Jy ! Clean residual min=-0.000587 max=0.000640 Jy/beam ! Clean residual mean=0.000001 rms=0.000169 Jy/beam ! Combined flux in latest and established models = 0.0170686 Jy selfcal ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 67 components and 0.0170686 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.025166Jy sigma=0.653953 ! Fit after self-cal, rms=0.025164Jy sigma=0.653923 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.000115383 Jy ! Component: 100 - total flux cleaned = 0.000115434 Jy ! Component: 150 - total flux cleaned = 0.000115651 Jy ! Component: 200 - total flux cleaned = 0.000115596 Jy ! Total flux subtracted in 200 components = 0.000115596 Jy ! Clean residual min=-0.000572 max=0.000636 Jy/beam ! Clean residual mean=0.000001 rms=0.000167 Jy/beam ! Combined flux in latest and established models = 0.0171842 Jy ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 67 components and 0.0171842 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.025162Jy sigma=0.653895 ! Fit after self-cal, rms=0.025160Jy sigma=0.653881 ! 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.9818 mas, bmaj=2.619 mas, bpa=-2.631 degrees ! Estimated noise=0.173185 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9818 x 2.619 at -2.631 degrees (North through East) ! Clean map min=-0.00043105 max=0.015603 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.7978 mas, bmaj=2.161 mas, bpa=-3.679 degrees ! Estimated noise=0.367279 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0120002 Jy ! Component: 100 - total flux cleaned = 0.0146791 Jy ! Component: 150 - total flux cleaned = 0.0157127 Jy ! Component: 200 - total flux cleaned = 0.0160373 Jy ! Total flux subtracted in 200 components = 0.0160373 Jy ! Clean residual min=-0.001010 max=0.001029 Jy/beam ! Clean residual mean=-0.000004 rms=0.000261 Jy/beam ! Combined flux in latest and established models = 0.0160373 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 24 model components to the UV plane model. ! The established model now contains 24 components and 0.0160373 Jy ! Inverting map and beam ! Estimated beam: bmin=0.9818 mas, bmaj=2.619 mas, bpa=-2.631 degrees ! Estimated noise=0.173185 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.4, 2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000775212 Jy ! Component: 100 - total flux cleaned = 0.00110078 Jy ! Component: 150 - total flux cleaned = 0.00121238 Jy ! Component: 200 - total flux cleaned = 0.00122631 Jy ! Total flux subtracted in 200 components = 0.00122631 Jy ! Clean residual min=-0.000488 max=0.000549 Jy/beam ! Clean residual mean=0.000000 rms=0.000131 Jy/beam ! Combined flux in latest and established models = 0.0172636 Jy ! Adding 24 model components to the UV plane model. ! The established model now contains 48 components and 0.0172636 Jy ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths. clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.171 mas, bmaj=4.622 mas, bpa=-3.306 degrees ! Estimated noise=0.214089 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 1.98686e-05 Jy ! Component: 100 - total flux cleaned = 4.87348e-05 Jy ! Component: 150 - total flux cleaned = 4.11777e-05 Jy ! Component: 200 - total flux cleaned = 4.11627e-05 Jy ! Total flux subtracted in 200 components = 4.11627e-05 Jy ! Clean residual min=-0.000566 max=0.000601 Jy/beam ! Clean residual mean=0.000001 rms=0.000167 Jy/beam ! Combined flux in latest and established models = 0.0173048 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 = -6.33179e-06 Jy ! Component: 100 - total flux cleaned = -1.20074e-05 Jy ! Component: 150 - total flux cleaned = -2.18958e-05 Jy ! Component: 200 - total flux cleaned = -2.62814e-05 Jy ! Total flux subtracted in 200 components = -2.62814e-05 Jy ! Clean residual min=-0.000562 max=0.000589 Jy/beam ! Clean residual mean=0.000001 rms=0.000166 Jy/beam ! Combined flux in latest and established models = 0.0172785 Jy ! Adding 28 model components to the UV plane model. ! The established model now contains 72 components and 0.0172785 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=0.9818 mas, bmaj=2.619 mas, bpa=-2.631 degrees ! Estimated noise=0.173185 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -5.62114e-05 Jy ! Component: 100 - total flux cleaned = -6.51575e-05 Jy ! Component: 150 - total flux cleaned = -5.79693e-05 Jy ! Component: 200 - total flux cleaned = -5.81422e-05 Jy ! Total flux subtracted in 200 components = -5.81422e-05 Jy ! Clean residual min=-0.000458 max=0.000484 Jy/beam ! Clean residual mean=0.000000 rms=0.000125 Jy/beam ! Combined flux in latest and established models = 0.0172203 Jy selfcal ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 87 components and 0.0172203 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.025156Jy sigma=0.653789 ! Fit after self-cal, rms=0.025151Jy sigma=0.653723 wmodel /scr/pima/bs241c_uvs/J2358-1807_X_map.mod ! Writing 87 model components to file: /scr/pima/bs241c_uvs/J2358-1807_X_map.mod wobs /scr/pima/bs241c_uvs/J2358-1807_X_uvs.fits ! Writing UV FITS file: /scr/pima/bs241c_uvs/J2358-1807_X_uvs.fits wwins /scr/pima/bs241c_uvs/J2358-1807_X_map.win ! wwins: Wrote 3 windows to /scr/pima/bs241c_uvs/J2358-1807_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=4096 gain=0.01 cutoff=0 ! Component: 050 - total flux cleaned = 3.99361e-05 Jy ! Component: 100 - total flux cleaned = 7.12699e-05 Jy ! Component: 150 - total flux cleaned = 0.000101372 Jy ! Component: 200 - total flux cleaned = 0.000115899 Jy ! Component: 250 - total flux cleaned = 0.000122978 Jy ! Component: 300 - total flux cleaned = 0.000116022 Jy ! Component: 350 - total flux cleaned = 8.88526e-05 Jy ! Component: 400 - total flux cleaned = 8.88118e-05 Jy ! Component: 450 - total flux cleaned = 6.92575e-05 Jy ! Component: 500 - total flux cleaned = 5.65485e-05 Jy ! Component: 550 - total flux cleaned = 5.02425e-05 Jy ! Component: 600 - total flux cleaned = 2.55763e-05 Jy ! Component: 650 - total flux cleaned = 7.51181e-06 Jy ! Component: 700 - total flux cleaned = 1.93277e-05 Jy ! Component: 750 - total flux cleaned = -2.74704e-05 Jy ! Component: 800 - total flux cleaned = -4.46649e-05 Jy ! Component: 850 - total flux cleaned = -5.04208e-05 Jy ! Component: 900 - total flux cleaned = -8.38999e-05 Jy ! Component: 950 - total flux cleaned = -0.000111417 Jy ! Component: 1000 - total flux cleaned = -0.000138415 Jy ! Component: 1050 - total flux cleaned = -0.00013305 Jy ! Component: 1100 - total flux cleaned = -0.000164671 Jy ! Component: 1150 - total flux cleaned = -0.000175058 Jy ! Component: 1200 - total flux cleaned = -0.000195504 Jy ! Component: 1250 - total flux cleaned = -0.000195591 Jy ! Component: 1300 - total flux cleaned = -0.000205593 Jy ! Component: 1350 - total flux cleaned = -0.000210464 Jy ! Component: 1400 - total flux cleaned = -0.000215325 Jy ! Component: 1450 - total flux cleaned = -0.000220108 Jy ! Component: 1500 - total flux cleaned = -0.00023431 Jy ! Component: 1550 - total flux cleaned = -0.000224948 Jy ! Component: 1600 - total flux cleaned = -0.000234273 Jy ! Component: 1650 - total flux cleaned = -0.000234295 Jy ! Component: 1700 - total flux cleaned = -0.000216135 Jy ! Component: 1750 - total flux cleaned = -0.000220604 Jy ! Component: 1800 - total flux cleaned = -0.000225016 Jy ! Component: 1850 - total flux cleaned = -0.000233733 Jy ! Component: 1900 - total flux cleaned = -0.000220633 Jy ! Component: 1950 - total flux cleaned = -0.000229181 Jy ! Component: 2000 - total flux cleaned = -0.000224862 Jy ! Component: 2050 - total flux cleaned = -0.000216399 Jy ! Component: 2100 - total flux cleaned = -0.000195636 Jy ! Component: 2150 - total flux cleaned = -0.000195729 Jy ! Component: 2200 - total flux cleaned = -0.000175366 Jy ! Component: 2250 - total flux cleaned = -0.000175387 Jy ! Component: 2300 - total flux cleaned = -0.000159377 Jy ! Component: 2350 - total flux cleaned = -0.000123634 Jy ! Component: 2400 - total flux cleaned = -0.000111854 Jy ! Component: 2450 - total flux cleaned = -8.84752e-05 Jy ! Component: 2500 - total flux cleaned = -6.14939e-05 Jy ! Component: 2550 - total flux cleaned = -4.99782e-05 Jy ! Component: 2600 - total flux cleaned = -4.99851e-05 Jy ! Component: 2650 - total flux cleaned = -3.8722e-05 Jy ! Component: 2700 - total flux cleaned = -5.12586e-06 Jy ! Component: 2750 - total flux cleaned = -1.62062e-05 Jy ! Component: 2800 - total flux cleaned = 5.8336e-06 Jy ! Component: 2850 - total flux cleaned = 2.76647e-05 Jy ! Component: 2900 - total flux cleaned = 3.85255e-05 Jy ! Component: 2950 - total flux cleaned = 4.92588e-05 Jy ! Component: 3000 - total flux cleaned = 4.91909e-05 Jy ! Component: 3050 - total flux cleaned = 5.97721e-05 Jy ! Component: 3100 - total flux cleaned = 5.97927e-05 Jy ! Component: 3150 - total flux cleaned = 8.41181e-05 Jy ! Component: 3200 - total flux cleaned = 8.0641e-05 Jy ! Component: 3250 - total flux cleaned = 9.77759e-05 Jy ! Component: 3300 - total flux cleaned = 0.000111348 Jy ! Component: 3350 - total flux cleaned = 0.000118124 Jy ! Component: 3400 - total flux cleaned = 0.000134849 Jy ! Component: 3450 - total flux cleaned = 0.000158137 Jy ! Component: 3500 - total flux cleaned = 0.000184583 Jy ! Component: 3550 - total flux cleaned = 0.000178013 Jy ! Component: 3600 - total flux cleaned = 0.000204109 Jy ! Component: 3650 - total flux cleaned = 0.000213836 Jy ! Component: 3700 - total flux cleaned = 0.000233104 Jy ! Component: 3750 - total flux cleaned = 0.00024271 Jy ! Component: 3800 - total flux cleaned = 0.00025226 Jy ! Component: 3850 - total flux cleaned = 0.000268059 Jy ! Component: 3900 - total flux cleaned = 0.000274307 Jy ! Component: 3950 - total flux cleaned = 0.000289882 Jy ! Component: 4000 - total flux cleaned = 0.000302262 Jy ! Component: 4050 - total flux cleaned = 0.000317675 Jy ! Total flux subtracted in 4096 components = 0.000320722 Jy ! Clean residual min=-0.000174 max=0.000190 Jy/beam ! Clean residual mean=-0.000000 rms=0.000056 Jy/beam ! Combined flux in latest and established models = 0.0175411 Jy keep ! Adding 319 model components to the UV plane model. ! The established model now contains 406 components and 0.0175411 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bs241c_uvs/J2358-1807_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 0.9818 x 2.619 at -2.631 degrees (North through East) ! Clean map min=-0.00035204 max=0.015618 Jy/beam ! Writing clean map to FITS file: /scr/pima/bs241c_uvs/J2358-1807_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0156184 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 5.48104e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -1.05281 1.05281 2.10561 4.21123 8.42245 16.8449 33.6898 67.3796 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.015 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 284.952 quit ! Quitting program ! Log file /scr/pima/bs241c_uvs/J2358-1807_X_uvs.log closed on Thu Jul 2 09:13:28 2015