! Started logfile: J0746+2549_X_2003_09_17_pus_uvs.log on Sun May 13 21:15:27 2007
obs J0746+2549_X_2003_09_17_pus_uva.fits
! Reading UV FITS file: J0746+2549_X_2003_09_17_pus_uva.fits
! AN table 1: 26 integrations on 120 of 120 possible baselines.
! AN table 2: 252 integrations on 120 of 120 possible baselines.
! AN table 3: 192 integrations on 120 of 120 possible baselines.
! AN table 4: 310 integrations on 120 of 120 possible baselines.
! AN table 5: 89 integrations on 120 of 120 possible baselines.
! Apparent sampling: 0.127465 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0746+2549
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! 
! 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 1489 lines of history.
! 
! Reading 53168 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
float field_size
field_size = 256
float field_cell
field_cell = 0.2
float taper_size
taper_size = 70.
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 256x256 pixels with 0.200x0.200 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! 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 416 telescope corrections were flagged in sub-array 1.
!  A total of 2393 telescope corrections were flagged in sub-array 2.
!  A total of 2365 telescope corrections were flagged in sub-array 3.
!  A total of 4305 telescope corrections were flagged in sub-array 4.
!  A total of 1308 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 416 telescope corrections were flagged in sub-array 1.
!  A total of 2393 telescope corrections were flagged in sub-array 2.
!  A total of 2365 telescope corrections were flagged in sub-array 3.
!  A total of 4305 telescope corrections were flagged in sub-array 4.
!  A total of 1308 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 416 telescope corrections were flagged in sub-array 1.
!  A total of 2393 telescope corrections were flagged in sub-array 2.
!  A total of 2365 telescope corrections were flagged in sub-array 3.
!  A total of 4305 telescope corrections were flagged in sub-array 4.
!  A total of 1308 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 416 telescope corrections were flagged in sub-array 1.
!  A total of 2393 telescope corrections were flagged in sub-array 2.
!  A total of 2365 telescope corrections were flagged in sub-array 3.
!  A total of 4305 telescope corrections were flagged in sub-array 4.
!  A total of 1308 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=0.608510Jy  sigma=0.004878
! Fit after  self-cal, rms=0.608444Jy  sigma=0.004877
! 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 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=0.5708 mas, bmaj=0.9538 mas, bpa=-13.82 degrees
! Estimated noise=987.747 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.332909 Jy
! Component: 100  -  total flux cleaned = 0.405659 Jy
! Total flux subtracted in 100 components = 0.405659 Jy
! Clean residual min=-0.006116 max=0.021636 Jy/beam
! Clean residual mean=0.000079 rms=0.002244 Jy/beam
! Combined flux in latest and established models = 0.405659 Jy
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 0.405659 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.230420Jy  sigma=0.001310
! Fit after  self-cal, rms=0.230409Jy  sigma=0.001310
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0236948 Jy
! Component: 100  -  total flux cleaned = 0.0384748 Jy
! Total flux subtracted in 100 components = 0.0384748 Jy
! Clean residual min=-0.004780 max=0.008036 Jy/beam
! Clean residual mean=0.000043 rms=0.001387 Jy/beam
! Combined flux in latest and established models = 0.444134 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 18 components and 0.444134 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227171Jy  sigma=0.001258
! Fit after  self-cal, rms=0.227110Jy  sigma=0.001258
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.010395 Jy
! Component: 100  -  total flux cleaned = 0.0176428 Jy
! Total flux subtracted in 100 components = 0.0176428 Jy
! Clean residual min=-0.004290 max=0.004377 Jy/beam
! Clean residual mean=0.000026 rms=0.001135 Jy/beam
! Combined flux in latest and established models = 0.461777 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 24 components and 0.461777 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.226493Jy  sigma=0.001248
! Fit after  self-cal, rms=0.226469Jy  sigma=0.001248
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! 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 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=0.684 mas, bmaj=1.168 mas, bpa=-15.99 degrees
! Estimated noise=400.155 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0075827 Jy
! Component: 100  -  total flux cleaned = 0.0114368 Jy
! Component: 150  -  total flux cleaned = 0.0136215 Jy
! Component: 200  -  total flux cleaned = 0.0149039 Jy
! Total flux subtracted in 200 components = 0.0149039 Jy
! Clean residual min=-0.002028 max=0.002721 Jy/beam
! Clean residual mean=0.000034 rms=0.000546 Jy/beam
! Combined flux in latest and established models = 0.476681 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 27 components and 0.476681 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.226256Jy  sigma=0.001244
! Fit after  self-cal, rms=0.226242Jy  sigma=0.001244
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.00     GC        1.00     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.01     NL        1.00     NY        1.00     
!   ON        1.01     OV        1.00     PT        1.00     SC        1.00     
!   TS        1.00*    KK        1.00     WZ        1.02     WF        1.00     
! 
!  Telescope amplitude corrections in sub-array 3:
!   FD        1.00     GC        1.00     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.00     NL        1.00     NY        1.01     
!   ON        1.00*    OV        1.00     PT        1.00     SC        1.00     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00     
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        1.00*    GC        1.01     HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    NY        0.99     
!   ON        1.00     OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        1.01     KK        1.00*    WZ        1.00     WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   FD        1.00*    GC        1.00*    HN        1.00     KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.00*    SC        1.00     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.00     GC        1.01     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.01     NL        1.00     NY        1.00     
!   ON        1.01     OV        1.00     PT        1.00     SC        1.00     
!   TS        1.00*    KK        1.00     WZ        1.02     WF        1.00     
! 
!  Telescope amplitude corrections in sub-array 3:
!   FD        1.00     GC        1.00     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.00     NL        1.00     NY        1.01     
!   ON        1.00*    OV        1.00     PT        1.00     SC        1.00     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00     
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        1.00*    GC        1.01     HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    NY        0.99     
!   ON        1.00     OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        1.00     KK        1.00*    WZ        1.00     WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   FD        1.00*    GC        1.00*    HN        1.00     KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.00*    SC        1.00     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.00     GC        1.01     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.01     NL        1.00     NY        0.99     
!   ON        1.01     OV        1.00     PT        1.00     SC        1.00     
!   TS        1.00*    KK        1.00     WZ        1.02     WF        1.00     
! 
!  Telescope amplitude corrections in sub-array 3:
!   FD        1.00     GC        1.00     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.00     NL        1.00     NY        1.01     
!   ON        1.00*    OV        1.00     PT        1.00     SC        1.00     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00     
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        1.00*    GC        1.01     HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    NY        0.99     
!   ON        1.00     OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        1.00     KK        1.00*    WZ        1.00     WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   FD        1.00*    GC        1.00*    HN        1.00     KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.00*    SC        1.00     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.00*    GC        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    KK        0.00*    WZ        0.00*    WF        0.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        1.00     GC        1.01     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.00     NL        1.00     NY        0.99     
!   ON        1.00     OV        1.00     PT        1.00     SC        1.00     
!   TS        1.00*    KK        1.00     WZ        1.02     WF        1.00     
! 
!  Telescope amplitude corrections in sub-array 3:
!   FD        1.00     GC        1.00     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.00     NL        1.00     NY        1.01     
!   ON        1.00*    OV        1.00     PT        1.00     SC        1.00     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00     
! 
!  Telescope amplitude corrections in sub-array 4:
!   FD        1.00*    GC        1.01     HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    NY        0.99     
!   ON        0.99     OV        1.00*    PT        1.00*    SC        1.00*    
!   TS        1.00     KK        1.00*    WZ        1.01     WF        1.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   FD        1.00*    GC        1.00*    HN        1.00     KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00     NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.00*    SC        1.00     
!   TS        1.00*    KK        1.00*    WZ        1.00*    WF        1.00     
! 
! 
! Fit before self-cal, rms=0.226242Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227190Jy  sigma=0.001244
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=0.6856 mas, bmaj=1.168 mas, bpa=-16 degrees
! Estimated noise=400.372 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000505748 Jy
! Component: 100  -  total flux cleaned = -0.000423312 Jy
! Component: 150  -  total flux cleaned = -0.000399549 Jy
! Component: 200  -  total flux cleaned = -0.000418514 Jy
! Total flux subtracted in 200 components = -0.000418514 Jy
! Clean residual min=-0.001879 max=0.002143 Jy/beam
! Clean residual mean=0.000015 rms=0.000527 Jy/beam
! Combined flux in latest and established models = 0.476262 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 33 components and 0.476262 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227180Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227180Jy  sigma=0.001244
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
selfcal true, true, soltime1
! Performing amp+phase self-cal over 120 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227180Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227420Jy  sigma=0.001244
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=0.6858 mas, bmaj=1.168 mas, bpa=-15.97 degrees
! Estimated noise=400.492 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000242202 Jy
! Component: 100  -  total flux cleaned = -0.000196649 Jy
! Component: 150  -  total flux cleaned = -0.000235544 Jy
! Component: 200  -  total flux cleaned = -0.000254513 Jy
! Total flux subtracted in 200 components = -0.000254513 Jy
! Clean residual min=-0.001900 max=0.002115 Jy/beam
! Clean residual mean=0.000018 rms=0.000525 Jy/beam
! Combined flux in latest and established models = 0.476008 Jy
selfcal
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 33 components and 0.476008 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227413Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227416Jy  sigma=0.001244
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -5.74553e-05 Jy
! Component: 100  -  total flux cleaned = -7.56954e-05 Jy
! Component: 150  -  total flux cleaned = -9.33001e-05 Jy
! Component: 200  -  total flux cleaned = -0.000126258 Jy
! Total flux subtracted in 200 components = -0.000126258 Jy
! Clean residual min=-0.001890 max=0.002088 Jy/beam
! Clean residual mean=0.000019 rms=0.000523 Jy/beam
! Combined flux in latest and established models = 0.475882 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 33 components and 0.475882 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227413Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227413Jy  sigma=0.001244
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227413Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227700Jy  sigma=0.001244
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=0.6861 mas, bmaj=1.168 mas, bpa=-15.95 degrees
! Estimated noise=400.668 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -6.70461e-06 Jy
! Component: 100  -  total flux cleaned = -6.78046e-06 Jy
! Component: 150  -  total flux cleaned = -4.21952e-05 Jy
! Component: 200  -  total flux cleaned = -5.8913e-05 Jy
! Total flux subtracted in 200 components = -5.8913e-05 Jy
! Clean residual min=-0.001891 max=0.002028 Jy/beam
! Clean residual mean=0.000018 rms=0.000522 Jy/beam
! Combined flux in latest and established models = 0.475823 Jy
selfcal
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 33 components and 0.475823 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227695Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227697Jy  sigma=0.001244
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -9.95456e-05 Jy
! Component: 100  -  total flux cleaned = -0.000131831 Jy
! Component: 150  -  total flux cleaned = -0.000147213 Jy
! Component: 200  -  total flux cleaned = -0.000147302 Jy
! Total flux subtracted in 200 components = -0.000147302 Jy
! Clean residual min=-0.001882 max=0.002022 Jy/beam
! Clean residual mean=0.000019 rms=0.000521 Jy/beam
! Combined flux in latest and established models = 0.475675 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 34 components and 0.475675 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227694Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227694Jy  sigma=0.001244
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.2
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227694Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227920Jy  sigma=0.001244
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=2.157 mas, bmaj=2.869 mas, bpa=-5.513 degrees
! Estimated noise=592.441 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 4.58917e-05 Jy
! Component: 100  -  total flux cleaned = 4.66417e-05 Jy
! Component: 150  -  total flux cleaned = 4.72646e-05 Jy
! Component: 200  -  total flux cleaned = 4.59554e-05 Jy
! Total flux subtracted in 200 components = 4.59554e-05 Jy
! Clean residual min=-0.001990 max=0.002259 Jy/beam
! Clean residual mean=0.000066 rms=0.000722 Jy/beam
! Combined flux in latest and established models = 0.475721 Jy
selfcal
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 34 components and 0.475721 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227924Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227929Jy  sigma=0.001243
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -1.4072e-06 Jy
! Component: 100  -  total flux cleaned = -2.86297e-06 Jy
! Component: 150  -  total flux cleaned = -4.10616e-06 Jy
! Component: 200  -  total flux cleaned = -4.24333e-06 Jy
! Total flux subtracted in 200 components = -4.24333e-06 Jy
! Clean residual min=-0.001996 max=0.002271 Jy/beam
! Clean residual mean=0.000066 rms=0.000719 Jy/beam
! Combined flux in latest and established models = 0.475717 Jy
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 34 components and 0.475717 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227933Jy  sigma=0.001244
! Fit after  self-cal, rms=0.227936Jy  sigma=0.001244
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=0.6862 mas, bmaj=1.167 mas, bpa=-15.93 degrees
! Estimated noise=400.843 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6862 x 1.167 at -15.93 degrees (North through East)
! Clean map  min=-0.0015262  max=0.43769 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true
  clean clean_niter,clean_gain
  selfcal
  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
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true
  end if
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative 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 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=0.5727 mas, bmaj=0.9527 mas, bpa=-13.74 degrees
! Estimated noise=991.298 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.333965 Jy
! Component: 100  -  total flux cleaned = 0.407083 Jy
! Component: 150  -  total flux cleaned = 0.431383 Jy
! Component: 200  -  total flux cleaned = 0.446154 Jy
! Total flux subtracted in 200 components = 0.446154 Jy
! Clean residual min=-0.004517 max=0.007769 Jy/beam
! Clean residual mean=0.000037 rms=0.001309 Jy/beam
! Combined flux in latest and established models = 0.446154 Jy
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.446154 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=0.6862 mas, bmaj=1.167 mas, bpa=-15.93 degrees
! Estimated noise=400.843 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.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.013778 Jy
! Component: 100  -  total flux cleaned = 0.0208018 Jy
! Component: 150  -  total flux cleaned = 0.024744 Jy
! Component: 200  -  total flux cleaned = 0.0269868 Jy
! Total flux subtracted in 200 components = 0.0269868 Jy
! Clean residual min=-0.001868 max=0.002492 Jy/beam
! Clean residual mean=0.000041 rms=0.000560 Jy/beam
! Combined flux in latest and established models = 0.473141 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 24 components and 0.473141 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Added new window around map position (1.2, -0.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00174687 Jy
! Component: 100  -  total flux cleaned = 0.0021126 Jy
! Component: 150  -  total flux cleaned = 0.00241439 Jy
! Component: 200  -  total flux cleaned = 0.00263622 Jy
! Total flux subtracted in 200 components = 0.00263622 Jy
! Clean residual min=-0.001873 max=0.001879 Jy/beam
! Clean residual mean=0.000018 rms=0.000523 Jy/beam
! Combined flux in latest and established models = 0.475777 Jy
! Adding 15 model components to the UV plane model.
! The established model now contains 36 components and 0.475777 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=2.157 mas, bmaj=2.869 mas, bpa=-5.513 degrees
! Estimated noise=592.441 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000123218 Jy
! Component: 100  -  total flux cleaned = 2.37926e-05 Jy
! Component: 150  -  total flux cleaned = -5.29279e-05 Jy
! Component: 200  -  total flux cleaned = -9.25134e-05 Jy
! Total flux subtracted in 200 components = -9.25134e-05 Jy
! Clean residual min=-0.001954 max=0.002312 Jy/beam
! Clean residual mean=0.000068 rms=0.000720 Jy/beam
! Combined flux in latest and established models = 0.475685 Jy
flux_cutoff = imstat(rms) * dynam
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.03  cutoff=0
! Component: 050  -  total flux cleaned = -1.66412e-05 Jy
! Component: 100  -  total flux cleaned = -3.09938e-05 Jy
! Component: 150  -  total flux cleaned = -4.27133e-05 Jy
! Component: 200  -  total flux cleaned = -3.23087e-05 Jy
! Total flux subtracted in 200 components = -3.23087e-05 Jy
! Clean residual min=-0.001929 max=0.002232 Jy/beam
! Clean residual mean=0.000069 rms=0.000705 Jy/beam
! Combined flux in latest and established models = 0.475653 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 46 components and 0.475653 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! Estimated beam: bmin=0.6862 mas, bmaj=1.167 mas, bpa=-15.93 degrees
! Estimated noise=400.843 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00048985 Jy
! Component: 100  -  total flux cleaned = 0.000556686 Jy
! Component: 150  -  total flux cleaned = 0.000650067 Jy
! Component: 200  -  total flux cleaned = 0.000733333 Jy
! Total flux subtracted in 200 components = 0.000733333 Jy
! Clean residual min=-0.001834 max=0.001829 Jy/beam
! Clean residual mean=0.000012 rms=0.000510 Jy/beam
! Combined flux in latest and established models = 0.476386 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 54 components and 0.476386 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227907Jy  sigma=0.001243
! Fit after  self-cal, rms=0.227900Jy  sigma=0.001243
wmodel J0746+2549_X_2003_09_17_pus_map.mod
! Writing 54 model components to file: J0746+2549_X_2003_09_17_pus_map.mod
wobs J0746+2549_X_2003_09_17_pus_uvs.fits
! Writing UV FITS file: J0746+2549_X_2003_09_17_pus_uvs.fits
wwins J0746+2549_X_2003_09_17_pus_map.win
! wwins: Wrote 2 windows to J0746+2549_X_2003_09_17_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000166628 Jy
! Component: 100  -  total flux cleaned = 0.000470043 Jy
! Component: 150  -  total flux cleaned = 0.000845717 Jy
! Component: 200  -  total flux cleaned = 0.00106771 Jy
! Component: 250  -  total flux cleaned = 0.00128403 Jy
! Component: 300  -  total flux cleaned = 0.00149518 Jy
! Component: 350  -  total flux cleaned = 0.00172723 Jy
! Component: 400  -  total flux cleaned = 0.00180271 Jy
! Component: 450  -  total flux cleaned = 0.00187697 Jy
! Component: 500  -  total flux cleaned = 0.00194994 Jy
! Component: 550  -  total flux cleaned = 0.00192609 Jy
! Component: 600  -  total flux cleaned = 0.00192643 Jy
! Component: 650  -  total flux cleaned = 0.00195006 Jy
! Component: 700  -  total flux cleaned = 0.0019502 Jy
! Component: 750  -  total flux cleaned = 0.00197277 Jy
! Component: 800  -  total flux cleaned = 0.00199503 Jy
! Component: 850  -  total flux cleaned = 0.00201695 Jy
! Component: 900  -  total flux cleaned = 0.00199492 Jy
! Component: 950  -  total flux cleaned = 0.00195201 Jy
! Component: 1000  -  total flux cleaned = 0.00199483 Jy
! Total flux subtracted in 1024 components = 0.00203697 Jy
! Clean residual min=-0.001061 max=0.001159 Jy/beam
! Clean residual mean=-0.000015 rms=0.000417 Jy/beam
! Combined flux in latest and established models = 0.478423 Jy
keep
! Adding 80 model components to the UV plane model.
! The established model now contains 134 components and 0.478423 Jy
wmap "J0746+2549_X_2003_09_17_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6862 x 1.167 at -15.93 degrees (North through East)
! Clean map  min=-0.0016739  max=0.43816 Jy/beam
! Writing clean map to FITS file: J0746+2549_X_2003_09_17_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.438163 
invert
! Inverting map 
! Your choice of large map pixels excluded 4.11% of the data.
!  The x-axis pixel size should ideally be below 0.1694 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000418472 
device "J0746+2549_X_2003_09_17_pus\_map.eps/VPS"
! Attempting to open device: 'J0746+2549_X_2003_09_17_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.286518 0.286518 0.573036 1.14607 2.29214 4.58429 9.16857 18.3371 36.6743 73.3486
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.438 
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.6862 x 1.167 at -15.93 degrees (North through East)
! Clean map  min=-0.0016739  max=0.43816 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0746+2549_X_2003_09_17_pus\_map.gif/vgif"
! Attempting to open device: 'J0746+2549_X_2003_09_17_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0746+2549_X_2003_09_17_pus_uvs.log closed on Sun May 13 21:17:37 2007