! Started logfile: /d2/scr/pima/rdv96_uvs/J1223+4812_X_uvs.log on Fri Dec 20 23:45:21 2013 obs /d2/scr/pima/rdv96_uvs/J1223+4812_X_uva.fits ! Reading UV FITS file: /d2/scr/pima/rdv96_uvs/J1223+4812_X_uva.fits ! AN table 1: 44 integrations on 45 of 45 possible baselines. ! Apparent sampling: 0.933333 visibilities/baseline/integration-bin. ! Found source: J1223+4812 ! ! 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 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.2 print "taper_size =",taper_size ! taper_size = 70 ![@/home/lpetrov/bin/rdv_muppet /d2/scr/pima/rdv96_uvs/J1223+4812_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: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.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.002661Jy sigma=0.903730 ! Fit after self-cal, rms=0.947586Jy sigma=0.844447 ! 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=0.9877 mas, bmaj=1.6 mas, bpa=0.2068 degrees ! Estimated noise=20.1542 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.0412348 Jy ! Component: 100 - total flux cleaned = 0.0530638 Jy ! Total flux subtracted in 100 components = 0.0530638 Jy ! Clean residual min=-0.004193 max=0.008753 Jy/beam ! Clean residual mean=0.000015 rms=0.001095 Jy/beam ! Combined flux in latest and established models = 0.0530638 Jy ! Performing phase self-cal ! Adding 11 model components to the UV plane model. ! The established model now contains 11 components and 0.0530638 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.052669Jy sigma=0.044448 ! Fit after self-cal, rms=0.051533Jy sigma=0.043566 ! Inverting map ! Added new window around map position (-6.4, -3.8). ! clean: niter=100 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00876373 Jy ! Component: 100 - total flux cleaned = 0.0142229 Jy ! Total flux subtracted in 100 components = 0.0142229 Jy ! Clean residual min=-0.003487 max=0.003484 Jy/beam ! Clean residual mean=0.000009 rms=0.000868 Jy/beam ! Combined flux in latest and established models = 0.0672867 Jy ! Performing phase self-cal ! Adding 15 model components to the UV plane model. ! The established model now contains 22 components and 0.0672867 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.050056Jy sigma=0.041373 ! Fit after self-cal, rms=0.050101Jy sigma=0.041301 ! 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.273 mas, bmaj=1.928 mas, bpa=0.6528 degrees ! Estimated noise=9.72413 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.0056037 Jy ! Component: 100 - total flux cleaned = 0.00899565 Jy ! Component: 150 - total flux cleaned = 0.0112025 Jy ! Component: 200 - total flux cleaned = 0.0127117 Jy ! Total flux subtracted in 200 components = 0.0127117 Jy ! Clean residual min=-0.002064 max=0.002057 Jy/beam ! Clean residual mean=0.000006 rms=0.000504 Jy/beam ! Combined flux in latest and established models = 0.0799984 Jy ! Performing phase self-cal ! Adding 31 model components to the UV plane model. ! The established model now contains 46 components and 0.0799984 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049588Jy sigma=0.040468 ! Fit after self-cal, rms=0.049660Jy sigma=0.040449 ! 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.94 FD 0.95 HN 1.05 KP 1.01 ! LA 1.01 MK 1.05 NL 0.96 OV 0.98 ! PT 0.95 SC 0.94 ! ! ! Correcting IF 2. ! Telescope amplitude corrections in sub-array 1: ! BR 0.97 FD 0.98 HN 1.07 KP 0.95 ! LA 0.96 MK 1.08 NL 0.98 OV 0.98 ! PT 0.96 SC 1.04 ! ! ! Correcting IF 3. ! Telescope amplitude corrections in sub-array 1: ! BR 0.98 FD 0.95 HN 1.01 KP 0.83 ! LA 1.00 MK 0.98 NL 1.08 OV 1.11 ! PT 0.99 SC 1.04 ! ! ! Correcting IF 4. ! Telescope amplitude corrections in sub-array 1: ! BR 1.06 FD 1.02 HN 1.04 KP 0.89 ! LA 1.08 MK 1.05 NL 1.04 OV 1.06 ! PT 1.02 SC 0.93 ! ! ! Fit before self-cal, rms=0.049660Jy sigma=0.040449 ! Fit after self-cal, rms=0.049459Jy sigma=0.040126 dynam = dynam - 0.5 flux_cutoff = imstat(rms) * dynam ! Inverting map and beam ! Estimated beam: bmin=1.284 mas, bmaj=1.936 mas, bpa=1.135 degrees ! Estimated noise=9.57078 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.000896832 Jy ! Component: 100 - total flux cleaned = 0.00105071 Jy ! Component: 150 - total flux cleaned = 0.00123261 Jy ! Component: 200 - total flux cleaned = 0.00128309 Jy ! Total flux subtracted in 200 components = 0.00128309 Jy ! Clean residual min=-0.001470 max=0.001609 Jy/beam ! Clean residual mean=0.000002 rms=0.000375 Jy/beam ! Combined flux in latest and established models = 0.0812814 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 54 components and 0.0812814 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049420Jy sigma=0.040092 ! Fit after self-cal, rms=0.049463Jy sigma=0.040077 ! 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.049463Jy sigma=0.040077 ! Fit after self-cal, rms=0.049266Jy sigma=0.040074 dynam = dynam - 0.75 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.283 mas, bmaj=1.934 mas, bpa=1.135 degrees ! Estimated noise=9.5378 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.000171083 Jy ! Component: 100 - total flux cleaned = 0.000288615 Jy ! Component: 150 - total flux cleaned = 0.000361044 Jy ! Component: 200 - total flux cleaned = 0.000412297 Jy ! Total flux subtracted in 200 components = 0.000412297 Jy ! Clean residual min=-0.001480 max=0.001514 Jy/beam ! Clean residual mean=0.000001 rms=0.000367 Jy/beam ! Combined flux in latest and established models = 0.0816937 Jy selfcal ! Performing phase self-cal ! Adding 17 model components to the UV plane model. ! The established model now contains 62 components and 0.0816937 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049253Jy sigma=0.040065 ! Fit after self-cal, rms=0.049264Jy sigma=0.040064 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.000135095 Jy ! Component: 100 - total flux cleaned = 0.000146472 Jy ! Component: 150 - total flux cleaned = 0.000157878 Jy ! Component: 200 - total flux cleaned = 0.000158129 Jy ! Total flux subtracted in 200 components = 0.000158129 Jy ! Clean residual min=-0.001505 max=0.001498 Jy/beam ! Clean residual mean=0.000001 rms=0.000365 Jy/beam ! Combined flux in latest and established models = 0.0818519 Jy ! Performing phase self-cal ! Adding 16 model components to the UV plane model. ! The established model now contains 65 components and 0.0818519 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049258Jy sigma=0.040060 ! Fit after self-cal, rms=0.049262Jy sigma=0.040060 ! 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.049262Jy sigma=0.040060 ! Fit after self-cal, rms=0.049312Jy sigma=0.039992 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=1.278 mas, bmaj=1.932 mas, bpa=0.804 degrees ! Estimated noise=9.52048 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.0001571 Jy ! Component: 100 - total flux cleaned = 0.000196977 Jy ! Component: 150 - total flux cleaned = 0.00021462 Jy ! Component: 200 - total flux cleaned = 0.000222781 Jy ! Total flux subtracted in 200 components = 0.000222781 Jy ! Clean residual min=-0.001543 max=0.001458 Jy/beam ! Clean residual mean=0.000003 rms=0.000347 Jy/beam ! Combined flux in latest and established models = 0.0820746 Jy selfcal ! Performing phase self-cal ! Adding 14 model components to the UV plane model. ! The established model now contains 70 components and 0.0820746 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049308Jy sigma=0.039990 ! Fit after self-cal, rms=0.049322Jy sigma=0.039987 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 = 6.79314e-05 Jy ! Component: 100 - total flux cleaned = 5.28329e-05 Jy ! Component: 150 - total flux cleaned = 5.26584e-05 Jy ! Component: 200 - total flux cleaned = 5.93582e-05 Jy ! Total flux subtracted in 200 components = 5.93582e-05 Jy ! Clean residual min=-0.001551 max=0.001442 Jy/beam ! Clean residual mean=0.000002 rms=0.000346 Jy/beam ! Combined flux in latest and established models = 0.082134 Jy ! Performing phase self-cal ! Adding 18 model components to the UV plane model. ! The established model now contains 73 components and 0.082134 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049320Jy sigma=0.039985 ! Fit after self-cal, rms=0.049323Jy sigma=0.039985 ! 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.049323Jy sigma=0.039985 ! Fit after self-cal, rms=0.049188Jy sigma=0.039980 clean clean_niter,clean_gain ! Inverting map and beam ! Estimated beam: bmin=2.39 mas, bmaj=2.778 mas, bpa=15.8 degrees ! Estimated noise=9.63692 mJy/beam. ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00034676 Jy ! Component: 100 - total flux cleaned = 0.00042876 Jy ! Component: 150 - total flux cleaned = 0.00046552 Jy ! Component: 200 - total flux cleaned = 0.000478299 Jy ! Total flux subtracted in 200 components = 0.000478299 Jy ! Clean residual min=-0.001515 max=0.001909 Jy/beam ! Clean residual mean=0.000004 rms=0.000390 Jy/beam ! Combined flux in latest and established models = 0.0826123 Jy selfcal ! Performing phase self-cal ! Adding 10 model components to the UV plane model. ! The established model now contains 80 components and 0.0826123 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049189Jy sigma=0.039978 ! Fit after self-cal, rms=0.049190Jy sigma=0.039978 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) ! Added new window around map position (-16.8, -16.6). ! clean: niter=200 gain=0.03 cutoff=0 ! Component: 050 - total flux cleaned = 0.00154535 Jy ! Component: 100 - total flux cleaned = 0.00185608 Jy ! Component: 150 - total flux cleaned = 0.00188218 Jy ! Component: 200 - total flux cleaned = 0.00183714 Jy ! Total flux subtracted in 200 components = 0.00183714 Jy ! Clean residual min=-0.001293 max=0.001371 Jy/beam ! Clean residual mean=0.000005 rms=0.000329 Jy/beam ! Combined flux in latest and established models = 0.0844495 Jy ! Performing phase self-cal ! Adding 36 model components to the UV plane model. ! The established model now contains 116 components and 0.0844494 Jy ! ! Correcting IF 1. ! ! Correcting IF 2. ! ! Correcting IF 3. ! ! Correcting IF 4. ! ! Fit before self-cal, rms=0.049147Jy sigma=0.039926 ! Fit after self-cal, rms=0.049151Jy sigma=0.039921 ! 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/J1223+4812_X\_map.fits" ! Inverting map and beam ! Estimated beam: bmin=1.277 mas, bmaj=1.93 mas, bpa=0.7698 degrees ! Estimated noise=9.5046 mJy/beam. ! restore: Substituting estimate of restoring beam from last 'invert'. ! Restoring with beam: 1.277 x 1.93 at 0.7698 degrees (North through East) ! Clean map min=-0.0012482 max=0.055917 Jy/beam ! Writing clean map to FITS file: /d2/scr/pima/rdv96_uvs/J1223+4812_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.0559 rms= 0.00031 Jy quit ! Quitting program ! Log file /d2/scr/pima/rdv96_uvs/J1223+4812_X_uvs.log closed on Fri Dec 20 23:45:23 2013