! Started logfile: J2043+1255_X_1996_03_13_yyk_uvs.log on Mon Jan  8 10:19:57 2007
obs J2043+1255_X_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J2043+1255_X_1996_03_13_yyk_uva.fits
! AN table 1: 118 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.646516 visibilities/baseline/integration-bin.
! Found source: J2043+1255
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 655 lines of history.
! 
! Reading 13732 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 J2043+1255_X_1996_03_13_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.310129 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.7243 mas, bmaj=1.847 mas, bpa=-1.31 degrees
! Estimated noise=1092.66 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.133294 Jy
! Component: 100  -  total flux cleaned = 0.165795 Jy
! Total flux subtracted in 100 components = 0.165795 Jy
! Clean residual min=-0.009743 max=0.010543 Jy/beam
! Clean residual mean=-0.000015 rms=0.002450 Jy/beam
! Combined flux in latest and established models = 0.165795 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 18 components and 0.165795 Jy
! 
! Correcting IF 1.
!  A total of 238 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 238 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 238 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 238 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.263058Jy  sigma=0.001785
! Fit after  self-cal, rms=0.262920Jy  sigma=0.001784
! Inverting map and beam 
! Estimated beam: bmin=0.7243 mas, bmaj=1.847 mas, bpa=-1.31 degrees
! Estimated noise=1093.08 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.916 mas, bmaj=2.216 mas, bpa=-4.335 degrees
! Estimated noise=854.914 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.0217884 Jy
! Component: 100  -  total flux cleaned = 0.0310342 Jy
! Component: 150  -  total flux cleaned = 0.0355674 Jy
! Component: 200  -  total flux cleaned = 0.0376531 Jy
! Total flux subtracted in 200 components = 0.0376531 Jy
! Clean residual min=-0.006966 max=0.006719 Jy/beam
! Clean residual mean=-0.000008 rms=0.001699 Jy/beam
! Combined flux in latest and established models = 0.203448 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 47 model components to the UV plane model.
! The established model now contains 58 components and 0.203448 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261935Jy  sigma=0.001775
! Fit after  self-cal, rms=0.261930Jy  sigma=0.001775
! 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.916 x 2.216 at -4.335 degrees (North through East)
! Clean map  min=-0.0061828  max=0.16119 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 6 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 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.0125
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.00     HN        0.95     KP        1.07     
!   LA        0.99     MK        0.98     NL        1.01     OV        1.00*    
!   PT        0.93     SC        0.96     
! 
! 
! Correcting IF 3.
!  A total of 6 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 4.
!  A total of 6 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*    
! 
! 
! Fit before self-cal, rms=0.261930Jy  sigma=0.001775
! Fit after  self-cal, rms=0.262186Jy  sigma=0.001775
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.262186Jy  sigma=0.001775
! Fit after  self-cal, rms=0.262186Jy  sigma=0.001775
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9139 mas, bmaj=2.212 mas, bpa=-4.259 degrees
! Estimated noise=854.074 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.00104011 Jy
! Component: 100  -  total flux cleaned = 0.00145965 Jy
! Component: 150  -  total flux cleaned = 0.00181209 Jy
! Component: 200  -  total flux cleaned = 0.00211158 Jy
! Total flux subtracted in 200 components = 0.00211158 Jy
! Clean residual min=-0.006892 max=0.006885 Jy/beam
! Clean residual mean=-0.000004 rms=0.001659 Jy/beam
! Combined flux in latest and established models = 0.20556 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 60 components and 0.20556 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.262174Jy  sigma=0.001775
! Fit after  self-cal, rms=0.262173Jy  sigma=0.001775
! 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.262173Jy  sigma=0.001775
! Fit after  self-cal, rms=0.261515Jy  sigma=0.001770
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.00148772 Jy
! Component: 100  -  total flux cleaned = 0.00195685 Jy
! Component: 150  -  total flux cleaned = 0.00202957 Jy
! Component: 200  -  total flux cleaned = 0.00202982 Jy
! Total flux subtracted in 200 components = 0.00202982 Jy
! Clean residual min=-0.007012 max=0.006865 Jy/beam
! Clean residual mean=-0.000002 rms=0.001654 Jy/beam
! Combined flux in latest and established models = 0.20759 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 63 components and 0.20759 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261511Jy  sigma=0.001770
! Fit after  self-cal, rms=0.261412Jy  sigma=0.001769
! 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.9139 x 2.212 at -4.259 degrees (North through East)
! Clean map  min=-0.0062889  max=0.16126 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.261412Jy  sigma=0.001769
! Fit after  self-cal, rms=0.258432Jy  sigma=0.001767
! 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.258432Jy  sigma=0.001767
! Fit after  self-cal, rms=0.258430Jy  sigma=0.001766
! Inverting map and beam 
! Estimated beam: bmin=0.8994 mas, bmaj=2.194 mas, bpa=-4.465 degrees
! Estimated noise=833.299 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00235911 Jy
! Component: 100  -  total flux cleaned = -0.00216877 Jy
! Component: 150  -  total flux cleaned = -0.00199852 Jy
! Component: 200  -  total flux cleaned = -0.00189349 Jy
! Total flux subtracted in 200 components = -0.00189349 Jy
! Clean residual min=-0.006622 max=0.006449 Jy/beam
! Clean residual mean=-0.000009 rms=0.001512 Jy/beam
! Combined flux in latest and established models = 0.205696 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 65 components and 0.205696 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.258407Jy  sigma=0.001766
! Fit after  self-cal, rms=0.258416Jy  sigma=0.001766
! 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.258416Jy  sigma=0.001766
! Fit after  self-cal, rms=0.255904Jy  sigma=0.001766
! 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.255904Jy  sigma=0.001766
! Fit after  self-cal, rms=0.255909Jy  sigma=0.001766
! Inverting map and beam 
! Estimated beam: bmin=0.8925 mas, bmaj=2.196 mas, bpa=-5.013 degrees
! Estimated noise=822.319 mJy/beam.
! Added new window around map position (-6.4, 21).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00490561 Jy
! Component: 100  -  total flux cleaned = 0.00572116 Jy
! Component: 150  -  total flux cleaned = 0.00601003 Jy
! Component: 200  -  total flux cleaned = 0.00608795 Jy
! Total flux subtracted in 200 components = 0.00608795 Jy
! Clean residual min=-0.005992 max=0.004559 Jy/beam
! Clean residual mean=-0.000010 rms=0.001358 Jy/beam
! Combined flux in latest and established models = 0.211784 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 87 components and 0.211784 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255773Jy  sigma=0.001765
! Fit after  self-cal, rms=0.255775Jy  sigma=0.001765
! 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.197 mas, bmaj=3.107 mas, bpa=-11.58 degrees
! Estimated noise=1050.92 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.0017527 Jy
! Component: 100  -  total flux cleaned = 0.00188709 Jy
! Component: 150  -  total flux cleaned = 0.0019409 Jy
! Component: 200  -  total flux cleaned = 0.00198258 Jy
! Total flux subtracted in 200 components = 0.00198258 Jy
! Clean residual min=-0.005513 max=0.004145 Jy/beam
! Clean residual mean=-0.000017 rms=0.001368 Jy/beam
! Combined flux in latest and established models = 0.213767 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 99 components and 0.213767 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255793Jy  sigma=0.001765
! Fit after  self-cal, rms=0.255789Jy  sigma=0.001765
! 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.7167 mas, bmaj=1.839 mas, bpa=-1.717 degrees
! Estimated noise=1051.32 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.129305 Jy
! Component: 100  -  total flux cleaned = 0.162499 Jy
! Component: 150  -  total flux cleaned = 0.179054 Jy
! Component: 200  -  total flux cleaned = 0.187623 Jy
! Total flux subtracted in 200 components = 0.187623 Jy
! Clean residual min=-0.008912 max=0.006872 Jy/beam
! Clean residual mean=-0.000011 rms=0.001975 Jy/beam
! Combined flux in latest and established models = 0.187623 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 38 model components to the UV plane model.
! The established model now contains 38 components and 0.187623 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8925 mas, bmaj=2.196 mas, bpa=-5.013 degrees
! Estimated noise=822.319 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.0096539 Jy
! Component: 100  -  total flux cleaned = 0.0153603 Jy
! Component: 150  -  total flux cleaned = 0.0179839 Jy
! Component: 200  -  total flux cleaned = 0.020154 Jy
! Total flux subtracted in 200 components = 0.020154 Jy
! Clean residual min=-0.005895 max=0.004949 Jy/beam
! Clean residual mean=-0.000015 rms=0.001396 Jy/beam
! Combined flux in latest and established models = 0.207777 Jy
! Adding 32 model components to the UV plane model.
! The established model now contains 61 components and 0.207777 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.197 mas, bmaj=3.107 mas, bpa=-11.58 degrees
! Estimated noise=1050.92 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.00364212 Jy
! Component: 100  -  total flux cleaned = 0.00470233 Jy
! Component: 150  -  total flux cleaned = 0.00521231 Jy
! Component: 200  -  total flux cleaned = 0.00545887 Jy
! Total flux subtracted in 200 components = 0.00545887 Jy
! Clean residual min=-0.005494 max=0.004348 Jy/beam
! Clean residual mean=-0.000019 rms=0.001386 Jy/beam
! Combined flux in latest and established models = 0.213236 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 80 components and 0.213236 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8925 mas, bmaj=2.196 mas, bpa=-5.013 degrees
! Estimated noise=822.319 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00115055 Jy
! Component: 100  -  total flux cleaned = -0.000991044 Jy
! Component: 150  -  total flux cleaned = -0.000841078 Jy
! Component: 200  -  total flux cleaned = -0.000638361 Jy
! Total flux subtracted in 200 components = -0.000638361 Jy
! Clean residual min=-0.005732 max=0.004974 Jy/beam
! Clean residual mean=-0.000011 rms=0.001344 Jy/beam
! Combined flux in latest and established models = 0.212598 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 92 components and 0.212598 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.255767Jy  sigma=0.001765
! Fit after  self-cal, rms=0.255771Jy  sigma=0.001765
wmodel J2043+1255_X_1996_03_13_yyk\_map.mod
! Writing 92 model components to file: J2043+1255_X_1996_03_13_yyk_map.mod
wobs J2043+1255_X_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J2043+1255_X_1996_03_13_yyk_uvs.fits
wwins J2043+1255_X_1996_03_13_yyk\_map.win
! wwins: Wrote 2 windows to J2043+1255_X_1996_03_13_yyk_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.00209795 Jy
! Component: 100  -  total flux cleaned = -0.00281844 Jy
! Component: 150  -  total flux cleaned = -0.00307036 Jy
! Component: 200  -  total flux cleaned = -0.00323131 Jy
! Component: 250  -  total flux cleaned = -0.00362174 Jy
! Component: 300  -  total flux cleaned = -0.00384964 Jy
! Component: 350  -  total flux cleaned = -0.00421895 Jy
! Component: 400  -  total flux cleaned = -0.00443533 Jy
! Component: 450  -  total flux cleaned = -0.00485505 Jy
! Component: 500  -  total flux cleaned = -0.00512977 Jy
! Component: 550  -  total flux cleaned = -0.00553177 Jy
! Component: 600  -  total flux cleaned = -0.00579257 Jy
! Component: 650  -  total flux cleaned = -0.00592057 Jy
! Component: 700  -  total flux cleaned = -0.00592052 Jy
! Component: 750  -  total flux cleaned = -0.00598311 Jy
! Component: 800  -  total flux cleaned = -0.00598393 Jy
! Component: 850  -  total flux cleaned = -0.00598356 Jy
! Component: 900  -  total flux cleaned = -0.00604211 Jy
! Component: 950  -  total flux cleaned = -0.00580879 Jy
! Component: 1000  -  total flux cleaned = -0.00580984 Jy
! Component: 1050  -  total flux cleaned = -0.00581066 Jy
! Component: 1100  -  total flux cleaned = -0.00586649 Jy
! Component: 1150  -  total flux cleaned = -0.0057573 Jy
! Component: 1200  -  total flux cleaned = -0.00575809 Jy
! Component: 1250  -  total flux cleaned = -0.00581214 Jy
! Component: 1300  -  total flux cleaned = -0.00591721 Jy
! Component: 1350  -  total flux cleaned = -0.00591619 Jy
! Component: 1400  -  total flux cleaned = -0.00601771 Jy
! Component: 1450  -  total flux cleaned = -0.00581494 Jy
! Component: 1500  -  total flux cleaned = -0.00591549 Jy
! Component: 1550  -  total flux cleaned = -0.00611336 Jy
! Component: 1600  -  total flux cleaned = -0.00611422 Jy
! Component: 1650  -  total flux cleaned = -0.00645275 Jy
! Component: 1700  -  total flux cleaned = -0.0064997 Jy
! Component: 1750  -  total flux cleaned = -0.0065469 Jy
! Component: 1800  -  total flux cleaned = -0.0066409 Jy
! Component: 1850  -  total flux cleaned = -0.00687334 Jy
! Component: 1900  -  total flux cleaned = -0.00682711 Jy
! Component: 1950  -  total flux cleaned = -0.00696354 Jy
! Component: 2000  -  total flux cleaned = -0.00714383 Jy
! Total flux subtracted in 2048 components = -0.00701011 Jy
! Clean residual min=-0.002508 max=0.002394 Jy/beam
! Clean residual mean=-0.000001 rms=0.000845 Jy/beam
! Combined flux in latest and established models = 0.205587 Jy
keep
! Adding 146 model components to the UV plane model.
! The established model now contains 238 components and 0.205587 Jy
![Exited script file: muppet]
wmap "J2043+1255_X_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8925 x 2.196 at -5.013 degrees (North through East)
! Clean map  min=-0.004744  max=0.15548 Jy/beam
! Writing clean map to FITS file: J2043+1255_X_1996_03_13_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.15548 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000846408 
device "J2043+1255_X_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J2043+1255_X_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.63316 1.63316 3.26631 6.53262 13.0652 26.1305 52.261
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0025 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.155 
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.8925 x 2.196 at -5.013 degrees (North through East)
! Clean map  min=-0.004744  max=0.15548 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2043+1255_X_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J2043+1255_X_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2043+1255_X_1996_03_13_yyk_uvs.log closed on Mon Jan  8 10:20:04 2007