! Started logfile: J2131-1207_X_1996_03_13_yyk_uvs.log on Mon Jan  8 10:26:21 2007
obs J2131-1207_X_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J2131-1207_X_1996_03_13_yyk_uva.fits
! AN table 1: 57 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.530994 visibilities/baseline/integration-bin.
! Found source: J2131-1207
! 
! 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.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 655 lines of history.
! 
! Reading 5448 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 J2131-1207_X_1996_03_13_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)= 1.94358 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.6477 mas, bmaj=1.756 mas, bpa=-2.772 degrees
! Estimated noise=2510.17 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 = 1.54081 Jy
! Component: 100  -  total flux cleaned = 1.97169 Jy
! Total flux subtracted in 100 components = 1.97169 Jy
! Clean residual min=-0.083370 max=0.139535 Jy/beam
! Clean residual mean=0.000119 rms=0.028724 Jy/beam
! Combined flux in latest and established models = 1.97169 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 1.97169 Jy
! 
! Correcting IF 1.
!  A total of 159 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 159 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 156 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 156 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.684851Jy  sigma=0.004697
! Fit after  self-cal, rms=0.680402Jy  sigma=0.004667
! Inverting map and beam 
! Estimated beam: bmin=0.6477 mas, bmaj=1.756 mas, bpa=-2.773 degrees
! Estimated noise=2510.5 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.7457 mas, bmaj=1.978 mas, bpa=-2.595 degrees
! Estimated noise=1454.12 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.180858 Jy
! Component: 100  -  total flux cleaned = 0.237362 Jy
! Component: 150  -  total flux cleaned = 0.243413 Jy
! Component: 200  -  total flux cleaned = 0.245085 Jy
! Total flux subtracted in 200 components = 0.245085 Jy
! Clean residual min=-0.075883 max=0.097113 Jy/beam
! Clean residual mean=0.000097 rms=0.024774 Jy/beam
! Combined flux in latest and established models = 2.21677 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 21 components and 2.21677 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.651458Jy  sigma=0.004472
! Fit after  self-cal, rms=0.650608Jy  sigma=0.004466
! 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.7457 x 1.978 at -2.595 degrees (North through East)
! Clean map  min=-0.068869  max=1.63 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.995888
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        0.91     HN        1.03     KP        1.02     
!   LA        1.11     MK        1.04     NL        1.03     OV        1.00*    
!   PT        1.00*    SC        0.95     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.0051
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        0.90     HN        1.01     KP        1.03     
!   LA        1.10     MK        0.98     NL        0.99     OV        1.00*    
!   PT        1.00*    SC        1.02     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.999261
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.90     HN        1.00     KP        1.00     
!   LA        1.10     MK        1.00     NL        0.99     OV        1.00*    
!   PT        1.00*    SC        1.05     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.99266
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.91     HN        1.04     KP        1.01     
!   LA        1.11     MK        0.96     NL        1.02     OV        1.00*    
!   PT        1.00*    SC        1.05     
! 
! 
! Fit before self-cal, rms=0.650608Jy  sigma=0.004466
! Fit after  self-cal, rms=0.645437Jy  sigma=0.004304
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.645437Jy  sigma=0.004304
! Fit after  self-cal, rms=0.645458Jy  sigma=0.004304
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7499 mas, bmaj=1.979 mas, bpa=-2.731 degrees
! Estimated noise=1438.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)
! Added new window around map position (-1.6, -2.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0928146 Jy
! Component: 100  -  total flux cleaned = 0.133374 Jy
! Component: 150  -  total flux cleaned = 0.146804 Jy
! Component: 200  -  total flux cleaned = 0.14968 Jy
! Total flux subtracted in 200 components = 0.14968 Jy
! Clean residual min=-0.034347 max=0.027580 Jy/beam
! Clean residual mean=0.000060 rms=0.008854 Jy/beam
! Combined flux in latest and established models = 2.36645 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 42 components and 2.36645 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.635422Jy  sigma=0.004242
! Fit after  self-cal, rms=0.635215Jy  sigma=0.004241
! 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.635215Jy  sigma=0.004241
! Fit after  self-cal, rms=0.593168Jy  sigma=0.003955
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.0205359 Jy
! Component: 100  -  total flux cleaned = 0.0275546 Jy
! Component: 150  -  total flux cleaned = 0.0328373 Jy
! Component: 200  -  total flux cleaned = 0.0344612 Jy
! Total flux subtracted in 200 components = 0.0344612 Jy
! Clean residual min=-0.035086 max=0.029029 Jy/beam
! Clean residual mean=0.000059 rms=0.008955 Jy/beam
! Combined flux in latest and established models = 2.40091 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 51 components and 2.40091 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.592284Jy  sigma=0.003950
! Fit after  self-cal, rms=0.581155Jy  sigma=0.003870
! 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.7499 x 1.979 at -2.731 degrees (North through East)
! Clean map  min=-0.034825  max=1.6498 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.581155Jy  sigma=0.003870
! Fit after  self-cal, rms=0.578154Jy  sigma=0.003862
! 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.578154Jy  sigma=0.003862
! Fit after  self-cal, rms=0.574642Jy  sigma=0.003836
! Inverting map and beam 
! Estimated beam: bmin=0.7487 mas, bmaj=1.977 mas, bpa=-2.678 degrees
! Estimated noise=1430.61 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0196238 Jy
! Component: 100  -  total flux cleaned = 0.022401 Jy
! Component: 150  -  total flux cleaned = 0.0217428 Jy
! Component: 200  -  total flux cleaned = 0.021184 Jy
! Total flux subtracted in 200 components = 0.021184 Jy
! Clean residual min=-0.033002 max=0.022359 Jy/beam
! Clean residual mean=0.000040 rms=0.007186 Jy/beam
! Combined flux in latest and established models = 2.4221 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 65 components and 2.4221 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.574049Jy  sigma=0.003831
! Fit after  self-cal, rms=0.572692Jy  sigma=0.003822
! 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.572692Jy  sigma=0.003822
! Fit after  self-cal, rms=0.586457Jy  sigma=0.003230
! 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.586457Jy  sigma=0.003230
! Fit after  self-cal, rms=0.586060Jy  sigma=0.003226
! Inverting map and beam 
! Estimated beam: bmin=0.7482 mas, bmaj=1.978 mas, bpa=-2.733 degrees
! Estimated noise=1430.79 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0311327 Jy
! Component: 100  -  total flux cleaned = 0.0442221 Jy
! Component: 150  -  total flux cleaned = 0.0526584 Jy
! Component: 200  -  total flux cleaned = 0.0591051 Jy
! Total flux subtracted in 200 components = 0.0591051 Jy
! Clean residual min=-0.028093 max=0.022115 Jy/beam
! Clean residual mean=-0.000006 rms=0.006858 Jy/beam
! Combined flux in latest and established models = 2.4812 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 45 model components to the UV plane model.
! The established model now contains 91 components and 2.4812 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.587234Jy  sigma=0.003213
! Fit after  self-cal, rms=0.586985Jy  sigma=0.003211
! 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=1.907 mas, bmaj=3.525 mas, bpa=7.035 degrees
! Estimated noise=1973.83 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.00830141 Jy
! Component: 100  -  total flux cleaned = 0.0138559 Jy
! Component: 150  -  total flux cleaned = 0.0186558 Jy
! Component: 200  -  total flux cleaned = 0.0225714 Jy
! Total flux subtracted in 200 components = 0.0225714 Jy
! Clean residual min=-0.030426 max=0.034879 Jy/beam
! Clean residual mean=0.000011 rms=0.011164 Jy/beam
! Combined flux in latest and established models = 2.50377 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 110 components and 2.50377 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.588111Jy  sigma=0.003208
! Fit after  self-cal, rms=0.588009Jy  sigma=0.003207
! 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.6514 mas, bmaj=1.75 mas, bpa=-2.627 degrees
! Estimated noise=1866.42 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 1.56975 Jy
! Component: 100  -  total flux cleaned = 2.00875 Jy
! Component: 150  -  total flux cleaned = 2.15895 Jy
! Component: 200  -  total flux cleaned = 2.2459 Jy
! Total flux subtracted in 200 components = 2.2459 Jy
! Clean residual min=-0.039132 max=0.039243 Jy/beam
! Clean residual mean=0.000017 rms=0.010812 Jy/beam
! Combined flux in latest and established models = 2.2459 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 17 model components to the UV plane model.
! The established model now contains 17 components and 2.2459 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.7482 mas, bmaj=1.978 mas, bpa=-2.733 degrees
! Estimated noise=1430.79 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.0879174 Jy
! Component: 100  -  total flux cleaned = 0.139445 Jy
! Component: 150  -  total flux cleaned = 0.173821 Jy
! Component: 200  -  total flux cleaned = 0.199132 Jy
! Total flux subtracted in 200 components = 0.199132 Jy
! Clean residual min=-0.028311 max=0.024747 Jy/beam
! Clean residual mean=0.000004 rms=0.007336 Jy/beam
! Combined flux in latest and established models = 2.44503 Jy
! Adding 36 model components to the UV plane model.
! The established model now contains 45 components and 2.44503 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=1.907 mas, bmaj=3.525 mas, bpa=7.035 degrees
! Estimated noise=1973.83 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.0346845 Jy
! Component: 100  -  total flux cleaned = 0.0529505 Jy
! Component: 150  -  total flux cleaned = 0.0637865 Jy
! Component: 200  -  total flux cleaned = 0.0662466 Jy
! Total flux subtracted in 200 components = 0.0662466 Jy
! Clean residual min=-0.033290 max=0.034623 Jy/beam
! Clean residual mean=0.000019 rms=0.011097 Jy/beam
! Combined flux in latest and established models = 2.51128 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 60 components and 2.51128 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.7482 mas, bmaj=1.978 mas, bpa=-2.733 degrees
! Estimated noise=1430.79 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000551353 Jy
! Component: 100  -  total flux cleaned = -0.000956686 Jy
! Component: 150  -  total flux cleaned = -0.000562304 Jy
! Component: 200  -  total flux cleaned = -0.000223783 Jy
! Total flux subtracted in 200 components = -0.000223783 Jy
! Clean residual min=-0.024324 max=0.024645 Jy/beam
! Clean residual mean=0.000005 rms=0.006324 Jy/beam
! Combined flux in latest and established models = 2.51106 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 71 components and 2.51106 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.588786Jy  sigma=0.003208
! Fit after  self-cal, rms=0.588583Jy  sigma=0.003206
wmodel J2131-1207_X_1996_03_13_yyk\_map.mod
! Writing 71 model components to file: J2131-1207_X_1996_03_13_yyk_map.mod
wobs J2131-1207_X_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J2131-1207_X_1996_03_13_yyk_uvs.fits
wwins J2131-1207_X_1996_03_13_yyk\_map.win
! wwins: Wrote 2 windows to J2131-1207_X_1996_03_13_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.00178283 Jy
! Component: 100  -  total flux cleaned = -0.00320276 Jy
! Component: 150  -  total flux cleaned = -0.00511765 Jy
! Component: 200  -  total flux cleaned = -0.00599637 Jy
! Component: 250  -  total flux cleaned = -0.0062841 Jy
! Component: 300  -  total flux cleaned = -0.00578412 Jy
! Component: 350  -  total flux cleaned = -0.00461238 Jy
! Component: 400  -  total flux cleaned = -0.0035103 Jy
! Component: 450  -  total flux cleaned = -0.00288041 Jy
! Component: 500  -  total flux cleaned = -0.00228226 Jy
! Component: 550  -  total flux cleaned = -0.00227914 Jy
! Component: 600  -  total flux cleaned = -0.00208764 Jy
! Component: 650  -  total flux cleaned = -0.00208005 Jy
! Component: 700  -  total flux cleaned = -0.00207233 Jy
! Component: 750  -  total flux cleaned = -0.00191057 Jy
! Component: 800  -  total flux cleaned = -0.0019106 Jy
! Component: 850  -  total flux cleaned = -0.0019121 Jy
! Component: 900  -  total flux cleaned = -0.00218919 Jy
! Component: 950  -  total flux cleaned = -0.0025896 Jy
! Component: 1000  -  total flux cleaned = -0.00336198 Jy
! Component: 1050  -  total flux cleaned = -0.00385488 Jy
! Component: 1100  -  total flux cleaned = -0.00397188 Jy
! Component: 1150  -  total flux cleaned = -0.00385403 Jy
! Component: 1200  -  total flux cleaned = -0.00419401 Jy
! Component: 1250  -  total flux cleaned = -0.00441336 Jy
! Component: 1300  -  total flux cleaned = -0.00484016 Jy
! Component: 1350  -  total flux cleaned = -0.00494528 Jy
! Component: 1400  -  total flux cleaned = -0.0050482 Jy
! Component: 1450  -  total flux cleaned = -0.00534554 Jy
! Component: 1500  -  total flux cleaned = -0.00583192 Jy
! Component: 1550  -  total flux cleaned = -0.00621236 Jy
! Component: 1600  -  total flux cleaned = -0.00649298 Jy
! Component: 1650  -  total flux cleaned = -0.00686199 Jy
! Component: 1700  -  total flux cleaned = -0.00740746 Jy
! Component: 1750  -  total flux cleaned = -0.00749692 Jy
! Component: 1800  -  total flux cleaned = -0.00785191 Jy
! Component: 1850  -  total flux cleaned = -0.00793903 Jy
! Component: 1900  -  total flux cleaned = -0.00811309 Jy
! Component: 1950  -  total flux cleaned = -0.00837231 Jy
! Component: 2000  -  total flux cleaned = -0.00837221 Jy
! Total flux subtracted in 2048 components = -0.00862853 Jy
! Clean residual min=-0.005348 max=0.005343 Jy/beam
! Clean residual mean=0.000008 rms=0.001486 Jy/beam
! Combined flux in latest and established models = 2.50243 Jy
keep
! Adding 147 model components to the UV plane model.
! The established model now contains 218 components and 2.50243 Jy
![Exited script file: muppet]
wmap "J2131-1207_X_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7482 x 1.978 at -2.733 degrees (North through East)
! Clean map  min=-0.014265  max=1.6405 Jy/beam
! Writing clean map to FITS file: J2131-1207_X_1996_03_13_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.64053 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00146618 
device "J2131-1207_X_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J2131-1207_X_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.268116 0.268116 0.536233 1.07247 2.14493 4.28986 8.57973 17.1595 34.3189 68.6378
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0043 
print "peak=",int(peak_flux*1000)/1000
! peak= 1.64 
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.7482 x 1.978 at -2.733 degrees (North through East)
! Clean map  min=-0.014265  max=1.6405 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2131-1207_X_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J2131-1207_X_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2131-1207_X_1996_03_13_yyk_uvs.log closed on Mon Jan  8 10:26:27 2007