aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 132 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7174
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0840.8+1317_daily_bin1750
RA = 130.222, Dec = 13.2871
tmin = 692928001, tmax = 693187201
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='3669', job_status='RUN', time_executed='2022-12-20 00:27:44.318744', time_epoch_executed='1671524864.32' WHERE source_name='4FGL J0840.8+1317' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/3669

Creating custom pfile directory:
/scratch/kocevski/3669/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=692928001.0 && nMetStart<693187201.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=692928001.0 && nMetStart<693187201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/3669/ft1_4FGL_J0840.8+1317_daily_bin1750.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=692928001.0 && nMetStart<693187201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/3669/ft1_4FGL_J0840.8+1317_daily_bin1750.fits outfile=/scratch/kocevski/3669/ft1_filteredMKT_4FGL_J0840.8+1317_daily_bin1750.fits ra=130.222 dec=13.2871 rad=12.0 tmin=692928001.0 tmax=693187201.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.43
user 3.24
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.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/3669/ft1_filteredMKT_4FGL_J0840.8+1317_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/3669/ft1_filtered_4FGL_J0840.8+1317_daily_bin1750.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.48
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 540

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/3669/ft1_filtered_4FGL_J0840.8+1317_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/3669/ltcube_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.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/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits
.....................!
real 11.35
user 11.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/3669/ft1_filtered_4FGL_J0840.8+1317_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/3669/ltcube_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.fits outfile=/scratch/kocevski/3669/expmap_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.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/3669/ltcube_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.fits
.....................!
real 189.80
user 184.67
sys 4.81

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J0840.8+1317 @ 130.222 13.2871

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/3669/ft1_filtered_4FGL_J0840.8+1317_daily_bin1750.fits scfile=/scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits outfile=/scratch/kocevski/3669/cmap_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.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=130.222 yref=13.2871 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/3669/ft1_filtered_4FGL_J0840.8+1317_daily_bin1750.fits scfile=/scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits outfile=/scratch/kocevski/3669/cmap_HighResolution_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.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=130.222 yref=13.2871 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.52
user 0.38
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/3669/ft1_filtered_4FGL_J0840.8+1317_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/3669/Model_4FGL_J0840.8+1317_daily_bin1750.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/3669/ft1_filtered_4FGL_J0840.8+1317_daily_bin1750.fits....................!
real 61.98
user 60.69
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/3669/ft1_filtered_4FGL_J0840.8+1317_daily_bin1750.fits', '/scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits', expMap='/scratch/kocevski/3669/expmap_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.fits', expCube='/scratch/kocevski/3669/ltcube_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/3669/Model_4FGL_J0840.8+1317_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0840.8+1317'

4FGL J0840.8+1317
   Spectrum: PowerLaw
297    Prefactor:  5.096e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.494e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  7.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/3669/ft1_filtered_4FGL_J0840.8+1317_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/3669/ft2_4FGL_J0840.8+1317_daily_bin1750.fits
Exposure map: /scratch/kocevski/3669/expmap_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.fits
Exposure cube: /scratch/kocevski/3669/ltcube_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/3669/Model_4FGL_J0840.8+1317_daily_bin1750.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) = 6225.76048254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6225.75853741

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7424       1.0000          .0000       .10000E+07
     2 'norm      '    .57592E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .18993E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.1717       1.0000          .0000       .10000E+07
     5 'norm      '    .30814E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .14433E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.6433       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.738       1.0000          .0000       .10000E+07
     9 'norm      '    .44042       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.697       1.0000          .0000       .10000E+07
    11 'norm      '    22.428       1.0000          .0000       .10000E+07
    12 'norm      '    .19323E-02   1.0000          .0000       .10000E+07
    13 'Normalizat'    1.0154       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .98982       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6225.758     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      919 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6970        20.690        .15357E-04    .80669E-02
   2  norm          .56066E-08    46.860       -.29261E-05** at limit **
   3  norm           .0000        10.057        .24502E-06** at limit **
   4  Prefactor     4.1728        7.2371       -.56402E-05    .25430E-01
   5  norm           .0000        .64851        .54782E-07** at limit **
   6  norm           .0000        .19792        .65659E-07** at limit **
   7  Prefactor     3.7203        9.5722       -.13800E-05   -.10687E-03
   8  Prefactor     19.766        1.1667       -.19286E-06    .62107E-02
   9  norm          .43962        .63741        .30005E-06    .26816E-02
  10  Prefactor     13.726        4.6479        .20696E-05    .12097E-01
  11  norm          22.302        11.164       -.17465E-07    .40211E-02
  12  norm          .55511E-09    40.098        .32745E-05** at limit **
  13  Normalizat    1.0151        .21604       -.21599E-04   -.20175E-03
  14  Prefactor     .98989        .17910        .19282E-05   -.18373E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.69696
  norm       = 5.60663e-09
  norm       = 0
  Prefactor  = 4.1728
  norm       = 0
  norm       = 0
  Prefactor  = 3.72032
  Prefactor  = 19.7661
  norm       = 0.43962
  Prefactor  = 13.7262
  norm       = 22.3018
  norm       = 5.55112e-10
  Normalizat = 1.0151
  Prefactor  = 0.989887
 **********
 **   18 **HESSE 
 **********

 FCN=   6225.758     FROM HESSE     STATUS=OK           192 CALLS     1111 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6970        29.328        .79439E-03   -1.5682    
   2  norm          .56066E-08    46.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        10.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1728        15.991        .49321E-03   -1.5667    
   5  norm           .0000        .64571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .19876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.7203        9.7020        .52901E-03   -1.5669    
   8  Prefactor     19.766        44.417        .22516E-03   -1.5619    
   9  norm          .43962        .72909        .16882E-02   -1.5695    
  10  Prefactor     13.726        13.923        .27038E-03   -1.5634    
  11  norm          22.302        11.198        .21121E-03   -1.5614    
  12  norm          .55511E-09    40.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.0151        .18737        .44136E-01   -.92526    
  14  Prefactor     .98989        .15222        .46140E-01   -.93067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43275e-07
