! Started logfile: /scr/pima/rdv96_uvs/J1640-3727_S_uvs.log on Sat Dec 21 00:24:56 2013 obs /scr/pima/rdv96_uvs/J1640-3727_S_uva.fits ! Reading UV FITS file: /scr/pima/rdv96_uvs/J1640-3727_S_uva.fits ! AN table 1: 44 integrations on 10 of 10 possible baselines. ! Apparent sampling: 0.981818 visibilities/baseline/integration-bin. ! Found source: J1640-3727 ! ! 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 1728 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/J1640-3727_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:FD self-cal status=correctable weight=1 ! 1:KP self-cal status=correctable weight=1 ! 1:LA self-cal status=correctable weight=1 ! 1:OV self-cal status=correctable weight=1 ! 1:PT 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 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 2. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 3. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Correcting IF 4. ! A total of 2 telescope corrections were flagged in sub-array 1. ! ! Fit before self-cal, rms=1.011580Jy sigma=0.765345 ! Fit after self-cal, rms=0.924667Jy sigma=0.697191 ! 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=15.28 mas, bmaj=55.82 mas, bpa=-2.051 degrees ! Estimated noise=32.609 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=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0620575 Jy ! Component: 100 - total flux cleaned = 0.0785506 Jy ! Total flux subtracted in 100 components = 0.0785506 Jy ! Clean residual min=-0.007333 max=0.007295 Jy/beam ! Clean residual mean=-0.000052 rms=0.002619 Jy/beam ! Combined flux in latest and established models = 0.0785506 Jy ! Performing phase self-cal ! Adding 38 model components to the UV plane model. ! The established model now contains 38 components and 0.0785506 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.067942Jy sigma=0.050308 ! Fit after self-cal, rms=0.067275Jy sigma=0.049797 ! 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=16.55 mas, bmaj=60.4 mas, bpa=-3.368 degrees ! Estimated noise=22.9874 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.00486571 Jy ! Component: 100 - total flux cleaned = 0.006204 Jy ! Component: 150 - total flux cleaned = 0.00694419 Jy ! Component: 200 - total flux cleaned = 0.00736726 Jy ! Total flux subtracted in 200 components = 0.00736726 Jy ! Clean residual min=-0.002177 max=0.002178 Jy/beam ! Clean residual mean=-0.000004 rms=0.001069 Jy/beam ! Combined flux in latest and established models = 0.0859178 Jy ! Performing phase self-cal ! Adding 89 model components to the UV plane model. ! The established model now contains 122 components and 0.0859179 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.065948Jy sigma=0.048564 ! Fit after self-cal, rms=0.066175Jy sigma=0.048512 ! 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: ! FD 0.92 KP 1.05 LA 1.18 OV 0.98 ! PT 1.12 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! FD 1.10 KP 1.03 LA 1.00 OV 1.02 ! PT 1.05 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! FD 1.03 KP 0.97 LA 0.97 OV 1.16 ! PT 0.98 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! FD 1.12 KP 0.79 LA 0.76 OV 0.89 ! PT 0.86 ! ! ! Fit before self-cal, rms=0.066175Jy sigma=0.048512 ! Fit after self-cal, rms=0.061960Jy sigma=0.046637 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=16.63 mas, bmaj=60.26 mas, bpa=-3.793 degrees ! Estimated noise=22.2537 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.002432 Jy ! Component: 100 - total flux cleaned = 0.00383974 Jy ! Component: 150 - total flux cleaned = 0.00480928 Jy ! Component: 200 - total flux cleaned = 0.00557862 Jy ! Total flux subtracted in 200 components = 0.00557862 Jy ! Clean residual min=-0.000928 max=0.000927 Jy/beam ! Clean residual mean=0.000037 rms=0.000434 Jy/beam ! Combined flux in latest and established models = 0.0914965 Jy ! Performing phase self-cal ! Adding 65 model components to the UV plane model. ! The established model now contains 187 components and 0.0914965 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.061738Jy sigma=0.046497 ! Fit after self-cal, rms=0.061980Jy sigma=0.046440 ! 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.061980Jy sigma=0.046440 ! Fit after self-cal, rms=0.062306Jy sigma=0.046431 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=16.64 mas, bmaj=60.28 mas, bpa=-3.857 degrees ! Estimated noise=22.317 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00100157 Jy ! Component: 100 - total flux cleaned = 0.00182109 Jy ! Component: 150 - total flux cleaned = 0.00244435 Jy ! Component: 200 - total flux cleaned = 0.00287949 Jy ! Total flux subtracted in 200 components = 0.00287949 Jy ! Clean residual min=-0.000682 max=0.000690 Jy/beam ! Clean residual mean=0.000036 rms=0.000331 Jy/beam ! Combined flux in latest and established models = 0.094376 Jy selfcal ! Performing phase self-cal ! Adding 91 model components to the UV plane model. ! The established model now contains 266 components and 0.094376 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.062211Jy sigma=0.046372 ! Fit after self-cal, rms=0.062289Jy sigma=0.046365 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.000484772 Jy ! Component: 100 - total flux cleaned = 0.0008401 Jy ! Component: 150 - total flux cleaned = 0.00113228 Jy ! Component: 200 - total flux cleaned = 0.00153594 Jy ! Total flux subtracted in 200 components = 0.00153594 Jy ! Clean residual min=-0.000541 max=0.000538 Jy/beam ! Clean residual mean=0.000028 rms=0.000264 Jy/beam ! Combined flux in latest and established models = 0.0959119 Jy ! Performing phase self-cal ! Adding 89 model components to the UV plane model. ! The established model now contains 338 components and 0.0959119 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.062238Jy sigma=0.046337 ! Fit after self-cal, rms=0.062273Jy sigma=0.046334 ! 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.062273Jy sigma=0.046334 ! Fit after self-cal, rms=0.063734Jy sigma=0.046251 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=16.61 mas, bmaj=60.35 mas, bpa=-3.67 degrees ! Estimated noise=22.634 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = -0.000670813 Jy ! Component: 100 - total flux cleaned = -0.000755287 Jy ! Component: 150 - total flux cleaned = -0.000652113 Jy ! Component: 200 - total flux cleaned = -0.000588029 Jy ! Total flux subtracted in 200 components = -0.000588029 Jy ! Clean residual min=-0.000496 max=0.000501 Jy/beam ! Clean residual mean=-0.000001 rms=0.000246 Jy/beam ! Combined flux in latest and established models = 0.0953239 Jy selfcal ! Performing phase self-cal ! Adding 84 model components to the UV plane model. ! The established model now contains 420 components and 0.0953239 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.063681Jy sigma=0.046225 ! Fit after self-cal, rms=0.063744Jy sigma=0.046214 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.00030515 Jy ! Component: 100 - total flux cleaned = -0.00030543 Jy ! Component: 150 - total flux cleaned = -0.000382959 Jy ! Component: 200 - total flux cleaned = -0.000455012 Jy ! Total flux subtracted in 200 components = -0.000455012 Jy ! Clean residual min=-0.000393 max=0.000393 Jy/beam ! Clean residual mean=0.000006 rms=0.000184 Jy/beam ! Combined flux in latest and established models = 0.0948689 Jy ! Performing phase self-cal ! Adding 73 model components to the UV plane model. ! The established model now contains 476 components and 0.0948689 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.063719Jy sigma=0.046201 ! Fit after self-cal, rms=0.063733Jy sigma=0.046200 ! 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.063733Jy sigma=0.046200 ! Fit after self-cal, rms=0.064364Jy sigma=0.046207 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=17.23 mas, bmaj=61.09 mas, bpa=-4.062 degrees ! Estimated noise=22.5807 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000520662 Jy ! Component: 100 - total flux cleaned = 0.000427456 Jy ! Component: 150 - total flux cleaned = 0.000428891 Jy ! Component: 200 - total flux cleaned = 0.00037935 Jy ! Total flux subtracted in 200 components = 0.00037935 Jy ! Clean residual min=-0.000407 max=0.000408 Jy/beam ! Clean residual mean=0.000003 rms=0.000200 Jy/beam ! Combined flux in latest and established models = 0.0952482 Jy selfcal ! Performing phase self-cal ! Adding 90 model components to the UV plane model. ! The established model now contains 558 components and 0.0952482 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.064336Jy sigma=0.046190 ! Fit after self-cal, rms=0.064357Jy sigma=0.046187 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.00017468 Jy ! Component: 100 - total flux cleaned = -0.000328452 Jy ! Component: 150 - total flux cleaned = -0.000410926 Jy ! Component: 200 - total flux cleaned = -0.000470443 Jy ! Total flux subtracted in 200 components = -0.000470443 Jy ! Clean residual min=-0.000322 max=0.000322 Jy/beam ! Clean residual mean=0.000004 rms=0.000154 Jy/beam ! Combined flux in latest and established models = 0.0947778 Jy ! Performing phase self-cal ! Adding 80 model components to the UV plane model. ! The established model now contains 625 components and 0.0947778 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.064343Jy sigma=0.046179 ! Fit after self-cal, rms=0.064350Jy sigma=0.046178 ! 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:FD ! Syntax error in line: ! 1:FD ! ^ ! 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/J1640-3727_S\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=16.58 mas, bmaj=60.34 mas, bpa=-3.534 degrees ! Estimated noise=22.8093 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 16.58 x 60.34 at -3.534 degrees (North through East) ! Clean map min=-0.0033936 max=0.079846 Jy/beam ! Writing clean map to FITS file: /scr/pima/rdv96_uvs/J1640-3727_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.0798 rms= 0.00016 Jy quit ! Quitting program ! Log file /scr/pima/rdv96_uvs/J1640-3727_S_uvs.log closed on Sat Dec 21 00:25:01 2013