! Started logfile: J1013-2546_S_2004_04_30_yyk_uvs.log on Wed Dec  7 00:16:12 2005
obs J1013-2546_S_2004_04_30_yyk_uve.fits
! Reading UV FITS file: J1013-2546_S_2004_04_30_yyk_uve.fits
! AN table 1: 16 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.884722 visibilities/baseline/integration-bin.
! Found source: J1013-2546
! 
! 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 1628 lines of history.
! 
! Reading 2548 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 J1013-2546_S_2004_04_30_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.175896 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 52 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.851548Jy  sigma=13.296207
! Fit after  self-cal, rms=0.850505Jy  sigma=13.287740
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.348 mas, bmaj=6.87 mas, bpa=-4.359 degrees
! Estimated noise=1.54794 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.127298 Jy
! Component: 100  -  total flux cleaned = 0.155245 Jy
! Total flux subtracted in 100 components = 0.155245 Jy
! Clean residual min=-0.007370 max=0.009321 Jy/beam
! Clean residual mean=-0.000046 rms=0.002187 Jy/beam
! Combined flux in latest and established models = 0.155245 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 23 components and 0.155245 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082893Jy  sigma=1.089434
! Fit after  self-cal, rms=0.082891Jy  sigma=1.089261
! 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.105 mas, bmaj=8.749 mas, bpa=-6.009 degrees
! Estimated noise=1.00437 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.0161827 Jy
! Component: 100  -  total flux cleaned = 0.0222955 Jy
! Component: 150  -  total flux cleaned = 0.0247929 Jy
! Component: 200  -  total flux cleaned = 0.0254012 Jy
! Total flux subtracted in 200 components = 0.0254012 Jy
! Clean residual min=-0.004813 max=0.006031 Jy/beam
! Clean residual mean=-0.000021 rms=0.001583 Jy/beam
! Combined flux in latest and established models = 0.180646 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 54 components and 0.180646 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081148Jy  sigma=1.051336
! Fit after  self-cal, rms=0.081143Jy  sigma=1.051258
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! 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.01162
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.01     HN        1.07     KP        0.98     
!   LA        1.08     MK        1.04     NL        0.99     OV        0.95     
!   PT        0.96     SC        0.85     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.99416
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.01     HN        1.10     KP        1.01     
!   LA        1.09     MK        0.95     NL        1.05     OV        0.99     
!   PT        0.92     SC        0.95     
! 
! 
! Correcting IF 3.
!  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.
!  Amplitude normalization factor in sub-array 1: 1.02045
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.93     HN        1.03     KP        0.91     
!   LA        1.00*    MK        0.94     NL        1.05     OV        1.00*    
!   PT        0.95     SC        1.00     
! 
! 
! Fit before self-cal, rms=0.081143Jy  sigma=1.051258
! Fit after  self-cal, rms=0.080639Jy  sigma=1.039103
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.080639Jy  sigma=1.039103
! Fit after  self-cal, rms=0.080646Jy  sigma=1.039087
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.063 mas, bmaj=8.501 mas, bpa=-5.036 degrees
! Estimated noise=0.998382 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.00134521 Jy
! Component: 100  -  total flux cleaned = 0.00155251 Jy
! Component: 150  -  total flux cleaned = 0.00167697 Jy
! Component: 200  -  total flux cleaned = 0.00178133 Jy
! Total flux subtracted in 200 components = 0.00178133 Jy
! Clean residual min=-0.004145 max=0.005833 Jy/beam
! Clean residual mean=0.000028 rms=0.001263 Jy/beam
! Combined flux in latest and established models = 0.182427 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 63 components and 0.182427 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.080615Jy  sigma=1.038111
! Fit after  self-cal, rms=0.080610Jy  sigma=1.038093
! 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.080610Jy  sigma=1.038093
! Fit after  self-cal, rms=0.077502Jy  sigma=0.994924
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.000993333 Jy
! Component: 100  -  total flux cleaned = 0.00111389 Jy
! Component: 150  -  total flux cleaned = 0.00113365 Jy
! Component: 200  -  total flux cleaned = 0.001153 Jy
! Total flux subtracted in 200 components = 0.001153 Jy
! Clean residual min=-0.004060 max=0.005554 Jy/beam
! Clean residual mean=0.000023 rms=0.001235 Jy/beam
! Combined flux in latest and established models = 0.18358 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 67 components and 0.18358 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077486Jy  sigma=0.994667
! Fit after  self-cal, rms=0.077215Jy  sigma=0.991421
! 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.063 x 8.501 at -5.036 degrees (North through East)
! Clean map  min=-0.0038822  max=0.14986 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.077215Jy  sigma=0.991421
! Fit after  self-cal, rms=0.075639Jy  sigma=0.986320
! 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.075639Jy  sigma=0.986320
! Fit after  self-cal, rms=0.075603Jy  sigma=0.985933
! Inverting map and beam 
! Estimated beam: bmin=3.014 mas, bmaj=8.357 mas, bpa=-4.484 degrees
! Estimated noise=0.982619 mJy/beam.
! Added new window around map position (6.5, -7.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00528355 Jy
! Component: 100  -  total flux cleaned = 0.00535854 Jy
! Component: 150  -  total flux cleaned = 0.0053527 Jy
! Component: 200  -  total flux cleaned = 0.00546013 Jy
! Total flux subtracted in 200 components = 0.00546013 Jy
! Clean residual min=-0.003549 max=0.003753 Jy/beam
! Clean residual mean=0.000034 rms=0.000992 Jy/beam
! Combined flux in latest and established models = 0.189041 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 89 components and 0.18904 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.075308Jy  sigma=0.979439
! Fit after  self-cal, rms=0.075256Jy  sigma=0.978631
! 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.075256Jy  sigma=0.978631
! Fit after  self-cal, rms=0.075436Jy  sigma=0.977369
! 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.075436Jy  sigma=0.977369
! Fit after  self-cal, rms=0.075450Jy  sigma=0.977183
! Inverting map and beam 
! Estimated beam: bmin=2.95 mas, bmaj=8.212 mas, bpa=-3.775 degrees
! Estimated noise=0.97259 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000925819 Jy
! Component: 100  -  total flux cleaned = 0.0014157 Jy
! Component: 150  -  total flux cleaned = 0.001656 Jy
! Component: 200  -  total flux cleaned = 0.00181654 Jy
! Total flux subtracted in 200 components = 0.00181654 Jy
! Clean residual min=-0.003816 max=0.003402 Jy/beam
! Clean residual mean=0.000031 rms=0.000912 Jy/beam
! Combined flux in latest and established models = 0.190857 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 103 components and 0.190857 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.075419Jy  sigma=0.975778
! Fit after  self-cal, rms=0.075415Jy  sigma=0.975685
! 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.991 mas, bmaj=21.34 mas, bpa=0.862 degrees
! Estimated noise=1.27792 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.000435612 Jy
! Component: 100  -  total flux cleaned = 0.000388842 Jy
! Component: 150  -  total flux cleaned = 0.000349533 Jy
! Component: 200  -  total flux cleaned = 0.000315414 Jy
! Total flux subtracted in 200 components = 0.000315414 Jy
! Clean residual min=-0.003060 max=0.005026 Jy/beam
! Clean residual mean=0.000071 rms=0.001222 Jy/beam
! Combined flux in latest and established models = 0.191172 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 116 components and 0.191172 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.075427Jy  sigma=0.975701
! Fit after  self-cal, rms=0.075424Jy  sigma=0.975679
! Inverting map 
uvtaper 0,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.293 mas, bmaj=6.742 mas, bpa=-3.442 degrees
! Estimated noise=1.47271 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.12413 Jy
! Component: 100  -  total flux cleaned = 0.154669 Jy
! Component: 150  -  total flux cleaned = 0.169451 Jy
! Component: 200  -  total flux cleaned = 0.178219 Jy
! Total flux subtracted in 200 components = 0.178219 Jy
! Clean residual min=-0.006930 max=0.006200 Jy/beam
! Clean residual mean=-0.000010 rms=0.001637 Jy/beam
! Combined flux in latest and established models = 0.178219 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 43 model components to the UV plane model.
! The established model now contains 43 components and 0.178219 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.95 mas, bmaj=8.212 mas, bpa=-3.775 degrees
! Estimated noise=0.97259 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.00663186 Jy
! Component: 100  -  total flux cleaned = 0.00986952 Jy
! Component: 150  -  total flux cleaned = 0.0116993 Jy
! Component: 200  -  total flux cleaned = 0.0124907 Jy
! Total flux subtracted in 200 components = 0.0124907 Jy
! Clean residual min=-0.003903 max=0.003294 Jy/beam
! Clean residual mean=0.000031 rms=0.000916 Jy/beam
! Combined flux in latest and established models = 0.190709 Jy
! Adding 33 model components to the UV plane model.
! The established model now contains 74 components and 0.190709 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.991 mas, bmaj=21.34 mas, bpa=0.862 degrees
! Estimated noise=1.27792 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.000257206 Jy
! Component: 100  -  total flux cleaned = 0.000317206 Jy
! Component: 150  -  total flux cleaned = 0.000340614 Jy
! Component: 200  -  total flux cleaned = 0.000349904 Jy
! Total flux subtracted in 200 components = 0.000349904 Jy
! Clean residual min=-0.003053 max=0.005077 Jy/beam
! Clean residual mean=0.000072 rms=0.001210 Jy/beam
! Combined flux in latest and established models = 0.191059 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 88 components and 0.191059 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.95 mas, bmaj=8.212 mas, bpa=-3.775 degrees
! Estimated noise=0.97259 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000114839 Jy
! Component: 100  -  total flux cleaned = 0.000112917 Jy
! Component: 150  -  total flux cleaned = 0.000141619 Jy
! Component: 200  -  total flux cleaned = 0.000168655 Jy
! Total flux subtracted in 200 components = 0.000168655 Jy
! Clean residual min=-0.003800 max=0.003271 Jy/beam
! Clean residual mean=0.000031 rms=0.000905 Jy/beam
! Combined flux in latest and established models = 0.191228 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 103 components and 0.191228 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.075348Jy  sigma=0.975121
! Fit after  self-cal, rms=0.075335Jy  sigma=0.975032
wmodel J1013-2546_S_2004_04_30_yyk\_map.mod
! Writing 103 model components to file: J1013-2546_S_2004_04_30_yyk_map.mod
wobs J1013-2546_S_2004_04_30_yyk\_uvs.fits
! Writing UV FITS file: J1013-2546_S_2004_04_30_yyk_uvs.fits
wwins J1013-2546_S_2004_04_30_yyk\_map.win
! wwins: Wrote 2 windows to J1013-2546_S_2004_04_30_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.000678071 Jy
! Component: 100  -  total flux cleaned = -0.00107127 Jy
! Component: 150  -  total flux cleaned = -0.00117913 Jy
! Component: 200  -  total flux cleaned = -0.00117809 Jy
! Component: 250  -  total flux cleaned = -0.0010863 Jy
! Component: 300  -  total flux cleaned = -0.000955248 Jy
! Component: 350  -  total flux cleaned = -0.000787308 Jy
! Component: 400  -  total flux cleaned = -0.000542738 Jy
! Component: 450  -  total flux cleaned = -0.000423256 Jy
! Component: 500  -  total flux cleaned = -0.000306781 Jy
! Component: 550  -  total flux cleaned = -0.000194579 Jy
! Component: 600  -  total flux cleaned = -4.83909e-05 Jy
! Component: 650  -  total flux cleaned = 5.9058e-05 Jy
! Component: 700  -  total flux cleaned = 0.000129306 Jy
! Component: 750  -  total flux cleaned = 0.000198051 Jy
! Component: 800  -  total flux cleaned = 0.00029879 Jy
! Component: 850  -  total flux cleaned = 0.000364706 Jy
! Component: 900  -  total flux cleaned = 0.000428724 Jy
! Component: 950  -  total flux cleaned = 0.000523093 Jy
! Component: 1000  -  total flux cleaned = 0.000522327 Jy
! Component: 1050  -  total flux cleaned = 0.000703872 Jy
! Component: 1100  -  total flux cleaned = 0.00082283 Jy
! Component: 1150  -  total flux cleaned = 0.000911422 Jy
! Component: 1200  -  total flux cleaned = 0.0011428 Jy
! Component: 1250  -  total flux cleaned = 0.0011429 Jy
! Component: 1300  -  total flux cleaned = 0.00128379 Jy
! Component: 1350  -  total flux cleaned = 0.00131181 Jy
! Component: 1400  -  total flux cleaned = 0.00142171 Jy
! Component: 1450  -  total flux cleaned = 0.00147572 Jy
! Component: 1500  -  total flux cleaned = 0.00158246 Jy
! Component: 1550  -  total flux cleaned = 0.0016088 Jy
! Component: 1600  -  total flux cleaned = 0.00166126 Jy
! Component: 1650  -  total flux cleaned = 0.00181663 Jy
! Component: 1700  -  total flux cleaned = 0.00186786 Jy
! Component: 1750  -  total flux cleaned = 0.0020452 Jy
! Component: 1800  -  total flux cleaned = 0.00204501 Jy
! Component: 1850  -  total flux cleaned = 0.0021443 Jy
! Component: 1900  -  total flux cleaned = 0.00221778 Jy
! Component: 1950  -  total flux cleaned = 0.00236315 Jy
! Component: 2000  -  total flux cleaned = 0.0024351 Jy
! Total flux subtracted in 2048 components = 0.00248255 Jy
! Clean residual min=-0.001627 max=0.001559 Jy/beam
! Clean residual mean=0.000003 rms=0.000477 Jy/beam
! Combined flux in latest and established models = 0.19371 Jy
keep
! Adding 119 model components to the UV plane model.
! The established model now contains 222 components and 0.19371 Jy
![Exited script file: muppet]
wmap "J1013-2546_S_2004_04_30_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.95 x 8.212 at -3.775 degrees (North through East)
! Clean map  min=-0.0025287  max=0.14521 Jy/beam
! Writing clean map to FITS file: J1013-2546_S_2004_04_30_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.145205 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000470253 
device "J1013-2546_S_2004_04_30_yyk\_map.eps/VPS"
! Attempting to open device: 'J1013-2546_S_2004_04_30_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.971561 0.971561 1.94312 3.88624 7.77249 15.545 31.09 62.1799
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.145 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.95 x 8.212 at -3.775 degrees (North through East)
! Clean map  min=-0.0025287  max=0.14521 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1013-2546_S_2004_04_30_yyk\_map.gif/gif"
! Attempting to open device: 'J1013-2546_S_2004_04_30_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1013-2546_S_2004_04_30_yyk_uvs.log closed on Wed Dec  7 00:16:16 2005