! Started logfile: /scr/pima/rdv96_uvs/J2045+1547_S_uvs.log on Sat Dec 21 00:25:43 2013 obs /scr/pima/rdv96_uvs/J2045+1547_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J2045+1547_S_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 1 visibilities/baseline/integration-bin. ! Found source: J2045+1547 ! ! 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 7920 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/J2045+1547_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.007529Jy sigma=1.949583 ! Fit after self-cal, rms=0.869340Jy sigma=1.666576 ! 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.456 mas, bmaj=6.33 mas, bpa=-5.009 degrees ! Estimated noise=8.27599 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.103542 Jy ! Component: 100 - total flux cleaned = 0.128497 Jy ! Total flux subtracted in 100 components = 0.128497 Jy ! Clean residual min=-0.004352 max=0.009947 Jy/beam ! Clean residual mean=-0.000004 rms=0.001291 Jy/beam ! Combined flux in latest and established models = 0.128497 Jy ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 10 components and 0.128497 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.062043Jy sigma=0.107400 ! Fit after self-cal, rms=0.062048Jy sigma=0.107382 ! Inverting map ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0105805 Jy ! Component: 100 - total flux cleaned = 0.0156229 Jy ! Total flux subtracted in 100 components = 0.0156229 Jy ! Clean residual min=-0.004105 max=0.003980 Jy/beam ! Clean residual mean=0.000007 rms=0.000989 Jy/beam ! Combined flux in latest and established models = 0.14412 Jy ! Performing phase self-cal ! Adding 7 model components to the UV plane model. ! The established model now contains 16 components and 0.14412 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060543Jy sigma=0.103750 ! Fit after self-cal, rms=0.060554Jy sigma=0.103714 ! 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.289 mas, bmaj=7.385 mas, bpa=-2.226 degrees ! Estimated noise=4.26013 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.00192935 Jy ! Component: 100 - total flux cleaned = 0.00287675 Jy ! Component: 150 - total flux cleaned = 0.00306111 Jy ! Component: 200 - total flux cleaned = 0.00310172 Jy ! Total flux subtracted in 200 components = 0.00310172 Jy ! Clean residual min=-0.002831 max=0.002729 Jy/beam ! Clean residual mean=-0.000004 rms=0.000678 Jy/beam ! Combined flux in latest and established models = 0.147222 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 27 components and 0.147222 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.060486Jy sigma=0.103582 ! Fit after self-cal, rms=0.060489Jy sigma=0.103579 ! 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.97 HN 0.99 KP 1.05 ! LA 1.16 MK 0.87 NL 1.01 OV 1.01 ! PT 1.05 SC 0.94 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.04 HN 1.07 KP 1.03 ! LA 1.08 MK 1.05 NL 1.06 OV 1.05 ! PT 1.04 SC 1.04 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.02 HN 0.98 KP 0.91 ! LA 0.98 MK 1.02 NL 1.09 OV 1.03 ! PT 1.06 SC 0.96 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.00 FD 1.04 HN 0.92 KP 0.83 ! LA 0.82 MK 1.11 NL 0.99 OV 0.89 ! PT 0.94 SC 0.98 ! ! ! Fit before self-cal, rms=0.060489Jy sigma=0.103579 ! Fit after self-cal, rms=0.057437Jy sigma=0.097644 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=4.279 mas, bmaj=7.388 mas, bpa=-1.974 degrees ! Estimated noise=4.25462 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.000144838 Jy ! Component: 100 - total flux cleaned = 7.37311e-05 Jy ! Component: 150 - total flux cleaned = 4.23136e-05 Jy ! Component: 200 - total flux cleaned = 2.77807e-05 Jy ! Total flux subtracted in 200 components = 2.77807e-05 Jy ! Clean residual min=-0.001763 max=0.001572 Jy/beam ! Clean residual mean=-0.000007 rms=0.000419 Jy/beam ! Combined flux in latest and established models = 0.14725 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 39 components and 0.14725 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057416Jy sigma=0.097634 ! Fit after self-cal, rms=0.057436Jy sigma=0.097612 ! 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.057436Jy sigma=0.097612 ! Fit after self-cal, rms=0.057284Jy sigma=0.097611 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.274 mas, bmaj=7.382 mas, bpa=-1.978 degrees ! Estimated noise=4.25124 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 5.64123e-05 Jy ! Component: 100 - total flux cleaned = 4.09753e-05 Jy ! Component: 150 - total flux cleaned = 2.83263e-05 Jy ! Component: 200 - total flux cleaned = 1.63244e-05 Jy ! Total flux subtracted in 200 components = 1.63244e-05 Jy ! Clean residual min=-0.001754 max=0.001565 Jy/beam ! Clean residual mean=-0.000007 rms=0.000418 Jy/beam ! Combined flux in latest and established models = 0.147266 Jy selfcal ! Performing phase self-cal ! Adding 12 model components to the UV plane model. ! The established model now contains 42 components and 0.147266 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057269Jy sigma=0.097605 ! Fit after self-cal, rms=0.057267Jy sigma=0.097604 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.04375e-05 Jy ! Component: 100 - total flux cleaned = -4.09138e-05 Jy ! Component: 150 - total flux cleaned = -5.07684e-05 Jy ! Component: 200 - total flux cleaned = -5.08903e-05 Jy ! Total flux subtracted in 200 components = -5.08903e-05 Jy ! Clean residual min=-0.001755 max=0.001546 Jy/beam ! Clean residual mean=-0.000007 rms=0.000418 Jy/beam ! Combined flux in latest and established models = 0.147215 Jy ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 46 components and 0.147215 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.057260Jy sigma=0.097600 ! Fit after self-cal, rms=0.057259Jy sigma=0.097599 ! 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.057259Jy sigma=0.097599 ! Fit after self-cal, rms=0.056901Jy sigma=0.097418 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=4.265 mas, bmaj=7.382 mas, bpa=-2.002 degrees ! Estimated noise=4.24625 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -8.04126e-06 Jy ! Component: 100 - total flux cleaned = -3.46971e-05 Jy ! Component: 150 - total flux cleaned = -3.44434e-05 Jy ! Component: 200 - total flux cleaned = -2.40687e-05 Jy ! Total flux subtracted in 200 components = -2.40687e-05 Jy ! Clean residual min=-0.001721 max=0.001455 Jy/beam ! Clean residual mean=-0.000007 rms=0.000405 Jy/beam ! Combined flux in latest and established models = 0.147191 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 56 components and 0.147191 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056888Jy sigma=0.097415 ! Fit after self-cal, rms=0.056888Jy sigma=0.097413 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.50566e-05 Jy ! Component: 100 - total flux cleaned = 2.50314e-05 Jy ! Component: 150 - total flux cleaned = 3.30174e-05 Jy ! Component: 200 - total flux cleaned = 2.50202e-05 Jy ! Total flux subtracted in 200 components = 2.50202e-05 Jy ! Clean residual min=-0.001725 max=0.001442 Jy/beam ! Clean residual mean=-0.000007 rms=0.000405 Jy/beam ! Combined flux in latest and established models = 0.147216 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 60 components and 0.147216 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056881Jy sigma=0.097411 ! Fit after self-cal, rms=0.056881Jy sigma=0.097411 ! 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.056881Jy sigma=0.097411 ! Fit after self-cal, rms=0.056752Jy sigma=0.097409 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=8.055 mas, bmaj=10.62 mas, bpa=-2.967 degrees ! Estimated noise=4.56883 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 4.82511e-07 Jy ! Component: 100 - total flux cleaned = 3.68593e-05 Jy ! Component: 150 - total flux cleaned = 7.31965e-05 Jy ! Component: 200 - total flux cleaned = 0.000108865 Jy ! Total flux subtracted in 200 components = 0.000108865 Jy ! Clean residual min=-0.001848 max=0.001432 Jy/beam ! Clean residual mean=-0.000014 rms=0.000463 Jy/beam ! Combined flux in latest and established models = 0.147325 Jy selfcal ! Performing phase self-cal ! Adding 8 model components to the UV plane model. ! The established model now contains 67 components and 0.147325 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056753Jy sigma=0.097409 ! Fit after self-cal, rms=0.056750Jy sigma=0.097407 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 = 1.78423e-05 Jy ! Component: 100 - total flux cleaned = 3.45056e-05 Jy ! Component: 150 - total flux cleaned = 5.17005e-05 Jy ! Component: 200 - total flux cleaned = 6.66429e-05 Jy ! Total flux subtracted in 200 components = 6.66429e-05 Jy ! Clean residual min=-0.001852 max=0.001425 Jy/beam ! Clean residual mean=-0.000014 rms=0.000461 Jy/beam ! Combined flux in latest and established models = 0.147392 Jy ! Performing phase self-cal ! Adding 9 model components to the UV plane model. ! The established model now contains 71 components and 0.147392 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.056751Jy sigma=0.097409 ! Fit after self-cal, rms=0.056750Jy sigma=0.097408 ! 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/J2045+1547_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=4.261 mas, bmaj=7.38 mas, bpa=-2.004 degrees ! Estimated noise=4.24199 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 4.261 x 7.38 at -2.004 degrees (North through East) ! Clean map min=-0.0016033 max=0.1345 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J2045+1547_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.1344 rms= 0.0004 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J2045+1547_S_uvs.log closed on Sat Dec 21 00:25:45 2013