! Started logfile: J0559+2353_X_2002_01_31_yyk_uvs.log on Wed Jun 27 10:49:30 2007
obs J0559+2353_X_2002_01_31_yyk_uva.fits
! Reading UV FITS file: J0559+2353_X_2002_01_31_yyk_uva.fits
! AN table 1: 40 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.54 visibilities/baseline/integration-bin.
! Found source: J0559+2353
! 
! 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  8.40947e+09        8e+06          1        8e+06
!  02        2  8.47947e+09        8e+06          1        8e+06
!  03        3  8.79447e+09        8e+06          1        8e+06
!  04        4  8.89947e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1544 lines of history.
! 
! Reading 3888 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
flag NL
! Flagging baselines of antenna 1:NL in the currently selected channels.
![@muppet J0559+2353_X_2002_01_31_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.423427 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=0.9642 mas, bmaj=2.783 mas, bpa=-38.78 degrees
! Estimated noise=1910.16 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.34964 Jy
! Component: 100  -  total flux cleaned = 0.396603 Jy
! Total flux subtracted in 100 components = 0.396603 Jy
! Clean residual min=-0.021904 max=0.021642 Jy/beam
! Clean residual mean=0.000252 rms=0.006025 Jy/beam
! Combined flux in latest and established models = 0.396603 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 0.396603 Jy
! 
! Correcting IF 1.
!  A total of 145 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 145 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 145 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 145 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.128099Jy  sigma=0.001263
! Fit after  self-cal, rms=0.128043Jy  sigma=0.001262
! Inverting map and beam 
! Estimated beam: bmin=0.9642 mas, bmaj=2.783 mas, bpa=-38.78 degrees
! Estimated noise=1910.44 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=1.44 mas, bmaj=2.889 mas, bpa=-37.42 degrees
! Estimated noise=1296.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.00193094 Jy
! Component: 100  -  total flux cleaned = 0.00162101 Jy
! Component: 150  -  total flux cleaned = 0.00141776 Jy
! Component: 200  -  total flux cleaned = 0.00124649 Jy
! Total flux subtracted in 200 components = 0.00124649 Jy
! Clean residual min=-0.017378 max=0.018732 Jy/beam
! Clean residual mean=0.000957 rms=0.005121 Jy/beam
! Combined flux in latest and established models = 0.397849 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 15 components and 0.397849 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.126971Jy  sigma=0.001252
! Fit after  self-cal, rms=0.126968Jy  sigma=0.001252
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.44 x 2.889 at -37.42 degrees (North through East)
! Clean map  min=-0.016991  max=0.38911 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: 1.00757
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.93     HN        1.00*    KP        1.02     
!   LA        1.10     MK        0.98     NL        1.00*    OV        0.93     
!   PT        0.96     SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.00939
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.94     HN        1.00*    KP        0.97     
!   LA        1.10     MK        0.99     NL        1.00*    OV        0.89     
!   PT        1.03     SC        1.00*    
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.00004
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.88     HN        1.00*    KP        0.97     
!   LA        1.12     MK        0.99     NL        1.00*    OV        0.96     
!   PT        1.05     SC        1.00*    
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.977174
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        0.87     HN        1.00*    KP        1.07     
!   LA        1.09     MK        1.04     NL        1.00*    OV        0.97     
!   PT        1.15     SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.126968Jy  sigma=0.001252
! Fit after  self-cal, rms=0.121630Jy  sigma=0.001193
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.121630Jy  sigma=0.001193
! Fit after  self-cal, rms=0.121630Jy  sigma=0.001193
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.441 mas, bmaj=2.877 mas, bpa=-36.92 degrees
! Estimated noise=1289.03 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.00157694 Jy
! Component: 100  -  total flux cleaned = 0.0017611 Jy
! Component: 150  -  total flux cleaned = 0.00192906 Jy
! Component: 200  -  total flux cleaned = 0.0020312 Jy
! Total flux subtracted in 200 components = 0.0020312 Jy
! Clean residual min=-0.004706 max=0.005016 Jy/beam
! Clean residual mean=0.000095 rms=0.001501 Jy/beam
! Combined flux in latest and established models = 0.399881 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 27 components and 0.399881 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.121584Jy  sigma=0.001192
! Fit after  self-cal, rms=0.121584Jy  sigma=0.001192
! 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.121584Jy  sigma=0.001192
! Fit after  self-cal, rms=0.120575Jy  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.000484602 Jy
! Component: 100  -  total flux cleaned = 0.000614167 Jy
! Component: 150  -  total flux cleaned = 0.000735629 Jy
! Component: 200  -  total flux cleaned = 0.000849906 Jy
! Total flux subtracted in 200 components = 0.000849906 Jy
! Clean residual min=-0.004638 max=0.004919 Jy/beam
! Clean residual mean=0.000102 rms=0.001457 Jy/beam
! Combined flux in latest and established models = 0.40073 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 32 components and 0.40073 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.120562Jy  sigma=0.001181
! Fit after  self-cal, rms=0.120413Jy  sigma=0.001180
! 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: 1.441 x 2.877 at -36.92 degrees (North through East)
! Clean map  min=-0.0045504  max=0.38883 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.120413Jy  sigma=0.001180
! Fit after  self-cal, rms=0.120873Jy  sigma=0.001176
! 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.120873Jy  sigma=0.001176
! Fit after  self-cal, rms=0.120806Jy  sigma=0.001175
! Inverting map and beam 
! Estimated beam: bmin=1.44 mas, bmaj=2.867 mas, bpa=-36.95 degrees
! Estimated noise=1287.69 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00100502 Jy
! Component: 100  -  total flux cleaned = 0.0011353 Jy
! Component: 150  -  total flux cleaned = 0.00123901 Jy
! Component: 200  -  total flux cleaned = 0.00129634 Jy
! Total flux subtracted in 200 components = 0.00129634 Jy
! Clean residual min=-0.004554 max=0.004848 Jy/beam
! Clean residual mean=0.000091 rms=0.001339 Jy/beam
! Combined flux in latest and established models = 0.402027 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 37 components and 0.402027 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.120793Jy  sigma=0.001175
! Fit after  self-cal, rms=0.120748Jy  sigma=0.001175
! 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.120748Jy  sigma=0.001175
! Fit after  self-cal, rms=0.120235Jy  sigma=0.001169
! 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.120235Jy  sigma=0.001169
! Fit after  self-cal, rms=0.120213Jy  sigma=0.001169
! Inverting map and beam 
! Estimated beam: bmin=1.444 mas, bmaj=2.858 mas, bpa=-36.87 degrees
! Estimated noise=1287.98 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00101381 Jy
! Component: 100  -  total flux cleaned = 0.00113134 Jy
! Component: 150  -  total flux cleaned = 0.00117764 Jy
! Component: 200  -  total flux cleaned = 0.00117978 Jy
! Total flux subtracted in 200 components = 0.00117978 Jy
! Clean residual min=-0.004472 max=0.004743 Jy/beam
! Clean residual mean=0.000102 rms=0.001302 Jy/beam
! Combined flux in latest and established models = 0.403207 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 44 components and 0.403207 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.120206Jy  sigma=0.001169
! Fit after  self-cal, rms=0.120191Jy  sigma=0.001168
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.01 mas, bmaj=5.142 mas, bpa=24.94 degrees
! Estimated noise=1437.66 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.000262378 Jy
! Component: 100  -  total flux cleaned = 0.000307072 Jy
! Component: 150  -  total flux cleaned = 0.000286162 Jy
! Component: 200  -  total flux cleaned = 0.00026644 Jy
! Total flux subtracted in 200 components = 0.00026644 Jy
! Clean residual min=-0.004773 max=0.005499 Jy/beam
! Clean residual mean=0.000149 rms=0.001608 Jy/beam
! Combined flux in latest and established models = 0.403473 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 45 components and 0.403473 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.120191Jy  sigma=0.001168
! Fit after  self-cal, rms=0.120182Jy  sigma=0.001168
! 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=0.9651 mas, bmaj=2.772 mas, bpa=-38.51 degrees
! Estimated noise=1892.05 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.3466 Jy
! Component: 100  -  total flux cleaned = 0.392248 Jy
! Component: 150  -  total flux cleaned = 0.402726 Jy
! Component: 200  -  total flux cleaned = 0.402697 Jy
! Total flux subtracted in 200 components = 0.402697 Jy
! Clean residual min=-0.006643 max=0.004104 Jy/beam
! Clean residual mean=0.000072 rms=0.001504 Jy/beam
! Combined flux in latest and established models = 0.402697 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 16 model components to the UV plane model.
! The established model now contains 16 components and 0.402697 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.444 mas, bmaj=2.858 mas, bpa=-36.87 degrees
! Estimated noise=1287.98 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.000564764 Jy
! Component: 100  -  total flux cleaned = 0.000281596 Jy
! Component: 150  -  total flux cleaned = 0.000227295 Jy
! Component: 200  -  total flux cleaned = 0.000226885 Jy
! Total flux subtracted in 200 components = 0.000226885 Jy
! Clean residual min=-0.004279 max=0.004368 Jy/beam
! Clean residual mean=0.000099 rms=0.001270 Jy/beam
! Combined flux in latest and established models = 0.402923 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 26 components and 0.402923 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.01 mas, bmaj=5.142 mas, bpa=24.94 degrees
! Estimated noise=1437.66 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.77671e-05 Jy
! Component: 100  -  total flux cleaned = -7.15092e-05 Jy
! Component: 150  -  total flux cleaned = -5.85837e-05 Jy
! Component: 200  -  total flux cleaned = -5.87565e-05 Jy
! Total flux subtracted in 200 components = -5.87565e-05 Jy
! Clean residual min=-0.004609 max=0.005193 Jy/beam
! Clean residual mean=0.000141 rms=0.001549 Jy/beam
! Combined flux in latest and established models = 0.402865 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 34 components and 0.402865 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.444 mas, bmaj=2.858 mas, bpa=-36.87 degrees
! Estimated noise=1287.98 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 2.92868e-05 Jy
! Component: 100  -  total flux cleaned = 0.000122046 Jy
! Component: 150  -  total flux cleaned = 0.000147701 Jy
! Component: 200  -  total flux cleaned = 0.000147181 Jy
! Total flux subtracted in 200 components = 0.000147181 Jy
! Clean residual min=-0.004283 max=0.004422 Jy/beam
! Clean residual mean=0.000101 rms=0.001261 Jy/beam
! Combined flux in latest and established models = 0.403012 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 41 components and 0.403012 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.120198Jy  sigma=0.001168
! Fit after  self-cal, rms=0.120194Jy  sigma=0.001168
wmodel J0559+2353_X_2002_01_31_yyk\_map.mod
! Writing 41 model components to file: J0559+2353_X_2002_01_31_yyk_map.mod
wobs J0559+2353_X_2002_01_31_yyk\_uvs.fits
! Applying 40 buffered edits.
! Writing UV FITS file: J0559+2353_X_2002_01_31_yyk_uvs.fits
wwins J0559+2353_X_2002_01_31_yyk\_map.win
! wwins: Wrote 1 windows to J0559+2353_X_2002_01_31_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 = 3.33917e-05 Jy
! Component: 100  -  total flux cleaned = 8.1333e-05 Jy
! Component: 150  -  total flux cleaned = 0.000133901 Jy
! Component: 200  -  total flux cleaned = 0.000373691 Jy
! Component: 250  -  total flux cleaned = 0.000507177 Jy
! Component: 300  -  total flux cleaned = 0.000633692 Jy
! Component: 350  -  total flux cleaned = 0.000829526 Jy
! Component: 400  -  total flux cleaned = 0.000976021 Jy
! Component: 450  -  total flux cleaned = 0.00104691 Jy
! Component: 500  -  total flux cleaned = 0.00114654 Jy
! Component: 550  -  total flux cleaned = 0.00114729 Jy
! Component: 600  -  total flux cleaned = 0.00114677 Jy
! Component: 650  -  total flux cleaned = 0.00111869 Jy
! Component: 700  -  total flux cleaned = 0.00111952 Jy
! Component: 750  -  total flux cleaned = 0.00119611 Jy
! Component: 800  -  total flux cleaned = 0.00109759 Jy
! Component: 850  -  total flux cleaned = 0.00104981 Jy
! Component: 900  -  total flux cleaned = 0.000957323 Jy
! Component: 950  -  total flux cleaned = 0.000890789 Jy
! Component: 1000  -  total flux cleaned = 0.000890591 Jy
! Component: 1050  -  total flux cleaned = 0.000890715 Jy
! Component: 1100  -  total flux cleaned = 0.000870135 Jy
! Component: 1150  -  total flux cleaned = 0.000869992 Jy
! Component: 1200  -  total flux cleaned = 0.000811204 Jy
! Component: 1250  -  total flux cleaned = 0.000735053 Jy
! Component: 1300  -  total flux cleaned = 0.00077242 Jy
! Component: 1350  -  total flux cleaned = 0.000753788 Jy
! Component: 1400  -  total flux cleaned = 0.000789971 Jy
! Component: 1450  -  total flux cleaned = 0.000807777 Jy
! Component: 1500  -  total flux cleaned = 0.000843036 Jy
! Component: 1550  -  total flux cleaned = 0.000895038 Jy
! Component: 1600  -  total flux cleaned = 0.000981313 Jy
! Component: 1650  -  total flux cleaned = 0.00108409 Jy
! Component: 1700  -  total flux cleaned = 0.00113531 Jy
! Component: 1750  -  total flux cleaned = 0.00120345 Jy
! Component: 1800  -  total flux cleaned = 0.00130523 Jy
! Component: 1850  -  total flux cleaned = 0.00138993 Jy
! Component: 1900  -  total flux cleaned = 0.00149144 Jy
! Component: 1950  -  total flux cleaned = 0.00159295 Jy
! Component: 2000  -  total flux cleaned = 0.00169434 Jy
! Total flux subtracted in 2048 components = 0.00177905 Jy
! Clean residual min=-0.000962 max=0.001000 Jy/beam
! Clean residual mean=0.000024 rms=0.000319 Jy/beam
! Combined flux in latest and established models = 0.404791 Jy
keep
! Adding 118 model components to the UV plane model.
! The established model now contains 159 components and 0.404791 Jy
![Exited script file: muppet]
wmap "J0559+2353_X_2002_01_31_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.444 x 2.858 at -36.87 degrees (North through East)
! Clean map  min=-0.0024358  max=0.39461 Jy/beam
! Writing clean map to FITS file: J0559+2353_X_2002_01_31_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.394608 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000293455 
device "J0559+2353_X_2002_01_31_yyk\_map.eps/VPS"
! Attempting to open device: 'J0559+2353_X_2002_01_31_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.223099 0.223099 0.446197 0.892394 1.78479 3.56958 7.13915 14.2783 28.5566 57.1132
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0008 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.394 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.444 x 2.858 at -36.87 degrees (North through East)
! Clean map  min=-0.0024358  max=0.39461 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0559+2353_X_2002_01_31_yyk\_map.gif/gif"
! Attempting to open device: 'J0559+2353_X_2002_01_31_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0559+2353_X_2002_01_31_yyk_uvs.log closed on Wed Jun 27 10:49:36 2007