! Started logfile: /d2/scr/pima/rdv96_uvs/J1606+5405_X_uvs.log on Fri Dec 20 23:45:49 2013 obs /d2/scr/pima/rdv96_uvs/J1606+5405_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J1606+5405_X_uva.fits ! AN table 1: 22 integrations on 28 of 28 possible baselines. ! AN table 2: 22 integrations on 21 of 21 possible baselines. ! Apparent sampling: 0.714286 visibilities/baseline/integration-bin. ! Found source: J1606+5405 ! ! 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.40599e+09 8e+06 1 8e+06 ! 02 2 8.47599e+09 8e+06 1 8e+06 ! 03 3 8.79099e+09 8e+06 1 8e+06 ! 04 4 8.89599e+09 8e+06 1 8e+06 ! ! Polarization(s): RR ! ! Read 0 lines of history. ! ! Reading 3080 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.2 print "taper_size =",taper_size ! taper_size = 70 ![@/home/lpetrov/bin/rdv_muppet /d2/scr/pima/rdv96_uvs/J1606+5405_X] 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:NL self-cal status=correctable weight=1 ! 1:OV self-cal status=correctable weight=1 ! 1:PT self-cal status=correctable weight=1 ! 2:BR self-cal status=correctable weight=1 ! 2:FD self-cal status=correctable weight=1 ! 2:KP self-cal status=correctable weight=1 ! 2:LA self-cal status=correctable weight=1 ! 2:NL self-cal status=correctable weight=1 ! 2:OV self-cal status=correctable weight=1 ! 2:PT self-cal status=correctable weight=1 system "rm /tmp/ff.ff" mapsize field_size, field_cell ! Map grid = 1024x1024 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. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=1.002008Jy sigma=0.551001 ! Fit after self-cal, rms=0.967017Jy sigma=0.527962 ! 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=1.32 mas, bmaj=3.907 mas, bpa=-72.17 degrees ! Estimated noise=46.6547 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.0285461 Jy ! Component: 100 - total flux cleaned = 0.0362775 Jy ! Total flux subtracted in 100 components = 0.0362775 Jy ! Clean residual min=-0.006813 max=0.007968 Jy/beam ! Clean residual mean=0.000032 rms=0.001712 Jy/beam ! Combined flux in latest and established models = 0.0362775 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.0362775 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.047869Jy sigma=0.024975 ! Fit after self-cal, rms=0.045301Jy sigma=0.023764 ! 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=1.807 mas, bmaj=3.889 mas, bpa=-71.09 degrees ! Estimated noise=24.152 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 (-5.2, 2.8). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00854263 Jy ! Component: 100 - total flux cleaned = 0.012894 Jy ! Component: 150 - total flux cleaned = 0.0148412 Jy ! Component: 200 - total flux cleaned = 0.0150196 Jy ! Total flux subtracted in 200 components = 0.0150196 Jy ! Clean residual min=-0.003762 max=0.003383 Jy/beam ! Clean residual mean=0.000025 rms=0.000870 Jy/beam ! Combined flux in latest and established models = 0.0512971 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 35 components and 0.0512971 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.044088Jy sigma=0.022548 ! Fit after self-cal, rms=0.044056Jy sigma=0.022362 ! 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.10 HN 0.99 KP 0.90 ! LA 1.15 NL 1.02 OV 0.95 PT 0.91 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.98 FD 0.96 KP 0.92 LA 1.01 ! NL 0.83 OV 0.99 PT 1.12 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.12 FD 1.20 HN 0.96 KP 0.79 ! LA 1.01 NL 0.98 OV 0.96 PT 1.05 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.77 FD 0.99 KP 0.92 LA 0.98 ! NL 1.05 OV 1.00 PT 1.21 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.94 FD 0.89 HN 0.96 KP 0.80 ! LA 1.07 NL 0.86 OV 0.99 PT 1.16 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.86 FD 1.05 KP 0.89 LA 1.00 ! NL 1.01 OV 1.03 PT 0.95 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.13 FD 1.38 HN 0.92 KP 0.76 ! LA 1.30 NL 0.94 OV 0.88 PT 0.94 ! ! Telescope amplitude corrections in sub-array 2: ! BR 0.87 FD 1.14 KP 0.91 LA 0.85 ! NL 1.09 OV 1.01 PT 0.90 ! ! ! Fit before self-cal, rms=0.044056Jy sigma=0.022362 ! Fit after self-cal, rms=0.044347Jy sigma=0.021988 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.753 mas, bmaj=4.001 mas, bpa=-70.9 degrees ! Estimated noise=23.0764 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.00168582 Jy ! Component: 100 - total flux cleaned = 0.00155882 Jy ! Component: 150 - total flux cleaned = 0.00146357 Jy ! Component: 200 - total flux cleaned = 0.00142518 Jy ! Total flux subtracted in 200 components = 0.00142518 Jy ! Clean residual min=-0.002263 max=0.002543 Jy/beam ! Clean residual mean=-0.000010 rms=0.000607 Jy/beam ! Combined flux in latest and established models = 0.0527223 Jy ! Performing phase self-cal ! Adding 42 model components to the UV plane model. ! The established model now contains 76 components and 0.0527223 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.044149Jy sigma=0.021888 ! Fit after self-cal, rms=0.044522Jy sigma=0.021790 ! 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.044522Jy sigma=0.021790 ! Fit after self-cal, rms=0.045143Jy sigma=0.021783 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.742 mas, bmaj=4.009 mas, bpa=-70.94 degrees ! Estimated noise=23.0586 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00100882 Jy ! Component: 100 - total flux cleaned = 0.00105494 Jy ! Component: 150 - total flux cleaned = 0.00109086 Jy ! Component: 200 - total flux cleaned = 0.00111717 Jy ! Total flux subtracted in 200 components = 0.00111717 Jy ! Clean residual min=-0.002158 max=0.002312 Jy/beam ! Clean residual mean=-0.000009 rms=0.000576 Jy/beam ! Combined flux in latest and established models = 0.0538394 Jy selfcal ! Performing phase self-cal ! Adding 35 model components to the UV plane model. ! The established model now contains 98 components and 0.0538394 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.045042Jy sigma=0.021732 ! Fit after self-cal, rms=0.045114Jy sigma=0.021713 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.000729263 Jy ! Component: 100 - total flux cleaned = 0.000896797 Jy ! Component: 150 - total flux cleaned = 0.00100586 Jy ! Component: 200 - total flux cleaned = 0.00110042 Jy ! Total flux subtracted in 200 components = 0.00110042 Jy ! Clean residual min=-0.002159 max=0.002310 Jy/beam ! Clean residual mean=-0.000009 rms=0.000560 Jy/beam ! Combined flux in latest and established models = 0.0549399 Jy ! Performing phase self-cal ! Adding 39 model components to the UV plane model. ! The established model now contains 113 components and 0.0549399 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.045065Jy sigma=0.021688 ! Fit after self-cal, rms=0.045042Jy sigma=0.021668 ! 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.045042Jy sigma=0.021668 ! Fit after self-cal, rms=0.044714Jy sigma=0.021659 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.739 mas, bmaj=4.016 mas, bpa=-71.09 degrees ! Estimated noise=22.9791 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000577355 Jy ! Component: 100 - total flux cleaned = 0.000704346 Jy ! Component: 150 - total flux cleaned = 0.000807628 Jy ! Component: 200 - total flux cleaned = 0.000950295 Jy ! Total flux subtracted in 200 components = 0.000950295 Jy ! Clean residual min=-0.002118 max=0.002209 Jy/beam ! Clean residual mean=-0.000005 rms=0.000541 Jy/beam ! Combined flux in latest and established models = 0.0558902 Jy selfcal ! Performing phase self-cal ! Adding 42 model components to the UV plane model. ! The established model now contains 134 components and 0.0558902 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.044670Jy sigma=0.021636 ! Fit after self-cal, rms=0.044660Jy sigma=0.021630 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.000360369 Jy ! Component: 100 - total flux cleaned = 0.000534309 Jy ! Component: 150 - total flux cleaned = 0.000684915 Jy ! Component: 200 - total flux cleaned = 0.000764278 Jy ! Total flux subtracted in 200 components = 0.000764278 Jy ! Clean residual min=-0.002146 max=0.002224 Jy/beam ! Clean residual mean=-0.000007 rms=0.000535 Jy/beam ! Combined flux in latest and established models = 0.0566544 Jy ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 152 components and 0.0566544 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.044633Jy sigma=0.021617 ! Fit after self-cal, rms=0.044626Jy sigma=0.021601 ! Inverting map 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 15 minute time intervals ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.044626Jy sigma=0.021601 ! Fit after self-cal, rms=0.044381Jy sigma=0.021593 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.596 mas, bmaj=4.229 mas, bpa=-67.14 degrees ! Estimated noise=24.2557 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000537608 Jy ! Component: 100 - total flux cleaned = 0.000662843 Jy ! Component: 150 - total flux cleaned = 0.000719456 Jy ! Component: 200 - total flux cleaned = 0.000800282 Jy ! Total flux subtracted in 200 components = 0.000800282 Jy ! Clean residual min=-0.002029 max=0.001897 Jy/beam ! Clean residual mean=-0.000007 rms=0.000532 Jy/beam ! Combined flux in latest and established models = 0.0574547 Jy selfcal ! Performing phase self-cal ! Adding 30 model components to the UV plane model. ! The established model now contains 168 components and 0.0574547 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.044359Jy sigma=0.021580 ! Fit after self-cal, rms=0.044347Jy sigma=0.021572 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.000398704 Jy ! Component: 100 - total flux cleaned = 0.000561261 Jy ! Component: 150 - total flux cleaned = 0.000698975 Jy ! Component: 200 - total flux cleaned = 0.000781216 Jy ! Total flux subtracted in 200 components = 0.000781216 Jy ! Clean residual min=-0.001958 max=0.001908 Jy/beam ! Clean residual mean=-0.000010 rms=0.000518 Jy/beam ! Combined flux in latest and established models = 0.0582359 Jy ! Performing phase self-cal ! Adding 33 model components to the UV plane model. ! The established model now contains 182 components and 0.0582359 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.044333Jy sigma=0.021565 ! Fit after self-cal, rms=0.044340Jy sigma=0.021563 ! 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 "/d2/scr/pima/rdv96_uvs/J1606+5405_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.736 mas, bmaj=4.019 mas, bpa=-71.23 degrees ! Estimated noise=22.9012 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.736 x 4.019 at -71.23 degrees (North through East) ! Clean map min=-0.003051 max=0.035215 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J1606+5405_X_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.0352 rms= 0.00051 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J1606+5405_X_uvs.log closed on Fri Dec 20 23:45:51 2013