! Started logfile: /scr/pima/rdv96_uvs/J1819-0258_S_uvs.log on Sat Dec 21 00:25:23 2013 obs /scr/pima/rdv96_uvs/J1819-0258_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1819-0258_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.933333 visibilities/baseline/integration-bin. ! Found source: J1819-0258 ! ! 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 7392 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/J1819-0258_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.238460Jy sigma=16.216968 ! Fit after self-cal, rms=0.681093Jy sigma=4.945394 ! 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=4.992 mas, bmaj=9.157 mas, bpa=2.911 degrees ! Estimated noise=1.97626 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.708736 Jy ! Component: 100 - total flux cleaned = 0.974637 Jy ! Total flux subtracted in 100 components = 0.974637 Jy ! Clean residual min=-0.097095 max=0.195326 Jy/beam ! Clean residual mean=-0.001685 rms=0.037941 Jy/beam ! Combined flux in latest and established models = 0.974637 Jy ! Performing phase self-cal ! Adding 24 model components to the UV plane model. ! The established model now contains 24 components and 0.974637 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.417974Jy sigma=4.952199 ! Fit after self-cal, rms=0.418581Jy sigma=4.951638 ! 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=6.008 mas, bmaj=10.58 mas, bpa=2.627 degrees ! Estimated noise=0.966215 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.13235 Jy ! Component: 100 - total flux cleaned = 0.197255 Jy ! Component: 150 - total flux cleaned = 0.234939 Jy ! Component: 200 - total flux cleaned = 0.259103 Jy ! Total flux subtracted in 200 components = 0.259103 Jy ! Clean residual min=-0.073273 max=0.184939 Jy/beam ! Clean residual mean=-0.000565 rms=0.032496 Jy/beam ! Combined flux in latest and established models = 1.23374 Jy ! Performing phase self-cal ! Adding 66 model components to the UV plane model. ! The established model now contains 86 components and 1.23374 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.434043Jy sigma=3.907445 ! Fit after self-cal, rms=0.434156Jy sigma=3.907004 ! Inverting map ! Added new window around map position (15.2, -3.2). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.156414 Jy ! Component: 100 - total flux cleaned = 0.209828 Jy ! Component: 150 - total flux cleaned = 0.227907 Jy ! Component: 200 - total flux cleaned = 0.235574 Jy ! Total flux subtracted in 200 components = 0.235574 Jy ! Clean residual min=-0.063506 max=0.195617 Jy/beam ! Clean residual mean=-0.000427 rms=0.025114 Jy/beam ! Combined flux in latest and established models = 1.46931 Jy ! Performing phase self-cal ! Adding 48 model components to the UV plane model. ! The established model now contains 134 components and 1.46931 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.363753Jy sigma=3.302442 ! Fit after self-cal, rms=0.335630Jy sigma=2.926563 ! 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.97 FD 0.96 HN 0.95 KP 1.04 ! LA 1.10 MK 1.13 NL 1.02 OV 1.00 ! PT 0.98 SC 1.19 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.04 HN 1.01 KP 1.04 ! LA 1.00 MK 1.22 NL 1.08 OV 0.95 ! PT 0.98 SC 1.27 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.03 FD 1.06 HN 0.98 KP 0.95 ! LA 0.93 MK 0.97 NL 1.13 OV 1.05 ! PT 0.99 SC 1.13 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 1.06 HN 0.88 KP 0.87 ! LA 0.80 MK 1.05 NL 1.07 OV 0.92 ! PT 0.89 SC 1.19 ! ! ! Fit before self-cal, rms=0.335630Jy sigma=2.926563 ! Fit after self-cal, rms=0.325078Jy sigma=2.275445 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=6.153 mas, bmaj=10.9 mas, bpa=1.165 degrees ! Estimated noise=0.944503 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.0264022 Jy ! Component: 100 - total flux cleaned = 0.0285582 Jy ! Component: 150 - total flux cleaned = 0.0269042 Jy ! Component: 200 - total flux cleaned = 0.0244251 Jy ! Total flux subtracted in 200 components = 0.0244251 Jy ! Clean residual min=-0.052019 max=0.118984 Jy/beam ! Clean residual mean=-0.000342 rms=0.016497 Jy/beam ! Combined flux in latest and established models = 1.49374 Jy ! Performing phase self-cal ! Adding 49 model components to the UV plane model. ! The established model now contains 181 components and 1.49374 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.270467Jy sigma=2.081445 ! Fit after self-cal, rms=0.250818Jy sigma=1.824529 ! 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.250818Jy sigma=1.824529 ! Fit after self-cal, rms=0.246991Jy sigma=1.788826 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=6.133 mas, bmaj=10.86 mas, bpa=0.9985 degrees ! Estimated noise=0.920943 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0131026 Jy ! Component: 100 - total flux cleaned = 0.0149697 Jy ! Component: 150 - total flux cleaned = 0.0173906 Jy ! Component: 200 - total flux cleaned = 0.0173718 Jy ! Total flux subtracted in 200 components = 0.0173718 Jy ! Clean residual min=-0.041505 max=0.081957 Jy/beam ! Clean residual mean=-0.000240 rms=0.012337 Jy/beam ! Combined flux in latest and established models = 1.51111 Jy selfcal ! Performing phase self-cal ! Adding 48 model components to the UV plane model. ! The established model now contains 206 components and 1.51111 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.208277Jy sigma=1.653319 ! Fit after self-cal, rms=0.194141Jy sigma=1.459425 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.0242015 Jy ! Component: 100 - total flux cleaned = 0.0279757 Jy ! Component: 150 - total flux cleaned = 0.0279775 Jy ! Component: 200 - total flux cleaned = 0.0252026 Jy ! Total flux subtracted in 200 components = 0.0252026 Jy ! Clean residual min=-0.034667 max=0.055861 Jy/beam ! Clean residual mean=-0.000169 rms=0.009617 Jy/beam ! Combined flux in latest and established models = 1.53631 Jy ! Performing phase self-cal ! Adding 59 model components to the UV plane model. ! The established model now contains 240 components and 1.53631 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.168433Jy sigma=1.357366 ! Fit after self-cal, rms=0.158697Jy sigma=1.227237 ! 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.158697Jy sigma=1.227237 ! Fit after self-cal, rms=0.155706Jy sigma=1.160224 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=6.111 mas, bmaj=10.85 mas, bpa=1.07 degrees ! Estimated noise=0.910668 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00538433 Jy ! Component: 100 - total flux cleaned = 0.00732488 Jy ! Component: 150 - total flux cleaned = 0.00796253 Jy ! Component: 200 - total flux cleaned = 0.00802394 Jy ! Total flux subtracted in 200 components = 0.00802394 Jy ! Clean residual min=-0.027498 max=0.040161 Jy/beam ! Clean residual mean=-0.000105 rms=0.007252 Jy/beam ! Combined flux in latest and established models = 1.54434 Jy selfcal ! Performing phase self-cal ! Adding 55 model components to the UV plane model. ! The established model now contains 263 components and 1.54434 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.135995Jy sigma=1.094422 ! Fit after self-cal, rms=0.129238Jy sigma=0.996005 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.00969273 Jy ! Component: 100 - total flux cleaned = 0.0104705 Jy ! Component: 150 - total flux cleaned = 0.0105621 Jy ! Component: 200 - total flux cleaned = 0.00934469 Jy ! Total flux subtracted in 200 components = 0.00934469 Jy ! Clean residual min=-0.023428 max=0.027603 Jy/beam ! Clean residual mean=-0.000072 rms=0.005797 Jy/beam ! Combined flux in latest and established models = 1.55368 Jy ! Performing phase self-cal ! Adding 52 model components to the UV plane model. ! The established model now contains 287 components and 1.55368 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.115997Jy sigma=0.950410 ! Fit after self-cal, rms=0.111663Jy sigma=0.888240 ! 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.111663Jy sigma=0.888240 ! Fit after self-cal, rms=0.110539Jy sigma=0.876098 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=9.511 mas, bmaj=13.7 mas, bpa=0.7974 degrees ! Estimated noise=0.76775 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00263722 Jy ! Component: 100 - total flux cleaned = 0.0031329 Jy ! Component: 150 - total flux cleaned = 0.0032326 Jy ! Component: 200 - total flux cleaned = 0.00149254 Jy ! Total flux subtracted in 200 components = 0.00149254 Jy ! Clean residual min=-0.020893 max=0.026012 Jy/beam ! Clean residual mean=-0.000085 rms=0.005286 Jy/beam ! Combined flux in latest and established models = 1.55517 Jy selfcal ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 308 components and 1.55517 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.100948Jy sigma=0.845547 ! Fit after self-cal, rms=0.097199Jy sigma=0.792688 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.00461914 Jy ! Component: 100 - total flux cleaned = 0.00505339 Jy ! Component: 150 - total flux cleaned = 0.00443795 Jy ! Component: 200 - total flux cleaned = 0.00350663 Jy ! Total flux subtracted in 200 components = 0.00350663 Jy ! Clean residual min=-0.016885 max=0.018025 Jy/beam ! Clean residual mean=-0.000056 rms=0.004209 Jy/beam ! Combined flux in latest and established models = 1.55868 Jy ! Performing phase self-cal ! Adding 49 model components to the UV plane model. ! The established model now contains 325 components and 1.55868 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.092001Jy sigma=0.774130 ! Fit after self-cal, rms=0.089795Jy sigma=0.742639 ! 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/J1819-0258_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=6.111 mas, bmaj=10.84 mas, bpa=1.293 degrees ! Estimated noise=0.906075 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 6.111 x 10.84 at 1.293 degrees (North through East) ! Clean map min=-0.013719 max=0.64983 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1819-0258_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.6498 rms= 0.00326 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1819-0258_S_uvs.log closed on Sat Dec 21 00:25:25 2013