! Started logfile: J1122-2532_X_1997_08_27_yyk_uvs.log on Mon Jan  8 05:15:55 2007
obs J1122-2532_X_1997_08_27_yyk_uva.fits
! Reading UV FITS file: J1122-2532_X_1997_08_27_yyk_uva.fits
! AN table 1: 149 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.85399 visibilities/baseline/integration-bin.
! Found source: J1122-2532
! 
! 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.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 701 lines of history.
! 
! Reading 22904 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 J1122-2532_X_1997_08_27_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.333149 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.7531 mas, bmaj=1.618 mas, bpa=-18.62 degrees
! Estimated noise=1308.39 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.2).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.131854 Jy
! Component: 100  -  total flux cleaned = 0.179466 Jy
! Total flux subtracted in 100 components = 0.179466 Jy
! Clean residual min=-0.018454 max=0.020655 Jy/beam
! Clean residual mean=0.000200 rms=0.005152 Jy/beam
! Combined flux in latest and established models = 0.179466 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 20 components and 0.179466 Jy
! 
! Correcting IF 1.
!  A total of 119 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 119 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 119 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 119 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.280779Jy  sigma=0.001427
! Fit after  self-cal, rms=0.280121Jy  sigma=0.001424
! Inverting map and beam 
! Estimated beam: bmin=0.7531 mas, bmaj=1.618 mas, bpa=-18.62 degrees
! Estimated noise=1308.39 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.9165 mas, bmaj=1.938 mas, bpa=-16.8 degrees
! Estimated noise=869.783 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.0463927 Jy
! Component: 100  -  total flux cleaned = 0.0646675 Jy
! Component: 150  -  total flux cleaned = 0.07271 Jy
! Component: 200  -  total flux cleaned = 0.0752072 Jy
! Total flux subtracted in 200 components = 0.0752072 Jy
! Clean residual min=-0.017453 max=0.012016 Jy/beam
! Clean residual mean=0.000096 rms=0.003240 Jy/beam
! Combined flux in latest and established models = 0.254673 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 32 components and 0.254673 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.276373Jy  sigma=0.001396
! Fit after  self-cal, rms=0.276323Jy  sigma=0.001396
! 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.9165 x 1.938 at -16.8 degrees (North through East)
! Clean map  min=-0.016719  max=0.15984 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 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01214
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.12     FD        0.98     HN        0.96     KP        0.99     
!   LA        0.95     MK        0.96     NL        0.94     OV        1.10     
!   PT        0.94     SC        0.93     
! 
! 
! Correcting IF 2.
!  A total of 3 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.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.997807
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.14     FD        1.00     HN        1.00     KP        0.94     
!   LA        0.98     MK        0.85     NL        0.96     OV        1.15     
!   PT        0.96     SC        1.04     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.975954
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.20     FD        1.01     HN        1.07     KP        0.95     
!   LA        0.95     MK        0.90     NL        0.95     OV        1.15     
!   PT        0.96     SC        1.12     
! 
! 
! Fit before self-cal, rms=0.276323Jy  sigma=0.001396
! Fit after  self-cal, rms=0.271394Jy  sigma=0.001393
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.271394Jy  sigma=0.001393
! Fit after  self-cal, rms=0.271396Jy  sigma=0.001393
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.892 mas, bmaj=1.919 mas, bpa=-19.32 degrees
! Estimated noise=848.645 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.000113658 Jy
! Component: 100  -  total flux cleaned = 0.000242204 Jy
! Component: 150  -  total flux cleaned = 0.000344676 Jy
! Component: 200  -  total flux cleaned = 0.000340375 Jy
! Total flux subtracted in 200 components = 0.000340375 Jy
! Clean residual min=-0.017345 max=0.011602 Jy/beam
! Clean residual mean=0.000061 rms=0.002986 Jy/beam
! Combined flux in latest and established models = 0.255014 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 37 components and 0.255014 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.271298Jy  sigma=0.001392
! Fit after  self-cal, rms=0.271281Jy  sigma=0.001392
! 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.271281Jy  sigma=0.001392
! Fit after  self-cal, rms=0.265810Jy  sigma=0.001363
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.00744938 Jy
! Component: 100  -  total flux cleaned = 0.00792046 Jy
! Component: 150  -  total flux cleaned = 0.00819765 Jy
! Component: 200  -  total flux cleaned = 0.00845011 Jy
! Total flux subtracted in 200 components = 0.00845011 Jy
! Clean residual min=-0.016698 max=0.011398 Jy/beam
! Clean residual mean=0.000076 rms=0.003048 Jy/beam
! Combined flux in latest and established models = 0.263464 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 39 components and 0.263464 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.265747Jy  sigma=0.001362
! Fit after  self-cal, rms=0.265084Jy  sigma=0.001358
! 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.892 x 1.919 at -19.32 degrees (North through East)
! Clean map  min=-0.015904  max=0.16098 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.265084Jy  sigma=0.001358
! Fit after  self-cal, rms=0.259539Jy  sigma=0.001356
! 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.259539Jy  sigma=0.001356
! Fit after  self-cal, rms=0.259413Jy  sigma=0.001355
! Inverting map and beam 
! Estimated beam: bmin=0.8726 mas, bmaj=1.904 mas, bpa=-18.29 degrees
! Estimated noise=820.111 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00404921 Jy
! Component: 100  -  total flux cleaned = -0.00415967 Jy
! Component: 150  -  total flux cleaned = -0.00406434 Jy
! Component: 200  -  total flux cleaned = -0.00406327 Jy
! Total flux subtracted in 200 components = -0.00406327 Jy
! Clean residual min=-0.013790 max=0.009826 Jy/beam
! Clean residual mean=0.000070 rms=0.002628 Jy/beam
! Combined flux in latest and established models = 0.2594 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 40 components and 0.2594 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259275Jy  sigma=0.001355
! Fit after  self-cal, rms=0.259217Jy  sigma=0.001355
! 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.259217Jy  sigma=0.001355
! Fit after  self-cal, rms=0.251557Jy  sigma=0.001350
! 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.251557Jy  sigma=0.001350
! Fit after  self-cal, rms=0.251536Jy  sigma=0.001350
! Inverting map and beam 
! Estimated beam: bmin=0.8675 mas, bmaj=1.925 mas, bpa=-17.37 degrees
! Estimated noise=774.858 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00976666 Jy
! Component: 100  -  total flux cleaned = -0.0124352 Jy
! Component: 150  -  total flux cleaned = -0.0128091 Jy
! Component: 200  -  total flux cleaned = -0.0129274 Jy
! Total flux subtracted in 200 components = -0.0129274 Jy
! Clean residual min=-0.011038 max=0.009015 Jy/beam
! Clean residual mean=0.000106 rms=0.002230 Jy/beam
! Combined flux in latest and established models = 0.246473 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 43 components and 0.246473 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.251081Jy  sigma=0.001348
! Fit after  self-cal, rms=0.251042Jy  sigma=0.001348
! 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.176 mas, bmaj=4.1 mas, bpa=-13.77 degrees
! Estimated noise=1041.68 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.00111194 Jy
! Component: 100  -  total flux cleaned = -0.00123729 Jy
! Component: 150  -  total flux cleaned = -0.00144777 Jy
! Component: 200  -  total flux cleaned = -0.00144074 Jy
! Total flux subtracted in 200 components = -0.00144074 Jy
! Clean residual min=-0.014618 max=0.012438 Jy/beam
! Clean residual mean=0.000235 rms=0.003911 Jy/beam
! Combined flux in latest and established models = 0.245032 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 45 components and 0.245032 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.251083Jy  sigma=0.001349
! Fit after  self-cal, rms=0.251006Jy  sigma=0.001349
! 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.7305 mas, bmaj=1.615 mas, bpa=-18.83 degrees
! Estimated noise=1176.21 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.129107 Jy
! Component: 100  -  total flux cleaned = 0.179035 Jy
! Component: 150  -  total flux cleaned = 0.203214 Jy
! Component: 200  -  total flux cleaned = 0.215124 Jy
! Total flux subtracted in 200 components = 0.215124 Jy
! Clean residual min=-0.014256 max=0.014254 Jy/beam
! Clean residual mean=0.000184 rms=0.003265 Jy/beam
! Combined flux in latest and established models = 0.215124 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.215124 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8675 mas, bmaj=1.925 mas, bpa=-17.37 degrees
! Estimated noise=774.858 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)
! Added new window around map position (1.4, 1).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0206194 Jy
! Component: 100  -  total flux cleaned = 0.0279611 Jy
! Component: 150  -  total flux cleaned = 0.0294352 Jy
! Component: 200  -  total flux cleaned = 0.0306268 Jy
! Total flux subtracted in 200 components = 0.0306268 Jy
! Clean residual min=-0.010318 max=0.008849 Jy/beam
! Clean residual mean=0.000106 rms=0.002243 Jy/beam
! Combined flux in latest and established models = 0.245751 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 36 components and 0.245751 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.176 mas, bmaj=4.1 mas, bpa=-13.77 degrees
! Estimated noise=1041.68 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.000176853 Jy
! Component: 100  -  total flux cleaned = -0.000354146 Jy
! Component: 150  -  total flux cleaned = -0.000688612 Jy
! Component: 200  -  total flux cleaned = -0.000853185 Jy
! Total flux subtracted in 200 components = -0.000853185 Jy
! Clean residual min=-0.013564 max=0.012724 Jy/beam
! Clean residual mean=0.000233 rms=0.003887 Jy/beam
! Combined flux in latest and established models = 0.244898 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 50 components and 0.244898 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8675 mas, bmaj=1.925 mas, bpa=-17.37 degrees
! Estimated noise=774.858 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000594005 Jy
! Component: 100  -  total flux cleaned = 0.000729766 Jy
! Component: 150  -  total flux cleaned = 0.000730086 Jy
! Component: 200  -  total flux cleaned = 0.000857738 Jy
! Total flux subtracted in 200 components = 0.000857738 Jy
! Clean residual min=-0.009252 max=0.008552 Jy/beam
! Clean residual mean=0.000105 rms=0.002128 Jy/beam
! Combined flux in latest and established models = 0.245755 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 60 components and 0.245755 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.250420Jy  sigma=0.001346
! Fit after  self-cal, rms=0.250338Jy  sigma=0.001345
wmodel J1122-2532_X_1997_08_27_yyk\_map.mod
! Writing 60 model components to file: J1122-2532_X_1997_08_27_yyk_map.mod
wobs J1122-2532_X_1997_08_27_yyk\_uvs.fits
! Writing UV FITS file: J1122-2532_X_1997_08_27_yyk_uvs.fits
wwins J1122-2532_X_1997_08_27_yyk\_map.win
! wwins: Wrote 2 windows to J1122-2532_X_1997_08_27_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.00147877 Jy
! Component: 100  -  total flux cleaned = -0.00121623 Jy
! Component: 150  -  total flux cleaned = -0.000468507 Jy
! Component: 200  -  total flux cleaned = 4.24473e-06 Jy
! Component: 250  -  total flux cleaned = 0.000231131 Jy
! Component: 300  -  total flux cleaned = 0.0010005 Jy
! Component: 350  -  total flux cleaned = 0.00163656 Jy
! Component: 400  -  total flux cleaned = 0.00204602 Jy
! Component: 450  -  total flux cleaned = 0.00244479 Jy
! Component: 500  -  total flux cleaned = 0.00293009 Jy
! Component: 550  -  total flux cleaned = 0.00321116 Jy
! Component: 600  -  total flux cleaned = 0.00321171 Jy
! Component: 650  -  total flux cleaned = 0.00339211 Jy
! Component: 700  -  total flux cleaned = 0.00347977 Jy
! Component: 750  -  total flux cleaned = 0.00373674 Jy
! Component: 800  -  total flux cleaned = 0.00373675 Jy
! Component: 850  -  total flux cleaned = 0.00373551 Jy
! Component: 900  -  total flux cleaned = 0.00349579 Jy
! Component: 950  -  total flux cleaned = 0.00333888 Jy
! Component: 1000  -  total flux cleaned = 0.00303154 Jy
! Component: 1050  -  total flux cleaned = 0.00273094 Jy
! Component: 1100  -  total flux cleaned = 0.00251068 Jy
! Component: 1150  -  total flux cleaned = 0.00236558 Jy
! Component: 1200  -  total flux cleaned = 0.00215263 Jy
! Component: 1250  -  total flux cleaned = 0.00215233 Jy
! Component: 1300  -  total flux cleaned = 0.0020126 Jy
! Component: 1350  -  total flux cleaned = 0.00180887 Jy
! Component: 1400  -  total flux cleaned = 0.0015423 Jy
! Component: 1450  -  total flux cleaned = 0.00147696 Jy
! Component: 1500  -  total flux cleaned = 0.00141112 Jy
! Component: 1550  -  total flux cleaned = 0.00134808 Jy
! Component: 1600  -  total flux cleaned = 0.00160048 Jy
! Component: 1650  -  total flux cleaned = 0.00159996 Jy
! Component: 1700  -  total flux cleaned = 0.00166131 Jy
! Component: 1750  -  total flux cleaned = 0.0017842 Jy
! Component: 1800  -  total flux cleaned = 0.00208511 Jy
! Component: 1850  -  total flux cleaned = 0.00226287 Jy
! Component: 1900  -  total flux cleaned = 0.00249764 Jy
! Component: 1950  -  total flux cleaned = 0.00290444 Jy
! Component: 2000  -  total flux cleaned = 0.00313408 Jy
! Total flux subtracted in 2048 components = 0.00341864 Jy
! Clean residual min=-0.002833 max=0.003346 Jy/beam
! Clean residual mean=0.000045 rms=0.001166 Jy/beam
! Combined flux in latest and established models = 0.249174 Jy
keep
! Adding 177 model components to the UV plane model.
! The established model now contains 237 components and 0.249174 Jy
![Exited script file: muppet]
wmap "J1122-2532_X_1997_08_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8675 x 1.925 at -17.37 degrees (North through East)
! Clean map  min=-0.010504  max=0.14954 Jy/beam
! Writing clean map to FITS file: J1122-2532_X_1997_08_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.149539 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00114092 
device "J1122-2532_X_1997_08_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J1122-2532_X_1997_08_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.28887 2.28887 4.57775 9.1555 18.311 36.622 73.244
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0034 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.149 
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.8675 x 1.925 at -17.37 degrees (North through East)
! Clean map  min=-0.010504  max=0.14954 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1122-2532_X_1997_08_27_yyk\_map.gif/gif"
! Attempting to open device: 'J1122-2532_X_1997_08_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1122-2532_X_1997_08_27_yyk_uvs.log closed on Mon Jan  8 05:16:05 2007