! Started logfile: J0737-3954_S_2002_01_31_yyk_uvs.log on Tue Jun 26 22:26:53 2007
obs J0737-3954_S_2002_01_31_yyk_uva.fits
! Reading UV FITS file: J0737-3954_S_2002_01_31_yyk_uva.fits
! AN table 1: 39 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.295157 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0737-3954
! 
! 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.22947e+09        8e+06          1        8e+06
!  02        2  2.25947e+09        8e+06          1        8e+06
!  03        3  2.34947e+09        8e+06          1        8e+06
!  04        4  2.36947e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1225 lines of history.
! 
! Reading 2072 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 J0737-3954_S_2002_01_31_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.268393 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=2.821 mas, bmaj=35.12 mas, bpa=-20.28 degrees
! Estimated noise=4996.09 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=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0391862 Jy
! Component: 100  -  total flux cleaned = 0.048777 Jy
! Total flux subtracted in 100 components = 0.048777 Jy
! Clean residual min=-0.008940 max=0.008993 Jy/beam
! Clean residual mean=0.000021 rms=0.003895 Jy/beam
! Combined flux in latest and established models = 0.048777 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 24 components and 0.048777 Jy
! 
! Correcting IF 1.
!  A total of 242 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 242 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 200 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 390 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.262110Jy  sigma=0.001848
! Fit after  self-cal, rms=0.262057Jy  sigma=0.001848
! Inverting map and beam 
! Estimated beam: bmin=2.821 mas, bmaj=35.12 mas, bpa=-20.28 degrees
! Estimated noise=4997.65 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=3.487 mas, bmaj=35.15 mas, bpa=-20.36 degrees
! Estimated noise=3469.67 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.00162068 Jy
! Component: 100  -  total flux cleaned = 0.00320547 Jy
! Component: 150  -  total flux cleaned = 0.00710602 Jy
! Component: 200  -  total flux cleaned = 0.00749451 Jy
! Total flux subtracted in 200 components = 0.00749451 Jy
! Clean residual min=-0.004238 max=0.004230 Jy/beam
! Clean residual mean=0.000196 rms=0.001820 Jy/beam
! Combined flux in latest and established models = 0.0562715 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 60 model components to the UV plane model.
! The established model now contains 84 components and 0.0562715 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.260853Jy  sigma=0.001839
! Fit after  self-cal, rms=0.260738Jy  sigma=0.001838
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.487 x 35.15 at -20.36 degrees (North through East)
! Clean map  min=-0.012311  max=0.030389 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 12 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 12 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 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
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    
! 
! 
! Fit before self-cal, rms=0.260738Jy  sigma=0.001838
! Fit after  self-cal, rms=0.261295Jy  sigma=0.001841
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.261295Jy  sigma=0.001841
! Fit after  self-cal, rms=0.261275Jy  sigma=0.001841
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.494 mas, bmaj=35.5 mas, bpa=-20.45 degrees
! Estimated noise=3526.43 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.00078545 Jy
! Component: 100  -  total flux cleaned = 0.0021481 Jy
! Component: 150  -  total flux cleaned = 0.00525749 Jy
! Component: 200  -  total flux cleaned = 0.00852862 Jy
! Total flux subtracted in 200 components = 0.00852862 Jy
! Clean residual min=-0.002989 max=0.003047 Jy/beam
! Clean residual mean=0.000211 rms=0.001355 Jy/beam
! Combined flux in latest and established models = 0.0648001 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 59 model components to the UV plane model.
! The established model now contains 140 components and 0.0648001 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.260748Jy  sigma=0.001837
! Fit after  self-cal, rms=0.260716Jy  sigma=0.001837
! 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.260716Jy  sigma=0.001837
! Fit after  self-cal, rms=0.258967Jy  sigma=0.001822
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.00111005 Jy
! Component: 100  -  total flux cleaned = -0.00448324 Jy
! Component: 150  -  total flux cleaned = -0.00363091 Jy
! Component: 200  -  total flux cleaned = -0.00341555 Jy
! Total flux subtracted in 200 components = -0.00341555 Jy
! Clean residual min=-0.002991 max=0.003013 Jy/beam
! Clean residual mean=-0.000060 rms=0.001319 Jy/beam
! Combined flux in latest and established models = 0.0613846 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 50 model components to the UV plane model.
! The established model now contains 189 components and 0.0613846 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258149Jy  sigma=0.001815
! Fit after  self-cal, rms=0.257318Jy  sigma=0.001809
! Inverting map 
! Added new window around map position (-16.5, 36).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.010524 Jy
! Component: 100  -  total flux cleaned = 0.0163829 Jy
! Component: 150  -  total flux cleaned = 0.0192022 Jy
! Component: 200  -  total flux cleaned = 0.021062 Jy
! Total flux subtracted in 200 components = 0.021062 Jy
! Clean residual min=-0.004820 max=0.003739 Jy/beam
! Clean residual mean=0.000064 rms=0.001391 Jy/beam
! Combined flux in latest and established models = 0.0824466 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 53 model components to the UV plane model.
! The established model now contains 242 components and 0.0824466 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256919Jy  sigma=0.001807
! Fit after  self-cal, rms=0.256679Jy  sigma=0.001805
! Inverting map 
! Added new window around map position (-10.5, -40).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00786118 Jy
! Component: 100  -  total flux cleaned = 0.0122387 Jy
! Component: 150  -  total flux cleaned = 0.0149254 Jy
! Component: 200  -  total flux cleaned = 0.0163349 Jy
! Total flux subtracted in 200 components = 0.0163349 Jy
! Clean residual min=-0.005762 max=0.004315 Jy/beam
! Clean residual mean=0.000071 rms=0.001419 Jy/beam
! Combined flux in latest and established models = 0.0987815 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 41 model components to the UV plane model.
! The established model now contains 282 components and 0.0987815 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256407Jy  sigma=0.001804
! Fit after  self-cal, rms=0.256570Jy  sigma=0.001804
! Inverting map 
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00557578 Jy
! Component: 100  -  total flux cleaned = 0.00776793 Jy
! Component: 150  -  total flux cleaned = 0.00824217 Jy
! Component: 200  -  total flux cleaned = 0.00865858 Jy
! Total flux subtracted in 200 components = 0.00865858 Jy
! Clean residual min=-0.005479 max=0.004834 Jy/beam
! Clean residual mean=0.000065 rms=0.001597 Jy/beam
! Combined flux in latest and established models = 0.10744 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 311 components and 0.10744 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256308Jy  sigma=0.001803
! Fit after  self-cal, rms=0.256555Jy  sigma=0.001804
! Inverting map 
! Added new window around map position (-63, 21).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00436991 Jy
! Component: 100  -  total flux cleaned = 0.00524831 Jy
! Component: 150  -  total flux cleaned = 0.00619524 Jy
! Component: 200  -  total flux cleaned = 0.00632885 Jy
! Total flux subtracted in 200 components = 0.00632885 Jy
! Clean residual min=-0.006033 max=0.004456 Jy/beam
! Clean residual mean=-0.000020 rms=0.001472 Jy/beam
! Combined flux in latest and established models = 0.113769 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 49 model components to the UV plane model.
! The established model now contains 359 components and 0.113769 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.256091Jy  sigma=0.001802
! Fit after  self-cal, rms=0.256006Jy  sigma=0.001801
! 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.494 x 35.5 at -20.45 degrees (North through East)
! Clean map  min=-0.010541  max=0.026508 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
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=12.87 mas, bmaj=46.06 mas, bpa=-4.67 degrees
! Estimated noise=4226.59 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.00228723 Jy
! Component: 100  -  total flux cleaned = 0.0028265 Jy
! Component: 150  -  total flux cleaned = 0.0033105 Jy
! Component: 200  -  total flux cleaned = 0.00376776 Jy
! Total flux subtracted in 200 components = 0.00376776 Jy
! Clean residual min=-0.003096 max=0.002749 Jy/beam
! Clean residual mean=-0.000263 rms=0.000915 Jy/beam
! Combined flux in latest and established models = 0.117537 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 395 components and 0.117537 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255781Jy  sigma=0.001800
! Fit after  self-cal, rms=0.255594Jy  sigma=0.001797
! 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=2.82 mas, bmaj=35.14 mas, bpa=-20.28 degrees
! Estimated noise=5033.01 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0623487 Jy
! Component: 100  -  total flux cleaned = 0.0940471 Jy
! Component: 150  -  total flux cleaned = 0.111304 Jy
! Component: 200  -  total flux cleaned = 0.121288 Jy
! Total flux subtracted in 200 components = 0.121288 Jy
! Clean residual min=-0.022658 max=0.017019 Jy/beam
! Clean residual mean=-0.000302 rms=0.005132 Jy/beam
! Combined flux in latest and established models = 0.121288 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 35 model components to the UV plane model.
! The established model now contains 35 components and 0.121288 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.494 mas, bmaj=35.5 mas, bpa=-20.45 degrees
! Estimated noise=3526.43 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.0130876 Jy
! Component: 100  -  total flux cleaned = 0.0217417 Jy
! Component: 150  -  total flux cleaned = 0.0293379 Jy
! Component: 200  -  total flux cleaned = 0.0345919 Jy
! Total flux subtracted in 200 components = 0.0345919 Jy
! Clean residual min=-0.008124 max=0.009692 Jy/beam
! Clean residual mean=-0.000454 rms=0.002838 Jy/beam
! Combined flux in latest and established models = 0.15588 Jy
! Adding 51 model components to the UV plane model.
! The established model now contains 86 components and 0.15588 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=12.87 mas, bmaj=46.06 mas, bpa=-4.67 degrees
! Estimated noise=4226.59 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.00704899 Jy
! Component: 100  -  total flux cleaned = 0.0111173 Jy
! Component: 150  -  total flux cleaned = 0.0135729 Jy
! Component: 200  -  total flux cleaned = 0.0156705 Jy
! Total flux subtracted in 200 components = 0.0156705 Jy
! Clean residual min=-0.008905 max=0.008065 Jy/beam
! Clean residual mean=-0.000777 rms=0.002879 Jy/beam
! Combined flux in latest and established models = 0.171551 Jy
! Adding 58 model components to the UV plane model.
! The established model now contains 140 components and 0.171551 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.494 mas, bmaj=35.5 mas, bpa=-20.45 degrees
! Estimated noise=3526.43 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000389287 Jy
! Component: 100  -  total flux cleaned = 0.0011517 Jy
! Component: 150  -  total flux cleaned = 0.0020317 Jy
! Component: 200  -  total flux cleaned = 0.00274093 Jy
! Total flux subtracted in 200 components = 0.00274093 Jy
! Clean residual min=-0.007400 max=0.010024 Jy/beam
! Clean residual mean=-0.000511 rms=0.002074 Jy/beam
! Combined flux in latest and established models = 0.174292 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 162 components and 0.174292 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255443Jy  sigma=0.001798
! Fit after  self-cal, rms=0.255023Jy  sigma=0.001795
wmodel J0737-3954_S_2002_01_31_yyk\_map.mod
! Writing 162 model components to file: J0737-3954_S_2002_01_31_yyk_map.mod
wobs J0737-3954_S_2002_01_31_yyk\_uvs.fits
! Writing UV FITS file: J0737-3954_S_2002_01_31_yyk_uvs.fits
wwins J0737-3954_S_2002_01_31_yyk\_map.win
! wwins: Wrote 3 windows to J0737-3954_S_2002_01_31_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000896406 Jy
! Component: 100  -  total flux cleaned = 0.000423779 Jy
! Component: 150  -  total flux cleaned = -0.000226363 Jy
! Component: 200  -  total flux cleaned = -0.00103484 Jy
! Component: 250  -  total flux cleaned = -0.00217149 Jy
! Component: 300  -  total flux cleaned = -0.00306373 Jy
! Component: 350  -  total flux cleaned = -0.0036583 Jy
! Component: 400  -  total flux cleaned = -0.00430321 Jy
! Component: 450  -  total flux cleaned = -0.00483957 Jy
! Component: 500  -  total flux cleaned = -0.00535086 Jy
! Component: 550  -  total flux cleaned = -0.00612437 Jy
! Component: 600  -  total flux cleaned = -0.0066005 Jy
! Component: 650  -  total flux cleaned = -0.00699992 Jy
! Component: 700  -  total flux cleaned = -0.00745597 Jy
! Component: 750  -  total flux cleaned = -0.00796583 Jy
! Component: 800  -  total flux cleaned = -0.00840301 Jy
! Component: 850  -  total flux cleaned = -0.00883212 Jy
! Component: 900  -  total flux cleaned = -0.00913357 Jy
! Component: 950  -  total flux cleaned = -0.00943008 Jy
! Component: 1000  -  total flux cleaned = -0.00960538 Jy
! Component: 1050  -  total flux cleaned = -0.00977863 Jy
! Component: 1100  -  total flux cleaned = -0.0100647 Jy
! Component: 1150  -  total flux cleaned = -0.0104044 Jy
! Component: 1200  -  total flux cleaned = -0.0105732 Jy
! Component: 1250  -  total flux cleaned = -0.010911 Jy
! Component: 1300  -  total flux cleaned = -0.0110796 Jy
! Component: 1350  -  total flux cleaned = -0.0112486 Jy
! Component: 1400  -  total flux cleaned = -0.0114741 Jy
! Component: 1450  -  total flux cleaned = -0.0117566 Jy
! Component: 1500  -  total flux cleaned = -0.0115859 Jy
! Component: 1550  -  total flux cleaned = -0.0113566 Jy
! Component: 1600  -  total flux cleaned = -0.0111227 Jy
! Component: 1650  -  total flux cleaned = -0.010885 Jy
! Component: 1700  -  total flux cleaned = -0.0106433 Jy
! Component: 1750  -  total flux cleaned = -0.0103972 Jy
! Component: 1800  -  total flux cleaned = -0.0101481 Jy
! Component: 1850  -  total flux cleaned = -0.00989443 Jy
! Component: 1900  -  total flux cleaned = -0.00963604 Jy
! Component: 1950  -  total flux cleaned = -0.00937207 Jy
! Component: 2000  -  total flux cleaned = -0.00917057 Jy
! Total flux subtracted in 2048 components = -0.0089644 Jy
! Clean residual min=-0.004347 max=0.004659 Jy/beam
! Clean residual mean=0.000035 rms=0.001428 Jy/beam
! Combined flux in latest and established models = 0.165327 Jy
keep
! Adding 88 model components to the UV plane model.
! The established model now contains 250 components and 0.165327 Jy
![Exited script file: muppet]
wmap "J0737-3954_S_2002_01_31_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.494 x 35.5 at -20.45 degrees (North through East)
! Clean map  min=-0.0099467  max=0.025385 Jy/beam
! Writing clean map to FITS file: J0737-3954_S_2002_01_31_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0253845 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00181067 
device "J0737-3954_S_2002_01_31_yyk\_map.eps/VPS"
! Attempting to open device: 'J0737-3954_S_2002_01_31_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -21.3989 21.3989 42.7977 85.5955
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0054 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.025 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.494 x 35.5 at -20.45 degrees (North through East)
! Clean map  min=-0.0099467  max=0.025385 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0737-3954_S_2002_01_31_yyk\_map.gif/gif"
! Attempting to open device: 'J0737-3954_S_2002_01_31_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0737-3954_S_2002_01_31_yyk_uvs.log closed on Tue Jun 26 22:27:02 2007