! Started logfile: /scr/pima/rdv96_uvs/J1606+5405_S_uvs.log on Sat Dec 21 00:24:39 2013 obs /scr/pima/rdv96_uvs/J1606+5405_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1606+5405_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.722222 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 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 5720 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/J1606+5405_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. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 22 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.004432Jy sigma=1.145237 ! Fit after self-cal, rms=0.932914Jy sigma=1.039598 ! 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.851 mas, bmaj=6.293 mas, bpa=-72.21 degrees ! Estimated noise=17.9858 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.0609557 Jy ! Component: 100 - total flux cleaned = 0.0825074 Jy ! Total flux subtracted in 100 components = 0.0825074 Jy ! Clean residual min=-0.005902 max=0.012163 Jy/beam ! Clean residual mean=-0.000067 rms=0.001777 Jy/beam ! Combined flux in latest and established models = 0.0825074 Jy ! Performing phase self-cal ! Adding 20 model components to the UV plane model. ! The established model now contains 20 components and 0.0825074 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.053993Jy sigma=0.058809 ! Fit after self-cal, rms=0.053438Jy sigma=0.058360 ! Inverting map ! Added new window around map position (5.6, -2.8). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0110976 Jy ! Component: 100 - total flux cleaned = 0.0165817 Jy ! Total flux subtracted in 100 components = 0.0165817 Jy ! Clean residual min=-0.004787 max=0.007208 Jy/beam ! Clean residual mean=-0.000032 rms=0.001241 Jy/beam ! Combined flux in latest and established models = 0.0990892 Jy ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 28 components and 0.0990892 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.051563Jy sigma=0.054808 ! Fit after self-cal, rms=0.051757Jy sigma=0.054720 ! 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=5.204 mas, bmaj=8.62 mas, bpa=-72.31 degrees ! Estimated noise=9.06441 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 (-8.8, 4.4). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00604661 Jy ! Component: 100 - total flux cleaned = 0.0093422 Jy ! Component: 150 - total flux cleaned = 0.0108287 Jy ! Component: 200 - total flux cleaned = 0.0114524 Jy ! Total flux subtracted in 200 components = 0.0114524 Jy ! Clean residual min=-0.003149 max=0.003265 Jy/beam ! Clean residual mean=-0.000009 rms=0.000738 Jy/beam ! Combined flux in latest and established models = 0.110542 Jy ! Performing phase self-cal ! Adding 27 model components to the UV plane model. ! The established model now contains 50 components and 0.110542 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050915Jy sigma=0.053837 ! Fit after self-cal, rms=0.050937Jy sigma=0.053797 ! 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 1.00 FD 0.96 HN 1.03 KP 0.99 ! LA 1.17 MK 0.82 NL 0.96 OV 1.02 ! PT 1.01 SC 0.99 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.07 FD 1.02 HN 1.07 KP 0.99 ! LA 1.04 MK 0.98 NL 1.02 OV 1.05 ! PT 1.05 SC 1.04 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.10 FD 1.08 HN 0.99 KP 0.91 ! LA 0.97 MK 1.08 NL 1.12 OV 1.07 ! PT 1.07 SC 0.97 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 1.13 HN 0.92 KP 0.83 ! LA 0.83 MK 1.13 NL 1.00 OV 0.91 ! PT 0.97 SC 1.00 ! ! ! Fit before self-cal, rms=0.050937Jy sigma=0.053797 ! Fit after self-cal, rms=0.050263Jy sigma=0.051948 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=5.206 mas, bmaj=8.634 mas, bpa=-72.3 degrees ! Estimated noise=9.10104 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.00024716 Jy ! Component: 100 - total flux cleaned = 0.000409116 Jy ! Component: 150 - total flux cleaned = 0.000455562 Jy ! Component: 200 - total flux cleaned = 0.000499759 Jy ! Total flux subtracted in 200 components = 0.000499759 Jy ! Clean residual min=-0.001932 max=0.001759 Jy/beam ! Clean residual mean=-0.000030 rms=0.000489 Jy/beam ! Combined flux in latest and established models = 0.111041 Jy ! Performing phase self-cal ! Adding 23 model components to the UV plane model. ! The established model now contains 69 components and 0.111041 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050064Jy sigma=0.051878 ! Fit after self-cal, rms=0.050120Jy sigma=0.051851 ! 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.050120Jy sigma=0.051851 ! Fit after self-cal, rms=0.050030Jy sigma=0.051848 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.197 mas, bmaj=8.622 mas, bpa=-72.24 degrees ! Estimated noise=9.09132 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -7.41818e-05 Jy ! Component: 100 - total flux cleaned = -7.36289e-05 Jy ! Component: 150 - total flux cleaned = -7.48857e-05 Jy ! Component: 200 - total flux cleaned = -7.54727e-05 Jy ! Total flux subtracted in 200 components = -7.54727e-05 Jy ! Clean residual min=-0.001853 max=0.001750 Jy/beam ! Clean residual mean=-0.000032 rms=0.000477 Jy/beam ! Combined flux in latest and established models = 0.110966 Jy selfcal ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 76 components and 0.110966 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049912Jy sigma=0.051817 ! Fit after self-cal, rms=0.049914Jy sigma=0.051815 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 = 3.65259e-05 Jy ! Component: 100 - total flux cleaned = 3.57552e-05 Jy ! Component: 150 - total flux cleaned = 3.47831e-05 Jy ! Component: 200 - total flux cleaned = 3.38532e-05 Jy ! Total flux subtracted in 200 components = 3.38532e-05 Jy ! Clean residual min=-0.001803 max=0.001727 Jy/beam ! Clean residual mean=-0.000032 rms=0.000469 Jy/beam ! Combined flux in latest and established models = 0.111 Jy ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 79 components and 0.111 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049837Jy sigma=0.051795 ! Fit after self-cal, rms=0.049836Jy sigma=0.051794 ! 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.049836Jy sigma=0.051794 ! Fit after self-cal, rms=0.049452Jy sigma=0.051661 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=5.203 mas, bmaj=8.536 mas, bpa=-73.03 degrees ! Estimated noise=9.0336 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000266988 Jy ! Component: 100 - total flux cleaned = 0.000389736 Jy ! Component: 150 - total flux cleaned = 0.000389964 Jy ! Component: 200 - total flux cleaned = 0.000415415 Jy ! Total flux subtracted in 200 components = 0.000415415 Jy ! Clean residual min=-0.001490 max=0.001557 Jy/beam ! Clean residual mean=-0.000011 rms=0.000417 Jy/beam ! Combined flux in latest and established models = 0.111415 Jy selfcal ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 89 components and 0.111415 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049378Jy sigma=0.051642 ! Fit after self-cal, rms=0.049395Jy sigma=0.051638 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 = 7.3449e-05 Jy ! Component: 100 - total flux cleaned = 7.34848e-05 Jy ! Component: 150 - total flux cleaned = 7.32522e-05 Jy ! Component: 200 - total flux cleaned = 9.32724e-05 Jy ! Total flux subtracted in 200 components = 9.32724e-05 Jy ! Clean residual min=-0.001498 max=0.001551 Jy/beam ! Clean residual mean=-0.000011 rms=0.000412 Jy/beam ! Combined flux in latest and established models = 0.111508 Jy ! Performing phase self-cal ! Adding 19 model components to the UV plane model. ! The established model now contains 92 components and 0.111508 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049362Jy sigma=0.051629 ! Fit after self-cal, rms=0.049362Jy sigma=0.051628 ! 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.049362Jy sigma=0.051628 ! Fit after self-cal, rms=0.049119Jy sigma=0.051610 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.679 mas, bmaj=14.62 mas, bpa=-72.11 degrees ! Estimated noise=8.94066 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000218714 Jy ! Component: 100 - total flux cleaned = 0.000171755 Jy ! Component: 150 - total flux cleaned = 0.000130876 Jy ! Component: 200 - total flux cleaned = 0.000118041 Jy ! Total flux subtracted in 200 components = 0.000118041 Jy ! Clean residual min=-0.001504 max=0.001454 Jy/beam ! Clean residual mean=-0.000017 rms=0.000453 Jy/beam ! Combined flux in latest and established models = 0.111626 Jy selfcal ! Performing phase self-cal ! Adding 22 model components to the UV plane model. ! The established model now contains 113 components and 0.111626 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049111Jy sigma=0.051604 ! Fit after self-cal, rms=0.049112Jy sigma=0.051603 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 = -2.73798e-05 Jy ! Component: 100 - total flux cleaned = -2.71747e-05 Jy ! Component: 150 - total flux cleaned = -3.83074e-05 Jy ! Component: 200 - total flux cleaned = -3.81827e-05 Jy ! Total flux subtracted in 200 components = -3.81827e-05 Jy ! Clean residual min=-0.001492 max=0.001450 Jy/beam ! Clean residual mean=-0.000018 rms=0.000450 Jy/beam ! Combined flux in latest and established models = 0.111588 Jy ! Performing phase self-cal ! Adding 21 model components to the UV plane model. ! The established model now contains 130 components and 0.111588 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049105Jy sigma=0.051600 ! Fit after self-cal, rms=0.049102Jy sigma=0.051600 ! 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/J1606+5405_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=5.194 mas, bmaj=7.843 mas, bpa=-76.19 degrees ! Estimated noise=9.00564 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 5.194 x 7.843 at -76.19 degrees (North through East) ! Clean map min=-0.00214 max=0.062337 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1606+5405_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.0623 rms= 0.00041 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1606+5405_S_uvs.log closed on Sat Dec 21 00:24:42 2013