! Started logfile: /scr/pima/bs241d_uvs/J0704-1046_X_uvs.log on Tue Mar 24 08:19:05 2015 obs /scr/pima/bs241d_uvs/J0704-1046_X_uva.fits ! Reading UV FITS file: /scr/pima/bs241d_uvs/J0704-1046_X_uva.fits ! AN table 1: 76 integrations on 36 of 36 possible baselines. ! Apparent sampling: 0.646564 visibilities/baseline/integration-bin. ! Found source: J0704-1046 ! ! 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 14152 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/bs241d_uvs/J0704-1046_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. ! A total of 80 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 80 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 80 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 80 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 5. ! A total of 80 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 6. ! A total of 80 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 7. ! A total of 80 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 8. ! A total of 80 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.001037Jy sigma=32.520640 ! Fit after self-cal, rms=0.989430Jy sigma=32.178503 ! 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.855 mas, bmaj=1.99 mas, bpa=7.444 degrees ! Estimated noise=0.319988 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.00797237 Jy ! Component: 100 - total flux cleaned = 0.00982994 Jy ! Total flux subtracted in 100 components = 0.00982994 Jy ! Clean residual min=-0.001299 max=0.001431 Jy/beam ! Clean residual mean=-0.000003 rms=0.000335 Jy/beam ! Combined flux in latest and established models = 0.00982994 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 7 components and 0.00982994 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.025094Jy sigma=0.739510 ! Fit after self-cal, rms=0.023463Jy sigma=0.680186 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00365973 Jy ! Component: 100 - total flux cleaned = 0.00476673 Jy ! Total flux subtracted in 100 components = 0.00476673 Jy ! Clean residual min=-0.001313 max=0.001513 Jy/beam ! Clean residual mean=-0.000003 rms=0.000365 Jy/beam ! Combined flux in latest and established models = 0.0145967 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 16 components and 0.0145967 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.022843Jy sigma=0.660616 ! Fit after self-cal, rms=0.022844Jy sigma=0.660478 ! Inverting map print "************** FINISHED UNIFORM WEIGHTING CLEAN **************" ! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** ! uvw 0,-1 ! Uniform weighting is not currently selected. ! Gridding weights will be scaled by errors raised to the power -1. ! Radial weighting is not currently selected. win_mult = win_mult * 1.6 clean_niter = clean_niter * 2 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.012 mas, bmaj=2.316 mas, bpa=6.211 degrees ! Estimated noise=0.185234 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.00073549 Jy ! Component: 100 - total flux cleaned = 0.00101501 Jy ! Component: 150 - total flux cleaned = 0.00105985 Jy ! Component: 200 - total flux cleaned = 0.00106757 Jy ! Total flux subtracted in 200 components = 0.00106757 Jy ! Clean residual min=-0.001230 max=0.002006 Jy/beam ! Clean residual mean=-0.000005 rms=0.000396 Jy/beam ! Combined flux in latest and established models = 0.0156642 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 21 components and 0.0156642 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.022811Jy sigma=0.659871 ! Fit after self-cal, rms=0.022810Jy sigma=0.659746 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! restore ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.012 x 2.316 at 6.211 degrees (North through East) ! Clean map min=-0.0012077 max=0.014683 Jy/beam if ( peak(flux,max)/imstat(rms) < lim_self ) selflim lim_val ! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2. ! Selfcal phase corrections will not be limited. gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 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 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 HN 0.90 KP 1.17 LA 0.95 ! MK 0.99 NL 0.94 OV 0.96 PT 0.98 ! SC 0.94 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00* HN 1.00* KP 1.00* LA 1.00* ! MK 1.00* NL 1.00* OV 1.00* PT 1.00* ! SC 1.00* ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 HN 1.07 KP 1.15 LA 0.88 ! MK 1.06 NL 1.13 OV 0.85 PT 0.95 ! SC 1.08 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 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 6. ! Telescope amplitude corrections in sub-array 1: ! BR 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: ! BR 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: ! BR 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.022810Jy sigma=0.659746 ! Fit after self-cal, rms=0.022709Jy sigma=0.659068 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.013 mas, bmaj=2.321 mas, bpa=6.199 degrees ! Estimated noise=0.184558 mJy/beam. repeat if (peak(flux) > flux_cutoff) peakwin win_mult clean clean_niter,clean_gain flux_cutoff = imstat(rms) * dynam selfcal new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (6.4, 3.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00183905 Jy ! Component: 100 - total flux cleaned = 0.00272794 Jy ! Component: 150 - total flux cleaned = 0.0031857 Jy ! Component: 200 - total flux cleaned = 0.00340083 Jy ! Total flux subtracted in 200 components = 0.00340083 Jy ! Clean residual min=-0.000785 max=0.000903 Jy/beam ! Clean residual mean=-0.000004 rms=0.000241 Jy/beam ! Combined flux in latest and established models = 0.0190651 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 48 components and 0.0190651 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.022579Jy sigma=0.653457 ! Fit after self-cal, rms=0.022482Jy sigma=0.649872 ! Inverting map ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00128894 Jy ! Component: 100 - total flux cleaned = 0.00195966 Jy ! Component: 150 - total flux cleaned = 0.00242544 Jy ! Component: 200 - total flux cleaned = 0.00268375 Jy ! Total flux subtracted in 200 components = 0.00268375 Jy ! Clean residual min=-0.000751 max=0.000803 Jy/beam ! Clean residual mean=-0.000003 rms=0.000218 Jy/beam ! Combined flux in latest and established models = 0.0217488 Jy ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 61 components and 0.0217488 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.022410Jy sigma=0.646931 ! Fit after self-cal, rms=0.022351Jy sigma=0.644673 ! 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.022351Jy sigma=0.644673 ! Fit after self-cal, rms=0.022530Jy sigma=0.643408 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.013 mas, bmaj=2.327 mas, bpa=6.121 degrees ! Estimated noise=0.186476 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000982626 Jy ! Component: 100 - total flux cleaned = 0.00146388 Jy ! Component: 150 - total flux cleaned = 0.00174743 Jy ! Component: 200 - total flux cleaned = 0.00189039 Jy ! Total flux subtracted in 200 components = 0.00189039 Jy ! Clean residual min=-0.000657 max=0.000660 Jy/beam ! Clean residual mean=-0.000002 rms=0.000175 Jy/beam ! Combined flux in latest and established models = 0.0236392 Jy selfcal ! Performing phase self-cal ! Adding 29 model components to the UV plane model. ! The established model now contains 69 components and 0.0236392 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.022489Jy sigma=0.641776 ! Fit after self-cal, rms=0.022468Jy sigma=0.640527 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.000652623 Jy ! Component: 100 - total flux cleaned = 0.000878468 Jy ! Component: 150 - total flux cleaned = 0.00102746 Jy ! Component: 200 - total flux cleaned = 0.00112206 Jy ! Total flux subtracted in 200 components = 0.00112206 Jy ! Clean residual min=-0.000685 max=0.000648 Jy/beam ! Clean residual mean=-0.000002 rms=0.000172 Jy/beam ! Combined flux in latest and established models = 0.0247613 Jy ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 82 components and 0.0247613 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.022449Jy sigma=0.639742 ! Fit after self-cal, rms=0.022418Jy sigma=0.638722 ! 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.022418Jy sigma=0.638722 ! Fit after self-cal, rms=0.022531Jy sigma=0.638094 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.011 mas, bmaj=2.327 mas, bpa=6.137 degrees ! Estimated noise=0.18679 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000524609 Jy ! Component: 100 - total flux cleaned = 0.00070065 Jy ! Component: 150 - total flux cleaned = 0.000810903 Jy ! Component: 200 - total flux cleaned = 0.000908708 Jy ! Total flux subtracted in 200 components = 0.000908708 Jy ! Clean residual min=-0.000674 max=0.000616 Jy/beam ! Clean residual mean=-0.000002 rms=0.000157 Jy/beam ! Combined flux in latest and established models = 0.02567 Jy selfcal ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 90 components and 0.02567 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.022518Jy sigma=0.637567 ! Fit after self-cal, rms=0.022517Jy sigma=0.637219 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.000251182 Jy ! Component: 100 - total flux cleaned = 0.000360357 Jy ! Component: 150 - total flux cleaned = 0.000432362 Jy ! Component: 200 - total flux cleaned = 0.000483817 Jy ! Total flux subtracted in 200 components = 0.000483817 Jy ! Clean residual min=-0.000639 max=0.000605 Jy/beam ! Clean residual mean=-0.000001 rms=0.000155 Jy/beam ! Combined flux in latest and established models = 0.0261538 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 98 components and 0.0261538 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.022511Jy sigma=0.636942 ! Fit after self-cal, rms=0.022501Jy sigma=0.636538 ! 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.022501Jy sigma=0.636538 ! Fit after self-cal, rms=0.022601Jy sigma=0.636206 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.169 mas, bmaj=3.871 mas, bpa=0.5034 degrees ! Estimated noise=0.236741 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000502378 Jy ! Component: 100 - total flux cleaned = 0.000769722 Jy ! Component: 150 - total flux cleaned = 0.000951361 Jy ! Component: 200 - total flux cleaned = 0.00101718 Jy ! Total flux subtracted in 200 components = 0.00101718 Jy ! Clean residual min=-0.000588 max=0.000715 Jy/beam ! Clean residual mean=-0.000002 rms=0.000186 Jy/beam ! Combined flux in latest and established models = 0.027171 Jy selfcal ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 109 components and 0.027171 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.022596Jy sigma=0.636048 ! Fit after self-cal, rms=0.022593Jy sigma=0.635557 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.000291585 Jy ! Component: 100 - total flux cleaned = 0.000362733 Jy ! Component: 150 - total flux cleaned = 0.000392392 Jy ! Component: 200 - total flux cleaned = 0.000408119 Jy ! Total flux subtracted in 200 components = 0.000408119 Jy ! Clean residual min=-0.000584 max=0.000659 Jy/beam ! Clean residual mean=-0.000002 rms=0.000178 Jy/beam ! Combined flux in latest and established models = 0.0275791 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 115 components and 0.0275791 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.022590Jy sigma=0.635494 ! Fit after self-cal, rms=0.022581Jy sigma=0.635133 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "************** FINISHED AMPLITUDE SELF-CAL **************" ! ************** FINISHED AMPLITUDE SELF-CAL ************** restore ! Inverting map and beam ! Estimated beam: bmin=1.01 mas, bmaj=2.331 mas, bpa=6.096 degrees ! Estimated noise=0.187163 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.01 x 2.331 at 6.096 degrees (North through East) ! Clean map min=-0.00057965 max=0.014146 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.8554 mas, bmaj=2.015 mas, bpa=7.171 degrees ! Estimated noise=0.326254 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0111825 Jy ! Component: 100 - total flux cleaned = 0.015341 Jy ! Component: 150 - total flux cleaned = 0.0179633 Jy ! Component: 200 - total flux cleaned = 0.0197678 Jy ! Total flux subtracted in 200 components = 0.0197678 Jy ! Clean residual min=-0.001241 max=0.001481 Jy/beam ! Clean residual mean=-0.000001 rms=0.000369 Jy/beam ! Combined flux in latest and established models = 0.0197678 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.0197678 Jy ! Inverting map and beam ! Estimated beam: bmin=1.01 mas, bmaj=2.331 mas, bpa=6.096 degrees ! Estimated noise=0.187163 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.00169851 Jy ! Component: 100 - total flux cleaned = 0.00292351 Jy ! Component: 150 - total flux cleaned = 0.00385446 Jy ! Component: 200 - total flux cleaned = 0.00460403 Jy ! Total flux subtracted in 200 components = 0.00460403 Jy ! Clean residual min=-0.000879 max=0.000794 Jy/beam ! Clean residual mean=-0.000002 rms=0.000216 Jy/beam ! Combined flux in latest and established models = 0.0243718 Jy ! Adding 43 model components to the UV plane model. ! The established model now contains 62 components and 0.0243718 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.169 mas, bmaj=3.871 mas, bpa=0.5034 degrees ! Estimated noise=0.236741 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00110652 Jy ! Component: 100 - total flux cleaned = 0.00181993 Jy ! Component: 150 - total flux cleaned = 0.00231479 Jy ! Component: 200 - total flux cleaned = 0.00267931 Jy ! Total flux subtracted in 200 components = 0.00267931 Jy ! Clean residual min=-0.000656 max=0.000717 Jy/beam ! Clean residual mean=-0.000002 rms=0.000208 Jy/beam ! Combined flux in latest and established models = 0.0270511 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.000194402 Jy ! Component: 100 - total flux cleaned = 0.000325657 Jy ! Component: 150 - total flux cleaned = 0.000436401 Jy ! Component: 200 - total flux cleaned = 0.000530331 Jy ! Total flux subtracted in 200 components = 0.000530331 Jy ! Clean residual min=-0.000540 max=0.000691 Jy/beam ! Clean residual mean=-0.000002 rms=0.000185 Jy/beam ! Combined flux in latest and established models = 0.0275814 Jy ! Adding 60 model components to the UV plane model. ! The established model now contains 99 components and 0.0275814 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.01 mas, bmaj=2.331 mas, bpa=6.096 degrees ! Estimated noise=0.187163 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -3.17924e-05 Jy ! Component: 100 - total flux cleaned = -2.00624e-05 Jy ! Component: 150 - total flux cleaned = 8.981e-06 Jy ! Component: 200 - total flux cleaned = 1.80006e-05 Jy ! Total flux subtracted in 200 components = 1.80006e-05 Jy ! Clean residual min=-0.000596 max=0.000601 Jy/beam ! Clean residual mean=-0.000001 rms=0.000144 Jy/beam ! Combined flux in latest and established models = 0.0275994 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 112 components and 0.0275994 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.022583Jy sigma=0.635167 ! Fit after self-cal, rms=0.022577Jy sigma=0.634931 wmodel /scr/pima/bs241d_uvs/J0704-1046_X_map.mod ! Writing 112 model components to file: /scr/pima/bs241d_uvs/J0704-1046_X_map.mod wobs /scr/pima/bs241d_uvs/J0704-1046_X_uvs.fits ! Writing UV FITS file: /scr/pima/bs241d_uvs/J0704-1046_X_uvs.fits wwins /scr/pima/bs241d_uvs/J0704-1046_X_map.win ! wwins: Wrote 2 windows to /scr/pima/bs241d_uvs/J0704-1046_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 = -9.45378e-05 Jy ! Component: 100 - total flux cleaned = -0.000113496 Jy ! Component: 150 - total flux cleaned = -0.000130792 Jy ! Component: 200 - total flux cleaned = -0.000147044 Jy ! Component: 250 - total flux cleaned = -0.000139598 Jy ! Component: 300 - total flux cleaned = -0.000132033 Jy ! Component: 350 - total flux cleaned = -9.84193e-05 Jy ! Component: 400 - total flux cleaned = -9.84578e-05 Jy ! Component: 450 - total flux cleaned = -6.78109e-05 Jy ! Component: 500 - total flux cleaned = -2.07082e-05 Jy ! Component: 550 - total flux cleaned = 1.88472e-05 Jy ! Component: 600 - total flux cleaned = 4.06412e-05 Jy ! Component: 650 - total flux cleaned = 5.13165e-05 Jy ! Component: 700 - total flux cleaned = 7.17045e-05 Jy ! Component: 750 - total flux cleaned = 8.63755e-05 Jy ! Component: 800 - total flux cleaned = 0.000100813 Jy ! Component: 850 - total flux cleaned = 0.000114706 Jy ! Component: 900 - total flux cleaned = 0.000105795 Jy ! Component: 950 - total flux cleaned = 0.000127687 Jy ! Component: 1000 - total flux cleaned = 0.000123396 Jy ! Component: 1050 - total flux cleaned = 0.000115075 Jy ! Component: 1100 - total flux cleaned = 0.000131281 Jy ! Component: 1150 - total flux cleaned = 0.000135102 Jy ! Component: 1200 - total flux cleaned = 0.000127389 Jy ! Component: 1250 - total flux cleaned = 0.000131237 Jy ! Component: 1300 - total flux cleaned = 0.000131235 Jy ! Component: 1350 - total flux cleaned = 0.000134878 Jy ! Component: 1400 - total flux cleaned = 0.000142135 Jy ! Component: 1450 - total flux cleaned = 0.000149244 Jy ! Component: 1500 - total flux cleaned = 0.000156174 Jy ! Component: 1550 - total flux cleaned = 0.000162984 Jy ! Component: 1600 - total flux cleaned = 0.000166308 Jy ! Component: 1650 - total flux cleaned = 0.000172961 Jy ! Component: 1700 - total flux cleaned = 0.000189348 Jy ! Component: 1750 - total flux cleaned = 0.000202269 Jy ! Component: 1800 - total flux cleaned = 0.000221382 Jy ! Component: 1850 - total flux cleaned = 0.000252697 Jy ! Component: 1900 - total flux cleaned = 0.000258877 Jy ! Component: 1950 - total flux cleaned = 0.00028328 Jy ! Component: 2000 - total flux cleaned = 0.000292318 Jy ! Component: 2050 - total flux cleaned = 0.000316176 Jy ! Component: 2100 - total flux cleaned = 0.000336741 Jy ! Component: 2150 - total flux cleaned = 0.000345474 Jy ! Component: 2200 - total flux cleaned = 0.000368428 Jy ! Component: 2250 - total flux cleaned = 0.000379757 Jy ! Component: 2300 - total flux cleaned = 0.000390976 Jy ! Component: 2350 - total flux cleaned = 0.000404865 Jy ! Component: 2400 - total flux cleaned = 0.000424138 Jy ! Component: 2450 - total flux cleaned = 0.000440476 Jy ! Component: 2500 - total flux cleaned = 0.000456663 Jy ! Component: 2550 - total flux cleaned = 0.000467362 Jy ! Component: 2600 - total flux cleaned = 0.000478002 Jy ! Component: 2650 - total flux cleaned = 0.000496452 Jy ! Component: 2700 - total flux cleaned = 0.000509531 Jy ! Component: 2750 - total flux cleaned = 0.000522489 Jy ! Component: 2800 - total flux cleaned = 0.000537923 Jy ! Component: 2850 - total flux cleaned = 0.000548135 Jy ! Component: 2900 - total flux cleaned = 0.00056335 Jy ! Component: 2950 - total flux cleaned = 0.000578457 Jy ! Component: 3000 - total flux cleaned = 0.000585956 Jy ! Component: 3050 - total flux cleaned = 0.000593408 Jy ! Component: 3100 - total flux cleaned = 0.000605787 Jy ! Component: 3150 - total flux cleaned = 0.000613144 Jy ! Component: 3200 - total flux cleaned = 0.000622928 Jy ! Component: 3250 - total flux cleaned = 0.000635095 Jy ! Component: 3300 - total flux cleaned = 0.000652075 Jy ! Component: 3350 - total flux cleaned = 0.000668983 Jy ! Component: 3400 - total flux cleaned = 0.000680989 Jy ! Component: 3450 - total flux cleaned = 0.000683391 Jy ! Component: 3500 - total flux cleaned = 0.00069772 Jy ! Component: 3550 - total flux cleaned = 0.000704862 Jy ! Component: 3600 - total flux cleaned = 0.000714366 Jy ! Component: 3650 - total flux cleaned = 0.000726207 Jy ! Component: 3700 - total flux cleaned = 0.000738011 Jy ! Component: 3750 - total flux cleaned = 0.000745084 Jy ! Component: 3800 - total flux cleaned = 0.000759195 Jy ! Component: 3850 - total flux cleaned = 0.00077091 Jy ! Component: 3900 - total flux cleaned = 0.000780269 Jy ! Component: 3950 - total flux cleaned = 0.000789621 Jy ! Component: 4000 - total flux cleaned = 0.000801303 Jy ! Component: 4050 - total flux cleaned = 0.000812961 Jy ! Total flux subtracted in 4096 components = 0.000819945 Jy ! Clean residual min=-0.000152 max=0.000154 Jy/beam ! Clean residual mean=0.000000 rms=0.000036 Jy/beam ! Combined flux in latest and established models = 0.0284194 Jy keep ! Adding 247 model components to the UV plane model. ! The established model now contains 359 components and 0.0284194 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "/scr/pima/bs241d_uvs/J0704-1046_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.01 x 2.331 at 6.096 degrees (North through East) ! Clean map min=-0.00034381 max=0.014051 Jy/beam ! Writing clean map to FITS file: /scr/pima/bs241d_uvs/J0704-1046_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0140505 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 3.47148e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.741214 0.741214 1.48243 2.96486 5.92971 11.8594 23.7188 47.4377 94.8754 print "clev= ", int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak= ", int(1000*peak_flux)/1000 ! peak= 0.014 print "dyn_range= ", int(1000*peak_flux/image_rms)/1000 ! dyn_range= 404.741 quit ! Quitting program ! Log file /scr/pima/bs241d_uvs/J0704-1046_X_uvs.log closed on Tue Mar 24 08:19:10 2015