! Started logfile: ./J2356+4036_X_uvs.log on Mon Oct 28 15:40:44 2013 obs J2356+4036_X_uvm.fits ! Reading UV FITS file: J2356+4036_X_uvm.fits ! AN table 1: 33 integrations on 28 of 28 possible baselines. ! AN table 2: 22 integrations on 28 of 28 possible baselines. ! Apparent sampling: 0.959091 visibilities/baseline/integration-bin. ! Found source: J2356+4036 ! ! 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): RR ! ! Read 0 lines of history. ! ! Reading 11816 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 = 1024 print "field_cell =",field_cell ! field_cell = 0.2 print "taper_size =",taper_size ! taper_size = 70 ![@/home/lpetrov/bin/01_muppet ./J2356+4036_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 = 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 5 telescope corrections were flagged in sub-array 1. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 2. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 3. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 4. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 5. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 6. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 7. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Correcting IF 8. ! A total of 5 telescope corrections were flagged in sub-array 1. ! A total of 5 telescope corrections were flagged in sub-array 2. ! ! Fit before self-cal, rms=1.000340Jy sigma=1.021892 ! Fit after self-cal, rms=0.985277Jy sigma=1.000209 ! 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.8583 mas, bmaj=1.675 mas, bpa=-4.089 degrees ! Estimated noise=14.2005 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.013773 Jy ! Component: 100 - total flux cleaned = 0.0170763 Jy ! Total flux subtracted in 100 components = 0.0170763 Jy ! Clean residual min=-0.001374 max=0.001464 Jy/beam ! Clean residual mean=-0.000001 rms=0.000305 Jy/beam ! Combined flux in latest and established models = 0.0170763 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 9 components and 0.0170763 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.018076Jy sigma=0.019274 ! Fit after self-cal, rms=0.014326Jy sigma=0.015887 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00380264 Jy ! Component: 100 - total flux cleaned = 0.00491032 Jy ! Total flux subtracted in 100 components = 0.00491032 Jy ! Clean residual min=-0.001001 max=0.000940 Jy/beam ! Clean residual mean=-0.000000 rms=0.000243 Jy/beam ! Combined flux in latest and established models = 0.0219866 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 16 components and 0.0219866 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.014440Jy sigma=0.014096 ! Fit after self-cal, rms=0.014437Jy sigma=0.014093 ! 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.129 mas, bmaj=2.11 mas, bpa=-7.23 degrees ! Estimated noise=7.03288 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.8, -1). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000919236 Jy ! Component: 100 - total flux cleaned = 0.00147129 Jy ! Component: 150 - total flux cleaned = 0.00183903 Jy ! Component: 200 - total flux cleaned = 0.00208317 Jy ! Total flux subtracted in 200 components = 0.00208317 Jy ! Clean residual min=-0.000550 max=0.000507 Jy/beam ! Clean residual mean=0.000000 rms=0.000123 Jy/beam ! Combined flux in latest and established models = 0.0240697 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 38 components and 0.0240697 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.014472Jy sigma=0.013924 ! Fit after self-cal, rms=0.014469Jy sigma=0.013919 ! Inverting map print "************** FINISHED NATURAL WEIGHTING CLEAN **************" ! ************** FINISHED NATURAL WEIGHTING CLEAN ************** ! gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 1.09 HN 0.91 KP 0.94 LA 0.96 ! MK 0.93 NL 1.01 OV 0.99 PT 0.91 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.02 HN 0.91 KP 0.92 LA 1.00 ! NL 0.96 OV 1.01 PT 0.85 SC 0.97 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 HN 0.83 KP 0.90 LA 0.95 ! MK 0.93 NL 0.99 OV 0.92 PT 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.07 HN 0.86 KP 0.83 LA 0.92 ! NL 0.97 OV 0.84 PT 0.91 SC 0.91 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.77 HN 0.86 KP 1.00 LA 0.88 ! MK 1.06 NL 0.96 OV 1.02 PT 0.97 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.83 HN 0.91 KP 1.04 LA 0.87 ! NL 0.97 OV 0.90 PT 0.88 SC 0.95 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 HN 0.97 KP 0.93 LA 0.94 ! MK 0.90 NL 0.92 OV 1.01 PT 0.99 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.94 HN 0.90 KP 0.91 LA 1.01 ! NL 0.95 OV 0.91 PT 0.89 SC 0.96 ! ! ! Correcting IF 5. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 HN 0.96 KP 1.05 LA 1.04 ! MK 0.99 NL 0.88 OV 0.99 PT 0.91 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.90 HN 0.88 KP 1.00 LA 0.94 ! NL 0.92 OV 0.97 PT 0.83 SC 0.93 ! ! ! Correcting IF 6. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 HN 0.95 KP 0.99 LA 1.05 ! MK 1.00 NL 0.98 OV 1.09 PT 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.95 HN 0.92 KP 1.02 LA 1.01 ! NL 1.00 OV 1.02 PT 0.90 SC 0.93 ! ! ! Correcting IF 7. ! Telescope amplitude corrections in sub-array 1: ! BR 0.96 HN 0.90 KP 0.91 LA 0.94 ! MK 0.94 NL 0.96 OV 0.95 PT 0.92 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.90 HN 0.86 KP 0.97 LA 0.85 ! NL 0.99 OV 0.94 PT 0.85 SC 0.96 ! ! ! Correcting IF 8. ! Telescope amplitude corrections in sub-array 1: ! BR 1.08 HN 0.94 KP 1.04 LA 0.92 ! MK 0.98 NL 0.93 OV 0.97 PT 0.91 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.17 HN 0.84 KP 1.02 LA 0.87 ! NL 0.93 OV 1.00 PT 0.84 SC 1.01 ! ! ! Fit before self-cal, rms=0.014469Jy sigma=0.013919 ! Fit after self-cal, rms=0.013532Jy sigma=0.013432 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.129 mas, bmaj=2.115 mas, bpa=-7.21 degrees ! Estimated noise=6.27892 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.00176539 Jy ! Component: 100 - total flux cleaned = -0.00217338 Jy ! Component: 150 - total flux cleaned = -0.00223854 Jy ! Component: 200 - total flux cleaned = -0.00227354 Jy ! Total flux subtracted in 200 components = -0.00227354 Jy ! Clean residual min=-0.000477 max=0.000391 Jy/beam ! Clean residual mean=0.000000 rms=0.000095 Jy/beam ! Combined flux in latest and established models = 0.0217962 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 50 components and 0.0217962 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.012860Jy sigma=0.013663 ! Fit after self-cal, rms=0.012871Jy sigma=0.013658 ! 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.012871Jy sigma=0.013658 ! Fit after self-cal, rms=0.012218Jy sigma=0.013326 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.126 mas, bmaj=2.111 mas, bpa=-7.189 degrees ! Estimated noise=5.6611 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00155864 Jy ! Component: 100 - total flux cleaned = -0.00190753 Jy ! Component: 150 - total flux cleaned = -0.00194787 Jy ! Component: 200 - total flux cleaned = -0.00195694 Jy ! Total flux subtracted in 200 components = -0.00195694 Jy ! Clean residual min=-0.000402 max=0.000340 Jy/beam ! Clean residual mean=0.000000 rms=0.000077 Jy/beam ! Combined flux in latest and established models = 0.0198393 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 60 components and 0.0198393 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.011637Jy sigma=0.013554 ! Fit after self-cal, rms=0.011645Jy sigma=0.013551 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.29321e-05 Jy ! Component: 100 - total flux cleaned = -5.93043e-06 Jy ! Component: 150 - total flux cleaned = -5.86364e-06 Jy ! Component: 200 - total flux cleaned = -2.93628e-06 Jy ! Total flux subtracted in 200 components = -2.93628e-06 Jy ! Clean residual min=-0.000403 max=0.000334 Jy/beam ! Clean residual mean=0.000000 rms=0.000077 Jy/beam ! Combined flux in latest and established models = 0.0198363 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 65 components and 0.0198363 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.011637Jy sigma=0.013557 ! Fit after self-cal, rms=0.011637Jy sigma=0.013556 ! 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.011637Jy sigma=0.013556 ! Fit after self-cal, rms=0.010999Jy sigma=0.013319 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.125 mas, bmaj=2.108 mas, bpa=-7.116 degrees ! Estimated noise=5.10366 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.00137562 Jy ! Component: 100 - total flux cleaned = -0.00168304 Jy ! Component: 150 - total flux cleaned = -0.00175857 Jy ! Component: 200 - total flux cleaned = -0.00177626 Jy ! Total flux subtracted in 200 components = -0.00177626 Jy ! Clean residual min=-0.000363 max=0.000302 Jy/beam ! Clean residual mean=0.000000 rms=0.000070 Jy/beam ! Combined flux in latest and established models = 0.0180601 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 66 components and 0.0180601 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.010488Jy sigma=0.013552 ! Fit after self-cal, rms=0.010488Jy sigma=0.013551 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.81346e-05 Jy ! Component: 100 - total flux cleaned = -1.06938e-05 Jy ! Component: 150 - total flux cleaned = -6.43194e-06 Jy ! Component: 200 - total flux cleaned = -6.46109e-06 Jy ! Total flux subtracted in 200 components = -6.46109e-06 Jy ! Clean residual min=-0.000363 max=0.000299 Jy/beam ! Clean residual mean=0.000000 rms=0.000069 Jy/beam ! Combined flux in latest and established models = 0.0180536 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 71 components and 0.0180536 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.010483Jy sigma=0.013556 ! Fit after self-cal, rms=0.010483Jy sigma=0.013556 ! 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.010483Jy sigma=0.013556 ! Fit after self-cal, rms=0.009905Jy sigma=0.013316 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.133 mas, bmaj=2.934 mas, bpa=-9.075 degrees ! Estimated noise=5.45963 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.001249 Jy ! Component: 100 - total flux cleaned = -0.00152542 Jy ! Component: 150 - total flux cleaned = -0.00157725 Jy ! Component: 200 - total flux cleaned = -0.00158172 Jy ! Total flux subtracted in 200 components = -0.00158172 Jy ! Clean residual min=-0.000343 max=0.000296 Jy/beam ! Clean residual mean=0.000001 rms=0.000078 Jy/beam ! Combined flux in latest and established models = 0.0164719 Jy selfcal ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 79 components and 0.0164719 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.009444Jy sigma=0.013550 ! Fit after self-cal, rms=0.009445Jy sigma=0.013550 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 = 6.79529e-06 Jy ! Component: 100 - total flux cleaned = 9.735e-06 Jy ! Component: 150 - total flux cleaned = 1.0949e-05 Jy ! Component: 200 - total flux cleaned = 1.20183e-05 Jy ! Total flux subtracted in 200 components = 1.20183e-05 Jy ! Clean residual min=-0.000343 max=0.000299 Jy/beam ! Clean residual mean=0.000001 rms=0.000077 Jy/beam ! Combined flux in latest and established models = 0.0164839 Jy ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 93 components and 0.0164839 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.009441Jy sigma=0.013555 ! Fit after self-cal, rms=0.009441Jy sigma=0.013555 ! 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.123 mas, bmaj=2.105 mas, bpa=-7.044 degrees ! Estimated noise=4.59925 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.123 x 2.105 at -7.044 degrees (North through East) ! Clean map min=-0.00031164 max=0.01404 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.8553 mas, bmaj=1.677 mas, bpa=-4.104 degrees ! Estimated noise=9.22478 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0108341 Jy ! Component: 100 - total flux cleaned = 0.0132756 Jy ! Component: 150 - total flux cleaned = 0.0142007 Jy ! Component: 200 - total flux cleaned = 0.0147712 Jy ! Total flux subtracted in 200 components = 0.0147712 Jy ! Clean residual min=-0.000579 max=0.000576 Jy/beam ! Clean residual mean=-0.000000 rms=0.000148 Jy/beam ! Combined flux in latest and established models = 0.0147712 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 16 model components to the UV plane model. ! The established model now contains 16 components and 0.0147712 Jy ! Inverting map and beam ! Estimated beam: bmin=1.123 mas, bmaj=2.105 mas, bpa=-7.044 degrees ! Estimated noise=4.59925 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.000558273 Jy ! Component: 100 - total flux cleaned = 0.000900483 Jy ! Component: 150 - total flux cleaned = 0.00114271 Jy ! Component: 200 - total flux cleaned = 0.00130766 Jy ! Total flux subtracted in 200 components = 0.00130766 Jy ! Clean residual min=-0.000347 max=0.000261 Jy/beam ! Clean residual mean=0.000000 rms=0.000065 Jy/beam ! Combined flux in latest and established models = 0.0160789 Jy ! Adding 21 model components to the UV plane model. ! The established model now contains 37 components and 0.0160789 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.133 mas, bmaj=2.934 mas, bpa=-9.075 degrees ! Estimated noise=5.45963 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000177109 Jy ! Component: 100 - total flux cleaned = 0.000279659 Jy ! Component: 150 - total flux cleaned = 0.000320808 Jy ! Component: 200 - total flux cleaned = 0.000334001 Jy ! Total flux subtracted in 200 components = 0.000334001 Jy ! Clean residual min=-0.000350 max=0.000300 Jy/beam ! Clean residual mean=0.000001 rms=0.000078 Jy/beam ! Combined flux in latest and established models = 0.0164129 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 = 9.73073e-06 Jy ! Component: 100 - total flux cleaned = 2.01892e-05 Jy ! Component: 150 - total flux cleaned = 2.80041e-05 Jy ! Component: 200 - total flux cleaned = 3.51448e-05 Jy ! Total flux subtracted in 200 components = 3.51448e-05 Jy ! Clean residual min=-0.000347 max=0.000300 Jy/beam ! Clean residual mean=0.000001 rms=0.000077 Jy/beam ! Combined flux in latest and established models = 0.016448 Jy ! Adding 17 model components to the UV plane model. ! The established model now contains 52 components and 0.016448 Jy ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. clean ! Inverting map and beam ! Estimated beam: bmin=1.123 mas, bmaj=2.105 mas, bpa=-7.044 degrees ! Estimated noise=4.59925 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -2.82728e-05 Jy ! Component: 100 - total flux cleaned = -1.21133e-05 Jy ! Component: 150 - total flux cleaned = -1.35054e-06 Jy ! Component: 200 - total flux cleaned = 5.22213e-06 Jy ! Total flux subtracted in 200 components = 5.22213e-06 Jy ! Clean residual min=-0.000328 max=0.000262 Jy/beam ! Clean residual mean=0.000000 rms=0.000063 Jy/beam ! Combined flux in latest and established models = 0.0164532 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 64 components and 0.0164532 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.009440Jy sigma=0.013568 ! Fit after self-cal, rms=0.009440Jy sigma=0.013567 wmodel ./J2356+4036_X_map.mod ! Writing 64 model components to file: ./J2356+4036_X_map.mod wobs ./J2356+4036_X_uvs.fits ! Writing UV FITS file: ./J2356+4036_X_uvs.fits wwins ./J2356+4036_X_map.win ! wwins: Wrote 2 windows to ./J2356+4036_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 = -5.62163e-05 Jy ! Component: 100 - total flux cleaned = -3.75086e-05 Jy ! Component: 150 - total flux cleaned = -1.09263e-05 Jy ! Component: 200 - total flux cleaned = 1.02411e-05 Jy ! Component: 250 - total flux cleaned = 3.50539e-05 Jy ! Component: 300 - total flux cleaned = 7.52646e-05 Jy ! Component: 350 - total flux cleaned = 0.000102695 Jy ! Component: 400 - total flux cleaned = 0.000144859 Jy ! Component: 450 - total flux cleaned = 0.000174799 Jy ! Component: 500 - total flux cleaned = 0.000189521 Jy ! Component: 550 - total flux cleaned = 0.000214916 Jy ! Component: 600 - total flux cleaned = 0.00023987 Jy ! Component: 650 - total flux cleaned = 0.000257454 Jy ! Component: 700 - total flux cleaned = 0.000274896 Jy ! Component: 750 - total flux cleaned = 0.000302347 Jy ! Component: 800 - total flux cleaned = 0.000329387 Jy ! Component: 850 - total flux cleaned = 0.000342738 Jy ! Component: 900 - total flux cleaned = 0.000365774 Jy ! Component: 950 - total flux cleaned = 0.000375479 Jy ! Component: 1000 - total flux cleaned = 0.000381897 Jy ! Component: 1050 - total flux cleaned = 0.000391396 Jy ! Component: 1100 - total flux cleaned = 0.000397694 Jy ! Component: 1150 - total flux cleaned = 0.000403929 Jy ! Component: 1200 - total flux cleaned = 0.000394679 Jy ! Component: 1250 - total flux cleaned = 0.000403884 Jy ! Component: 1300 - total flux cleaned = 0.000400886 Jy ! Component: 1350 - total flux cleaned = 0.000400957 Jy ! Component: 1400 - total flux cleaned = 0.0004218 Jy ! Component: 1450 - total flux cleaned = 0.000418846 Jy ! Component: 1500 - total flux cleaned = 0.000427654 Jy ! Component: 1550 - total flux cleaned = 0.000433468 Jy ! Component: 1600 - total flux cleaned = 0.00044214 Jy ! Component: 1650 - total flux cleaned = 0.000456458 Jy ! Component: 1700 - total flux cleaned = 0.00045646 Jy ! Component: 1750 - total flux cleaned = 0.000478995 Jy ! Component: 1800 - total flux cleaned = 0.000495744 Jy ! Component: 1850 - total flux cleaned = 0.000487404 Jy ! Component: 1900 - total flux cleaned = 0.000498447 Jy ! Component: 1950 - total flux cleaned = 0.000509399 Jy ! Component: 2000 - total flux cleaned = 0.000514855 Jy ! Component: 2050 - total flux cleaned = 0.000520266 Jy ! Component: 2100 - total flux cleaned = 0.000522962 Jy ! Component: 2150 - total flux cleaned = 0.000522976 Jy ! Component: 2200 - total flux cleaned = 0.000533575 Jy ! Component: 2250 - total flux cleaned = 0.000533588 Jy ! Component: 2300 - total flux cleaned = 0.000551908 Jy ! Component: 2350 - total flux cleaned = 0.000544075 Jy ! Component: 2400 - total flux cleaned = 0.00055184 Jy ! Component: 2450 - total flux cleaned = 0.000562112 Jy ! Component: 2500 - total flux cleaned = 0.000564667 Jy ! Component: 2550 - total flux cleaned = 0.000577345 Jy ! Component: 2600 - total flux cleaned = 0.000569754 Jy ! Component: 2650 - total flux cleaned = 0.000584828 Jy ! Component: 2700 - total flux cleaned = 0.000584823 Jy ! Component: 2750 - total flux cleaned = 0.000584825 Jy ! Component: 2800 - total flux cleaned = 0.000584835 Jy ! Component: 2850 - total flux cleaned = 0.000594675 Jy ! Component: 2900 - total flux cleaned = 0.000602033 Jy ! Component: 2950 - total flux cleaned = 0.000609345 Jy ! Component: 3000 - total flux cleaned = 0.000623902 Jy ! Component: 3050 - total flux cleaned = 0.000638375 Jy ! Component: 3100 - total flux cleaned = 0.000640764 Jy ! Component: 3150 - total flux cleaned = 0.000643162 Jy ! Component: 3200 - total flux cleaned = 0.000652666 Jy ! Component: 3250 - total flux cleaned = 0.000655008 Jy ! Component: 3300 - total flux cleaned = 0.000664429 Jy ! Component: 3350 - total flux cleaned = 0.000680843 Jy ! Component: 3400 - total flux cleaned = 0.000683169 Jy ! Component: 3450 - total flux cleaned = 0.000697114 Jy ! Component: 3500 - total flux cleaned = 0.000701726 Jy ! Component: 3550 - total flux cleaned = 0.000706321 Jy ! Component: 3600 - total flux cleaned = 0.000720093 Jy ! Component: 3650 - total flux cleaned = 0.000731508 Jy ! Component: 3700 - total flux cleaned = 0.000733777 Jy ! Component: 3750 - total flux cleaned = 0.000742836 Jy ! Component: 3800 - total flux cleaned = 0.000751854 Jy ! Component: 3850 - total flux cleaned = 0.000747364 Jy ! Component: 3900 - total flux cleaned = 0.000758539 Jy ! Component: 3950 - total flux cleaned = 0.000769678 Jy ! Component: 4000 - total flux cleaned = 0.000767454 Jy ! Component: 4050 - total flux cleaned = 0.000765256 Jy ! Total flux subtracted in 4096 components = 0.000782847 Jy ! Clean residual min=-0.000125 max=0.000152 Jy/beam ! Clean residual mean=0.000000 rms=0.000039 Jy/beam ! Combined flux in latest and established models = 0.0172361 Jy keep ! Adding 314 model components to the UV plane model. ! The established model now contains 378 components and 0.0172361 Jy ![Exited script file: /home/lpetrov/bin/01_muppet] wmap "./J2356+4036_X\_map.fits" ! Inverting map ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.123 x 2.105 at -7.044 degrees (North through East) ! Clean map min=-0.00019929 max=0.014017 Jy/beam ! Writing clean map to FITS file: ./J2356+4036_X_map.fits float peak_flux peak_flux = peak(flux,max) print "The peak flux is",peak_flux ! The peak flux is 0.0140165 invert ! Inverting map float image_rms image_rms = imstat(rms) print "The final image rms is",image_rms ! The final image rms is 3.88956e-05 loglevs 100*3*image_rms/peak_flux ! The new contour levels are: ! -0.832495 0.832495 1.66499 3.32998 6.65996 13.3199 26.6398 53.2797 print "clev=",int(3*image_rms*10000)/10000 ! clev= 0.0001 print "peak=",int(1000*peak_flux)/1000 ! peak= 0.014 quit ! Quitting program ! Log file ./J2356+4036_X_uvs.log closed on Mon Oct 28 15:40:56 2013