! Started logfile: J0557+2413_X_2004_04_30_yyk_uvs.log on Wed Dec  7 00:02:25 2005
obs J0557+2413_X_2004_04_30_yyk_uve.fits
! Reading UV FITS file: J0557+2413_X_2004_04_30_yyk_uve.fits
! AN table 1: 7 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.679365 visibilities/baseline/integration-bin.
! Found source: J0557+2413
! 
! 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 1548 lines of history.
! 
! Reading 856 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 J0557+2413_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.65002 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 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.389873Jy  sigma=7.903687
! Fit after  self-cal, rms=0.389438Jy  sigma=7.915447
! 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=0.6765 mas, bmaj=2.313 mas, bpa=16.83 degrees
! Estimated noise=1.87773 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.526269 Jy
! Component: 100  -  total flux cleaned = 0.649644 Jy
! Total flux subtracted in 100 components = 0.649644 Jy
! Clean residual min=-0.034020 max=0.038376 Jy/beam
! Clean residual mean=-0.000081 rms=0.009191 Jy/beam
! Combined flux in latest and established models = 0.649644 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.649644 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.100705Jy  sigma=2.134001
! Fit after  self-cal, rms=0.100662Jy  sigma=2.132465
! 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=0.8478 mas, bmaj=2.579 mas, bpa=17.58 degrees
! Estimated noise=1.27585 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.0670319 Jy
! Component: 100  -  total flux cleaned = 0.0943635 Jy
! Component: 150  -  total flux cleaned = 0.106779 Jy
! Component: 200  -  total flux cleaned = 0.112389 Jy
! Total flux subtracted in 200 components = 0.112389 Jy
! Clean residual min=-0.019029 max=0.014869 Jy/beam
! Clean residual mean=-0.000019 rms=0.004573 Jy/beam
! Combined flux in latest and established models = 0.762033 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 46 components and 0.762033 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070789Jy  sigma=1.416245
! Fit after  self-cal, rms=0.070742Jy  sigma=1.415275
! 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.01388
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.00     HN        1.00*    KP        0.97     
!   LA        0.96     MK        1.00     NL        1.00*    OV        0.98     
!   PT        0.97     SC        1.00     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.01555
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.00     HN        1.00*    KP        0.94     
!   LA        0.95     MK        1.01     NL        1.00*    OV        0.95     
!   PT        1.02     SC        0.98     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.98173
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        1.08     HN        1.00*    KP        0.90     
!   LA        1.00     MK        1.06     NL        1.00*    OV        1.02     
!   PT        1.06     SC        1.03     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.969606
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.08     HN        1.00*    KP        0.94     
!   LA        0.99     MK        1.04     NL        1.00*    OV        1.03     
!   PT        1.13     SC        1.05     
! 
! 
! Fit before self-cal, rms=0.070742Jy  sigma=1.415275
! Fit after  self-cal, rms=0.059393Jy  sigma=1.135903
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.059393Jy  sigma=1.135903
! Fit after  self-cal, rms=0.059394Jy  sigma=1.135800
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8573 mas, bmaj=2.606 mas, bpa=17.72 degrees
! Estimated noise=1.27483 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.00683981 Jy
! Component: 100  -  total flux cleaned = -0.00740799 Jy
! Component: 150  -  total flux cleaned = -0.00762543 Jy
! Component: 200  -  total flux cleaned = -0.00770537 Jy
! Total flux subtracted in 200 components = -0.00770537 Jy
! Clean residual min=-0.008633 max=0.009092 Jy/beam
! Clean residual mean=-0.000003 rms=0.001895 Jy/beam
! Combined flux in latest and established models = 0.754328 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 51 components and 0.754328 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058863Jy  sigma=1.121354
! Fit after  self-cal, rms=0.058855Jy  sigma=1.121119
! 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.058855Jy  sigma=1.121119
! Fit after  self-cal, rms=0.056911Jy  sigma=1.064787
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)
! Added new window around map position (15.4, -24.2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00177278 Jy
! Component: 100  -  total flux cleaned = 0.00200297 Jy
! Component: 150  -  total flux cleaned = 0.00241006 Jy
! Component: 200  -  total flux cleaned = 0.00315032 Jy
! Total flux subtracted in 200 components = 0.00315032 Jy
! Clean residual min=-0.006782 max=0.006460 Jy/beam
! Clean residual mean=-0.000017 rms=0.001525 Jy/beam
! Combined flux in latest and established models = 0.757478 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 78 components and 0.757478 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.054788Jy  sigma=1.016286
! Fit after  self-cal, rms=0.054672Jy  sigma=1.007511
! 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.8573 x 2.606 at 17.72 degrees (North through East)
! Clean map  min=-0.0083573  max=0.64041 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.054672Jy  sigma=1.007511
! Fit after  self-cal, rms=0.051668Jy  sigma=0.905467
! 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.051668Jy  sigma=0.905467
! Fit after  self-cal, rms=0.051785Jy  sigma=0.904806
! Inverting map and beam 
! Estimated beam: bmin=0.8617 mas, bmaj=2.614 mas, bpa=17.71 degrees
! Estimated noise=1.27837 mJy/beam.
! Added new window around map position (-19, -21.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00365972 Jy
! Component: 100  -  total flux cleaned = 0.00445787 Jy
! Component: 150  -  total flux cleaned = 0.00488378 Jy
! Component: 200  -  total flux cleaned = 0.00518172 Jy
! Total flux subtracted in 200 components = 0.00518172 Jy
! Clean residual min=-0.003785 max=0.003091 Jy/beam
! Clean residual mean=-0.000014 rms=0.000875 Jy/beam
! Combined flux in latest and established models = 0.76266 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 101 components and 0.76266 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.051358Jy  sigma=0.894498
! Fit after  self-cal, rms=0.051457Jy  sigma=0.893983
! 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.051457Jy  sigma=0.893983
! Fit after  self-cal, rms=0.050525Jy  sigma=0.869375
! 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.050525Jy  sigma=0.869375
! Fit after  self-cal, rms=0.050571Jy  sigma=0.869324
! Inverting map and beam 
! Estimated beam: bmin=0.8611 mas, bmaj=2.611 mas, bpa=17.7 degrees
! Estimated noise=1.27767 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000222125 Jy
! Component: 100  -  total flux cleaned = 0.000627451 Jy
! Component: 150  -  total flux cleaned = 0.00097951 Jy
! Component: 200  -  total flux cleaned = 0.00108451 Jy
! Total flux subtracted in 200 components = 0.00108451 Jy
! Clean residual min=-0.003742 max=0.002822 Jy/beam
! Clean residual mean=-0.000006 rms=0.000828 Jy/beam
! Combined flux in latest and established models = 0.763744 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 119 components and 0.763744 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.050429Jy  sigma=0.866636
! Fit after  self-cal, rms=0.050463Jy  sigma=0.866457
! 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.759 mas, bmaj=3.595 mas, bpa=37.33 degrees
! Estimated noise=1.63937 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.000221093 Jy
! Component: 100  -  total flux cleaned = -0.000400519 Jy
! Component: 150  -  total flux cleaned = -0.000464548 Jy
! Component: 200  -  total flux cleaned = -0.000496807 Jy
! Total flux subtracted in 200 components = -0.000496807 Jy
! Clean residual min=-0.003398 max=0.002781 Jy/beam
! Clean residual mean=-0.000012 rms=0.000939 Jy/beam
! Combined flux in latest and established models = 0.763248 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 136 components and 0.763248 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.050459Jy  sigma=0.865868
! Fit after  self-cal, rms=0.050481Jy  sigma=0.865828
! 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=0.6821 mas, bmaj=2.331 mas, bpa=16.84 degrees
! Estimated noise=1.90105 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.532025 Jy
! Component: 100  -  total flux cleaned = 0.651626 Jy
! Component: 150  -  total flux cleaned = 0.70231 Jy
! Component: 200  -  total flux cleaned = 0.729333 Jy
! Total flux subtracted in 200 components = 0.729333 Jy
! Clean residual min=-0.012289 max=0.010221 Jy/beam
! Clean residual mean=-0.000011 rms=0.002972 Jy/beam
! Combined flux in latest and established models = 0.729334 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 31 model components to the UV plane model.
! The established model now contains 31 components and 0.729334 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8611 mas, bmaj=2.611 mas, bpa=17.7 degrees
! Estimated noise=1.27767 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.0171007 Jy
! Component: 100  -  total flux cleaned = 0.0235054 Jy
! Component: 150  -  total flux cleaned = 0.0255495 Jy
! Component: 200  -  total flux cleaned = 0.0268433 Jy
! Total flux subtracted in 200 components = 0.0268433 Jy
! Clean residual min=-0.005159 max=0.003849 Jy/beam
! Clean residual mean=-0.000007 rms=0.001196 Jy/beam
! Combined flux in latest and established models = 0.756177 Jy
! Adding 33 model components to the UV plane model.
! The established model now contains 52 components and 0.756177 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.759 mas, bmaj=3.595 mas, bpa=37.33 degrees
! Estimated noise=1.63937 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.00345758 Jy
! Component: 100  -  total flux cleaned = 0.00502363 Jy
! Component: 150  -  total flux cleaned = 0.00529217 Jy
! Component: 200  -  total flux cleaned = 0.00535467 Jy
! Total flux subtracted in 200 components = 0.00535467 Jy
! Clean residual min=-0.003600 max=0.003060 Jy/beam
! Clean residual mean=-0.000013 rms=0.000979 Jy/beam
! Combined flux in latest and established models = 0.761532 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 73 components and 0.761532 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8611 mas, bmaj=2.611 mas, bpa=17.7 degrees
! Estimated noise=1.27767 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00112879 Jy
! Component: 100  -  total flux cleaned = -0.000952593 Jy
! Component: 150  -  total flux cleaned = -0.000405739 Jy
! Component: 200  -  total flux cleaned = -0.000169828 Jy
! Total flux subtracted in 200 components = -0.000169828 Jy
! Clean residual min=-0.004565 max=0.003030 Jy/beam
! Clean residual mean=-0.000007 rms=0.000948 Jy/beam
! Combined flux in latest and established models = 0.761362 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 85 components and 0.761362 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.050789Jy  sigma=0.875241
! Fit after  self-cal, rms=0.050830Jy  sigma=0.873951
wmodel J0557+2413_X_2004_04_30_yyk\_map.mod
! Writing 85 model components to file: J0557+2413_X_2004_04_30_yyk_map.mod
wobs J0557+2413_X_2004_04_30_yyk\_uvs.fits
! Writing UV FITS file: J0557+2413_X_2004_04_30_yyk_uvs.fits
wwins J0557+2413_X_2004_04_30_yyk\_map.win
! wwins: Wrote 3 windows to J0557+2413_X_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.00186521 Jy
! Component: 100  -  total flux cleaned = -0.00322808 Jy
! Component: 150  -  total flux cleaned = -0.00379851 Jy
! Component: 200  -  total flux cleaned = -0.00432794 Jy
! Component: 250  -  total flux cleaned = -0.00469031 Jy
! Component: 300  -  total flux cleaned = -0.00482153 Jy
! Component: 350  -  total flux cleaned = -0.00494631 Jy
! Component: 400  -  total flux cleaned = -0.00498705 Jy
! Component: 450  -  total flux cleaned = -0.00506426 Jy
! Component: 500  -  total flux cleaned = -0.00532026 Jy
! Component: 550  -  total flux cleaned = -0.00549695 Jy
! Component: 600  -  total flux cleaned = -0.00556616 Jy
! Component: 650  -  total flux cleaned = -0.00579963 Jy
! Component: 700  -  total flux cleaned = -0.00599348 Jy
! Component: 750  -  total flux cleaned = -0.006277 Jy
! Component: 800  -  total flux cleaned = -0.0065552 Jy
! Component: 850  -  total flux cleaned = -0.00694713 Jy
! Component: 900  -  total flux cleaned = -0.00721279 Jy
! Component: 950  -  total flux cleaned = -0.00761643 Jy
! Component: 1000  -  total flux cleaned = -0.00792734 Jy
! Component: 1050  -  total flux cleaned = -0.00828832 Jy
! Component: 1100  -  total flux cleaned = -0.00866993 Jy
! Component: 1150  -  total flux cleaned = -0.00893829 Jy
! Component: 1200  -  total flux cleaned = -0.00928208 Jy
! Component: 1250  -  total flux cleaned = -0.00962086 Jy
! Component: 1300  -  total flux cleaned = -0.00992929 Jy
! Component: 1350  -  total flux cleaned = -0.0102585 Jy
! Component: 1400  -  total flux cleaned = -0.0105583 Jy
! Component: 1450  -  total flux cleaned = -0.0108539 Jy
! Component: 1500  -  total flux cleaned = -0.0111454 Jy
! Component: 1550  -  total flux cleaned = -0.0113855 Jy
! Component: 1600  -  total flux cleaned = -0.0116934 Jy
! Component: 1650  -  total flux cleaned = -0.0119506 Jy
! Component: 1700  -  total flux cleaned = -0.0122275 Jy
! Component: 1750  -  total flux cleaned = -0.0124549 Jy
! Component: 1800  -  total flux cleaned = -0.01259 Jy
! Component: 1850  -  total flux cleaned = -0.0127901 Jy
! Component: 1900  -  total flux cleaned = -0.0129663 Jy
! Component: 1950  -  total flux cleaned = -0.0131844 Jy
! Component: 2000  -  total flux cleaned = -0.0133354 Jy
! Total flux subtracted in 2048 components = -0.0134638 Jy
! Clean residual min=-0.001720 max=0.001166 Jy/beam
! Clean residual mean=0.000001 rms=0.000379 Jy/beam
! Combined flux in latest and established models = 0.747898 Jy
keep
! Adding 95 model components to the UV plane model.
! The established model now contains 180 components and 0.747898 Jy
![Exited script file: muppet]
wmap "J0557+2413_X_2004_04_30_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8611 x 2.611 at 17.7 degrees (North through East)
! Clean map  min=-0.0037369  max=0.64425 Jy/beam
! Writing clean map to FITS file: J0557+2413_X_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.644255 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000370833 
device "J0557+2413_X_2004_04_30_yyk\_map.eps/VPS"
! Attempting to open device: 'J0557+2413_X_2004_04_30_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.17268 0.17268 0.34536 0.690719 1.38144 2.76288 5.52575 11.0515 22.103 44.206 88.4121
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.644 
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.8611 x 2.611 at 17.7 degrees (North through East)
! Clean map  min=-0.0037369  max=0.64425 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0557+2413_X_2004_04_30_yyk\_map.gif/gif"
! Attempting to open device: 'J0557+2413_X_2004_04_30_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0557+2413_X_2004_04_30_yyk_uvs.log closed on Wed Dec  7 00:02:29 2005