/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 111 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 = 7474 number of fields = 22 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin54 RA = 250.119, Dec = 39.7626 tmin = 253324801, tmax = 253584001 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='827649', job_status='RUN', time_executed='2021-09-15 06:11:03.012297', time_epoch_executed='1631711463.01' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='54' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/827649 Creating custom pfile directory: /scratch/kocevski/827649/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=253324801.0 && nMetStart<253584001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=253324801.0 && nMetStart<253584001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/827649/ft1_4FGL_J1640.4+3945_daily_bin54.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=253324801.0 && nMetStart<253584001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/827649/ft1_4FGL_J1640.4+3945_daily_bin54.fits outfile=/scratch/kocevski/827649/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin54.fits ra=250.119 dec=39.7626 rad=12.0 tmin=253324801.0 tmax=253584001.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 1.46 user 1.27 sys 0.15 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.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/827649/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin54.fits evtable="EVENTS" outfile="/scratch/kocevski/827649/ft1_filtered_4FGL_J1640.4+3945_daily_bin54.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.55 user 0.35 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/827649/ft1_filtered_4FGL_J1640.4+3945_daily_bin54.fits" evtable="EVENTS" scfile=/scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits sctable="SC_DATA" outfile=/scratch/kocevski/827649/ltcube_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.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/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits .....................! real 14.79 user 14.42 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/827649/ft1_filtered_4FGL_J1640.4+3945_daily_bin54.fits evtable="EVENTS" scfile=/scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits sctable="SC_DATA" expcube=/scratch/kocevski/827649/ltcube_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.fits outfile=/scratch/kocevski/827649/expmap_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.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/827649/ltcube_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.fits .....................! real 192.94 user 187.40 sys 5.12 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/827649/ft1_filtered_4FGL_J1640.4+3945_daily_bin54.fits scfile=/scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits outfile=/scratch/kocevski/827649/cmap_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.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.55 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/827649/ft1_filtered_4FGL_J1640.4+3945_daily_bin54.fits scfile=/scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits outfile=/scratch/kocevski/827649/cmap_HighResolution_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.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.41 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/827649/ft1_filtered_4FGL_J1640.4+3945_daily_bin54.fits evtable="EVENTS" scfile=/scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/827649/Model_4FGL_J1640.4+3945_daily_bin54.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/827649/ft1_filtered_4FGL_J1640.4+3945_daily_bin54.fits.....................! real 46.81 user 45.40 sys 1.27 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/827649/ft1_filtered_4FGL_J1640.4+3945_daily_bin54.fits', '/scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits', expMap='/scratch/kocevski/827649/expmap_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.fits', expCube='/scratch/kocevski/827649/ltcube_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/827649/Model_4FGL_J1640.4+3945_daily_bin54.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/827649/ft1_filtered_4FGL_J1640.4+3945_daily_bin54.fits Spacecraft file(s): /scratch/kocevski/827649/ft2_4FGL_J1640.4+3945_daily_bin54.fits Exposure map: /scratch/kocevski/827649/expmap_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.fits Exposure cube: /scratch/kocevski/827649/ltcube_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/827649/Model_4FGL_J1640.4+3945_daily_bin54.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) = 5548.89312873 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5548.85291663 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 1.4517 1.0000 .10000E-03 10000. 3 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 1.8888 1.0000 .10000E-03 10000. 5 'Prefactor ' 15.249 1.0000 .10000E-03 10000. 6 'Prefactor ' .63503 1.0000 .10000E-03 10000. 7 'norm ' .27311 1.0000 .10000E-03 10000. 8 'norm ' .10003E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .22200 1.0000 .10000E-03 10000. 11 'norm ' .10000E-03 1.0000 .10000E-03 10000. 12 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 4.2515 1.0000 .10000E-03 10000. 14 'Prefactor ' 8.3386 1.0000 .10000E-03 10000. 15 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 16 'norm ' 3.8541 1.0000 .10000E-03 10000. 17 'norm ' 1.4450 1.0000 .10000E-03 10000. 18 'Prefactor ' 4.2306 1.0000 .10000E-03 10000. 19 'norm ' .10132E-03 1.0000 .10000E-03 10000. 20 'norm ' 11.635 1.0000 .10000E-03 10000. 21 'norm ' 2.5530 1.0000 .10000E-03 10000. 22 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 23 'norm ' 8.3298 1.0000 .10000E-03 10000. 24 'Prefactor ' .10068E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .89009 1.0000 .10000E-01 10.000 26 'Prefactor ' .91992 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= 5548.853 FROM MIGRAD STATUS=CONVERGED 671 CALLS 2750 TOTAL EDM= .88E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 13.211 -.14498E-06** at limit ** 2 Prefactor 3.2451 839.96 .13977E-04 .19114E-05 3 Prefactor .10000E-03 1.5365 -.13992E-07** at limit ** 4 Prefactor 1.8821 .70789 .22842E-07 -.24867E-02 5 Prefactor 15.241 18.697 -.11406E-04 -.58425E-04 6 Prefactor .63613 2.3100 .25612E-07 -.16399E-03 7 norm .27314 .13760 -.38039E-08 -.13270E-03 8 norm .10000E-03 9.7640 .12474E-07** at limit ** 9 Prefactor .10000E-03 6.3856 -.17406E-07** at limit ** 10 Prefactor .18439 2.8889 .69838E-06 -.18748E-03 11 norm .10000E-03 14.120 .16125E-06** at limit ** 12 Prefactor .10000E-03 .54033 .36672E-08** at limit ** 13 Prefactor 4.2518 1.3847 -.44505E-08 -.81056E-04 14 Prefactor 8.3427 4.4379 .77378E-08 -.24746E-03 15 Prefactor .10000E-03 1.2868 -.61252E-08** at limit ** 16 norm 3.8544 1.9520 -.12789E-07 -.15626E-04 17 norm 1.4456 1.1021 -.82856E-07 -.42083E-03 18 Prefactor 4.2350 7.7436 .11951E-05 -.51315E-04 19 norm .10000E-03 .44355 -.69589E-07** at limit ** 20 norm 11.636 8.9358 -.24038E-06 -.23834E-03 21 norm 2.5535 2.1445 -.16559E-06 -.11206E-03 22 Prefactor .10000E-03 21.833 .50605E-07** at limit ** 23 norm 8.3299 5.6152 .33417E-06 -.47465E-05 24 Prefactor .10000E-03 72.478 -.10426E-05** at limit ** 25 Normalizat .88973 .20736 .10589E-05 -.13096E-03 26 Prefactor .92006 .16125 -.32405E-06 -.50245E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 3.24505 Prefactor = 0.0001 Prefactor = 1.88205 Prefactor = 15.2408 Prefactor = 0.636125 norm = 0.273141 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.184391 norm = 0.0001 Prefactor = 0.0001 Prefactor = 4.25183 Prefactor = 8.3427 Prefactor = 0.0001 norm = 3.85435 norm = 1.44562 Prefactor = 4.23497 norm = 0.0001 norm = 11.6361 norm = 2.55352 Prefactor = 0.0001 norm = 8.32991 Prefactor = 0.0001 Normalizat = 0.889728 Prefactor = 0.920061 ********** ** 18 **HESSE ********** FCN= 5548.853 FROM HESSE STATUS=OK 466 CALLS 3216 TOTAL EDM= .11E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 13.228 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 3.2451 857.63 .35753E-03 -1.5348 3 Prefactor .10000E-03 1.5497 .90118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 1.8821 5.7999 .14125E-02 -1.5434 5 Prefactor 15.241 19.942 .10257E-03 -1.4927 6 Prefactor .63613 2.2496 .20641E-03 -1.5548 7 norm .27314 .13625 .18455E-04 -1.5603 8 norm .10000E-03 9.7903 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 6.3927 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .18439 35.607 .23167E-02 -1.5622 11 norm .10000E-03 14.124 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .10000E-03 .54784 .10558E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 4.2518 1.3712 .46198E-04 -1.5296 14 Prefactor 8.3427 4.4576 .10643E-03 -1.5130 15 Prefactor .10000E-03 1.3093 .82454E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.8544 1.9518 .71249E-04 -1.5315 17 norm 1.4456 1.0837 .62811E-04 -1.5467 18 Prefactor 4.2350 7.6257 .19591E-03 -1.5296 19 norm .10000E-03 1.5741 .95111E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 11.636 8.9485 .58722E-03 -1.5026 21 norm 2.5535 2.1281 .92637E-04 -1.5388 22 Prefactor .10000E-03 21.851 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 8.3299 5.6114 .13811E-03 -1.5131 24 Prefactor .10000E-03 72.733 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .88973 .24320 .27386E-03 -.96822 26 Prefactor .92006 .18995 .22201E-03 -.95444 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.08704e-08 Minuit parameter uncertainties: 1 4.68695e-07 2 107.095 3 1.60481e-06 4 5.80165 5 19.951 6 2.2499 7 0.136252 8 5.44584e-07 9 1.89294e-06 10 5.12638 11 6.41411e-07 12 1.02934e-09 13 1.37116 14 4.45782 15 7.12725e-07 16 1.95179 17 1.08371 18 7.62744 19 9.25231e-06 20 8.94951 21 2.12816 22 9.56996e-06 23 5.61172 24 7.44235e-05 25 0.243496 26 0.190091 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5548.85274945 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 1.029e-09 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.201e-01 1.901e-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: 8.897e-01 2.435e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 8.38e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.49e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/827649/likelihoodResults_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.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) = 5548.86131239 delta logL = -0.00856294127243 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5548.85275436 delta logL = -4.91213904752e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10713E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3985 1.0000 .0000 10.000 3 'Normalizat' .88983 1.0000 .10000E-01 10.000 4 'Prefactor ' .92007 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. FCN= 5548.853 FROM MIGRAD STATUS=CONVERGED 66 CALLS 212 TOTAL EDM= .28E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .87942 .90712E-02** at limit ** 2 Index 1.9255 8.5833 .50000 .55604E-06 3 Normalizat .88973 .53613E-02 .44772E-01 -.34705E-04 4 Prefactor .92006 .44375E-02 .45260E-01 -.80518E-05 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 1.92547 Normalizat = 0.889731 Prefactor = 0.920059 ********** ** 18 **HESSE ********** FCN= 5548.853 FROM HESSE STATUS=NOT POSDEF 33 CALLS 245 TOTAL EDM= .86E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 27.686 .60679E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9255 9.0287 .50000 -.66227 3 Normalizat .88973 .31187E-01 .27386E-03 -.96822 4 Prefactor .92006 .25813E-01 .22201E-03 -.95444 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 8.60863e-10 Minuit parameter uncertainties: 1 1.17277e-06 2 213.84 3 0.0311872 4 0.0258131 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/827649': 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): 102 logL (Free Index) = 5548.85272916 delta logL = 2.02839482881e-05 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 1.173e-06 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 1.925e+00 2.138e+02 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.201e-01 2.581e-02 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: 8.897e-01 3.119e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 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/827649/cmap_HighResolution_253324801_253584001_4FGL_J1640.4+3945_daily_bin54.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/827649 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.49e-03', job_status='DONE', photon_flux_upper_limit='8.38e-08', time_completed='2021-09-15 06:23:07.958768', job_id='827649', GAL2='0.92', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1631712187.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.03e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='54' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:23:07 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 827649: <4FGL_J1640.4+3945_daily_bin54> in cluster Done Job <4FGL_J1640.4+3945_daily_bin54> was submitted from host by user in cluster at Wed Sep 15 06:05:27 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:09:02 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:09:02 2021 Terminated at Wed Sep 15 06:23:09 2021 Results reported at Wed Sep 15 06:23:09 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin54 250.119 39.7626 253324801 253584001 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 : 724.41 sec. Max Memory : 783 MB Average Memory : 281.63 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 846 sec. Turnaround time : 1062 sec. The output (if any) is above this job summary.