! Started logfile: /scr/pima/rdv96_uvs/J1303-1051_S_uvs.log on Sat Dec 21 00:24:11 2013 obs /scr/pima/rdv96_uvs/J1303-1051_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1303-1051_S_uva.fits ! AN table 1: 18 integrations on 45 of 45 possible baselines. ! AN table 2: 18 integrations on 28 of 28 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J1303-1051 ! ! 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 5256 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/J1303-1051_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 ! 2:BR self-cal status=correctable weight=1 ! 2:FD self-cal status=correctable weight=1 ! 2:HN self-cal status=correctable weight=1 ! 2:KP self-cal status=correctable weight=1 ! 2:LA self-cal status=correctable weight=1 ! 2:MK self-cal status=correctable weight=1 ! 2:NL self-cal status=correctable weight=1 ! 2:OV 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.045789Jy sigma=4.375728 ! Fit after self-cal, rms=0.689795Jy sigma=2.842572 ! 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=2.991 mas, bmaj=8.227 mas, bpa=-10.8 degrees ! Estimated noise=4.6039 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.241813 Jy ! Component: 100 - total flux cleaned = 0.29492 Jy ! Total flux subtracted in 100 components = 0.29492 Jy ! Clean residual min=-0.008069 max=0.016889 Jy/beam ! Clean residual mean=0.000073 rms=0.002698 Jy/beam ! Combined flux in latest and established models = 0.29492 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 8 components and 0.29492 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.076991Jy sigma=0.323920 ! Fit after self-cal, rms=0.076979Jy sigma=0.323907 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0180938 Jy ! Component: 100 - total flux cleaned = 0.0280458 Jy ! Total flux subtracted in 100 components = 0.0280458 Jy ! Clean residual min=-0.007537 max=0.008283 Jy/beam ! Clean residual mean=0.000045 rms=0.002026 Jy/beam ! Combined flux in latest and established models = 0.322966 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 30 components and 0.322966 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.071865Jy sigma=0.294659 ! Fit after self-cal, rms=0.071850Jy sigma=0.294583 ! 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=3.74 mas, bmaj=9.462 mas, bpa=-8.212 degrees ! Estimated noise=2.39207 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.00948381 Jy ! Component: 100 - total flux cleaned = 0.014525 Jy ! Component: 150 - total flux cleaned = 0.0174669 Jy ! Component: 200 - total flux cleaned = 0.0193541 Jy ! Total flux subtracted in 200 components = 0.0193541 Jy ! Clean residual min=-0.006660 max=0.006493 Jy/beam ! Clean residual mean=0.000025 rms=0.001712 Jy/beam ! Combined flux in latest and established models = 0.34232 Jy ! Performing phase self-cal ! Adding 43 model components to the UV plane model. ! The established model now contains 69 components and 0.34232 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.070922Jy sigma=0.288017 ! Fit after self-cal, rms=0.070918Jy sigma=0.287980 ! 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.99 FD 0.98 HN 1.00 KP 1.01 ! LA 1.17 MK 0.85 NL 1.01 OV 1.01 ! PT 1.06 SC 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.99 FD 0.98 HN 1.05 KP 1.03 ! LA 1.16 MK 0.92 NL 0.99 OV 1.00 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.04 HN 1.06 KP 1.02 ! LA 1.04 MK 1.05 NL 1.06 OV 1.04 ! PT 1.03 SC 1.03 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.03 FD 1.07 HN 1.11 KP 1.01 ! LA 1.07 MK 1.00 NL 1.02 OV 1.04 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.05 HN 1.05 KP 0.88 ! LA 0.98 MK 1.02 NL 1.09 OV 1.04 ! PT 1.06 SC 0.95 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.06 FD 1.06 HN 1.06 KP 0.89 ! LA 0.99 MK 0.98 NL 1.09 OV 1.02 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.02 FD 1.08 HN 0.94 KP 0.83 ! LA 0.81 MK 1.16 NL 1.04 OV 0.87 ! PT 0.93 SC 1.01 ! ! Telescope amplitude corrections in sub-array 2: ! BR 1.00 FD 1.07 HN 0.97 KP 0.84 ! LA 0.82 MK 1.12 NL 1.00 OV 0.86 ! ! ! Fit before self-cal, rms=0.070918Jy sigma=0.287980 ! Fit after self-cal, rms=0.058995Jy sigma=0.226933 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=3.747 mas, bmaj=9.482 mas, bpa=-8.013 degrees ! Estimated noise=2.39358 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 (-6.8, 4.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00242707 Jy ! Component: 100 - total flux cleaned = 0.00251758 Jy ! Component: 150 - total flux cleaned = 0.00229913 Jy ! Component: 200 - total flux cleaned = 0.00211385 Jy ! Total flux subtracted in 200 components = 0.00211385 Jy ! Clean residual min=-0.001913 max=0.001965 Jy/beam ! Clean residual mean=-0.000009 rms=0.000499 Jy/beam ! Combined flux in latest and established models = 0.344434 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 89 components and 0.344434 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058780Jy sigma=0.226053 ! Fit after self-cal, rms=0.058820Jy sigma=0.225905 ! 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.058820Jy sigma=0.225905 ! Fit after self-cal, rms=0.058694Jy sigma=0.225840 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.744 mas, bmaj=9.478 mas, bpa=-8.048 degrees ! Estimated noise=2.39162 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00098997 Jy ! Component: 100 - total flux cleaned = 0.00100593 Jy ! Component: 150 - total flux cleaned = 0.000942673 Jy ! Component: 200 - total flux cleaned = 0.000885948 Jy ! Total flux subtracted in 200 components = 0.000885948 Jy ! Clean residual min=-0.001739 max=0.001832 Jy/beam ! Clean residual mean=-0.000007 rms=0.000460 Jy/beam ! Combined flux in latest and established models = 0.34532 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 107 components and 0.34532 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058641Jy sigma=0.225629 ! Fit after self-cal, rms=0.058634Jy sigma=0.225608 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.000135616 Jy ! Component: 100 - total flux cleaned = 0.000110315 Jy ! Component: 150 - total flux cleaned = 8.72289e-05 Jy ! Component: 200 - total flux cleaned = 8.74473e-05 Jy ! Total flux subtracted in 200 components = 8.74473e-05 Jy ! Clean residual min=-0.001674 max=0.001801 Jy/beam ! Clean residual mean=-0.000007 rms=0.000449 Jy/beam ! Combined flux in latest and established models = 0.345408 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 121 components and 0.345407 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058611Jy sigma=0.225531 ! Fit after self-cal, rms=0.058609Jy sigma=0.225525 ! 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.058609Jy sigma=0.225525 ! Fit after self-cal, rms=0.058547Jy sigma=0.225502 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=3.742 mas, bmaj=9.478 mas, bpa=-8.069 degrees ! Estimated noise=2.3903 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000179988 Jy ! Component: 100 - total flux cleaned = 0.00022538 Jy ! Component: 150 - total flux cleaned = 0.00020475 Jy ! Component: 200 - total flux cleaned = 0.000205184 Jy ! Total flux subtracted in 200 components = 0.000205184 Jy ! Clean residual min=-0.001623 max=0.001843 Jy/beam ! Clean residual mean=-0.000006 rms=0.000437 Jy/beam ! Combined flux in latest and established models = 0.345613 Jy selfcal ! Performing phase self-cal ! Adding 25 model components to the UV plane model. ! The established model now contains 131 components and 0.345613 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058529Jy sigma=0.225442 ! Fit after self-cal, rms=0.058528Jy sigma=0.225437 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 (-74.8, 36). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0010656 Jy ! Component: 100 - total flux cleaned = 0.00119109 Jy ! Component: 150 - total flux cleaned = 0.001292 Jy ! Component: 200 - total flux cleaned = 0.00141016 Jy ! Total flux subtracted in 200 components = 0.00141016 Jy ! Clean residual min=-0.001588 max=0.001696 Jy/beam ! Clean residual mean=-0.000005 rms=0.000412 Jy/beam ! Combined flux in latest and established models = 0.347023 Jy ! Performing phase self-cal ! Adding 26 model components to the UV plane model. ! The established model now contains 157 components and 0.347023 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058463Jy sigma=0.225184 ! Fit after self-cal, rms=0.058460Jy sigma=0.225171 ! 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.058460Jy sigma=0.225171 ! Fit after self-cal, rms=0.058423Jy sigma=0.225153 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.023 mas, bmaj=14.39 mas, bpa=-2.647 degrees ! Estimated noise=2.66243 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000397423 Jy ! Component: 100 - total flux cleaned = 0.000595199 Jy ! Component: 150 - total flux cleaned = 0.000649959 Jy ! Component: 200 - total flux cleaned = 0.00063346 Jy ! Total flux subtracted in 200 components = 0.00063346 Jy ! Clean residual min=-0.001354 max=0.001503 Jy/beam ! Clean residual mean=-0.000008 rms=0.000416 Jy/beam ! Combined flux in latest and established models = 0.347656 Jy selfcal ! Performing phase self-cal ! Adding 39 model components to the UV plane model. ! The established model now contains 189 components and 0.347656 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058413Jy sigma=0.225098 ! Fit after self-cal, rms=0.058413Jy sigma=0.225095 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.000103654 Jy ! Component: 100 - total flux cleaned = 0.000118421 Jy ! Component: 150 - total flux cleaned = 0.000104032 Jy ! Component: 200 - total flux cleaned = 0.000104123 Jy ! Total flux subtracted in 200 components = 0.000104123 Jy ! Clean residual min=-0.001319 max=0.001487 Jy/beam ! Clean residual mean=-0.000008 rms=0.000406 Jy/beam ! Combined flux in latest and established models = 0.34776 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 199 components and 0.34776 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.058407Jy sigma=0.225068 ! Fit after self-cal, rms=0.058408Jy sigma=0.225067 ! 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/J1303-1051_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=3.741 mas, bmaj=9.478 mas, bpa=-8.076 degrees ! Estimated noise=2.38968 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 3.741 x 9.478 at -8.076 degrees (North through East) ! Clean map min=-0.001664 max=0.31439 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1303-1051_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.3143 rms= 0.00039 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1303-1051_S_uvs.log closed on Sat Dec 21 00:24:13 2013