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


Performing analysis on: 4FGL_J0840.8+1317_weekly_bin759
RA = 130.222, Dec = 13.2871
tmin = 698025601, tmax = 698630401
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='582460', job_status='RUN', time_executed='2023-02-21 03:06:25.098534', time_epoch_executed='1676977585.1' WHERE source_name='4FGL J0840.8+1317' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/582460

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/582460/ft1_4FGL_J0840.8+1317_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/582460/ft2_4FGL_J0840.8+1317_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/582460/ft1_4FGL_J0840.8+1317_weekly_bin759.fits outfile=/scratch/kocevski/582460/ft1_filteredMKT_4FGL_J0840.8+1317_weekly_bin759.fits ra=130.222 dec=13.2871 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.49
user 8.19
sys 0.26

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

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

Number of photons that the gtmktime cut: 509

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/582460/ft1_filtered_4FGL_J0840.8+1317_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/582460/ft2_4FGL_J0840.8+1317_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/582460/ltcube_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.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/582460/ft2_4FGL_J0840.8+1317_weekly_bin759.fits
.....................!
real 26.97
user 26.61
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/582460/ft1_filtered_4FGL_J0840.8+1317_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/582460/ft2_4FGL_J0840.8+1317_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/582460/ltcube_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.fits outfile=/scratch/kocevski/582460/expmap_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.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/582460/ltcube_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.fits
.....................!
real 190.42
user 186.06
sys 3.99

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/582460/ft1_filtered_4FGL_J0840.8+1317_weekly_bin759.fits scfile=/scratch/kocevski/582460/ft2_4FGL_J0840.8+1317_weekly_bin759.fits outfile=/scratch/kocevski/582460/cmap_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/582460/ft1_filtered_4FGL_J0840.8+1317_weekly_bin759.fits scfile=/scratch/kocevski/582460/ft2_4FGL_J0840.8+1317_weekly_bin759.fits outfile=/scratch/kocevski/582460/cmap_HighResolution_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.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.58
user 0.44
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/582460/ft1_filtered_4FGL_J0840.8+1317_weekly_bin759.fits', '/scratch/kocevski/582460/ft2_4FGL_J0840.8+1317_weekly_bin759.fits', expMap='/scratch/kocevski/582460/expmap_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.fits', expCube='/scratch/kocevski/582460/ltcube_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/582460/Model_4FGL_J0840.8+1317_weekly_bin759.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/582460/ft1_filtered_4FGL_J0840.8+1317_weekly_bin759.fits
Spacecraft file(s): /scratch/kocevski/582460/ft2_4FGL_J0840.8+1317_weekly_bin759.fits
Exposure map: /scratch/kocevski/582460/expmap_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.fits
Exposure cube: /scratch/kocevski/582460/ltcube_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/582460/Model_4FGL_J0840.8+1317_weekly_bin759.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) = 5919.16958758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30841E-02   1.0000          .0000       .10000E+07
     2 'norm      '    194.70       1.0000          .0000       .10000E+07
     3 'norm      '    15.197       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16831E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .48340       1.0000          .0000       .10000E+07
     6 'norm      '    .20505       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.363       1.0000          .0000       .10000E+07
     8 'Prefactor '    .50445E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .18097E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .24642E-03   1.0000          .0000       .10000E+07
    11 'norm      '    5.0660       1.0000          .0000       .10000E+07
    12 'norm      '    56.293       1.0000          .0000       .10000E+07
    13 'Normalizat'    .79412       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1346       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=   5919.167     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      971 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    8.5928        .39638E-06** at limit **
   2  norm          194.84        25.253        .11233E-06   -.33108    
   3  norm          15.196        2.4911       -.28423E-07   -.10531    
   4  Prefactor      .0000        3.8694       -.47065E-06** at limit **
   5  norm          .48374        .85273        .34814E-07   -.80901E-03
   6  norm          .20576        .85574       -.10711E-06** at limit **
   7  Prefactor     10.390        10.029       -.27630E-06    .27486E-02
   8  Prefactor     .55511E-10    16.425        .13405E-05** at limit **
   9  norm           .0000        1.2842        .18360E-06** at limit **
  10  Prefactor     .55511E-10    6.4682       -.22081E-06** at limit **
  11  norm          4.9115        8.2984        .34314E-07   -.56886E-03
  12  norm          56.588        54.654        .44921E-06    .73587E-01
  13  Normalizat    .79412        .22557        .18135E-04   -.61714E-04
  14  Prefactor     1.1347        .18701       -.13497E-04   -.10580E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 194.843
  norm       = 15.196
  Prefactor  = 0
  norm       = 0.483738
  norm       = 0.205762
  Prefactor  = 10.3897
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 4.91146
  norm       = 56.5876
  Normalizat = 0.794124
  Prefactor  = 1.13467
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.167     FROM HESSE     STATUS=OK           202 CALLS     1173 TOTAL
                     EDM=   .92E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    8.5676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          194.84        123.31        .71675E-04   -1.5429    
   3  norm          15.196        20.256        .25666E-03   -1.5630    
   4  Prefactor      .0000        3.8694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .48374        1.0013        .21215E-02   -1.5694    
   6  norm          .20576        .60645        .28486E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.390        10.140        .31101E-03   -1.5643    
   8  Prefactor     .55511E-10    16.398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .39057        .24958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    6.4526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.9115        8.3256        .44649E-03   -1.5664    
  12  norm          56.588        56.276        .13329E-03   -1.5558    
  13  Normalizat    .79412        .19113        .64800E-01   -1.0029    
  14  Prefactor     1.1347        .15759        .36400E-01   -.88366    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.1671e-06
