/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 61 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 = 7418 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin836 RA = 250.119, Dec = 39.7626 tmin = 456019201, tmax = 456278401 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='835562', job_status='RUN', time_executed='2021-09-15 06:39:38.012103', time_epoch_executed='1631713178.01' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='836' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/835562 Creating custom pfile directory: /scratch/kocevski/835562/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=456019201.0 && nMetStart<456278401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=456019201.0 && nMetStart<456278401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/835562/ft1_4FGL_J1640.4+3945_daily_bin836.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=456019201.0 && nMetStart<456278401.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/835562/ft1_4FGL_J1640.4+3945_daily_bin836.fits outfile=/scratch/kocevski/835562/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin836.fits ra=250.119 dec=39.7626 rad=12.0 tmin=456019201.0 tmax=456278401.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 7.13 user 6.83 sys 0.28 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.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/835562/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin836.fits evtable="EVENTS" outfile="/scratch/kocevski/835562/ft1_filtered_4FGL_J1640.4+3945_daily_bin836.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/835562/ft1_filtered_4FGL_J1640.4+3945_daily_bin836.fits" evtable="EVENTS" scfile=/scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits sctable="SC_DATA" outfile=/scratch/kocevski/835562/ltcube_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.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/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits .....................! real 14.28 user 13.92 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/835562/ft1_filtered_4FGL_J1640.4+3945_daily_bin836.fits evtable="EVENTS" scfile=/scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits sctable="SC_DATA" expcube=/scratch/kocevski/835562/ltcube_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.fits outfile=/scratch/kocevski/835562/expmap_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.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/835562/ltcube_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.fits .....................! real 191.82 user 186.14 sys 5.25 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/835562/ft1_filtered_4FGL_J1640.4+3945_daily_bin836.fits scfile=/scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits outfile=/scratch/kocevski/835562/cmap_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.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/835562/ft1_filtered_4FGL_J1640.4+3945_daily_bin836.fits scfile=/scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits outfile=/scratch/kocevski/835562/cmap_HighResolution_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.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.55 user 0.39 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/835562/ft1_filtered_4FGL_J1640.4+3945_daily_bin836.fits evtable="EVENTS" scfile=/scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/835562/Model_4FGL_J1640.4+3945_daily_bin836.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/835562/ft1_filtered_4FGL_J1640.4+3945_daily_bin836.fits.....................! real 43.57 user 42.12 sys 1.31 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/835562/ft1_filtered_4FGL_J1640.4+3945_daily_bin836.fits', '/scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits', expMap='/scratch/kocevski/835562/expmap_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.fits', expCube='/scratch/kocevski/835562/ltcube_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/835562/Model_4FGL_J1640.4+3945_daily_bin836.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/835562/ft1_filtered_4FGL_J1640.4+3945_daily_bin836.fits Spacecraft file(s): /scratch/kocevski/835562/ft2_4FGL_J1640.4+3945_daily_bin836.fits Exposure map: /scratch/kocevski/835562/expmap_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.fits Exposure cube: /scratch/kocevski/835562/ltcube_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/835562/Model_4FGL_J1640.4+3945_daily_bin836.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) = 4943.64763959 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4943.61643653 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6.3041 1.0000 .10000E-03 10000. 2 'Prefactor ' .10136E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 4.8143 1.0000 .10000E-03 10000. 4 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' 57.134 1.0000 .10000E-03 10000. 6 'Prefactor ' .18082E-01 1.0000 .10000E-03 10000. 7 'norm ' .43199 1.0000 .10000E-03 10000. 8 'norm ' .10001E-03 1.0000 .10000E-03 10000. 9 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.2593 1.0000 .10000E-03 10000. 11 'norm ' 31.414 1.0000 .10000E-03 10000. 12 'Prefactor ' .11259E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .35133 1.0000 .10000E-03 10000. 14 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 15 'Prefactor ' .11442E-03 1.0000 .10000E-03 10000. 16 'norm ' 5.5224 1.0000 .10000E-03 10000. 17 'norm ' 2.7281 1.0000 .10000E-03 10000. 18 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 19 'norm ' .10038E-03 1.0000 .10000E-03 10000. 20 'norm ' .10002E-03 1.0000 .10000E-03 10000. 21 'norm ' 7.3485 1.0000 .10000E-03 10000. 22 'Prefactor ' .10105E-03 1.0000 .10000E-03 10000. 23 'norm ' .10000E-03 1.0000 .10000E-03 10000. 24 'Prefactor ' .10157E-03 1.0000 .10000E-03 10000. 25 'Normalizat' .82019 1.0000 .10000E-01 10.000 26 'Prefactor ' .91890 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= 4943.616 FROM MIGRAD STATUS=CONVERGED 664 CALLS 3236 TOTAL EDM= .71E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6.2999 20.729 .62876E-06 -.37347E-05 2 Prefactor .10000E-03 46.560 -.22415E-05** at limit ** 3 Prefactor 4.8131 4.0333 .25789E-06 -.69226E-04 4 Prefactor .10000E-03 6.5722 .11678E-06** at limit ** 5 Prefactor 57.145 32.820 -.10027E-06 -.72754E-04 6 Prefactor .10192E-03 1.9110 .65150E-06** at limit ** 7 norm .43216 .16994 -.80520E-07 -.23046E-02 8 norm .10000E-03 10.079 .25665E-06** at limit ** 9 Prefactor .10000E-03 7.6372 -.14661E-07** at limit ** 10 Prefactor 1.2590 5.4366 .16306E-05 -.80158E-04 11 norm 31.478 41.323 .18045E-05 -.14218E-04 12 Prefactor .10002E-03 .75325 -.15019E-06** at limit ** 13 Prefactor .35167 .99824 .89860E-06 .20643E-03 14 Prefactor .10000E-03 1.9745 -.18238E-06** at limit ** 15 Prefactor .10001E-03 1.7957 .44907E-06** at limit ** 16 norm 5.5228 2.1676 -.18183E-06 -.27958E-03 17 norm 2.7280 1.2217 -.25670E-07 -.27162E-03 18 Prefactor .10000E-03 5.9246 -.18944E-07** at limit ** 19 norm .10000E-03 .43804 .29562E-07** at limit ** 20 norm .10000E-03 2.5838 .12422E-07** at limit ** 21 norm 7.3477 2.3708 .64024E-07 -.12405E-03 22 Prefactor .10000E-03 38.115 .83868E-06** at limit ** 23 norm .10000E-03 2.6720 .22643E-07** at limit ** 24 Prefactor .10000E-03 39.151 -.14204E-07** at limit ** 25 Normalizat .82048 .22527 -.38040E-05 -.20524E-03 26 Prefactor .91890 .16921 .88058E-06 -.34625E-03 ERR DEF= .500 Final values: Prefactor = 6.29985 Prefactor = 0.0001 Prefactor = 4.81309 Prefactor = 0.0001 Prefactor = 57.1453 Prefactor = 0.000101922 norm = 0.432155 norm = 0.0001 Prefactor = 0.0001 Prefactor = 1.25899 norm = 31.4778 Prefactor = 0.000100019 Prefactor = 0.351671 Prefactor = 0.0001 Prefactor = 0.00010001 norm = 5.52279 norm = 2.72796 Prefactor = 0.0001 norm = 0.0001 norm = 0.0001 norm = 7.34772 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Normalizat = 0.820483 Prefactor = 0.918905 ********** ** 18 **HESSE ********** FCN= 4943.616 FROM HESSE STATUS=OK 468 CALLS 3704 TOTAL EDM= .55E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6.2999 20.717 .15987E-03 -1.5206 2 Prefactor .10000E-03 46.507 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.8131 4.0291 .12271E-03 -1.5269 4 Prefactor .10000E-03 6.5994 .17562E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 57.145 32.850 .53073E-04 -1.4195 6 Prefactor .10192E-03 3.9595 .32315E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .43216 .16703 .16708E-04 -1.5577 8 norm .10000E-03 10.090 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .10000E-03 7.6484 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 1.2590 5.2773 .29443E-03 -1.5484 11 norm 31.478 41.613 .71488E-04 -1.4585 12 Prefactor .10002E-03 6.7569 .99593E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .35167 .90783 .99325E-04 -1.5589 14 Prefactor .10000E-03 3.8062 .18836E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .10001E-03 6.6466 .17440E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.5228 2.1635 .62317E-04 -1.5238 17 norm 2.7280 1.2069 .48412E-04 -1.5378 18 Prefactor .10000E-03 5.9981 .16688E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .10000E-03 1.0216 .90155E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .10000E-03 2.5882 .11037E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 7.3477 2.3673 .58852E-04 -1.5166 22 Prefactor .10000E-03 38.204 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .10000E-03 2.7108 .11223E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .10000E-03 39.202 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .82048 .25712 .27425E-03 -.99313 26 Prefactor .91890 .19918 .21524E-03 -.95484 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.49219e-09 Minuit parameter uncertainties: 1 20.7409 2 0.000117624 3 4.02932 4 5.19688e-06 5 32.8605 6 0.00551712 7 0.167029 8 1.07064e-05 9 1.36576e-05 10 5.15579 11 41.6513 12 0.000711525 13 0.907868 14 5.75725e-05 15 0.000509016 16 2.16352 17 1.20694 18 1.62808e-05 19 1.03153e-05 20 3.60532e-06 21 2.3673 22 8.11299e-05 23 6.21274e-06 24 3.4631e-05 25 0.2575 26 0.199336 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 4943.61630326 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 7.115e-04 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.189e-01 1.993e-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.205e-01 2.575e-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: 9.78e-08 ph cm-2 s-1 Energy Flux Upper Limit: 7.57e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/835562/likelihoodResults_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.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) = 4943.61705429 delta logL = -0.000751030062929 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 4943.61630389 delta logL = -6.34872776573e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .11374E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.3745 1.0000 .0000 10.000 3 'Normalizat' .82051 1.0000 .10000E-01 10.000 4 'Prefactor ' .91895 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= 4943.616 FROM MIGRAD STATUS=CONVERGED 63 CALLS 233 TOTAL EDM= .87E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 .43608E-01 .34735E-01** at limit ** 2 Index 2.3434 5.9727 .50000 .20675E-04 3 Normalizat .82048 .13297E-02 .43877E-01 .64131E-04 4 Prefactor .91891 .11052E-02 .45246E-01 .90557E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.34338 Normalizat = 0.820482 Prefactor = 0.918907 ********** ** 18 **HESSE ********** FCN= 4943.616 FROM HESSE STATUS=NOT POSDEF 35 CALLS 268 TOTAL EDM= .41E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 25.027 .10501E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.3434 7.7410 .50000 -.56016 3 Normalizat .82048 .89331E-02 .27426E-03 -.99313 4 Prefactor .91891 .74260E-02 .21523E-03 -.95484 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 4.10858e-08 Minuit parameter uncertainties: 1 0.000106763 2 40.0929 3 0.00893316 4 0.00742597 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/835562': 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) = 4943.61630249 delta logL = 7.69759026298e-07 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.000e-04 1.068e-04 1.000e-04 1.000e+04 ( 1.000e-12) 309 Index: 2.343e+00 4.009e+01 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.189e-01 7.426e-03 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.205e-01 8.933e-03 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/835562/cmap_HighResolution_456019201_456278401_4FGL_J1640.4+3945_daily_bin836.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/835562 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.57e-03', job_status='DONE', photon_flux_upper_limit='9.78e-08', time_completed='2021-09-15 06:52:07.736311', job_id='835562', GAL2='0.92', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1631713927.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.70e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='836' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Sep 15 06:52:07 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 835562: <4FGL_J1640.4+3945_daily_bin836> in cluster Done Job <4FGL_J1640.4+3945_daily_bin836> was submitted from host by user in cluster at Wed Sep 15 06:35:34 2021 Job was executed on host(s) , in queue , as user in cluster at Wed Sep 15 06:38:26 2021 was used as the home directory. was used as the working directory. Started at Wed Sep 15 06:38:26 2021 Terminated at Wed Sep 15 06:52:08 2021 Results reported at Wed Sep 15 06:52:08 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1640.4+3945_daily_bin836 250.119 39.7626 456019201 456278401 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 : 748.00 sec. Max Memory : 1257 MB Average Memory : 336.75 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 822 sec. Turnaround time : 994 sec. The output (if any) is above this job summary.