! Started logfile: J1332-1256_X_2005_07_20_yyk_uvs.log on Fri Jan 20 10:30:51 2006
obs J1332-1256_X_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J1332-1256_X_2005_07_20_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.820202 visibilities/baseline/integration-bin.
! Found source: J1332-1256
! 
! 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.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1487 lines of history.
! 
! Reading 1624 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 J1332-1256_X_2005_07_20_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.182796 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.6531 mas, bmaj=1.776 mas, bpa=-1.403 degrees
! Estimated noise=1.29728 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.147246 Jy
! Component: 100  -  total flux cleaned = 0.166874 Jy
! Total flux subtracted in 100 components = 0.166874 Jy
! Clean residual min=-0.006049 max=0.005688 Jy/beam
! Clean residual mean=-0.000003 rms=0.001467 Jy/beam
! Combined flux in latest and established models = 0.166874 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 0.166874 Jy
! 
! Correcting IF 1.
!  A total of 15 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 15 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 15 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 15 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.062780Jy  sigma=1.049603
! Fit after  self-cal, rms=0.062569Jy  sigma=1.045095
! Inverting map and beam 
! Estimated beam: bmin=0.6531 mas, bmaj=1.776 mas, bpa=-1.403 degrees
! Estimated noise=1.29728 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.8087 mas, bmaj=2.058 mas, bpa=-0.2281 degrees
! Estimated noise=0.973631 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.00650273 Jy
! Component: 100  -  total flux cleaned = 0.00860839 Jy
! Component: 150  -  total flux cleaned = 0.00937534 Jy
! Component: 200  -  total flux cleaned = 0.00945589 Jy
! Total flux subtracted in 200 components = 0.00945589 Jy
! Clean residual min=-0.004914 max=0.006088 Jy/beam
! Clean residual mean=0.000016 rms=0.001426 Jy/beam
! Combined flux in latest and established models = 0.176329 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 24 components and 0.176329 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062070Jy  sigma=1.036556
! Fit after  self-cal, rms=0.062069Jy  sigma=1.036464
! 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.8087 x 2.058 at -0.2281 degrees (North through East)
! Clean map  min=-0.0045099  max=0.17092 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 0.999747
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.97     HN        1.00     KP        0.97     
!   LA        0.94     MK        0.96     NL        0.97     OV        1.05     
!   PT        1.17     SC        1.02     
! 
! 
! Correcting IF 2.
!  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 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: 0.94833
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.10     HN        0.98     KP        0.97     
!   LA        1.00     MK        1.03     NL        1.03     OV        1.07     
!   PT        1.19     SC        1.19     
! 
! 
! Fit before self-cal, rms=0.062069Jy  sigma=1.036464
! Fit after  self-cal, rms=0.061009Jy  sigma=1.021166
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.061009Jy  sigma=1.021166
! Fit after  self-cal, rms=0.061009Jy  sigma=1.021153
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8117 mas, bmaj=2.07 mas, bpa=-1.213 degrees
! Estimated noise=0.966646 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.00132233 Jy
! Component: 100  -  total flux cleaned = -0.00137186 Jy
! Component: 150  -  total flux cleaned = -0.00137209 Jy
! Component: 200  -  total flux cleaned = -0.00136995 Jy
! Total flux subtracted in 200 components = -0.00136995 Jy
! Clean residual min=-0.003614 max=0.004508 Jy/beam
! Clean residual mean=0.000006 rms=0.001085 Jy/beam
! Combined flux in latest and established models = 0.17496 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 35 components and 0.174959 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060918Jy  sigma=1.019955
! Fit after  self-cal, rms=0.060918Jy  sigma=1.019889
! 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.060918Jy  sigma=1.019889
! Fit after  self-cal, rms=0.058298Jy  sigma=0.980418
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.00076065 Jy
! Component: 100  -  total flux cleaned = 0.000748676 Jy
! Component: 150  -  total flux cleaned = 0.000738034 Jy
! Component: 200  -  total flux cleaned = 0.000728456 Jy
! Total flux subtracted in 200 components = 0.000728456 Jy
! Clean residual min=-0.003479 max=0.004457 Jy/beam
! Clean residual mean=0.000006 rms=0.001077 Jy/beam
! Combined flux in latest and established models = 0.175688 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 39 components and 0.175688 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058278Jy  sigma=0.980238
! Fit after  self-cal, rms=0.058112Jy  sigma=0.977202
! 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.8117 x 2.07 at -1.213 degrees (North through East)
! Clean map  min=-0.0031949  max=0.17066 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.058112Jy  sigma=0.977202
! Fit after  self-cal, rms=0.057693Jy  sigma=0.958262
! 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.057693Jy  sigma=0.958262
! Fit after  self-cal, rms=0.057696Jy  sigma=0.957934
! Inverting map and beam 
! Estimated beam: bmin=0.8118 mas, bmaj=2.07 mas, bpa=-1.161 degrees
! Estimated noise=0.972545 mJy/beam.
! Added new window around map position (0.4, -19.6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00299293 Jy
! Component: 100  -  total flux cleaned = 0.00320702 Jy
! Component: 150  -  total flux cleaned = 0.00358427 Jy
! Component: 200  -  total flux cleaned = 0.00388726 Jy
! Total flux subtracted in 200 components = 0.00388726 Jy
! Clean residual min=-0.003071 max=0.003774 Jy/beam
! Clean residual mean=-0.000000 rms=0.000932 Jy/beam
! Combined flux in latest and established models = 0.179575 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 63 components and 0.179575 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057400Jy  sigma=0.950657
! Fit after  self-cal, rms=0.057373Jy  sigma=0.949701
! 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.057373Jy  sigma=0.949701
! Fit after  self-cal, rms=0.056882Jy  sigma=0.930595
! 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.056882Jy  sigma=0.930595
! Fit after  self-cal, rms=0.056883Jy  sigma=0.930548
! Inverting map and beam 
! Estimated beam: bmin=0.8112 mas, bmaj=2.071 mas, bpa=-1.286 degrees
! Estimated noise=0.972235 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000592144 Jy
! Component: 100  -  total flux cleaned = 0.000822946 Jy
! Component: 150  -  total flux cleaned = 0.000902277 Jy
! Component: 200  -  total flux cleaned = 0.00100944 Jy
! Total flux subtracted in 200 components = 0.00100944 Jy
! Clean residual min=-0.002911 max=0.003172 Jy/beam
! Clean residual mean=-0.000004 rms=0.000812 Jy/beam
! Combined flux in latest and established models = 0.180585 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 74 components and 0.180585 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056806Jy  sigma=0.929548
! Fit after  self-cal, rms=0.056810Jy  sigma=0.929489
! 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.072 mas, bmaj=4.022 mas, bpa=2.641 degrees
! Estimated noise=1.2948 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.000135805 Jy
! Component: 100  -  total flux cleaned = -0.00026687 Jy
! Component: 150  -  total flux cleaned = -0.00045217 Jy
! Component: 200  -  total flux cleaned = -0.000592621 Jy
! Total flux subtracted in 200 components = -0.000592621 Jy
! Clean residual min=-0.003103 max=0.003509 Jy/beam
! Clean residual mean=-0.000010 rms=0.001008 Jy/beam
! Combined flux in latest and established models = 0.179992 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 87 components and 0.179992 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056808Jy  sigma=0.929416
! Fit after  self-cal, rms=0.056807Jy  sigma=0.929372
! 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.6545 mas, bmaj=1.79 mas, bpa=-1.976 degrees
! Estimated noise=1.30341 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.148661 Jy
! Component: 100  -  total flux cleaned = 0.168694 Jy
! Component: 150  -  total flux cleaned = 0.173277 Jy
! Component: 200  -  total flux cleaned = 0.17573 Jy
! Total flux subtracted in 200 components = 0.17573 Jy
! Clean residual min=-0.004996 max=0.004967 Jy/beam
! Clean residual mean=-0.000007 rms=0.001150 Jy/beam
! Combined flux in latest and established models = 0.17573 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 12 model components to the UV plane model.
! The established model now contains 12 components and 0.17573 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8112 mas, bmaj=2.071 mas, bpa=-1.286 degrees
! Estimated noise=0.972235 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.00450197 Jy
! Component: 100  -  total flux cleaned = 0.00525564 Jy
! Component: 150  -  total flux cleaned = 0.00525873 Jy
! Component: 200  -  total flux cleaned = 0.00520724 Jy
! Total flux subtracted in 200 components = 0.00520724 Jy
! Clean residual min=-0.002974 max=0.003088 Jy/beam
! Clean residual mean=-0.000005 rms=0.000824 Jy/beam
! Combined flux in latest and established models = 0.180938 Jy
! Adding 28 model components to the UV plane model.
! The established model now contains 37 components and 0.180938 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.072 mas, bmaj=4.022 mas, bpa=2.641 degrees
! Estimated noise=1.2948 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.000423441 Jy
! Component: 100  -  total flux cleaned = -0.000615083 Jy
! Component: 150  -  total flux cleaned = -0.000800029 Jy
! Component: 200  -  total flux cleaned = -0.00095397 Jy
! Total flux subtracted in 200 components = -0.00095397 Jy
! Clean residual min=-0.003172 max=0.003518 Jy/beam
! Clean residual mean=-0.000011 rms=0.001011 Jy/beam
! Combined flux in latest and established models = 0.179984 Jy
! Adding 13 model components to the UV plane model.
! The established model now contains 46 components and 0.179984 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8112 mas, bmaj=2.071 mas, bpa=-1.286 degrees
! Estimated noise=0.972235 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000413787 Jy
! Component: 100  -  total flux cleaned = 0.000372722 Jy
! Component: 150  -  total flux cleaned = 0.000375248 Jy
! Component: 200  -  total flux cleaned = 0.000409007 Jy
! Total flux subtracted in 200 components = 0.000409007 Jy
! Clean residual min=-0.003011 max=0.003156 Jy/beam
! Clean residual mean=-0.000004 rms=0.000803 Jy/beam
! Combined flux in latest and established models = 0.180393 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 57 components and 0.180393 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056769Jy  sigma=0.928902
! Fit after  self-cal, rms=0.056759Jy  sigma=0.928811
wmodel J1332-1256_X_2005_07_20_yyk\_map.mod
! Writing 57 model components to file: J1332-1256_X_2005_07_20_yyk_map.mod
wobs J1332-1256_X_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J1332-1256_X_2005_07_20_yyk_uvs.fits
wwins J1332-1256_X_2005_07_20_yyk\_map.win
! wwins: Wrote 2 windows to J1332-1256_X_2005_07_20_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 = 9.0522e-06 Jy
! Component: 100  -  total flux cleaned = 0.000111664 Jy
! Component: 150  -  total flux cleaned = 0.000356075 Jy
! Component: 200  -  total flux cleaned = 0.000589086 Jy
! Component: 250  -  total flux cleaned = 0.000723098 Jy
! Component: 300  -  total flux cleaned = 0.000854229 Jy
! Component: 350  -  total flux cleaned = 0.0010236 Jy
! Component: 400  -  total flux cleaned = 0.00106426 Jy
! Component: 450  -  total flux cleaned = 0.00106457 Jy
! Component: 500  -  total flux cleaned = 0.00122231 Jy
! Component: 550  -  total flux cleaned = 0.00122348 Jy
! Component: 600  -  total flux cleaned = 0.00141205 Jy
! Component: 650  -  total flux cleaned = 0.00137512 Jy
! Component: 700  -  total flux cleaned = 0.00148396 Jy
! Component: 750  -  total flux cleaned = 0.00159061 Jy
! Component: 800  -  total flux cleaned = 0.00186996 Jy
! Component: 850  -  total flux cleaned = 0.00200741 Jy
! Component: 900  -  total flux cleaned = 0.0021764 Jy
! Component: 950  -  total flux cleaned = 0.00240937 Jy
! Component: 1000  -  total flux cleaned = 0.00250709 Jy
! Component: 1050  -  total flux cleaned = 0.00276503 Jy
! Component: 1100  -  total flux cleaned = 0.00295438 Jy
! Component: 1150  -  total flux cleaned = 0.00304823 Jy
! Component: 1200  -  total flux cleaned = 0.0031404 Jy
! Component: 1250  -  total flux cleaned = 0.00332247 Jy
! Component: 1300  -  total flux cleaned = 0.0034722 Jy
! Component: 1350  -  total flux cleaned = 0.00367876 Jy
! Component: 1400  -  total flux cleaned = 0.00379477 Jy
! Component: 1450  -  total flux cleaned = 0.00376645 Jy
! Component: 1500  -  total flux cleaned = 0.00382312 Jy
! Component: 1550  -  total flux cleaned = 0.00387922 Jy
! Component: 1600  -  total flux cleaned = 0.00387893 Jy
! Component: 1650  -  total flux cleaned = 0.00385169 Jy
! Component: 1700  -  total flux cleaned = 0.00385192 Jy
! Component: 1750  -  total flux cleaned = 0.00393143 Jy
! Component: 1800  -  total flux cleaned = 0.00385203 Jy
! Component: 1850  -  total flux cleaned = 0.00387789 Jy
! Component: 1900  -  total flux cleaned = 0.00364591 Jy
! Component: 1950  -  total flux cleaned = 0.00374828 Jy
! Component: 2000  -  total flux cleaned = 0.00364694 Jy
! Total flux subtracted in 2048 components = 0.00364676 Jy
! Clean residual min=-0.001494 max=0.001414 Jy/beam
! Clean residual mean=-0.000001 rms=0.000460 Jy/beam
! Combined flux in latest and established models = 0.184039 Jy
keep
! Adding 142 model components to the UV plane model.
! The established model now contains 199 components and 0.184039 Jy
![Exited script file: muppet]
wmap "J1332-1256_X_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8112 x 2.071 at -1.286 degrees (North through East)
! Clean map  min=-0.0022277  max=0.17057 Jy/beam
! Writing clean map to FITS file: J1332-1256_X_2005_07_20_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.170571 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000460143 
device "J1332-1256_X_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J1332-1256_X_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.8093 0.8093 1.6186 3.2372 6.4744 12.9488 25.8976 51.7952
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0013 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.17 
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.8112 x 2.071 at -1.286 degrees (North through East)
! Clean map  min=-0.0022277  max=0.17057 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1332-1256_X_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J1332-1256_X_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1332-1256_X_2005_07_20_yyk_uvs.log closed on Fri Jan 20 10:30:55 2006