Minuit parameter uncertainties:
  1  5.62572e-05
  2  123.309
  3  20.2562
  4  1.75937e-05
  5  1.00126
  6  0.606454
  7  10.1399
  8  6.89852e-05
  9  2.22385e-06
  10  2.9907e-05
  11  8.32559
  12  56.2765
  13  0.191289
  14  0.157657
Done.

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

Extracting fit parameters...

4FGL J0840.8+1317
   Spectrum: PowerLaw
297    Prefactor:  5.551e-11  6.899e-05  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:  1.135e+00  1.577e-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:  7.941e-01  1.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 130.222 13.287
Photon Flux Upper Limit: 8.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/582460/likelihoodResults_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.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) = 5919.19579279
delta logL = -0.029188512076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5919.16660429
delta logL = -1.16751834867e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93925E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.4374       1.0000          .0000       10.000    
     3 'Normalizat'    .79415       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1346       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=   5919.167     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      198 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13212E-07    18.121       -.51164E-05** at limit **
   2  Index         2.3642        6.1798        .18128E-03    .98617E-09
   3  Normalizat    .79412        .21965       -.11165E-04   -.28295E-03
   4  Prefactor     1.1347        .18380        .92165E-05   -.72810E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.32117e-08
  Index      = 2.36423
  Normalizat = 0.79412
  Prefactor  = 1.13467
 **********
 **   18 **HESSE 
 **********

 FCN=   5919.167     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      235 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13212E-07    1.2786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3642        5.5334        .50000       -.55525    
   3  Normalizat    .79412        .12174E-02    .64800E-01   -1.0029    
   4  Prefactor     1.1347        .10187E-02    .36397E-01   -.88366    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.68353e-11
Minuit parameter uncertainties:
  1  0.000260021
  2  4325.98
  3  0.0012174
  4  0.00101872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/582460': 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) = 5919.16660428
delta logL = -5.42058842257e-10

Extracting fit parameters...

4FGL J0840.8+1317
   Spectrum: PowerLaw
297    Prefactor:  1.321e-08  2.600e-04  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.364e+00  4.326e+03  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:  1.135e+00  1.019e-03  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:  7.941e-01  1.217e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/582460/cmap_HighResolution_698025601_698630401_4FGL_J0840.8+1317_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.42e-03', job_status='DONE', photon_flux_upper_limit='8.26e-08', time_completed='2023-02-21 03:14:49.900083', job_id='582460', GAL2='1.13', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1676978089.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='-5.42e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='759' AND source_name='4FGL J0840.8+1317' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:14:49 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 582460: <4FGL_J0840.8+1317_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0840.8+1317_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:05:30 2023
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:05:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:05:30 2023
Terminated at Tue Feb 21 03:14:50 2023
Results reported at Tue Feb 21 03:14:50 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0840.8+1317_weekly_bin759 130.222 13.2871 698025601 698630401 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 :                                   506.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   560 sec.
    Turnaround time :                            560 sec.

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

