! Started logfile: J0246-1236_X_1997_05_07_yyk_uvs.log on Mon Jan  8 02:32:42 2007
obs J0246-1236_X_1997_05_07_yyk_uva.fits
! Reading UV FITS file: J0246-1236_X_1997_05_07_yyk_uva.fits
! AN table 1: 143 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.628283 visibilities/baseline/integration-bin.
! Found source: J0246-1236
! 
! 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.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 613 lines of history.
! 
! Reading 16172 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 J0246-1236_X_1997_05_07_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.308653 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.7097 mas, bmaj=1.993 mas, bpa=-3.603 degrees
! Estimated noise=1781.97 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.175493 Jy
! Component: 100  -  total flux cleaned = 0.219541 Jy
! Total flux subtracted in 100 components = 0.219541 Jy
! Clean residual min=-0.016140 max=0.020488 Jy/beam
! Clean residual mean=0.000007 rms=0.004286 Jy/beam
! Combined flux in latest and established models = 0.219541 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.219541 Jy
! 
! Correcting IF 1.
!  A total of 342 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 342 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 342 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 342 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.226014Jy  sigma=0.001362
! Fit after  self-cal, rms=0.225123Jy  sigma=0.001360
! Inverting map and beam 
! Estimated beam: bmin=0.7097 mas, bmaj=1.993 mas, bpa=-3.602 degrees
! Estimated noise=1781.96 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=0.8703 mas, bmaj=2.326 mas, bpa=-3.247 degrees
! Estimated noise=864.952 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.0294377 Jy
! Component: 100  -  total flux cleaned = 0.042255 Jy
! Component: 150  -  total flux cleaned = 0.0483832 Jy
! Component: 200  -  total flux cleaned = 0.0506352 Jy
! Total flux subtracted in 200 components = 0.0506352 Jy
! Clean residual min=-0.012797 max=0.010783 Jy/beam
! Clean residual mean=-0.000344 rms=0.003305 Jy/beam
! Combined flux in latest and established models = 0.270176 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 24 components and 0.270176 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223842Jy  sigma=0.001343
! Fit after  self-cal, rms=0.223829Jy  sigma=0.001343
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8703 x 2.326 at -3.247 degrees (North through East)
! Clean map  min=-0.012297  max=0.19871 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.
!  A total of 30 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 2.
!  A total of 30 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.0026
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.95     HN        0.99     KP        0.93     
!   LA        0.96     MK        1.16     NL        1.09     OV        1.00     
!   PT        0.88     SC        1.02     
! 
! 
! Correcting IF 3.
!  A total of 30 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.03047
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.01     HN        0.96     KP        0.91     
!   LA        0.99     MK        0.93     NL        1.02     OV        0.93     
!   PT        0.93     SC        1.04     
! 
! 
! Correcting IF 4.
!  A total of 30 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*    
! 
! 
! Fit before self-cal, rms=0.223829Jy  sigma=0.001343
! Fit after  self-cal, rms=0.225104Jy  sigma=0.001337
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.225104Jy  sigma=0.001337
! Fit after  self-cal, rms=0.224969Jy  sigma=0.001336
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8867 mas, bmaj=2.366 mas, bpa=-3.227 degrees
! Estimated noise=860.294 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.00343168 Jy
! Component: 100  -  total flux cleaned = -0.00385057 Jy
! Component: 150  -  total flux cleaned = -0.00385587 Jy
! Component: 200  -  total flux cleaned = -0.00371442 Jy
! Total flux subtracted in 200 components = -0.00371442 Jy
! Clean residual min=-0.012032 max=0.009311 Jy/beam
! Clean residual mean=-0.000398 rms=0.003002 Jy/beam
! Combined flux in latest and established models = 0.266462 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 29 components and 0.266462 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.224803Jy  sigma=0.001335
! Fit after  self-cal, rms=0.224796Jy  sigma=0.001335
! 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.224796Jy  sigma=0.001335
! Fit after  self-cal, rms=0.214508Jy  sigma=0.001274
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.00712726 Jy
! Component: 100  -  total flux cleaned = 0.00714131 Jy
! Component: 150  -  total flux cleaned = 0.0071554 Jy
! Component: 200  -  total flux cleaned = 0.0071651 Jy
! Total flux subtracted in 200 components = 0.0071651 Jy
! Clean residual min=-0.008527 max=0.007048 Jy/beam
! Clean residual mean=-0.000457 rms=0.002135 Jy/beam
! Combined flux in latest and established models = 0.273627 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 36 components and 0.273627 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.214404Jy  sigma=0.001273
! Fit after  self-cal, rms=0.212760Jy  sigma=0.001263
! 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: 0.8867 x 2.366 at -3.227 degrees (North through East)
! Clean map  min=-0.0074341  max=0.20814 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.212760Jy  sigma=0.001263
! Fit after  self-cal, rms=0.206767Jy  sigma=0.001259
! 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.206767Jy  sigma=0.001259
! Fit after  self-cal, rms=0.206430Jy  sigma=0.001257
! Inverting map and beam 
! Estimated beam: bmin=0.8934 mas, bmaj=2.352 mas, bpa=-2.021 degrees
! Estimated noise=827.705 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00720771 Jy
! Component: 100  -  total flux cleaned = -0.00988779 Jy
! Component: 150  -  total flux cleaned = -0.0102352 Jy
! Component: 200  -  total flux cleaned = -0.010352 Jy
! Total flux subtracted in 200 components = -0.010352 Jy
! Clean residual min=-0.006284 max=0.006441 Jy/beam
! Clean residual mean=-0.000334 rms=0.001640 Jy/beam
! Combined flux in latest and established models = 0.263275 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 46 components and 0.263275 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206120Jy  sigma=0.001256
! Fit after  self-cal, rms=0.205987Jy  sigma=0.001255
! 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.205987Jy  sigma=0.001255
! Fit after  self-cal, rms=0.201356Jy  sigma=0.001252
! 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.201356Jy  sigma=0.001252
! Fit after  self-cal, rms=0.201265Jy  sigma=0.001252
! Inverting map and beam 
! Estimated beam: bmin=0.8979 mas, bmaj=2.362 mas, bpa=-2.069 degrees
! Estimated noise=805.996 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00587185 Jy
! Component: 100  -  total flux cleaned = -0.0081347 Jy
! Component: 150  -  total flux cleaned = -0.00840269 Jy
! Component: 200  -  total flux cleaned = -0.00849579 Jy
! Total flux subtracted in 200 components = -0.00849579 Jy
! Clean residual min=-0.005518 max=0.004926 Jy/beam
! Clean residual mean=-0.000282 rms=0.001453 Jy/beam
! Combined flux in latest and established models = 0.254779 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 52 components and 0.254779 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.201003Jy  sigma=0.001251
! Fit after  self-cal, rms=0.200919Jy  sigma=0.001250
! 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=2.27 mas, bmaj=4.526 mas, bpa=6.571 degrees
! Estimated noise=1026.33 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 = 8.65173e-05 Jy
! Component: 100  -  total flux cleaned = -3.80154e-05 Jy
! Component: 150  -  total flux cleaned = -0.000175507 Jy
! Component: 200  -  total flux cleaned = -0.000248359 Jy
! Total flux subtracted in 200 components = -0.000248359 Jy
! Clean residual min=-0.006219 max=0.005603 Jy/beam
! Clean residual mean=-0.000575 rms=0.001995 Jy/beam
! Combined flux in latest and established models = 0.254531 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 54 components and 0.254531 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.200935Jy  sigma=0.001250
! Fit after  self-cal, rms=0.200841Jy  sigma=0.001250
! 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.7191 mas, bmaj=1.999 mas, bpa=-3.094 degrees
! Estimated noise=1688.69 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.177627 Jy
! Component: 100  -  total flux cleaned = 0.221295 Jy
! Component: 150  -  total flux cleaned = 0.235343 Jy
! Component: 200  -  total flux cleaned = 0.236561 Jy
! Total flux subtracted in 200 components = 0.236561 Jy
! Clean residual min=-0.008827 max=0.010732 Jy/beam
! Clean residual mean=-0.000087 rms=0.002505 Jy/beam
! Combined flux in latest and established models = 0.236561 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 18 model components to the UV plane model.
! The established model now contains 18 components and 0.236561 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8979 mas, bmaj=2.362 mas, bpa=-2.069 degrees
! Estimated noise=805.996 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)
! Added new window around map position (1, -1.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0118066 Jy
! Component: 100  -  total flux cleaned = 0.0156024 Jy
! Component: 150  -  total flux cleaned = 0.0169462 Jy
! Component: 200  -  total flux cleaned = 0.0171849 Jy
! Total flux subtracted in 200 components = 0.0171849 Jy
! Clean residual min=-0.005505 max=0.005344 Jy/beam
! Clean residual mean=-0.000278 rms=0.001453 Jy/beam
! Combined flux in latest and established models = 0.253746 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 36 components and 0.253746 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=2.27 mas, bmaj=4.526 mas, bpa=6.571 degrees
! Estimated noise=1026.33 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.000818943 Jy
! Component: 100  -  total flux cleaned = 0.000820961 Jy
! Component: 150  -  total flux cleaned = 0.000778984 Jy
! Component: 200  -  total flux cleaned = 0.000743742 Jy
! Total flux subtracted in 200 components = 0.000743742 Jy
! Clean residual min=-0.006119 max=0.005147 Jy/beam
! Clean residual mean=-0.000579 rms=0.001949 Jy/beam
! Combined flux in latest and established models = 0.254489 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 49 components and 0.254489 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8979 mas, bmaj=2.362 mas, bpa=-2.069 degrees
! Estimated noise=805.996 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000792349 Jy
! Component: 100  -  total flux cleaned = -0.000703596 Jy
! Component: 150  -  total flux cleaned = -0.000625429 Jy
! Component: 200  -  total flux cleaned = -0.00055084 Jy
! Total flux subtracted in 200 components = -0.00055084 Jy
! Clean residual min=-0.005441 max=0.005150 Jy/beam
! Clean residual mean=-0.000281 rms=0.001408 Jy/beam
! Combined flux in latest and established models = 0.253939 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 58 components and 0.253939 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.200742Jy  sigma=0.001250
! Fit after  self-cal, rms=0.200670Jy  sigma=0.001249
wmodel J0246-1236_X_1997_05_07_yyk\_map.mod
! Writing 58 model components to file: J0246-1236_X_1997_05_07_yyk_map.mod
wobs J0246-1236_X_1997_05_07_yyk\_uvs.fits
! Writing UV FITS file: J0246-1236_X_1997_05_07_yyk_uvs.fits
wwins J0246-1236_X_1997_05_07_yyk\_map.win
! wwins: Wrote 2 windows to J0246-1236_X_1997_05_07_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.00128594 Jy
! Component: 100  -  total flux cleaned = -0.00199272 Jy
! Component: 150  -  total flux cleaned = -0.00248092 Jy
! Component: 200  -  total flux cleaned = -0.00310263 Jy
! Component: 250  -  total flux cleaned = -0.00361907 Jy
! Component: 300  -  total flux cleaned = -0.00433346 Jy
! Component: 350  -  total flux cleaned = -0.00495635 Jy
! Component: 400  -  total flux cleaned = -0.00562747 Jy
! Component: 450  -  total flux cleaned = -0.00640862 Jy
! Component: 500  -  total flux cleaned = -0.00710568 Jy
! Component: 550  -  total flux cleaned = -0.00760092 Jy
! Component: 600  -  total flux cleaned = -0.00808393 Jy
! Component: 650  -  total flux cleaned = -0.00849754 Jy
! Component: 700  -  total flux cleaned = -0.00872842 Jy
! Component: 750  -  total flux cleaned = -0.00901408 Jy
! Component: 800  -  total flux cleaned = -0.0094622 Jy
! Component: 850  -  total flux cleaned = -0.00979287 Jy
! Component: 900  -  total flux cleaned = -0.0102256 Jy
! Component: 950  -  total flux cleaned = -0.0105973 Jy
! Component: 1000  -  total flux cleaned = -0.0108066 Jy
! Component: 1050  -  total flux cleaned = -0.0112189 Jy
! Component: 1100  -  total flux cleaned = -0.0115238 Jy
! Component: 1150  -  total flux cleaned = -0.0118744 Jy
! Component: 1200  -  total flux cleaned = -0.0121705 Jy
! Component: 1250  -  total flux cleaned = -0.0124624 Jy
! Component: 1300  -  total flux cleaned = -0.0126549 Jy
! Component: 1350  -  total flux cleaned = -0.012797 Jy
! Component: 1400  -  total flux cleaned = -0.0130313 Jy
! Component: 1450  -  total flux cleaned = -0.0131703 Jy
! Component: 1500  -  total flux cleaned = -0.0133535 Jy
! Component: 1550  -  total flux cleaned = -0.0134891 Jy
! Component: 1600  -  total flux cleaned = -0.0136231 Jy
! Component: 1650  -  total flux cleaned = -0.0136678 Jy
! Component: 1700  -  total flux cleaned = -0.013843 Jy
! Component: 1750  -  total flux cleaned = -0.0140163 Jy
! Component: 1800  -  total flux cleaned = -0.0141025 Jy
! Component: 1850  -  total flux cleaned = -0.0142722 Jy
! Component: 1900  -  total flux cleaned = -0.0144394 Jy
! Component: 1950  -  total flux cleaned = -0.0146463 Jy
! Component: 2000  -  total flux cleaned = -0.0147285 Jy
! Total flux subtracted in 2048 components = -0.0148502 Jy
! Clean residual min=-0.002644 max=0.002128 Jy/beam
! Clean residual mean=-0.000166 rms=0.000827 Jy/beam
! Combined flux in latest and established models = 0.239088 Jy
keep
! Adding 156 model components to the UV plane model.
! The established model now contains 214 components and 0.239088 Jy
![Exited script file: muppet]
wmap "J0246-1236_X_1997_05_07_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8979 x 2.362 at -2.069 degrees (North through East)
! Clean map  min=-0.0044669  max=0.20103 Jy/beam
! Writing clean map to FITS file: J0246-1236_X_1997_05_07_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.201031 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.0008234 
device "J0246-1236_X_1997_05_07_yyk\_map.eps/VPS"
! Attempting to open device: 'J0246-1236_X_1997_05_07_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.22877 1.22877 2.45754 4.91507 9.83014 19.6603 39.3206 78.6411
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0024 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.201 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8979 x 2.362 at -2.069 degrees (North through East)
! Clean map  min=-0.0044669  max=0.20103 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0246-1236_X_1997_05_07_yyk\_map.gif/gif"
! Attempting to open device: 'J0246-1236_X_1997_05_07_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0246-1236_X_1997_05_07_yyk_uvs.log closed on Mon Jan  8 02:32:50 2007