! Started logfile: J1300+1206_S_1995_07_15_yyk_uvs.log on Sun Jan  7 18:11:49 2007
obs J1300+1206_S_1995_07_15_yyk_uva.fits
! Reading UV FITS file: J1300+1206_S_1995_07_15_yyk_uva.fits
! AN table 1: 109 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.882773 visibilities/baseline/integration-bin.
! Found source: J1300+1206
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.22049e+09        4e+06          1        4e+06
!  02        2  2.23236e+09        4e+06          1        4e+06
!  03        3  2.29236e+09        4e+06          1        4e+06
!  04        4  2.32236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 793 lines of history.
! 
! Reading 17320 visibilities.
select I
! Polarization I is unavailable.
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
![@muppet J1300+1206_S_1995_07_15_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.443053 Jy 
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=2.79 mas, bmaj=6.784 mas, bpa=-8.831 degrees
! Estimated noise=1387.52 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.197838 Jy
! Component: 100  -  total flux cleaned = 0.224801 Jy
! Total flux subtracted in 100 components = 0.224801 Jy
! Clean residual min=-0.009773 max=0.012944 Jy/beam
! Clean residual mean=0.000037 rms=0.002927 Jy/beam
! Combined flux in latest and established models = 0.224801 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.224801 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 95 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.379517Jy  sigma=0.001789
! Fit after  self-cal, rms=0.378371Jy  sigma=0.001785
! Inverting map and beam 
! Estimated beam: bmin=2.79 mas, bmaj=6.784 mas, bpa=-8.831 degrees
! Estimated noise=1388.01 mJy/beam.
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! 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=3.443 mas, bmaj=8.266 mas, bpa=-11.33 degrees
! Estimated noise=1034.94 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0089238 Jy
! Component: 100  -  total flux cleaned = 0.00995969 Jy
! Component: 150  -  total flux cleaned = 0.0105512 Jy
! Component: 200  -  total flux cleaned = 0.0109145 Jy
! Total flux subtracted in 200 components = 0.0109145 Jy
! Clean residual min=-0.007076 max=0.008513 Jy/beam
! Clean residual mean=0.000082 rms=0.002085 Jy/beam
! Combined flux in latest and established models = 0.235716 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 30 components and 0.235716 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.378201Jy  sigma=0.001784
! Fit after  self-cal, rms=0.378201Jy  sigma=0.001784
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.443 x 8.266 at -11.33 degrees (North through East)
! Clean map  min=-0.0068087  max=0.22947 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.02334
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        1.02     HN        1.09     KP        0.93     
!   LA        1.02     MK        0.94     NL        0.88     OV        1.14     
!   PT        1.04     SC        0.78     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.960204
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.15     HN        1.08     KP        0.92     
!   LA        0.99     MK        1.06     NL        0.95     OV        1.10     
!   PT        0.97     SC        1.22     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.955543
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.89     FD        1.06     HN        0.99     KP        0.93     
!   LA        0.85     MK        0.88     NL        1.21     OV        0.92     
!   PT        1.03     SC        1.70     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.02998
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        1.08     HN        1.17     KP        0.96     
!   LA        0.98     MK        1.07     NL        0.92     OV        0.94     
!   PT        0.88     SC        0.80     
! 
! 
! Fit before self-cal, rms=0.378201Jy  sigma=0.001784
! Fit after  self-cal, rms=0.387712Jy  sigma=0.001778
selfcal false, false, phase_soltime
! Performing phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.387712Jy  sigma=0.001778
! Fit after  self-cal, rms=0.387740Jy  sigma=0.001778
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.478 mas, bmaj=8.196 mas, bpa=-11.43 degrees
! Estimated noise=1005.98 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0049139 Jy
! Component: 100  -  total flux cleaned = -0.00593998 Jy
! Component: 150  -  total flux cleaned = -0.00601381 Jy
! Component: 200  -  total flux cleaned = -0.0060823 Jy
! Total flux subtracted in 200 components = -0.0060823 Jy
! Clean residual min=-0.006271 max=0.005738 Jy/beam
! Clean residual mean=0.000047 rms=0.001709 Jy/beam
! Combined flux in latest and established models = 0.229633 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 44 components and 0.229633 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.387648Jy  sigma=0.001777
! Fit after  self-cal, rms=0.387647Jy  sigma=0.001777
! Inverting map 
print "************** FINISHED AMPLITUDE GSCALE SELF-CAL **************"
! ************** FINISHED AMPLITUDE GSCALE SELF-CAL ************** 
! 
phase_soltime=phase_soltime2
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.387647Jy  sigma=0.001777
! Fit after  self-cal, rms=0.386635Jy  sigma=0.001773
dynam = dynam - 0.5
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 false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000941036 Jy
! Component: 100  -  total flux cleaned = 0.000996686 Jy
! Component: 150  -  total flux cleaned = 0.000997654 Jy
! Component: 200  -  total flux cleaned = 0.000998845 Jy
! Total flux subtracted in 200 components = 0.000998845 Jy
! Clean residual min=-0.006166 max=0.005877 Jy/beam
! Clean residual mean=0.000043 rms=0.001715 Jy/beam
! Combined flux in latest and established models = 0.230632 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 53 components and 0.230632 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.386615Jy  sigma=0.001773
! Fit after  self-cal, rms=0.386392Jy  sigma=0.001772
! Inverting map 
print "*** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime ***"
! *** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime *** 
! 
dynam = dynam - 0.25
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.478 x 8.196 at -11.43 degrees (North through East)
! Clean map  min=-0.0058159  max=0.22689 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true, amp_soltime1
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true, amp_soltime2
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  print "************** FINISHED AMPLITUDE SELF-CAL **************"
  end if
! Performing amp+phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.386392Jy  sigma=0.001772
! Fit after  self-cal, rms=0.843993Jy  sigma=0.001758
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.843993Jy  sigma=0.001758
! Fit after  self-cal, rms=0.844063Jy  sigma=0.001757
! Inverting map and beam 
! Estimated beam: bmin=3.43 mas, bmaj=8.01 mas, bpa=-10.27 degrees
! Estimated noise=985.742 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000384272 Jy
! Component: 100  -  total flux cleaned = 0.000381086 Jy
! Component: 150  -  total flux cleaned = 0.00033308 Jy
! Component: 200  -  total flux cleaned = 0.000296486 Jy
! Total flux subtracted in 200 components = 0.000296486 Jy
! Clean residual min=-0.005088 max=0.004765 Jy/beam
! Clean residual mean=0.000067 rms=0.001441 Jy/beam
! Combined flux in latest and established models = 0.230929 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 63 components and 0.230929 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.844064Jy  sigma=0.001757
! Fit after  self-cal, rms=0.843827Jy  sigma=0.001757
! Inverting map 
! Performing amp+phase self-cal over 1 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.843827Jy  sigma=0.001757
! Fit after  self-cal, rms=2.687524Jy  sigma=0.001756
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.687524Jy  sigma=0.001756
! Fit after  self-cal, rms=2.688524Jy  sigma=0.001756
! Inverting map and beam 
! Estimated beam: bmin=3.409 mas, bmaj=8.02 mas, bpa=-10.32 degrees
! Estimated noise=989.519 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00143274 Jy
! Component: 100  -  total flux cleaned = 0.00147626 Jy
! Component: 150  -  total flux cleaned = 0.00151078 Jy
! Component: 200  -  total flux cleaned = 0.00157234 Jy
! Total flux subtracted in 200 components = 0.00157234 Jy
! Clean residual min=-0.005095 max=0.004799 Jy/beam
! Clean residual mean=0.000074 rms=0.001440 Jy/beam
! Combined flux in latest and established models = 0.232501 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 73 components and 0.232501 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.688523Jy  sigma=0.001756
! Fit after  self-cal, rms=2.688830Jy  sigma=0.001756
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.98 mas, bmaj=11.22 mas, bpa=-1.513 degrees
! Estimated noise=1237.34 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000284255 Jy
! Component: 100  -  total flux cleaned = 0.00031496 Jy
! Component: 150  -  total flux cleaned = 0.000315111 Jy
! Component: 200  -  total flux cleaned = 0.000315291 Jy
! Total flux subtracted in 200 components = 0.000315291 Jy
! Clean residual min=-0.006792 max=0.005339 Jy/beam
! Clean residual mean=0.000144 rms=0.001882 Jy/beam
! Combined flux in latest and established models = 0.232816 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 81 components and 0.232816 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.688823Jy  sigma=0.001756
! Fit after  self-cal, rms=2.688323Jy  sigma=0.001756
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum 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=2.806 mas, bmaj=6.696 mas, bpa=-8.188 degrees
! Estimated noise=1355.75 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.196084 Jy
! Component: 100  -  total flux cleaned = 0.22248 Jy
! Component: 150  -  total flux cleaned = 0.228651 Jy
! Component: 200  -  total flux cleaned = 0.230884 Jy
! Total flux subtracted in 200 components = 0.230884 Jy
! Clean residual min=-0.008028 max=0.007587 Jy/beam
! Clean residual mean=0.000047 rms=0.002060 Jy/beam
! Combined flux in latest and established models = 0.230884 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 25 model components to the UV plane model.
! The established model now contains 25 components and 0.230884 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.409 mas, bmaj=8.02 mas, bpa=-10.32 degrees
! Estimated noise=989.519 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0020213 Jy
! Component: 100  -  total flux cleaned = 0.00211419 Jy
! Component: 150  -  total flux cleaned = 0.0021833 Jy
! Component: 200  -  total flux cleaned = 0.00218352 Jy
! Total flux subtracted in 200 components = 0.00218352 Jy
! Clean residual min=-0.005102 max=0.004864 Jy/beam
! Clean residual mean=0.000073 rms=0.001455 Jy/beam
! Combined flux in latest and established models = 0.233068 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 45 components and 0.233068 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.98 mas, bmaj=11.22 mas, bpa=-1.513 degrees
! Estimated noise=1237.34 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 8.43757e-05 Jy
! Component: 100  -  total flux cleaned = -4.7099e-06 Jy
! Component: 150  -  total flux cleaned = -2.78926e-05 Jy
! Component: 200  -  total flux cleaned = -6.39715e-05 Jy
! Total flux subtracted in 200 components = -6.39715e-05 Jy
! Clean residual min=-0.006760 max=0.005341 Jy/beam
! Clean residual mean=0.000144 rms=0.001881 Jy/beam
! Combined flux in latest and established models = 0.233004 Jy
! Adding 9 model components to the UV plane model.
! The established model now contains 53 components and 0.233004 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.409 mas, bmaj=8.02 mas, bpa=-10.32 degrees
! Estimated noise=989.519 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000224268 Jy
! Component: 100  -  total flux cleaned = 0.000293296 Jy
! Component: 150  -  total flux cleaned = 0.000250336 Jy
! Component: 200  -  total flux cleaned = 0.000130438 Jy
! Total flux subtracted in 200 components = 0.000130438 Jy
! Clean residual min=-0.005094 max=0.004830 Jy/beam
! Clean residual mean=0.000073 rms=0.001446 Jy/beam
! Combined flux in latest and established models = 0.233134 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 61 components and 0.233134 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.688333Jy  sigma=0.001756
! Fit after  self-cal, rms=2.688156Jy  sigma=0.001756
wmodel J1300+1206_S_1995_07_15_yyk\_map.mod
! Writing 61 model components to file: J1300+1206_S_1995_07_15_yyk_map.mod
wobs J1300+1206_S_1995_07_15_yyk\_uvs.fits
! Writing UV FITS file: J1300+1206_S_1995_07_15_yyk_uvs.fits
wwins J1300+1206_S_1995_07_15_yyk\_map.win
! wwins: Wrote 1 windows to J1300+1206_S_1995_07_15_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.00168674 Jy
! Component: 100  -  total flux cleaned = -0.00280333 Jy
! Component: 150  -  total flux cleaned = -0.00345036 Jy
! Component: 200  -  total flux cleaned = -0.00360656 Jy
! Component: 250  -  total flux cleaned = -0.00345714 Jy
! Component: 300  -  total flux cleaned = -0.00345873 Jy
! Component: 350  -  total flux cleaned = -0.003531 Jy
! Component: 400  -  total flux cleaned = -0.00353063 Jy
! Component: 450  -  total flux cleaned = -0.00359819 Jy
! Component: 500  -  total flux cleaned = -0.00366466 Jy
! Component: 550  -  total flux cleaned = -0.00379322 Jy
! Component: 600  -  total flux cleaned = -0.00373019 Jy
! Component: 650  -  total flux cleaned = -0.00360648 Jy
! Component: 700  -  total flux cleaned = -0.00360759 Jy
! Component: 750  -  total flux cleaned = -0.00360659 Jy
! Component: 800  -  total flux cleaned = -0.0035478 Jy
! Component: 850  -  total flux cleaned = -0.00360489 Jy
! Component: 900  -  total flux cleaned = -0.00360594 Jy
! Component: 950  -  total flux cleaned = -0.00393909 Jy
! Component: 1000  -  total flux cleaned = -0.00394038 Jy
! Component: 1050  -  total flux cleaned = -0.00415519 Jy
! Component: 1100  -  total flux cleaned = -0.00436555 Jy
! Component: 1150  -  total flux cleaned = -0.00420831 Jy
! Component: 1200  -  total flux cleaned = -0.0042602 Jy
! Component: 1250  -  total flux cleaned = -0.00431024 Jy
! Component: 1300  -  total flux cleaned = -0.00431009 Jy
! Component: 1350  -  total flux cleaned = -0.00435915 Jy
! Component: 1400  -  total flux cleaned = -0.00431054 Jy
! Component: 1450  -  total flux cleaned = -0.00431051 Jy
! Component: 1500  -  total flux cleaned = -0.0041697 Jy
! Component: 1550  -  total flux cleaned = -0.00426279 Jy
! Component: 1600  -  total flux cleaned = -0.00426242 Jy
! Component: 1650  -  total flux cleaned = -0.00426206 Jy
! Component: 1700  -  total flux cleaned = -0.00430672 Jy
! Component: 1750  -  total flux cleaned = -0.00412955 Jy
! Component: 1800  -  total flux cleaned = -0.00412984 Jy
! Component: 1850  -  total flux cleaned = -0.00395637 Jy
! Component: 1900  -  total flux cleaned = -0.00387055 Jy
! Component: 1950  -  total flux cleaned = -0.00370108 Jy
! Component: 2000  -  total flux cleaned = -0.00365917 Jy
! Total flux subtracted in 2048 components = -0.00345143 Jy
! Clean residual min=-0.002614 max=0.002423 Jy/beam
! Clean residual mean=0.000073 rms=0.000881 Jy/beam
! Combined flux in latest and established models = 0.229683 Jy
keep
! Adding 148 model components to the UV plane model.
! The established model now contains 209 components and 0.229683 Jy
![Exited script file: muppet]
wmap "J1300+1206_S_1995_07_15_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.409 x 8.02 at -10.32 degrees (North through East)
! Clean map  min=-0.0046862  max=0.22665 Jy/beam
! Writing clean map to FITS file: J1300+1206_S_1995_07_15_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.226646 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000878185 
device "J1300+1206_S_1995_07_15_yyk\_map.eps/VPS"
! Attempting to open device: 'J1300+1206_S_1995_07_15_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.16241 1.16241 2.32482 4.64965 9.29929 18.5986 37.1972 74.3943
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0026 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.226 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.409 x 8.02 at -10.32 degrees (North through East)
! Clean map  min=-0.0046862  max=0.22665 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1300+1206_S_1995_07_15_yyk\_map.gif/gif"
! Attempting to open device: 'J1300+1206_S_1995_07_15_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1300+1206_S_1995_07_15_yyk_uvs.log closed on Sun Jan  7 18:11:56 2007