! Started logfile: J1550+0527_S_2006_02_16_yyk_uvs.log on Wed Jul  5 12:46:47 2006
obs J1550+0527_S_2006_02_16_yyk_uva.fits
! Reading UV FITS file: J1550+0527_S_2006_02_16_yyk_uva.fits
! AN table 1: 231 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.877249 visibilities/baseline/integration-bin.
! Found source: J1550+0527
! 
! 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.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2421 lines of history.
! 
! Reading 36476 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 J1550+0527_S_2006_02_16_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.
uvav time_av, true
! Averaging into 30 second bins.
! 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
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 2.62159 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.616 mas, bmaj=6.644 mas, bpa=-5.359 degrees
! Estimated noise=1.77695 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 = 2.18109 Jy
! Component: 100  -  total flux cleaned = 2.51621 Jy
! Total flux subtracted in 100 components = 2.51621 Jy
! Clean residual min=-0.119153 max=0.165390 Jy/beam
! Clean residual mean=-0.000819 rms=0.036142 Jy/beam
! Combined flux in latest and established models = 2.51621 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 2.51621 Jy
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.520576Jy  sigma=8.508411
! Fit after  self-cal, rms=0.519842Jy  sigma=8.495899
! Inverting map and beam 
! Estimated beam: bmin=2.616 mas, bmaj=6.644 mas, bpa=-5.359 degrees
! Estimated noise=1.77695 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.302 mas, bmaj=7.991 mas, bpa=-6.54 degrees
! Estimated noise=1.42861 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.177629 Jy
! Component: 100  -  total flux cleaned = 0.261822 Jy
! Component: 150  -  total flux cleaned = 0.304554 Jy
! Component: 200  -  total flux cleaned = 0.320358 Jy
! Total flux subtracted in 200 components = 0.320358 Jy
! Clean residual min=-0.117252 max=0.146956 Jy/beam
! Clean residual mean=-0.001944 rms=0.034811 Jy/beam
! Combined flux in latest and established models = 2.83656 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 44 components and 2.83656 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.483705Jy  sigma=7.698658
! Fit after  self-cal, rms=0.483373Jy  sigma=7.695655
! 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.302 x 7.991 at -6.54 degrees (North through East)
! Clean map  min=-0.11407  max=2.5378 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 0.984167
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.91     HN        1.00     KP        0.92     
!   LA        1.18     MK        0.86     NL        1.37     OV        0.93     
!   PT        1.02     SC        0.98     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.977021
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.95     HN        1.02     KP        0.94     
!   LA        1.15     MK        0.94     NL        1.32     OV        0.95     
!   PT        0.98     SC        1.00     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.945739
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        0.95     HN        1.02     KP        0.93     
!   LA        0.91     MK        1.05     NL        1.57     OV        0.98     
!   PT        1.04     SC        1.06     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.01279
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        0.96     HN        0.96     KP        0.86     
!   LA        0.78     MK        1.06     NL        1.31     OV        0.84     
!   PT        0.92     SC        1.14     
! 
! 
! Fit before self-cal, rms=0.483373Jy  sigma=7.695655
! Fit after  self-cal, rms=0.206711Jy  sigma=3.662299
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.206711Jy  sigma=3.662299
! Fit after  self-cal, rms=0.206912Jy  sigma=3.661487
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.334 mas, bmaj=8.22 mas, bpa=-6.975 degrees
! Estimated noise=1.35516 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.101598 Jy
! Component: 100  -  total flux cleaned = -0.124848 Jy
! Component: 150  -  total flux cleaned = -0.126816 Jy
! Component: 200  -  total flux cleaned = -0.12723 Jy
! Total flux subtracted in 200 components = -0.12723 Jy
! Clean residual min=-0.019606 max=0.037821 Jy/beam
! Clean residual mean=-0.000239 rms=0.006249 Jy/beam
! Combined flux in latest and established models = 2.70933 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 57 components and 2.70933 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.180307Jy  sigma=2.943129
! Fit after  self-cal, rms=0.180117Jy  sigma=2.941801
! Inverting map 
! Added new window around map position (1.5, 11.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0361925 Jy
! Component: 100  -  total flux cleaned = 0.0362181 Jy
! Component: 150  -  total flux cleaned = 0.0343245 Jy
! Component: 200  -  total flux cleaned = 0.0332543 Jy
! Total flux subtracted in 200 components = 0.0332543 Jy
! Clean residual min=-0.017723 max=0.013817 Jy/beam
! Clean residual mean=-0.000321 rms=0.003978 Jy/beam
! Combined flux in latest and established models = 2.74259 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 70 components and 2.74259 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170437Jy  sigma=2.795686
! Fit after  self-cal, rms=0.169595Jy  sigma=2.788705
! 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.169595Jy  sigma=2.788705
! Fit after  self-cal, rms=0.157609Jy  sigma=2.597408
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.00181992 Jy
! Component: 100  -  total flux cleaned = 0.00140792 Jy
! Component: 150  -  total flux cleaned = 0.000629837 Jy
! Component: 200  -  total flux cleaned = -7.12793e-05 Jy
! Total flux subtracted in 200 components = -7.12793e-05 Jy
! Clean residual min=-0.018036 max=0.011163 Jy/beam
! Clean residual mean=-0.000316 rms=0.003475 Jy/beam
! Combined flux in latest and established models = 2.74252 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 81 components and 2.74252 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.155121Jy  sigma=2.565041
! Fit after  self-cal, rms=0.153938Jy  sigma=2.551754
! 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.334 x 8.22 at -6.975 degrees (North through East)
! Clean map  min=-0.014821  max=2.4381 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.153938Jy  sigma=2.551754
! Fit after  self-cal, rms=0.085626Jy  sigma=1.240254
! 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.085626Jy  sigma=1.240254
! Fit after  self-cal, rms=0.085502Jy  sigma=1.238695
! Inverting map and beam 
! Estimated beam: bmin=3.338 mas, bmaj=8.202 mas, bpa=-6.917 degrees
! Estimated noise=1.35251 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00677423 Jy
! Component: 100  -  total flux cleaned = 0.00714785 Jy
! Component: 150  -  total flux cleaned = 0.00718581 Jy
! Component: 200  -  total flux cleaned = 0.00744739 Jy
! Total flux subtracted in 200 components = 0.00744739 Jy
! Clean residual min=-0.011924 max=0.009310 Jy/beam
! Clean residual mean=-0.000286 rms=0.002618 Jy/beam
! Combined flux in latest and established models = 2.74996 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 86 components and 2.74996 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081995Jy  sigma=1.190302
! Fit after  self-cal, rms=0.081463Jy  sigma=1.185329
! 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.081463Jy  sigma=1.185329
! Fit after  self-cal, rms=0.075906Jy  sigma=1.081937
! 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.075906Jy  sigma=1.081937
! Fit after  self-cal, rms=0.075902Jy  sigma=1.081923
! Inverting map and beam 
! Estimated beam: bmin=3.339 mas, bmaj=8.193 mas, bpa=-6.854 degrees
! Estimated noise=1.35231 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00302369 Jy
! Component: 100  -  total flux cleaned = 0.00347693 Jy
! Component: 150  -  total flux cleaned = 0.00366695 Jy
! Component: 200  -  total flux cleaned = 0.0038441 Jy
! Total flux subtracted in 200 components = 0.0038441 Jy
! Clean residual min=-0.010288 max=0.008490 Jy/beam
! Clean residual mean=-0.000289 rms=0.002347 Jy/beam
! Combined flux in latest and established models = 2.75381 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 90 components and 2.75381 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.073962Jy  sigma=1.056384
! Fit after  self-cal, rms=0.073654Jy  sigma=1.053209
! 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.113 mas, bmaj=12.68 mas, bpa=12.31 degrees
! Estimated noise=1.68371 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.00231299 Jy
! Component: 100  -  total flux cleaned = -0.00145339 Jy
! Component: 150  -  total flux cleaned = -0.000793619 Jy
! Component: 200  -  total flux cleaned = -0.000685866 Jy
! Total flux subtracted in 200 components = -0.000685866 Jy
! Clean residual min=-0.010086 max=0.008784 Jy/beam
! Clean residual mean=-0.000568 rms=0.003084 Jy/beam
! Combined flux in latest and established models = 2.75312 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 110 components and 2.75312 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072695Jy  sigma=1.046309
! Fit after  self-cal, rms=0.072459Jy  sigma=1.042596
! 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.621 mas, bmaj=6.7 mas, bpa=-5.23 degrees
! Estimated noise=1.70602 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 2.09454 Jy
! Component: 100  -  total flux cleaned = 2.40996 Jy
! Component: 150  -  total flux cleaned = 2.52967 Jy
! Component: 200  -  total flux cleaned = 2.59762 Jy
! Total flux subtracted in 200 components = 2.59762 Jy
! Clean residual min=-0.016326 max=0.026268 Jy/beam
! Clean residual mean=-0.000142 rms=0.005816 Jy/beam
! Combined flux in latest and established models = 2.59762 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 38 model components to the UV plane model.
! The established model now contains 38 components and 2.59762 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.339 mas, bmaj=8.193 mas, bpa=-6.854 degrees
! Estimated noise=1.35231 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.0690754 Jy
! Component: 100  -  total flux cleaned = 0.104669 Jy
! Component: 150  -  total flux cleaned = 0.124451 Jy
! Component: 200  -  total flux cleaned = 0.136159 Jy
! Total flux subtracted in 200 components = 0.136159 Jy
! Clean residual min=-0.010016 max=0.007350 Jy/beam
! Clean residual mean=-0.000238 rms=0.002346 Jy/beam
! Combined flux in latest and established models = 2.73378 Jy
! Adding 103 model components to the UV plane model.
! The established model now contains 131 components and 2.73378 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.113 mas, bmaj=12.68 mas, bpa=12.31 degrees
! Estimated noise=1.68371 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.00997315 Jy
! Component: 100  -  total flux cleaned = 0.0140993 Jy
! Component: 150  -  total flux cleaned = 0.0161879 Jy
! Component: 200  -  total flux cleaned = 0.0172241 Jy
! Total flux subtracted in 200 components = 0.0172241 Jy
! Clean residual min=-0.008937 max=0.008339 Jy/beam
! Clean residual mean=-0.000557 rms=0.002846 Jy/beam
! Combined flux in latest and established models = 2.751 Jy
! Adding 44 model components to the UV plane model.
! The established model now contains 165 components and 2.751 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.339 mas, bmaj=8.193 mas, bpa=-6.854 degrees
! Estimated noise=1.35231 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 3.22709e-05 Jy
! Component: 100  -  total flux cleaned = 0.000403569 Jy
! Component: 150  -  total flux cleaned = 0.000731507 Jy
! Component: 200  -  total flux cleaned = 0.00102307 Jy
! Total flux subtracted in 200 components = 0.00102307 Jy
! Clean residual min=-0.008481 max=0.007147 Jy/beam
! Clean residual mean=-0.000286 rms=0.002037 Jy/beam
! Combined flux in latest and established models = 2.75202 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 183 components and 2.75203 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069684Jy  sigma=1.014082
! Fit after  self-cal, rms=0.069066Jy  sigma=1.007150
wmodel J1550+0527_S_2006_02_16_yyk\_map.mod
! Writing 183 model components to file: J1550+0527_S_2006_02_16_yyk_map.mod
wobs J1550+0527_S_2006_02_16_yyk\_uvs.fits
! Writing UV FITS file: J1550+0527_S_2006_02_16_yyk_uvs.fits
wwins J1550+0527_S_2006_02_16_yyk\_map.win
! wwins: Wrote 2 windows to J1550+0527_S_2006_02_16_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.0023228 Jy
! Component: 100  -  total flux cleaned = -0.00219463 Jy
! Component: 150  -  total flux cleaned = -0.00262862 Jy
! Component: 200  -  total flux cleaned = -0.00293654 Jy
! Component: 250  -  total flux cleaned = -0.00284732 Jy
! Component: 300  -  total flux cleaned = -0.00249065 Jy
! Component: 350  -  total flux cleaned = -0.00214982 Jy
! Component: 400  -  total flux cleaned = -0.00158123 Jy
! Component: 450  -  total flux cleaned = -0.000960685 Jy
! Component: 500  -  total flux cleaned = -0.000516123 Jy
! Component: 550  -  total flux cleaned = -0.000159147 Jy
! Component: 600  -  total flux cleaned = 0.000253461 Jy
! Component: 650  -  total flux cleaned = 0.00045338 Jy
! Component: 700  -  total flux cleaned = 0.000648479 Jy
! Component: 750  -  total flux cleaned = 0.000961237 Jy
! Component: 800  -  total flux cleaned = 0.00102227 Jy
! Component: 850  -  total flux cleaned = 0.00125796 Jy
! Component: 900  -  total flux cleaned = 0.00125728 Jy
! Component: 950  -  total flux cleaned = 0.00142414 Jy
! Component: 1000  -  total flux cleaned = 0.00147669 Jy
! Component: 1050  -  total flux cleaned = 0.00147761 Jy
! Component: 1100  -  total flux cleaned = 0.00147828 Jy
! Component: 1150  -  total flux cleaned = 0.00137984 Jy
! Component: 1200  -  total flux cleaned = 0.00147934 Jy
! Component: 1250  -  total flux cleaned = 0.00171893 Jy
! Component: 1300  -  total flux cleaned = 0.00171846 Jy
! Component: 1350  -  total flux cleaned = 0.00171967 Jy
! Component: 1400  -  total flux cleaned = 0.0018545 Jy
! Component: 1450  -  total flux cleaned = 0.00181108 Jy
! Component: 1500  -  total flux cleaned = 0.00198244 Jy
! Component: 1550  -  total flux cleaned = 0.00202323 Jy
! Component: 1600  -  total flux cleaned = 0.0023112 Jy
! Component: 1650  -  total flux cleaned = 0.00255236 Jy
! Component: 1700  -  total flux cleaned = 0.0027101 Jy
! Component: 1750  -  total flux cleaned = 0.0029819 Jy
! Component: 1800  -  total flux cleaned = 0.00313471 Jy
! Component: 1850  -  total flux cleaned = 0.00350818 Jy
! Component: 1900  -  total flux cleaned = 0.00369252 Jy
! Component: 1950  -  total flux cleaned = 0.00394569 Jy
! Component: 2000  -  total flux cleaned = 0.00426578 Jy
! Total flux subtracted in 2048 components = 0.00451127 Jy
! Clean residual min=-0.001797 max=0.002458 Jy/beam
! Clean residual mean=-0.000044 rms=0.000740 Jy/beam
! Combined flux in latest and established models = 2.75654 Jy
keep
! Adding 156 model components to the UV plane model.
! The established model now contains 339 components and 2.75654 Jy
![Exited script file: muppet]
wmap "J1550+0527_S_2006_02_16_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.339 x 8.193 at -6.854 degrees (North through East)
! Clean map  min=-0.0046974  max=2.4472 Jy/beam
! Writing clean map to FITS file: J1550+0527_S_2006_02_16_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 2.44717 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000731706 
device "J1550+0527_S_2006_02_16_yyk\_map.eps/VPS"
! Attempting to open device: 'J1550+0527_S_2006_02_16_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.0897005 0.0897005 0.179401 0.358802 0.717604 1.43521 2.87042 5.74083 11.4817 22.9633 45.9266 91.8533
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0021 
print "peak=",int(peak_flux*1000)/1000
! peak= 2.447 
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.339 x 8.193 at -6.854 degrees (North through East)
! Clean map  min=-0.0046974  max=2.4472 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1550+0527_S_2006_02_16_yyk\_map.gif/gif"
! Attempting to open device: 'J1550+0527_S_2006_02_16_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1550+0527_S_2006_02_16_yyk_uvs.log closed on Wed Jul  5 12:47:33 2006