! Started logfile: /scr/pima/rdv96_uvs/J2218-0028_S_uvs.log on Sat Dec 21 00:26:02 2013 obs /scr/pima/rdv96_uvs/J2218-0028_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J2218-0028_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.922222 visibilities/baseline/integration-bin. ! Found source: J2218-0028 ! ! 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 2.23299e+09 8e+06 1 8e+06 ! 02 2 2.26299e+09 8e+06 1 8e+06 ! 03 3 2.35299e+09 8e+06 1 8e+06 ! 04 4 2.37299e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 7304 visibilities. select RR ! 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 = 1024 print "field_cell =",field_cell ! field_cell = 0.4 print "taper_size =",taper_size ! taper_size = 20 ![@/home/lpetrov/bin/rdv_muppet /scr/pima/rdv96_uvs/J2218-0028_S] integer clean_niter clean_niter = 100 float clean_gain clean_gain = 0.03 float dynam dynam = 6.0 float soltime1 soltime1 = 800000 float soltime2 soltime2 = 15 float soltime3 soltime3 = 1 float thresh thresh = 0.5 float win_mult win_mult = 1.8 float old_peak float new_peak float flux_cutoff selfant "",false ! 1:BR self-cal status=correctable weight=1 ! 1:FD self-cal status=correctable weight=1 ! 1:HN self-cal status=correctable weight=1 ! 1:KP self-cal status=correctable weight=1 ! 1:LA self-cal status=correctable weight=1 ! 1:MK self-cal status=correctable weight=1 ! 1:NL self-cal status=correctable weight=1 ! 1:OV self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 1:SC self-cal status=correctable weight=1 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 pixels with 0.400x0.400 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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=1.000362Jy sigma=0.937488 ! Fit after self-cal, rms=0.941054Jy sigma=0.866428 ! clrmod: Cleared the established, tentative and continuum models. ! Redundant starting model cleared. print "=== Flag out IVS stations" ! === Flag out IVS stations integer lun string cfg_file lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_flag_process.csh /tmp/ff.ff" ![@/tmp/ff.ff \] ![Exited script file: /tmp/ff.ff] 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=3.556 mas, bmaj=7.327 mas, bpa=-0.8634 degrees ! Estimated noise=16.4479 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.0494751 Jy ! Component: 100 - total flux cleaned = 0.0634924 Jy ! Total flux subtracted in 100 components = 0.0634924 Jy ! Clean residual min=-0.005014 max=0.009560 Jy/beam ! Clean residual mean=0.000009 rms=0.001639 Jy/beam ! Combined flux in latest and established models = 0.0634924 Jy ! Performing phase self-cal ! Adding 13 model components to the UV plane model. ! The established model now contains 13 components and 0.0634924 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057893Jy sigma=0.052781 ! Fit after self-cal, rms=0.057260Jy sigma=0.052418 ! Inverting map 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 ! Estimated beam: bmin=4.239 mas, bmaj=8.693 mas, bpa=1.03 degrees ! Estimated noise=9.52188 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.0100607 Jy ! Component: 100 - total flux cleaned = 0.015957 Jy ! Component: 150 - total flux cleaned = 0.019673 Jy ! Component: 200 - total flux cleaned = 0.0220163 Jy ! Total flux subtracted in 200 components = 0.0220163 Jy ! Clean residual min=-0.004720 max=0.010729 Jy/beam ! Clean residual mean=0.000030 rms=0.001723 Jy/beam ! Combined flux in latest and established models = 0.0855086 Jy ! Performing phase self-cal ! Adding 32 model components to the UV plane model. ! The established model now contains 43 components and 0.0855086 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056647Jy sigma=0.048971 ! Fit after self-cal, rms=0.056732Jy sigma=0.048950 ! Inverting map ! Added new window around map position (26.8, -24). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0097962 Jy ! Component: 100 - total flux cleaned = 0.0144805 Jy ! Component: 150 - total flux cleaned = 0.0163711 Jy ! Component: 200 - total flux cleaned = 0.0172513 Jy ! Total flux subtracted in 200 components = 0.0172513 Jy ! Clean residual min=-0.003446 max=0.004643 Jy/beam ! Clean residual mean=0.000022 rms=0.001093 Jy/beam ! Combined flux in latest and established models = 0.10276 Jy ! Performing phase self-cal ! Adding 68 model components to the UV plane model. ! The established model now contains 111 components and 0.10276 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.055190Jy sigma=0.047001 ! Fit after self-cal, rms=0.054850Jy sigma=0.046605 ! Inverting map print "=== Finished natural weighting clean for VLBI sites ===" ! === Finished natural weighting clean for VLBI sites === gscale true ! Performing overall amplitude self-cal ! ! Correcting IF 1. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.09 HN 0.99 KP 0.95 ! LA 1.21 MK 0.88 NL 1.00 OV 1.06 ! PT 0.96 SC 0.84 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.04 FD 1.12 HN 1.08 KP 1.04 ! LA 1.08 MK 0.88 NL 1.01 OV 1.03 ! PT 0.95 SC 0.93 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.16 FD 1.08 HN 1.02 KP 0.91 ! LA 0.91 MK 0.96 NL 1.12 OV 1.12 ! PT 1.08 SC 0.91 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.14 HN 0.90 KP 0.80 ! LA 0.83 MK 1.12 NL 1.06 OV 0.96 ! PT 0.91 SC 1.02 ! ! ! Fit before self-cal, rms=0.054850Jy sigma=0.046605 ! Fit after self-cal, rms=0.053842Jy sigma=0.045077 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.183 mas, bmaj=8.615 mas, bpa=1.529 degrees ! Estimated noise=9.4889 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.00193207 Jy ! Component: 100 - total flux cleaned = 0.0022249 Jy ! Component: 150 - total flux cleaned = 0.00237432 Jy ! Component: 200 - total flux cleaned = 0.00243709 Jy ! Total flux subtracted in 200 components = 0.00243709 Jy ! Clean residual min=-0.002261 max=0.003397 Jy/beam ! Clean residual mean=0.000012 rms=0.000701 Jy/beam ! Combined flux in latest and established models = 0.105197 Jy ! Performing phase self-cal ! Adding 54 model components to the UV plane model. ! The established model now contains 164 components and 0.105197 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053453Jy sigma=0.044815 ! Fit after self-cal, rms=0.053476Jy sigma=0.044706 ! Inverting map selfcal true, true, soltime1 ! Performing amp+phase self-cal over 800000 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053476Jy sigma=0.044706 ! Fit after self-cal, rms=0.052804Jy sigma=0.044696 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.162 mas, bmaj=8.576 mas, bpa=1.702 degrees ! Estimated noise=9.40102 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000830474 Jy ! Component: 100 - total flux cleaned = 0.000905283 Jy ! Component: 150 - total flux cleaned = 0.00112833 Jy ! Component: 200 - total flux cleaned = 0.00126766 Jy ! Total flux subtracted in 200 components = 0.00126766 Jy ! Clean residual min=-0.001856 max=0.003295 Jy/beam ! Clean residual mean=0.000009 rms=0.000610 Jy/beam ! Combined flux in latest and established models = 0.106465 Jy selfcal ! Performing phase self-cal ! Adding 54 model components to the UV plane model. ! The established model now contains 197 components and 0.106465 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052612Jy sigma=0.044573 ! Fit after self-cal, rms=0.052600Jy sigma=0.044537 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 new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (6.4, -8.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00185351 Jy ! Component: 100 - total flux cleaned = 0.00193095 Jy ! Component: 150 - total flux cleaned = 0.00199327 Jy ! Component: 200 - total flux cleaned = 0.0021028 Jy ! Total flux subtracted in 200 components = 0.0021028 Jy ! Clean residual min=-0.001648 max=0.002161 Jy/beam ! Clean residual mean=0.000009 rms=0.000510 Jy/beam ! Combined flux in latest and established models = 0.108567 Jy ! Performing phase self-cal ! Adding 39 model components to the UV plane model. ! The established model now contains 229 components and 0.108567 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052382Jy sigma=0.044360 ! Fit after self-cal, rms=0.052376Jy sigma=0.044345 ! Inverting map selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052376Jy sigma=0.044345 ! Fit after self-cal, rms=0.051966Jy sigma=0.044167 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.155 mas, bmaj=8.547 mas, bpa=2.032 degrees ! Estimated noise=9.3663 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00118357 Jy ! Component: 100 - total flux cleaned = 0.00148599 Jy ! Component: 150 - total flux cleaned = 0.00161683 Jy ! Component: 200 - total flux cleaned = 0.0016964 Jy ! Total flux subtracted in 200 components = 0.0016964 Jy ! Clean residual min=-0.001382 max=0.001820 Jy/beam ! Clean residual mean=0.000007 rms=0.000435 Jy/beam ! Combined flux in latest and established models = 0.110264 Jy selfcal ! Performing phase self-cal ! Adding 43 model components to the UV plane model. ! The established model now contains 260 components and 0.110264 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051869Jy sigma=0.044097 ! Fit after self-cal, rms=0.051870Jy sigma=0.044088 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 new_peak = peak(flux) until(new_peak<=flux_cutoff) ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000281728 Jy ! Component: 100 - total flux cleaned = 0.000356017 Jy ! Component: 150 - total flux cleaned = 0.000389426 Jy ! Component: 200 - total flux cleaned = 0.000419723 Jy ! Total flux subtracted in 200 components = 0.000419723 Jy ! Clean residual min=-0.001368 max=0.001709 Jy/beam ! Clean residual mean=0.000005 rms=0.000414 Jy/beam ! Combined flux in latest and established models = 0.110684 Jy ! Performing phase self-cal ! Adding 48 model components to the UV plane model. ! The established model now contains 289 components and 0.110684 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051818Jy sigma=0.044056 ! Fit after self-cal, rms=0.051818Jy sigma=0.044051 ! Inverting map uvtaper 0.3,taper_size ! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths. win_mult = win_mult * 1.2 selfcal true, true, soltime2 ! Performing amp+phase self-cal over 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051818Jy sigma=0.044051 ! Fit after self-cal, rms=0.051680Jy sigma=0.044029 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.455 mas, bmaj=13.08 mas, bpa=-0.3693 degrees ! Estimated noise=9.74291 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000795095 Jy ! Component: 100 - total flux cleaned = 0.00099927 Jy ! Component: 150 - total flux cleaned = 0.00117185 Jy ! Component: 200 - total flux cleaned = 0.00128958 Jy ! Total flux subtracted in 200 components = 0.00128958 Jy ! Clean residual min=-0.001454 max=0.002011 Jy/beam ! Clean residual mean=0.000008 rms=0.000475 Jy/beam ! Combined flux in latest and established models = 0.111973 Jy selfcal ! Performing phase self-cal ! Adding 69 model components to the UV plane model. ! The established model now contains 339 components and 0.111973 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051649Jy sigma=0.044002 ! Fit after self-cal, rms=0.051647Jy sigma=0.043995 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 new_peak = peak(flux) until(new_peak<=flux_cutoff) ! Added new window around map position (42, -4.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00164976 Jy ! Component: 100 - total flux cleaned = 0.00204609 Jy ! Component: 150 - total flux cleaned = 0.00230104 Jy ! Component: 200 - total flux cleaned = 0.0025214 Jy ! Total flux subtracted in 200 components = 0.0025214 Jy ! Clean residual min=-0.001262 max=0.001423 Jy/beam ! Clean residual mean=0.000006 rms=0.000405 Jy/beam ! Combined flux in latest and established models = 0.114495 Jy ! Performing phase self-cal ! Adding 51 model components to the UV plane model. ! The established model now contains 388 components and 0.114495 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051612Jy sigma=0.043941 ! Fit after self-cal, rms=0.051617Jy sigma=0.043936 ! Inverting map uvtaper 0,0 ! No UV-taper is currently set. win_mult = win_mult / 1.2 print "=== Finished amplitude self-cal for VLBA stations ===" ! === Finished amplitude self-cal for VLBA stations === unflag * ! Unflagging all baselines in the currently selected channels. uncalib false, false, true ! uncal: All telescope correction flags have been un-done. integer lun lun = outfile ( "/tmp/ff.ff" ) do i=1,nsub do j=1,ntel(i) fprintf lun, "%s\n", telname(j,i) end do end do close ( lun ) system "/home/lpetrov/bin/dimap_selfant_process.csh /tmp/ff.ff" ![@/tmp/ff.ff] 1:BR ! Syntax error in line: ! 1:BR ! ^ ! Found constant: 1.000 ! Where a command or assignment expression was expected. ![Exited script file: /tmp/ff.ff] ![Exited script file: /home/lpetrov/bin/rdv_muppet] ! wmap "/scr/pima/rdv96_uvs/J2218-0028_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=4.156 mas, bmaj=8.547 mas, bpa=2.167 degrees ! Estimated noise=9.3495 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.156 x 8.547 at 2.167 degrees (North through East) ! Clean map min=-0.001232 max=0.057458 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J2218-0028_S_map.fits float peak_flux peak_flux = peak(flux,max) invert ! Inverting map float image_peak image_peak = int(10000*peak_flux)/10000 float image_rms image_rms = int(100000*imstat(rms))/100000 print "=========================================" ! ========================================= print "The image peak= ", image_peak, " rms= ", image_rms, " Jy" ! The image peak= 0.0574 rms= 0.00034 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J2218-0028_S_uvs.log closed on Sat Dec 21 00:26:04 2013