! Started logfile: J0725-1904_S_2004_04_30_yyk_uvs.log on Wed Dec  7 00:06:58 2005
obs J0725-1904_S_2004_04_30_yyk_uve.fits
! Reading UV FITS file: J0725-1904_S_2004_04_30_yyk_uve.fits
! AN table 1: 7 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.885714 visibilities/baseline/integration-bin.
! Found source: J0725-1904
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1628 lines of history.
! 
! Reading 1116 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 J0725-1904_S_2004_04_30_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.177905 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 4 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 4 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 8 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.838043Jy  sigma=15.563687
! Fit after  self-cal, rms=0.837912Jy  sigma=15.560004
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.825 mas, bmaj=7.241 mas, bpa=-7.477 degrees
! Estimated noise=1.7374 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.137383 Jy
! Component: 100  -  total flux cleaned = 0.162406 Jy
! Total flux subtracted in 100 components = 0.162406 Jy
! Clean residual min=-0.007874 max=0.008290 Jy/beam
! Clean residual mean=-0.000141 rms=0.002301 Jy/beam
! Combined flux in latest and established models = 0.162406 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.162406 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065548Jy  sigma=1.122399
! Fit after  self-cal, rms=0.065523Jy  sigma=1.121868
! Inverting map 
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.536 mas, bmaj=9.614 mas, bpa=-10.34 degrees
! Estimated noise=1.24721 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.00908375 Jy
! Component: 100  -  total flux cleaned = 0.0105821 Jy
! Component: 150  -  total flux cleaned = 0.0105841 Jy
! Component: 200  -  total flux cleaned = 0.010775 Jy
! Total flux subtracted in 200 components = 0.010775 Jy
! Clean residual min=-0.006257 max=0.005880 Jy/beam
! Clean residual mean=-0.000238 rms=0.001953 Jy/beam
! Combined flux in latest and established models = 0.173181 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 20 components and 0.173181 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064594Jy  sigma=1.103916
! Fit after  self-cal, rms=0.064571Jy  sigma=1.103605
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.0088
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        0.97     HN        0.91     KP        0.92     
!   LA        1.16     MK        1.10     NL        1.00     OV        1.00     
!   PT        0.98     SC        0.94     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.0001
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.94     HN        1.06     KP        0.94     
!   LA        1.11     MK        1.03     NL        1.06     OV        1.02     
!   PT        0.91     SC        0.94     
! 
! 
! 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.04007
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.90     HN        0.95     KP        0.90     
!   LA        1.00*    MK        0.92     NL        1.00     OV        1.00*    
!   PT        0.93     SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.064571Jy  sigma=1.103605
! Fit after  self-cal, rms=0.062962Jy  sigma=1.075607
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.062962Jy  sigma=1.075607
! Fit after  self-cal, rms=0.062967Jy  sigma=1.075563
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.58 mas, bmaj=9.541 mas, bpa=-9.485 degrees
! Estimated noise=1.23852 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.000489439 Jy
! Component: 100  -  total flux cleaned = -0.00059315 Jy
! Component: 150  -  total flux cleaned = -0.000462133 Jy
! Component: 200  -  total flux cleaned = -0.000342681 Jy
! Total flux subtracted in 200 components = -0.000342681 Jy
! Clean residual min=-0.005602 max=0.005615 Jy/beam
! Clean residual mean=-0.000133 rms=0.001645 Jy/beam
! Combined flux in latest and established models = 0.172838 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 25 components and 0.172838 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.063037Jy  sigma=1.072684
! Fit after  self-cal, rms=0.063023Jy  sigma=1.072475
! 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.063023Jy  sigma=1.072475
! Fit after  self-cal, rms=0.061782Jy  sigma=1.047753
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.000871668 Jy
! Component: 100  -  total flux cleaned = 0.00087251 Jy
! Component: 150  -  total flux cleaned = 0.000871634 Jy
! Component: 200  -  total flux cleaned = 0.000828331 Jy
! Total flux subtracted in 200 components = 0.000828331 Jy
! Clean residual min=-0.005822 max=0.005581 Jy/beam
! Clean residual mean=-0.000134 rms=0.001624 Jy/beam
! Combined flux in latest and established models = 0.173667 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 29 components and 0.173667 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061761Jy  sigma=1.046525
! Fit after  self-cal, rms=0.061701Jy  sigma=1.045236
! 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.58 x 9.541 at -9.485 degrees (North through East)
! Clean map  min=-0.0057362  max=0.15554 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.061701Jy  sigma=1.045236
! Fit after  self-cal, rms=0.060342Jy  sigma=1.029126
! 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.060342Jy  sigma=1.029126
! Fit after  self-cal, rms=0.060350Jy  sigma=1.028998
! Inverting map and beam 
! Estimated beam: bmin=3.573 mas, bmaj=9.502 mas, bpa=-9.297 degrees
! Estimated noise=1.22418 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00169959 Jy
! Component: 100  -  total flux cleaned = -0.00169707 Jy
! Component: 150  -  total flux cleaned = -0.00169216 Jy
! Component: 200  -  total flux cleaned = -0.00169109 Jy
! Total flux subtracted in 200 components = -0.00169109 Jy
! Clean residual min=-0.005628 max=0.005242 Jy/beam
! Clean residual mean=-0.000125 rms=0.001518 Jy/beam
! Combined flux in latest and established models = 0.171975 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 35 components and 0.171975 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060356Jy  sigma=1.027536
! Fit after  self-cal, rms=0.060349Jy  sigma=1.027421
! 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.060349Jy  sigma=1.027421
! Fit after  self-cal, rms=0.059883Jy  sigma=1.017400
! 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.059883Jy  sigma=1.017400
! Fit after  self-cal, rms=0.059885Jy  sigma=1.017350
! Inverting map and beam 
! Estimated beam: bmin=3.602 mas, bmaj=9.578 mas, bpa=-9.415 degrees
! Estimated noise=1.22005 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000620828 Jy
! Component: 100  -  total flux cleaned = -0.000757084 Jy
! Component: 150  -  total flux cleaned = -0.000797649 Jy
! Component: 200  -  total flux cleaned = -0.000835016 Jy
! Total flux subtracted in 200 components = -0.000835016 Jy
! Clean residual min=-0.005604 max=0.005254 Jy/beam
! Clean residual mean=-0.000122 rms=0.001522 Jy/beam
! Combined flux in latest and established models = 0.17114 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 38 components and 0.17114 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059901Jy  sigma=1.016364
! Fit after  self-cal, rms=0.059891Jy  sigma=1.016198
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.153 mas, bmaj=18.07 mas, bpa=-0.6452 degrees
! Estimated noise=1.46538 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.000564757 Jy
! Component: 100  -  total flux cleaned = 0.000695026 Jy
! Component: 150  -  total flux cleaned = 0.000802847 Jy
! Component: 200  -  total flux cleaned = 0.00092434 Jy
! Total flux subtracted in 200 components = 0.00092434 Jy
! Clean residual min=-0.005886 max=0.005008 Jy/beam
! Clean residual mean=-0.000198 rms=0.001766 Jy/beam
! Combined flux in latest and established models = 0.172065 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 45 components and 0.172065 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059968Jy  sigma=1.016279
! Fit after  self-cal, rms=0.059950Jy  sigma=1.016081
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum models.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
clean clean_niter, clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.842 mas, bmaj=7.227 mas, bpa=-6.939 degrees
! Estimated noise=1.7118 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.136262 Jy
! Component: 100  -  total flux cleaned = 0.162055 Jy
! Component: 150  -  total flux cleaned = 0.169688 Jy
! Component: 200  -  total flux cleaned = 0.170604 Jy
! Total flux subtracted in 200 components = 0.170604 Jy
! Clean residual min=-0.007368 max=0.006498 Jy/beam
! Clean residual mean=-0.000089 rms=0.001873 Jy/beam
! Combined flux in latest and established models = 0.170604 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 19 model components to the UV plane model.
! The established model now contains 19 components and 0.170604 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.602 mas, bmaj=9.578 mas, bpa=-9.415 degrees
! Estimated noise=1.22005 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.000349093 Jy
! Component: 100  -  total flux cleaned = -0.00023651 Jy
! Component: 150  -  total flux cleaned = -0.000136604 Jy
! Component: 200  -  total flux cleaned = 0.000111663 Jy
! Total flux subtracted in 200 components = 0.000111663 Jy
! Clean residual min=-0.005811 max=0.005292 Jy/beam
! Clean residual mean=-0.000121 rms=0.001578 Jy/beam
! Combined flux in latest and established models = 0.170715 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 29 components and 0.170715 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=8.153 mas, bmaj=18.07 mas, bpa=-0.6452 degrees
! Estimated noise=1.46538 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.000413078 Jy
! Component: 100  -  total flux cleaned = 0.000709261 Jy
! Component: 150  -  total flux cleaned = 0.000885448 Jy
! Component: 200  -  total flux cleaned = 0.00104402 Jy
! Total flux subtracted in 200 components = 0.00104402 Jy
! Clean residual min=-0.005937 max=0.005097 Jy/beam
! Clean residual mean=-0.000198 rms=0.001804 Jy/beam
! Combined flux in latest and established models = 0.171759 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 39 components and 0.171759 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.602 mas, bmaj=9.578 mas, bpa=-9.415 degrees
! Estimated noise=1.22005 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000437193 Jy
! Component: 100  -  total flux cleaned = -0.000673023 Jy
! Component: 150  -  total flux cleaned = -0.000771043 Jy
! Component: 200  -  total flux cleaned = -0.000689175 Jy
! Total flux subtracted in 200 components = -0.000689175 Jy
! Clean residual min=-0.005718 max=0.005198 Jy/beam
! Clean residual mean=-0.000122 rms=0.001530 Jy/beam
! Combined flux in latest and established models = 0.17107 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 51 components and 0.17107 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059887Jy  sigma=1.016625
! Fit after  self-cal, rms=0.059872Jy  sigma=1.016420
wmodel J0725-1904_S_2004_04_30_yyk\_map.mod
! Writing 51 model components to file: J0725-1904_S_2004_04_30_yyk_map.mod
wobs J0725-1904_S_2004_04_30_yyk\_uvs.fits
! Writing UV FITS file: J0725-1904_S_2004_04_30_yyk_uvs.fits
wwins J0725-1904_S_2004_04_30_yyk\_map.win
! wwins: Wrote 1 windows to J0725-1904_S_2004_04_30_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.000261956 Jy
! Component: 100  -  total flux cleaned = -0.000173911 Jy
! Component: 150  -  total flux cleaned = 0.000157412 Jy
! Component: 200  -  total flux cleaned = 0.000397715 Jy
! Component: 250  -  total flux cleaned = 0.000856835 Jy
! Component: 300  -  total flux cleaned = 0.00130021 Jy
! Component: 350  -  total flux cleaned = 0.00172893 Jy
! Component: 400  -  total flux cleaned = 0.00200578 Jy
! Component: 450  -  total flux cleaned = 0.00227583 Jy
! Component: 500  -  total flux cleaned = 0.00260615 Jy
! Component: 550  -  total flux cleaned = 0.00299013 Jy
! Component: 600  -  total flux cleaned = 0.00311601 Jy
! Component: 650  -  total flux cleaned = 0.00348041 Jy
! Component: 700  -  total flux cleaned = 0.00342108 Jy
! Component: 750  -  total flux cleaned = 0.0035956 Jy
! Component: 800  -  total flux cleaned = 0.00370928 Jy
! Component: 850  -  total flux cleaned = 0.00404357 Jy
! Component: 900  -  total flux cleaned = 0.00415365 Jy
! Component: 950  -  total flux cleaned = 0.00442118 Jy
! Component: 1000  -  total flux cleaned = 0.00468232 Jy
! Component: 1050  -  total flux cleaned = 0.00488765 Jy
! Component: 1100  -  total flux cleaned = 0.00503956 Jy
! Component: 1150  -  total flux cleaned = 0.00518842 Jy
! Component: 1200  -  total flux cleaned = 0.00528563 Jy
! Component: 1250  -  total flux cleaned = 0.0054285 Jy
! Component: 1300  -  total flux cleaned = 0.00556941 Jy
! Component: 1350  -  total flux cleaned = 0.00566095 Jy
! Component: 1400  -  total flux cleaned = 0.00575183 Jy
! Component: 1450  -  total flux cleaned = 0.00584116 Jy
! Component: 1500  -  total flux cleaned = 0.00588484 Jy
! Component: 1550  -  total flux cleaned = 0.00610239 Jy
! Component: 1600  -  total flux cleaned = 0.00614422 Jy
! Component: 1650  -  total flux cleaned = 0.00618648 Jy
! Component: 1700  -  total flux cleaned = 0.0063524 Jy
! Component: 1750  -  total flux cleaned = 0.00639256 Jy
! Component: 1800  -  total flux cleaned = 0.00655372 Jy
! Component: 1850  -  total flux cleaned = 0.00655391 Jy
! Component: 1900  -  total flux cleaned = 0.00671107 Jy
! Component: 1950  -  total flux cleaned = 0.00682619 Jy
! Component: 2000  -  total flux cleaned = 0.00686408 Jy
! Total flux subtracted in 2048 components = 0.00690165 Jy
! Clean residual min=-0.001986 max=0.002498 Jy/beam
! Clean residual mean=-0.000059 rms=0.000780 Jy/beam
! Combined flux in latest and established models = 0.177972 Jy
keep
! Adding 130 model components to the UV plane model.
! The established model now contains 181 components and 0.177972 Jy
![Exited script file: muppet]
wmap "J0725-1904_S_2004_04_30_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.602 x 9.578 at -9.415 degrees (North through East)
! Clean map  min=-0.0046363  max=0.1541 Jy/beam
! Writing clean map to FITS file: J0725-1904_S_2004_04_30_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.154099 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000765126 
device "J0725-1904_S_2004_04_30_yyk\_map.eps/VPS"
! Attempting to open device: 'J0725-1904_S_2004_04_30_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.48955 1.48955 2.9791 5.95819 11.9164 23.8328 47.6655 95.3311
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0022 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.154 
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.602 x 9.578 at -9.415 degrees (North through East)
! Clean map  min=-0.0046363  max=0.1541 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0725-1904_S_2004_04_30_yyk\_map.gif/gif"
! Attempting to open device: 'J0725-1904_S_2004_04_30_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0725-1904_S_2004_04_30_yyk_uvs.log closed on Wed Dec  7 00:07:02 2005