/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Waiting 74 seconds before starting... Proceeding. Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7644 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin951 RA = 250.119, Dec = 39.7626 tmin = 485827201, tmax = 486086401 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository Job = True LAT data Source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='836940', job_status='RUN', time_executed='2021-09-15 06:43:31.039982', time_epoch_executed='1631713411.04' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='951' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/836940 Creating custom pfile directory: /scratch/kocevski/836940/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=485827201.0 && nMetStart<486086401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=485827201.0 && nMetStart<486086401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/836940/ft1_4FGL_J1640.4+3945_daily_bin951.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=485827201.0 && nMetStart<486086401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/836940/ft1_4FGL_J1640.4+3945_daily_bin951.fits outfile=/scratch/kocevski/836940/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin951.fits ra=250.119 dec=39.7626 rad=12.0 tmin=485827201.0 tmax=486086401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 3.84 user 3.50 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/836940/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin951.fits evtable="EVENTS" outfile="/scratch/kocevski/836940/ft1_filtered_4FGL_J1640.4+3945_daily_bin951.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.51 user 0.34 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/836940/ft1_filtered_4FGL_J1640.4+3945_daily_bin951.fits" evtable="EVENTS" scfile=/scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits sctable="SC_DATA" outfile=/scratch/kocevski/836940/ltcube_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits .....................! real 14.26 user 13.87 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/836940/ft1_filtered_4FGL_J1640.4+3945_daily_bin951.fits evtable="EVENTS" scfile=/scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits sctable="SC_DATA" expcube=/scratch/kocevski/836940/ltcube_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits outfile=/scratch/kocevski/836940/expmap_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /scratch/kocevski/836940/ltcube_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits .....................! real 193.60 user 188.31 sys 4.86 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/836940/ft1_filtered_4FGL_J1640.4+3945_daily_bin951.fits scfile=/scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits outfile=/scratch/kocevski/836940/cmap_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=250.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.58 user 0.39 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/836940/ft1_filtered_4FGL_J1640.4+3945_daily_bin951.fits scfile=/scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits outfile=/scratch/kocevski/836940/cmap_HighResolution_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=250.119 yref=39.7626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.56 user 0.40 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/836940/ft1_filtered_4FGL_J1640.4+3945_daily_bin951.fits evtable="EVENTS" scfile=/scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/836940/Model_4FGL_J1640.4+3945_daily_bin951.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/836940/ft1_filtered_4FGL_J1640.4+3945_daily_bin951.fits.....................! real 49.29 user 47.89 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/836940/ft1_filtered_4FGL_J1640.4+3945_daily_bin951.fits', '/scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits', expMap='/scratch/kocevski/836940/expmap_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits', expCube='/scratch/kocevski/836940/ltcube_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/836940/Model_4FGL_J1640.4+3945_daily_bin951.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/836940/ft1_filtered_4FGL_J1640.4+3945_daily_bin951.fits Spacecraft file(s): /scratch/kocevski/836940/ft2_4FGL_J1640.4+3945_daily_bin951.fits Exposure map: /scratch/kocevski/836940/expmap_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits Exposure cube: /scratch/kocevski/836940/ltcube_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/836940/Model_4FGL_J1640.4+3945_daily_bin951.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6143.30674179 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6143.27432489 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 4.7475 1.0000 .10000E-03 10000. 2 'Prefactor ' 2.9923 1.0000 .10000E-03 10000. 3 'Prefactor ' .12078E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' .10168E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10099E-03 1.0000 .10000E-03 10000. 6 'Prefactor ' .49180 1.0000 .10000E-03 10000. 7 'norm ' .16177 1.0000 .10000E-03 10000. 8 'norm ' 8.1802 1.0000 .10000E-03 10000. 9 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10013E-03 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .80215 1.0000 .10000E-03 10000. 13 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 6.6475 1.0000 .10000E-03 10000. 15 'Prefactor ' .62048E-03 1.0000 .10000E-03 10000. 16 'norm ' 3.3189 1.0000 .10000E-03 10000. 17 'norm ' 1.0989 1.0000 .10000E-03 10000. 18 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 19 'norm ' .39484E-01 1.0000 .10000E-03 10000. 20 'norm ' 1.4339 1.0000 .10000E-03 10000. 21 'norm ' 2.7767 1.0000 .10000E-03 10000. 22 'Prefactor ' .10992E-03 1.0000 .10000E-03 10000. 23 'norm ' 5.4257 1.0000 .10000E-03 10000. 24 'Prefactor ' .10065E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .92218 1.0000 .10000E-01 10.000 26 'Prefactor ' .94858 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6143.274 FROM MIGRAD STATUS=CONVERGED 678 CALLS 2826 TOTAL EDM= .15E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 4.6983 46.460 .15781E-05 .26183E-04 2 Prefactor 2.7788 486.28 -.10025E-04 -.61546E-05 3 Prefactor .10000E-03 1.9758 .31767E-06** at limit ** 4 Prefactor .10000E-03 4.8574 -.12402E-05** at limit ** 5 Prefactor .10000E-03 15.885 -.91675E-06** at limit ** 6 Prefactor .49059 3.7405 .27795E-05 -.20471E-05 7 norm .16177 .14771 .21176E-07 -.10753E-02 8 norm 8.1810 10.044 -.37888E-07 -.14693E-04 9 Prefactor .10000E-03 27.763 .23964E-06** at limit ** 10 Prefactor .10000E-03 2.9040 -.25372E-06** at limit ** 11 norm .10000E-03 12.544 -.48986E-07** at limit ** 12 Prefactor .80221 1.1733 -.10371E-06 -.75339E-03 13 Prefactor .10000E-03 .46910 -.24317E-07** at limit ** 14 Prefactor 6.6467 3.8797 .59701E-07 -.15959E-04 15 Prefactor .10000E-03 1.1350 -.72601E-07** at limit ** 16 norm 3.3192 1.6622 .16608E-07 -.10457E-03 17 norm 1.0988 .88087 .53880E-07 -.47273E-04 18 Prefactor .10000E-03 3.6549 .26236E-07** at limit ** 19 norm .39636E-01 .52735 .22647E-06 -.77925E-03 20 norm 1.4185 21.615 .35540E-05 -.75885E-05 21 norm 2.7764 1.7578 .38032E-07 -.20404E-03 22 Prefactor .10000E-03 81.002 -.45998E-06** at limit ** 23 norm 5.4322 5.8278 -.27537E-06 -.14832E-03 24 Prefactor .10000E-03 25.512 -.20106E-06** at limit ** 25 Normalizat .92243 .19123 -.47169E-06 -.26600E-03 26 Prefactor .94855 .15094 -.12109E-05 -.22967E-03 ERR DEF= .500 Final values: Prefactor = 4.69832 Prefactor = 2.77881 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.490589 norm = 0.16177 norm = 8.18098 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.802211 Prefactor = 0.0001 Prefactor = 6.64672 Prefactor = 0.0001 norm = 3.31919 norm = 1.09876 Prefactor = 0.0001 norm = 0.0396359 norm = 1.41854 norm = 2.77642 Prefactor = 0.0001 norm = 5.43222 Prefactor = 0.0001 Normalizat = 0.922427 Prefactor = 0.948552 ********** ** 18 **HESSE ********** FCN= 6143.274 FROM HESSE STATUS=OK 472 CALLS 3298 TOTAL EDM= .71E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 4.6983 46.335 .18466E-03 -1.5274 2 Prefactor 2.7788 502.46 .23467E-02 -1.5375 3 Prefactor .10000E-03 4.4224 .21240E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 4.8548 .16729E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 15.898 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .49059 3.8413 .28055E-03 -1.5568 7 norm .16177 .13477 .24098E-03 -1.5628 8 norm 8.1810 10.040 .14018E-03 -1.5136 9 Prefactor .10000E-03 28.085 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 3.0074 .26021E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .10000E-03 12.547 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .80221 1.0144 .83650E-03 -1.5529 13 Prefactor .10000E-03 .47528 .10322E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 6.6467 3.8632 .10861E-03 -1.5192 15 Prefactor .10000E-03 6.9349 .16014E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3192 1.6541 .68808E-04 -1.5344 17 norm 1.0988 .85209 .60982E-03 -1.5498 18 Prefactor .10000E-03 3.7000 .14616E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .39636E-01 1.6917 .10648E-02 -1.5668 20 norm 1.4185 21.200 .36059E-03 -1.5470 21 norm 2.7764 1.7486 .78885E-04 -1.5375 22 Prefactor .10000E-03 81.896 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 5.4322 5.7303 .17251E-03 -1.5242 24 Prefactor .10000E-03 25.522 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .92243 .22301 .26188E-03 -.95677 26 Prefactor .94855 .17808 .21398E-03 -.94465 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.1294e-10 Minuit parameter uncertainties: 1 29.5387 2 75.3827 3 1.89868e-05 4 1.76141e-05 5 1.96443e-05 6 2.74549 7 0.134768 8 10.0418 9 3.30288e-05 10 7.41302e-06 11 8.30648e-06 12 1.01445 13 3.13423e-07 14 3.86333 15 5.64394e-05 16 1.65417 17 0.8521 18 5.46483e-07 19 0.517248 20 10.9719 21 1.74867 22 3.98586e-05 23 5.73084 24 1.48754e-05 25 0.223233 26 0.178191 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6143.27427809 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 8.022e-01 1.014e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.486e-01 1.782e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 9.224e-01 2.232e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 1.06 Ra Dec: 250.119 39.763 Photon Index (Fixed Index): 2.42 +/- 0.00 Photon Flux (Fixed Index): 3.17e-08 +/- 4.00e-08 Energy Flux (Fixed Index): 1.01e-05 +/- 1.28e-05 TS (Fixed Index): 1.06 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.06e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/836940/likelihoodResults_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6143.27258605 delta logL = 0.00169204322629 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6143.2618783 delta logL = 0.0123997924175 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 1.0464 1.0000 .10000E-03 10000. 2 'Index ' 2.0981 1.0000 .0000 10.000 3 'Normalizat' .93436 1.0000 .10000E-01 10.000 4 'Prefactor ' .94205 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6143.262 FROM MIGRAD STATUS=CONVERGED 91 CALLS 258 TOTAL EDM= .94E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 1.0477 1.6214 .24306E-03 -.27830E-04 2 Index 2.0959 1.6834 .97902E-02 .70458E-04 3 Normalizat .93424 .21849 .26042E-03 -.78578E-05 4 Prefactor .94211 .17639 .21463E-03 .11653E-04 ERR DEF= .500 Final values: Prefactor = 1.04774 Index = 2.0959 Normalizat = 0.934237 Prefactor = 0.942106 ********** ** 18 **HESSE ********** FCN= 6143.262 FROM HESSE STATUS=OK 27 CALLS 285 TOTAL EDM= .17E-11 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 1.0477 1.5109 .97226E-05 -1.5503 2 Index 2.0959 1.5716 .19580E-02 -.61973 3 Normalizat .93424 .21734 .10417E-04 -.95267 4 Prefactor .94211 .17606 .85851E-05 -.94685 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.66478e-12 Minuit parameter uncertainties: 1 1.51092 2 1.61356 3 0.217547 4 0.176171 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/836940': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6143.26187674 delta logL = 0.0124013565555 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.048e+00 1.511e+00 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.096e+00 1.614e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.421e-01 1.762e-01 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 9.342e-01 2.175e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.09 Ra Dec: 250.119 39.763 Photon Index (Free Index): 2.10 +/- 1.61 Photon Flux (Free Index): 2.29e-08 +/- 5.19e-08 Energy Flux (Free Index): 1.27e-05 +/- 2.49e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/836940/cmap_HighResolution_485827201_486086401_4FGL_J1640.4+3945_daily_bin951.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/836940 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.06e-03', comment='SUCCESS', photon_flux='3.17e-08', energy_flux2='1.27e-05', photon_flux_error='4.00e-08', dlogl='1.24e-02', energy_flux='1.01e-05', photon_flux2='2.29e-08', job_status='DONE', time_completed='2021-09-15 06:56:41.733657', photon_index_error2='1.61', photon_index2='2.10', ts='1.06', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='2.49e-05', EG='0.92', time_epoch_completed='1631714201.73', return_code='0', job_id='836940', GAL2='0.94', EG2='0.93', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='5.19e-08', ts2='1.09', photon_index='2.42' WHERE bin_id='951' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:56:41 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 836940: <4FGL_J1640.4+3945_daily_bin951> in cluster Done Job <4FGL_J1640.4+3945_daily_bin951> was submitted from host by user in cluster at Wed Sep 15 06:40:17 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:42:07 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:42:07 2021 Terminated at Wed Sep 15 06:56:42 2021 Results reported at Wed Sep 15 06:56:42 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin951 250.119 39.7626 485827201 486086401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1640.4+3945 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 787.52 sec. Max Memory : 1095 MB Average Memory : 303.46 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 875 sec. Turnaround time : 985 sec. The output (if any) is above this job summary.