! Started logfile: J1455-1700_S_1997_07_02_yyk_uvs.log on Sun Jan  7 18:40:02 2007
obs J1455-1700_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J1455-1700_S_1997_07_02_yyk_uva.fits
! AN table 1: 138 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.968921 visibilities/baseline/integration-bin.
! Found source: J1455-1700
! 
! 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.22447e+09        8e+06          1        8e+06
!  02        2  2.23447e+09        8e+06          1        8e+06
!  03        3  2.29447e+09        8e+06          1        8e+06
!  04        4  2.32447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 754 lines of history.
! 
! Reading 24068 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 J1455-1700_S_1997_07_02_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.376558 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.72 mas, bmaj=6.667 mas, bpa=-3.861 degrees
! Estimated noise=1991.93 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.165687 Jy
! Component: 100  -  total flux cleaned = 0.199105 Jy
! Total flux subtracted in 100 components = 0.199105 Jy
! Clean residual min=-0.010752 max=0.022411 Jy/beam
! Clean residual mean=0.000311 rms=0.003466 Jy/beam
! Combined flux in latest and established models = 0.199105 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 10 components and 0.199105 Jy
! 
! Correcting IF 1.
!  A total of 173 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 33 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 33 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 33 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.316471Jy  sigma=0.001203
! Fit after  self-cal, rms=0.316286Jy  sigma=0.001202
! Inverting map and beam 
! Estimated beam: bmin=2.72 mas, bmaj=6.666 mas, bpa=-3.862 degrees
! Estimated noise=1991.95 mJy/beam.
! Added new window around map position (8, -0.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0263229 Jy
! Component: 100  -  total flux cleaned = 0.0409324 Jy
! Total flux subtracted in 100 components = 0.0409324 Jy
! Clean residual min=-0.009175 max=0.010264 Jy/beam
! Clean residual mean=0.000187 rms=0.002673 Jy/beam
! Combined flux in latest and established models = 0.240037 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 36 components and 0.240037 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.314266Jy  sigma=0.001192
! Fit after  self-cal, rms=0.314083Jy  sigma=0.001191
! Inverting map 
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.518 mas, bmaj=8.831 mas, bpa=-4.721 degrees
! Estimated noise=1124.58 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.0167789 Jy
! Component: 100  -  total flux cleaned = 0.0251459 Jy
! Component: 150  -  total flux cleaned = 0.0298043 Jy
! Component: 200  -  total flux cleaned = 0.0310347 Jy
! Total flux subtracted in 200 components = 0.0310347 Jy
! Clean residual min=-0.007136 max=0.009686 Jy/beam
! Clean residual mean=0.000134 rms=0.002372 Jy/beam
! Combined flux in latest and established models = 0.271072 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 35 model components to the UV plane model.
! The established model now contains 64 components and 0.271072 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.313460Jy  sigma=0.001188
! Fit after  self-cal, rms=0.313403Jy  sigma=0.001188
! 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.518 x 8.831 at -4.721 degrees (North through East)
! Clean map  min=-0.0068061  max=0.19615 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.01686
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.89     FD        1.08     HN        0.96     KP        0.91     
!   LA        0.97     MK        0.99     NL        1.00*    OV        1.19     
!   PT        0.97     SC        0.87     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.98285
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.11     HN        1.08     KP        0.92     
!   LA        1.07     MK        1.10     NL        0.96     OV        1.05     
!   PT        0.94     SC        0.91     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   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.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.981784
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.12     HN        1.14     KP        0.97     
!   LA        0.94     MK        1.00     NL        1.07     OV        1.00     
!   PT        0.88     SC        1.06     
! 
! 
! Fit before self-cal, rms=0.313403Jy  sigma=0.001188
! Fit after  self-cal, rms=0.309808Jy  sigma=0.001185
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.309808Jy  sigma=0.001185
! Fit after  self-cal, rms=0.309808Jy  sigma=0.001185
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.54 mas, bmaj=8.72 mas, bpa=-3.531 degrees
! Estimated noise=1121.58 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.00101443 Jy
! Component: 100  -  total flux cleaned = 0.00108897 Jy
! Component: 150  -  total flux cleaned = 0.00121382 Jy
! Component: 200  -  total flux cleaned = 0.00131854 Jy
! Total flux subtracted in 200 components = 0.00131854 Jy
! Clean residual min=-0.005330 max=0.007114 Jy/beam
! Clean residual mean=0.000010 rms=0.001584 Jy/beam
! Combined flux in latest and established models = 0.27239 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 79 components and 0.27239 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.309772Jy  sigma=0.001185
! Fit after  self-cal, rms=0.309768Jy  sigma=0.001185
! 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.309768Jy  sigma=0.001185
! Fit after  self-cal, rms=0.309083Jy  sigma=0.001182
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.00114744 Jy
! Component: 100  -  total flux cleaned = 0.00119643 Jy
! Component: 150  -  total flux cleaned = 0.00128068 Jy
! Component: 200  -  total flux cleaned = 0.00131555 Jy
! Total flux subtracted in 200 components = 0.00131555 Jy
! Clean residual min=-0.005111 max=0.006905 Jy/beam
! Clean residual mean=0.000009 rms=0.001581 Jy/beam
! Combined flux in latest and established models = 0.273706 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 87 components and 0.273706 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.309063Jy  sigma=0.001182
! Fit after  self-cal, rms=0.308974Jy  sigma=0.001182
! 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.54 x 8.72 at -3.531 degrees (North through East)
! Clean map  min=-0.0049091  max=0.19664 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.308974Jy  sigma=0.001182
! Fit after  self-cal, rms=0.311915Jy  sigma=0.001181
! 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.311915Jy  sigma=0.001181
! Fit after  self-cal, rms=0.311901Jy  sigma=0.001181
! Inverting map and beam 
! Estimated beam: bmin=3.55 mas, bmaj=8.65 mas, bpa=-3.021 degrees
! Estimated noise=1135.68 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00325808 Jy
! Component: 100  -  total flux cleaned = 0.00362735 Jy
! Component: 150  -  total flux cleaned = 0.00377483 Jy
! Component: 200  -  total flux cleaned = 0.00394417 Jy
! Total flux subtracted in 200 components = 0.00394417 Jy
! Clean residual min=-0.005129 max=0.006446 Jy/beam
! Clean residual mean=0.000017 rms=0.001540 Jy/beam
! Combined flux in latest and established models = 0.27765 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 100 components and 0.27765 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.311851Jy  sigma=0.001181
! Fit after  self-cal, rms=0.311849Jy  sigma=0.001181
! 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.311849Jy  sigma=0.001181
! Fit after  self-cal, rms=0.315343Jy  sigma=0.001180
! 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.315343Jy  sigma=0.001180
! Fit after  self-cal, rms=0.315345Jy  sigma=0.001180
! Inverting map and beam 
! Estimated beam: bmin=3.539 mas, bmaj=8.563 mas, bpa=-2.413 degrees
! Estimated noise=1146.6 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00309981 Jy
! Component: 100  -  total flux cleaned = 0.00380529 Jy
! Component: 150  -  total flux cleaned = 0.00393198 Jy
! Component: 200  -  total flux cleaned = 0.00404406 Jy
! Total flux subtracted in 200 components = 0.00404406 Jy
! Clean residual min=-0.005268 max=0.006444 Jy/beam
! Clean residual mean=0.000023 rms=0.001572 Jy/beam
! Combined flux in latest and established models = 0.281694 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 105 components and 0.281694 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.315301Jy  sigma=0.001180
! Fit after  self-cal, rms=0.315303Jy  sigma=0.001180
! 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=8.381 mas, bmaj=16.48 mas, bpa=3.859 degrees
! Estimated noise=1416.57 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.00206342 Jy
! Component: 100  -  total flux cleaned = 0.0020088 Jy
! Component: 150  -  total flux cleaned = 0.00200688 Jy
! Component: 200  -  total flux cleaned = 0.0020519 Jy
! Total flux subtracted in 200 components = 0.0020519 Jy
! Clean residual min=-0.005953 max=0.008903 Jy/beam
! Clean residual mean=0.000010 rms=0.002236 Jy/beam
! Combined flux in latest and established models = 0.283746 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 109 components and 0.283746 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.315322Jy  sigma=0.001180
! Fit after  self-cal, rms=0.315320Jy  sigma=0.001180
! 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.72 mas, bmaj=6.537 mas, bpa=-2.374 degrees
! Estimated noise=2030.35 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.170549 Jy
! Component: 100  -  total flux cleaned = 0.209628 Jy
! Component: 150  -  total flux cleaned = 0.232818 Jy
! Component: 200  -  total flux cleaned = 0.248675 Jy
! Total flux subtracted in 200 components = 0.248675 Jy
! Clean residual min=-0.007911 max=0.008134 Jy/beam
! Clean residual mean=0.000120 rms=0.002136 Jy/beam
! Combined flux in latest and established models = 0.248675 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 32 model components to the UV plane model.
! The established model now contains 32 components and 0.248675 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.539 mas, bmaj=8.563 mas, bpa=-2.413 degrees
! Estimated noise=1146.6 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.0168458 Jy
! Component: 100  -  total flux cleaned = 0.0250767 Jy
! Component: 150  -  total flux cleaned = 0.0294292 Jy
! Component: 200  -  total flux cleaned = 0.031766 Jy
! Total flux subtracted in 200 components = 0.031766 Jy
! Clean residual min=-0.004987 max=0.006577 Jy/beam
! Clean residual mean=0.000031 rms=0.001595 Jy/beam
! Combined flux in latest and established models = 0.280441 Jy
! Adding 33 model components to the UV plane model.
! The established model now contains 53 components and 0.280441 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=8.381 mas, bmaj=16.48 mas, bpa=3.859 degrees
! Estimated noise=1416.57 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.00309424 Jy
! Component: 100  -  total flux cleaned = 0.00320755 Jy
! Component: 150  -  total flux cleaned = 0.00330587 Jy
! Component: 200  -  total flux cleaned = 0.00335441 Jy
! Total flux subtracted in 200 components = 0.00335441 Jy
! Clean residual min=-0.005931 max=0.009093 Jy/beam
! Clean residual mean=0.000012 rms=0.002257 Jy/beam
! Combined flux in latest and established models = 0.283795 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 60 components and 0.283795 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.539 mas, bmaj=8.563 mas, bpa=-2.413 degrees
! Estimated noise=1146.6 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00178728 Jy
! Component: 100  -  total flux cleaned = -0.00184649 Jy
! Component: 150  -  total flux cleaned = -0.00188949 Jy
! Component: 200  -  total flux cleaned = -0.00189046 Jy
! Total flux subtracted in 200 components = -0.00189046 Jy
! Clean residual min=-0.004920 max=0.006414 Jy/beam
! Clean residual mean=0.000023 rms=0.001566 Jy/beam
! Combined flux in latest and established models = 0.281905 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 69 components and 0.281905 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.315310Jy  sigma=0.001180
! Fit after  self-cal, rms=0.315311Jy  sigma=0.001180
wmodel J1455-1700_S_1997_07_02_yyk\_map.mod
! Writing 69 model components to file: J1455-1700_S_1997_07_02_yyk_map.mod
wobs J1455-1700_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J1455-1700_S_1997_07_02_yyk_uvs.fits
wwins J1455-1700_S_1997_07_02_yyk\_map.win
! wwins: Wrote 2 windows to J1455-1700_S_1997_07_02_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.00279014 Jy
! Component: 100  -  total flux cleaned = 0.0028998 Jy
! Component: 150  -  total flux cleaned = 0.00298231 Jy
! Component: 200  -  total flux cleaned = 0.0034361 Jy
! Component: 250  -  total flux cleaned = 0.0040095 Jy
! Component: 300  -  total flux cleaned = 0.00462522 Jy
! Component: 350  -  total flux cleaned = 0.0052108 Jy
! Component: 400  -  total flux cleaned = 0.00546055 Jy
! Component: 450  -  total flux cleaned = 0.00582062 Jy
! Component: 500  -  total flux cleaned = 0.00610863 Jy
! Component: 550  -  total flux cleaned = 0.00633424 Jy
! Component: 600  -  total flux cleaned = 0.0067156 Jy
! Component: 650  -  total flux cleaned = 0.00708442 Jy
! Component: 700  -  total flux cleaned = 0.00749354 Jy
! Component: 750  -  total flux cleaned = 0.0077443 Jy
! Component: 800  -  total flux cleaned = 0.00808756 Jy
! Component: 850  -  total flux cleaned = 0.00847116 Jy
! Component: 900  -  total flux cleaned = 0.00875249 Jy
! Component: 950  -  total flux cleaned = 0.00884472 Jy
! Component: 1000  -  total flux cleaned = 0.00898081 Jy
! Component: 1050  -  total flux cleaned = 0.00920202 Jy
! Component: 1100  -  total flux cleaned = 0.00950419 Jy
! Component: 1150  -  total flux cleaned = 0.00958886 Jy
! Component: 1200  -  total flux cleaned = 0.0099233 Jy
! Component: 1250  -  total flux cleaned = 0.0100874 Jy
! Component: 1300  -  total flux cleaned = 0.0103295 Jy
! Component: 1350  -  total flux cleaned = 0.010409 Jy
! Component: 1400  -  total flux cleaned = 0.0105268 Jy
! Component: 1450  -  total flux cleaned = 0.0107951 Jy
! Component: 1500  -  total flux cleaned = 0.0108327 Jy
! Component: 1550  -  total flux cleaned = 0.0109442 Jy
! Component: 1600  -  total flux cleaned = 0.0110547 Jy
! Component: 1650  -  total flux cleaned = 0.0113062 Jy
! Component: 1700  -  total flux cleaned = 0.0114473 Jy
! Component: 1750  -  total flux cleaned = 0.011517 Jy
! Component: 1800  -  total flux cleaned = 0.0116207 Jy
! Component: 1850  -  total flux cleaned = 0.0117895 Jy
! Component: 1900  -  total flux cleaned = 0.0118228 Jy
! Component: 1950  -  total flux cleaned = 0.0119217 Jy
! Component: 2000  -  total flux cleaned = 0.0121161 Jy
! Total flux subtracted in 2048 components = 0.012148 Jy
! Clean residual min=-0.001595 max=0.001831 Jy/beam
! Clean residual mean=0.000009 rms=0.000656 Jy/beam
! Combined flux in latest and established models = 0.294053 Jy
keep
! Adding 127 model components to the UV plane model.
! The established model now contains 196 components and 0.294053 Jy
![Exited script file: muppet]
wmap "J1455-1700_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.539 x 8.563 at -2.413 degrees (North through East)
! Clean map  min=-0.0050452  max=0.20238 Jy/beam
! Writing clean map to FITS file: J1455-1700_S_1997_07_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.202382 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000658284 
device "J1455-1700_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1455-1700_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.975803 0.975803 1.95161 3.90321 7.80642 15.6128 31.2257 62.4514
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.202 
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.539 x 8.563 at -2.413 degrees (North through East)
! Clean map  min=-0.0050452  max=0.20238 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1455-1700_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1455-1700_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1455-1700_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 18:40:10 2007