Minuit parameter uncertainties:
  1  14.1093
  2  0.0010247
  3  2.4968e-05
  4  15.9909
  5  2.30189e-06
  6  1.97617e-06
  7  9.70204
  8  44.4178
  9  0.729092
  10  13.9235
  11  11.1981
  12  0.000292598
  13  0.187496
  14  0.15229
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6225.75834397

Extracting fit parameters...

4FGL J0840.8+1317
   Spectrum: PowerLaw
297    Prefactor:  1.977e+01  4.442e+01  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.494e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  7.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.899e-01  1.523e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.015e+00  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 130.222 13.287
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/3669/likelihoodResults_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.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): 0
logL (Free Index) = 6225.74866271
delta logL = 0.0096812632537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6225.74682273
delta logL = 0.0115212431529

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.235       1.0000          .0000       .10000E+07
     2 'Index     '    2.6900       1.0000          .0000       10.000    
     3 'Normalizat'    1.0091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99355       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6225.747     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      255 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.245        50.229        .96391E-05   -.36327E-03
   2  Index         2.6894        1.5108        .11867E-01   -.24446E-04
   3  Normalizat    1.0092        .22111        .26035E-03    .14416E-02
   4  Prefactor     .99340        .18110        .21726E-03    .17616E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2445
  Index      = 2.68945
  Normalizat = 1.00925
  Prefactor  = 0.993404
 **********
 **   18 **HESSE 
 **********

 FCN=   6225.747     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.245        44.870        .38556E-06   -1.5625    
   2  Index         2.6894        1.3521        .47469E-03   -.48037    
   3  Normalizat    1.0092        .22111        .52069E-04   -.92721    
   4  Prefactor     .99340        .18064        .43453E-04   -.92950    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10296e-09
Minuit parameter uncertainties:
  1  44.871
  2  1.37398
  3  0.221313
  4  0.180746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/3669': 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) = 6225.74682226
delta logL = 0.0115217080092

Extracting fit parameters...

4FGL J0840.8+1317
   Spectrum: PowerLaw
297    Prefactor:  1.724e+01  4.487e+01  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.689e+00  1.374e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  7.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.934e-01  1.807e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.009e+00  2.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
Ra Dec: 130.222 13.287

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/3669/cmap_HighResolution_692928001_693187201_4FGL_J0840.8+1317_daily_bin1750.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/3669

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2022-12-20 00:35:28.753014', job_id='3669', GAL2='0.99', fit_tolerance='1e-08', EG2='1.01', EG='1.02', time_epoch_completed='1671525328.75', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.15e-02', ts2='0.24', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1750' AND source_name='4FGL J0840.8+1317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:35:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 3669: <4FGL_J0840.8+1317_daily_bin1750> in cluster <slac> Done

Job <4FGL_J0840.8+1317_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 00:25:22 2022
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:25:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:25:24 2022
Terminated at Tue Dec 20 00:35:29 2022
Results reported at Tue Dec 20 00:35:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0840.8+1317_daily_bin1750 130.222 13.2871 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0840.8+1317 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   467.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   605 sec.
    Turnaround time :                            607 sec.

The output (if any) is above this job summary.

