! Started logfile: J0921-2618_X_2001_07_05_pus_uvs.log on Wed Jul  4 20:21:00 2007
obs J0921-2618_X_2001_07_05_pus_uva.fits
! Reading UV FITS file: J0921-2618_X_2001_07_05_pus_uva.fits
! AN table 1: 23 integrations on 171 of 171 possible baselines.
! AN table 2: 22 integrations on 171 of 171 possible baselines.
! AN table 3: 72 integrations on 171 of 171 possible baselines.
! AN table 4: 29 integrations on 171 of 171 possible baselines.
! AN table 5: 38 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0730359 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0921-2618
! 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 2370 lines of history.
! 
! Reading 9192 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
print "field_size =",field_size
! field_size = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",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 404 telescope corrections were flagged in sub-array 1.
!  A total of 391 telescope corrections were flagged in sub-array 2.
!  A total of 1118 telescope corrections were flagged in sub-array 3.
!  A total of 347 telescope corrections were flagged in sub-array 4.
!  A total of 450 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 404 telescope corrections were flagged in sub-array 1.
!  A total of 391 telescope corrections were flagged in sub-array 2.
!  A total of 1118 telescope corrections were flagged in sub-array 3.
!  A total of 347 telescope corrections were flagged in sub-array 4.
!  A total of 450 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 404 telescope corrections were flagged in sub-array 1.
!  A total of 391 telescope corrections were flagged in sub-array 2.
!  A total of 1118 telescope corrections were flagged in sub-array 3.
!  A total of 347 telescope corrections were flagged in sub-array 4.
!  A total of 450 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 404 telescope corrections were flagged in sub-array 1.
!  A total of 391 telescope corrections were flagged in sub-array 2.
!  A total of 1118 telescope corrections were flagged in sub-array 3.
!  A total of 347 telescope corrections were flagged in sub-array 4.
!  A total of 450 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=0.756759Jy  sigma=0.005454
! Fit after  self-cal, rms=0.451410Jy  sigma=0.003388
! 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 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.631 mas, bmaj=1.38 mas, bpa=-0.5288 degrees
! Estimated noise=1562.71 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.870273 Jy
! Component: 100  -  total flux cleaned = 1.16622 Jy
! Total flux subtracted in 100 components = 1.16622 Jy
! Clean residual min=-0.043161 max=0.138275 Jy/beam
! Clean residual mean=0.001811 rms=0.017087 Jy/beam
! Combined flux in latest and established models = 1.16622 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 1.16622 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.332295Jy  sigma=0.002483
! Fit after  self-cal, rms=0.332296Jy  sigma=0.002482
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.156611 Jy
! Component: 100  -  total flux cleaned = 0.241414 Jy
! Total flux subtracted in 100 components = 0.241414 Jy
! Clean residual min=-0.025446 max=0.041704 Jy/beam
! Clean residual mean=0.000514 rms=0.007985 Jy/beam
! Combined flux in latest and established models = 1.40763 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 15 components and 1.40763 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.240869Jy  sigma=0.001596
! Fit after  self-cal, rms=0.240976Jy  sigma=0.001596
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1966 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 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.7572 mas, bmaj=1.508 mas, bpa=-3.661 degrees
! Estimated noise=1025.83 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.0568546 Jy
! Component: 100  -  total flux cleaned = 0.0819086 Jy
! Component: 150  -  total flux cleaned = 0.0894146 Jy
! Component: 200  -  total flux cleaned = 0.0894108 Jy
! Total flux subtracted in 200 components = 0.0894108 Jy
! Clean residual min=-0.021469 max=0.035754 Jy/beam
! Clean residual mean=0.000054 rms=0.007234 Jy/beam
! Combined flux in latest and established models = 1.49704 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 21 components and 1.49704 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.229706Jy  sigma=0.001470
! Fit after  self-cal, rms=0.229790Jy  sigma=0.001470
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 102 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        0.87     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MC        1.32     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        0.98     
!   TS        1.00*    WF        1.04     WZ        1.01     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.95     FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.06     KK        1.00     KP        0.94     
!   LA        0.95     MC        1.00*    MK        0.95     NL        1.03     
!   NY        1.00*    OV        0.97     PT        0.97     SC        0.98     
!   TS        1.00*    WF        1.04     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.99     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.97     KK        0.93     KP        0.97     
!   LA        0.98     MC        1.00*    MK        0.95     NL        1.13     
!   NY        1.00*    OV        1.00     PT        0.99     SC        0.96     
!   TS        1.00*    WF        1.00     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 102 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        0.99     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MC        1.20     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        0.96     
!   TS        1.00*    WF        1.02     WZ        1.12     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.96     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.07     KK        0.99     KP        0.94     
!   LA        0.94     MC        1.00*    MK        0.97     NL        1.00     
!   NY        1.00*    OV        0.97     PT        0.94     SC        0.95     
!   TS        1.00*    WF        1.03     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.01     FD        1.00     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.97     KK        0.91     KP        1.01     
!   LA        0.98     MC        1.00*    MK        0.97     NL        1.10     
!   NY        1.00*    OV        1.00     PT        0.96     SC        0.92     
!   TS        1.00*    WF        1.02     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 102 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.03     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MC        1.33     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        1.03     
!   TS        1.00*    WF        0.94     WZ        1.05     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.99     FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.07     KK        0.98     KP        0.98     
!   LA        0.97     MC        1.00*    MK        0.99     NL        1.05     
!   NY        1.00*    OV        1.01     PT        0.97     SC        0.96     
!   TS        1.00*    WF        1.03     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.03     FD        0.98     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.99     KK        0.92     KP        1.06     
!   LA        1.01     MC        1.00*    MK        0.99     NL        1.14     
!   NY        1.00*    OV        1.05     PT        0.99     SC        0.94     
!   TS        1.00*    WF        1.00     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 102 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.14     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MC        1.38     MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    SC        0.98     
!   TS        1.00*    WF        0.97     WZ        1.03     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.93     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.12     KK        0.98     KP        0.97     
!   LA        0.95     MC        1.00*    MK        1.01     NL        1.06     
!   NY        1.00*    OV        1.00     PT        0.96     SC        1.02     
!   TS        1.00*    WF        1.05     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.05     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.01     KK        0.93     KP        1.02     
!   LA        0.98     MC        1.00*    MK        1.02     NL        1.17     
!   NY        1.00*    OV        1.03     PT        1.00     SC        0.98     
!   TS        1.00*    WF        0.98     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.229790Jy  sigma=0.001470
! Fit after  self-cal, rms=0.204843Jy  sigma=0.001259
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.784 mas, bmaj=1.783 mas, bpa=-6.446 degrees
! Estimated noise=1041.47 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 (-1.2, 0.2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0191899 Jy
! Component: 100  -  total flux cleaned = 0.0236935 Jy
! Component: 150  -  total flux cleaned = 0.0245526 Jy
! Component: 200  -  total flux cleaned = 0.0250222 Jy
! Total flux subtracted in 200 components = 0.0250222 Jy
! Clean residual min=-0.009459 max=0.012922 Jy/beam
! Clean residual mean=0.000917 rms=0.002934 Jy/beam
! Combined flux in latest and established models = 1.52206 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 36 components and 1.52206 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.202588Jy  sigma=0.001241
! Fit after  self-cal, rms=0.202047Jy  sigma=0.001239
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 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.202047Jy  sigma=0.001239
! Fit after  self-cal, rms=0.199010Jy  sigma=0.001220
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.7839 mas, bmaj=1.775 mas, bpa=-6.4 degrees
! Estimated noise=1042.07 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0114633 Jy
! Component: 100  -  total flux cleaned = 0.0135737 Jy
! Component: 150  -  total flux cleaned = 0.0137964 Jy
! Component: 200  -  total flux cleaned = 0.0138091 Jy
! Total flux subtracted in 200 components = 0.0138091 Jy
! Clean residual min=-0.007603 max=0.008853 Jy/beam
! Clean residual mean=0.000496 rms=0.001909 Jy/beam
! Combined flux in latest and established models = 1.53587 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 42 components and 1.53587 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.198072Jy  sigma=0.001213
! Fit after  self-cal, rms=0.197876Jy  sigma=0.001212
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 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)
! Added new window around map position (-6.4, 0.2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00865438 Jy
! Component: 100  -  total flux cleaned = 0.0118323 Jy
! Component: 150  -  total flux cleaned = 0.0121427 Jy
! Component: 200  -  total flux cleaned = 0.0124174 Jy
! Total flux subtracted in 200 components = 0.0124174 Jy
! Clean residual min=-0.007302 max=0.005700 Jy/beam
! Clean residual mean=-0.000031 rms=0.001627 Jy/beam
! Combined flux in latest and established models = 1.54829 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 57 components and 1.54829 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197357Jy  sigma=0.001209
! Fit after  self-cal, rms=0.197301Jy  sigma=0.001208
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 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.197301Jy  sigma=0.001208
! Fit after  self-cal, rms=0.196779Jy  sigma=0.001207
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.7843 mas, bmaj=1.773 mas, bpa=-6.348 degrees
! Estimated noise=1042.71 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00581892 Jy
! Component: 100  -  total flux cleaned = 0.00802582 Jy
! Component: 150  -  total flux cleaned = 0.00866456 Jy
! Component: 200  -  total flux cleaned = 0.00912313 Jy
! Total flux subtracted in 200 components = 0.00912313 Jy
! Clean residual min=-0.005925 max=0.005226 Jy/beam
! Clean residual mean=0.000029 rms=0.001416 Jy/beam
! Combined flux in latest and established models = 1.55741 Jy
selfcal
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 64 components and 1.55741 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196470Jy  sigma=0.001205
! Fit after  self-cal, rms=0.196411Jy  sigma=0.001204
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 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 = 0.00136554 Jy
! Component: 100  -  total flux cleaned = 0.0017907 Jy
! Component: 150  -  total flux cleaned = 0.0018871 Jy
! Component: 200  -  total flux cleaned = 0.00188715 Jy
! Total flux subtracted in 200 components = 0.00188715 Jy
! Clean residual min=-0.005984 max=0.004837 Jy/beam
! Clean residual mean=-0.000058 rms=0.001388 Jy/beam
! Combined flux in latest and established models = 1.5593 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 73 components and 1.5593 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196261Jy  sigma=0.001204
! Fit after  self-cal, rms=0.196250Jy  sigma=0.001204
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 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.196250Jy  sigma=0.001204
! Fit after  self-cal, rms=0.196124Jy  sigma=0.001203
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=2.197 mas, bmaj=4.627 mas, bpa=-1.48 degrees
! Estimated noise=1339.35 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00504246 Jy
! Component: 100  -  total flux cleaned = 0.00530434 Jy
! Component: 150  -  total flux cleaned = 0.00505264 Jy
! Component: 200  -  total flux cleaned = 0.0049177 Jy
! Total flux subtracted in 200 components = 0.0049177 Jy
! Clean residual min=-0.004644 max=0.005156 Jy/beam
! Clean residual mean=-0.000161 rms=0.001437 Jy/beam
! Combined flux in latest and established models = 1.56422 Jy
selfcal
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 79 components and 1.56422 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196113Jy  sigma=0.001203
! Fit after  self-cal, rms=0.196087Jy  sigma=0.001203
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 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 = 0.00105211 Jy
! Component: 100  -  total flux cleaned = 0.000978165 Jy
! Component: 150  -  total flux cleaned = 0.000854905 Jy
! Component: 200  -  total flux cleaned = 0.000693249 Jy
! Total flux subtracted in 200 components = 0.000693249 Jy
! Clean residual min=-0.004734 max=0.004831 Jy/beam
! Clean residual mean=-0.000236 rms=0.001426 Jy/beam
! Combined flux in latest and established models = 1.56491 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 85 components and 1.56491 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196111Jy  sigma=0.001203
! Fit after  self-cal, rms=0.196100Jy  sigma=0.001203
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 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 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.7844 mas, bmaj=1.772 mas, bpa=-6.313 degrees
! Estimated noise=1042.89 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7844 x 1.772 at -6.313 degrees (North through East)
! Clean map  min=-0.0078551  max=1.1984 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
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196100Jy  sigma=0.001203
! Fit after  self-cal, rms=0.182589Jy  sigma=0.001086
! Inverting map and beam 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.7852 mas, bmaj=1.769 mas, bpa=-6.299 degrees
! Estimated noise=1043.06 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00255119 Jy
! Component: 100  -  total flux cleaned = 0.0023491 Jy
! Component: 150  -  total flux cleaned = 0.00216467 Jy
! Component: 200  -  total flux cleaned = 0.00200255 Jy
! Total flux subtracted in 200 components = 0.00200255 Jy
! Clean residual min=-0.004569 max=0.004819 Jy/beam
! Clean residual mean=0.000031 rms=0.001195 Jy/beam
! Combined flux in latest and established models = 1.56691 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 89 components and 1.56691 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.182434Jy  sigma=0.001086
! Fit after  self-cal, rms=0.182421Jy  sigma=0.001086
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000501304 Jy
! Component: 100  -  total flux cleaned = 0.000498988 Jy
! Component: 150  -  total flux cleaned = 0.00049802 Jy
! Component: 200  -  total flux cleaned = 0.000497818 Jy
! Total flux subtracted in 200 components = 0.000497818 Jy
! Clean residual min=-0.004554 max=0.004403 Jy/beam
! Clean residual mean=0.000006 rms=0.001178 Jy/beam
! Combined flux in latest and established models = 1.56741 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 94 components and 1.56741 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.182330Jy  sigma=0.001085
! Fit after  self-cal, rms=0.182326Jy  sigma=0.001085
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.182326Jy  sigma=0.001085
! Fit after  self-cal, rms=0.182315Jy  sigma=0.001085
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 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.6466 mas, bmaj=1.519 mas, bpa=-2.461 degrees
! Estimated noise=1561.57 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.878001 Jy
! Component: 100  -  total flux cleaned = 1.1721 Jy
! Component: 150  -  total flux cleaned = 1.3239 Jy
! Component: 200  -  total flux cleaned = 1.40372 Jy
! Total flux subtracted in 200 components = 1.40372 Jy
! Clean residual min=-0.017232 max=0.038498 Jy/beam
! Clean residual mean=0.000989 rms=0.005955 Jy/beam
! Combined flux in latest and established models = 1.40372 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 1.40372 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.7852 mas, bmaj=1.77 mas, bpa=-6.301 degrees
! Estimated noise=1042.96 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.0638911 Jy
! Component: 100  -  total flux cleaned = 0.0998674 Jy
! Component: 150  -  total flux cleaned = 0.121543 Jy
! Component: 200  -  total flux cleaned = 0.13568 Jy
! Total flux subtracted in 200 components = 0.13568 Jy
! Clean residual min=-0.005207 max=0.008931 Jy/beam
! Clean residual mean=0.001286 rms=0.002051 Jy/beam
! Combined flux in latest and established models = 1.5394 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 27 components and 1.5394 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Added new window around map position (-4.6, 3.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0105588 Jy
! Component: 100  -  total flux cleaned = 0.0184355 Jy
! Component: 150  -  total flux cleaned = 0.0237646 Jy
! Component: 200  -  total flux cleaned = 0.0261385 Jy
! Total flux subtracted in 200 components = 0.0261385 Jy
! Clean residual min=-0.004727 max=0.004963 Jy/beam
! Clean residual mean=0.000146 rms=0.001360 Jy/beam
! Combined flux in latest and established models = 1.56554 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 39 components and 1.56554 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 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 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=2.195 mas, bmaj=4.622 mas, bpa=-1.452 degrees
! Estimated noise=1340.06 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00502275 Jy
! Component: 100  -  total flux cleaned = 0.00600323 Jy
! Component: 150  -  total flux cleaned = 0.00640174 Jy
! Component: 200  -  total flux cleaned = 0.00640301 Jy
! Total flux subtracted in 200 components = 0.00640301 Jy
! Clean residual min=-0.003837 max=0.003480 Jy/beam
! Clean residual mean=-0.000315 rms=0.001246 Jy/beam
! Combined flux in latest and established models = 1.57194 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 = 3.22675e-06 Jy
! Component: 100  -  total flux cleaned = 6.35862e-06 Jy
! Component: 150  -  total flux cleaned = -5.92633e-05 Jy
! Component: 200  -  total flux cleaned = -5.90643e-05 Jy
! Total flux subtracted in 200 components = -5.90643e-05 Jy
! Clean residual min=-0.003705 max=0.003293 Jy/beam
! Clean residual mean=-0.000309 rms=0.001167 Jy/beam
! Combined flux in latest and established models = 1.57189 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 57 components and 1.57189 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! Estimated beam: bmin=0.7852 mas, bmaj=1.77 mas, bpa=-6.301 degrees
! Estimated noise=1042.96 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000966279 Jy
! Component: 100  -  total flux cleaned = 0.000698835 Jy
! Component: 150  -  total flux cleaned = 0.000816839 Jy
! Component: 200  -  total flux cleaned = 0.000699405 Jy
! Total flux subtracted in 200 components = 0.000699405 Jy
! Clean residual min=-0.004420 max=0.004234 Jy/beam
! Clean residual mean=-0.000160 rms=0.001177 Jy/beam
! Combined flux in latest and established models = 1.57258 Jy
selfcal
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 68 components and 1.57258 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.182256Jy  sigma=0.001086
! Fit after  self-cal, rms=0.182214Jy  sigma=0.001085
wmodel J0921-2618_X_2001_07_05_pus_map.mod
! Writing 68 model components to file: J0921-2618_X_2001_07_05_pus_map.mod
wobs J0921-2618_X_2001_07_05_pus_uvs.fits
! Writing UV FITS file: J0921-2618_X_2001_07_05_pus_uvs.fits
wwins J0921-2618_X_2001_07_05_pus_map.win
! wwins: Wrote 4 windows to J0921-2618_X_2001_07_05_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 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.00120201 Jy
! Component: 100  -  total flux cleaned = -0.00198703 Jy
! Component: 150  -  total flux cleaned = -0.0027965 Jy
! Component: 200  -  total flux cleaned = -0.00331279 Jy
! Component: 250  -  total flux cleaned = -0.00343724 Jy
! Component: 300  -  total flux cleaned = -0.00355761 Jy
! Component: 350  -  total flux cleaned = -0.00361598 Jy
! Component: 400  -  total flux cleaned = -0.00361665 Jy
! Component: 450  -  total flux cleaned = -0.00367162 Jy
! Component: 500  -  total flux cleaned = -0.00372584 Jy
! Component: 550  -  total flux cleaned = -0.0038835 Jy
! Component: 600  -  total flux cleaned = -0.00393541 Jy
! Component: 650  -  total flux cleaned = -0.00398627 Jy
! Component: 700  -  total flux cleaned = -0.00403514 Jy
! Component: 750  -  total flux cleaned = -0.00398555 Jy
! Component: 800  -  total flux cleaned = -0.0039376 Jy
! Component: 850  -  total flux cleaned = -0.00398486 Jy
! Component: 900  -  total flux cleaned = -0.00403093 Jy
! Component: 950  -  total flux cleaned = -0.00398512 Jy
! Component: 1000  -  total flux cleaned = -0.00398534 Jy
! Total flux subtracted in 1024 components = -0.00398538 Jy
! Clean residual min=-0.002996 max=0.003294 Jy/beam
! Clean residual mean=-0.000006 rms=0.000876 Jy/beam
! Combined flux in latest and established models = 1.5686 Jy
keep
! Adding 67 model components to the UV plane model.
! The established model now contains 135 components and 1.5686 Jy
wmap "J0921-2618_X_2001_07_05_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7852 x 1.77 at -6.301 degrees (North through East)
! Clean map  min=-0.0051076  max=1.1945 Jy/beam
! Writing clean map to FITS file: J0921-2618_X_2001_07_05_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.19445 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.946% of the data.
!  The x-axis pixel size should ideally be below 0.1966 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000873973 
device "J0921-2618_X_2001_07_05_pus\_map.eps/VPS"
! Attempting to open device: 'J0921-2618_X_2001_07_05_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.219508 0.219508 0.439016 0.878032 1.75606 3.51213 7.02426 14.0485 28.097 56.1941
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0026 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.194 
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.7852 x 1.77 at -6.301 degrees (North through East)
! Clean map  min=-0.0051076  max=1.1945 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0921-2618_X_2001_07_05_pus\_map.gif/vgif"
! Attempting to open device: 'J0921-2618_X_2001_07_05_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0921-2618_X_2001_07_05_pus_uvs.log closed on Wed Jul  4 20:21:50 2007