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


Performing analysis on: 4FGL_J1054.5+2211_weekly_bin758
RA = 163.628, Dec = 22.1913
tmin = 697420801, tmax = 698025601
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='86885', job_status='RUN', time_executed='2023-02-14 01:07:04.846539', time_epoch_executed='1676365624.85' WHERE source_name='4FGL J1054.5+2211' and cadence='weekly' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86885

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86885/ft1_4FGL_J1054.5+2211_weekly_bin758.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86885/ft1_4FGL_J1054.5+2211_weekly_bin758.fits outfile=/scratch/kocevski/86885/ft1_filteredMKT_4FGL_J1054.5+2211_weekly_bin758.fits ra=163.628 dec=22.1913 rad=12.0 tmin=697420801.0 tmax=698025601.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.90
user 7.59
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.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/86885/ft1_filteredMKT_4FGL_J1054.5+2211_weekly_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/86885/ft1_filtered_4FGL_J1054.5+2211_weekly_bin758.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.36
sys 0.16

Number of photons that the gtmktime cut: 1159

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86885/ft1_filtered_4FGL_J1054.5+2211_weekly_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/86885/ltcube_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.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/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits
.....................!
real 25.88
user 25.52
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86885/ft1_filtered_4FGL_J1054.5+2211_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/86885/ltcube_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.fits outfile=/scratch/kocevski/86885/expmap_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.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/86885/ltcube_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.fits
.....................!
real 191.21
user 186.55
sys 4.33

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

Setting source of interest to:
4FGL J1054.5+2211 @ 163.628 22.1913

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/86885/ft1_filtered_4FGL_J1054.5+2211_weekly_bin758.fits scfile=/scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits outfile=/scratch/kocevski/86885/cmap_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.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=163.628 yref=22.1913 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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86885/ft1_filtered_4FGL_J1054.5+2211_weekly_bin758.fits scfile=/scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits outfile=/scratch/kocevski/86885/cmap_HighResolution_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.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=163.628 yref=22.1913 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/86885/ft1_filtered_4FGL_J1054.5+2211_weekly_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86885/Model_4FGL_J1054.5+2211_weekly_bin758.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/86885/ft1_filtered_4FGL_J1054.5+2211_weekly_bin758.fits.....................!
real 105.66
user 104.26
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86885/ft1_filtered_4FGL_J1054.5+2211_weekly_bin758.fits', '/scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits', expMap='/scratch/kocevski/86885/expmap_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.fits', expCube='/scratch/kocevski/86885/ltcube_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86885/Model_4FGL_J1054.5+2211_weekly_bin758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1054.5+2211'

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  5.931e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/86885/ft1_filtered_4FGL_J1054.5+2211_weekly_bin758.fits
Spacecraft file(s): /scratch/kocevski/86885/ft2_4FGL_J1054.5+2211_weekly_bin758.fits
Exposure map: /scratch/kocevski/86885/expmap_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.fits
Exposure cube: /scratch/kocevski/86885/ltcube_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86885/Model_4FGL_J1054.5+2211_weekly_bin758.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) = 12835.8222105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.654       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.6145       1.0000          .0000       .10000E+07
     3 'Prefactor '    17.071       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.4066       1.0000          .0000       .10000E+07
     5 'Prefactor '    .79107       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.940       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.9943       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.991       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.3087       1.0000          .0000       .10000E+07
    10 'Prefactor '    .30789E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35795E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .37859E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12206E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.9900       1.0000          .0000       .10000E+07
    15 'norm      '    12.965       1.0000          .0000       .10000E+07
    16 'Prefactor '    10.159       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.727       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2716       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .63045       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12835.78     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1150 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.638        7.5429        .17575E-06    .22909E-02
   2  Prefactor     9.6506        3.6223        .41429E-07   -.12740E-01
   3  Prefactor     16.631        37.516       -.23925E-05    .23985E-02
   4  Prefactor     8.4098        4.6298        .98778E-07    .24756E-02
   5  Prefactor     .79093        .73497        .31542E-08    .21564E-02
   6  Prefactor     16.959        5.7412        .10377E-06    .26061E-02
   7  Prefactor     8.9887        6.4306       -.67388E-06   -.12556E-01
   8  Prefactor     11.922        3.9228       -.83775E-06    .67352E-01
   9  Prefactor     3.3485        5.4950        .37072E-06    .48845E-02
  10  Prefactor     .55511E-10    21.096        .40964E-06** at limit **
  11  Prefactor      .0000        8.3934        .99248E-06** at limit **
  12  norm           .0000        .31019        .15147E-07** at limit **
  13  Prefactor      .0000        4.0482        .36427E-06** at limit **
  14  Prefactor     4.9587        5.3872       -.39336E-06    .29270E-02
  15  norm          12.919        5.8888       -.10767E-05   -.55752E-01
  16  Prefactor     10.213        6.9812        .10751E-05   -.12721E-01
  17  Prefactor     15.566        9.4410        .12200E-05    .55192E-02
  18  Normalizat    1.2718        .13938       -.68449E-06   -.80714E-04
  19  Prefactor     .63048        .14044        .15529E-05   -.66356E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 32.638
  Prefactor  = 9.6506
  Prefactor  = 16.6315
  Prefactor  = 8.40977
  Prefactor  = 0.790927
  Prefactor  = 16.9595
  Prefactor  = 8.98875
  Prefactor  = 11.9222
  Prefactor  = 3.34852
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.95873
  norm       = 12.9191
  Prefactor  = 10.2128
  Prefactor  = 15.5656
  Normalizat = 1.27182
  Prefactor  = 0.63048
 **********
 **   18 **HESSE 
 **********

 FCN=   12835.78     FROM HESSE     STATUS=OK           320 CALLS     1470 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.638        7.5863        .17502E-03   -1.5594    
   2  Prefactor     9.6506        9.9864        .32295E-03   -1.5646    
   3  Prefactor     16.631        37.647        .24214E-03   -1.5626    
   4  Prefactor     8.4098        4.6431        .34551E-03   -1.5650    
   5  Prefactor     .79093        .73203        .53603E-03   -1.5690    
   6  Prefactor     16.959        5.7602        .24307E-03   -1.5626    
   7  Prefactor     8.9887        6.5853        .33396E-03   -1.5648    
   8  Prefactor     11.922        13.467        .28904E-03   -1.5639    
   9  Prefactor     3.3485        5.5809        .55630E-03   -1.5671    
  10  Prefactor     .55511E-10    20.671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        8.3786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .30778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .76775        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.9587        5.6754        .44995E-03   -1.5663    
  15  norm          12.919        8.7429        .27793E-03   -1.5636    
  16  Prefactor     10.213        9.4914        .31413E-03   -1.5644    
  17  Prefactor     15.566        10.353        .25229E-03   -1.5629    
  18  Normalizat    1.2718        .12131        .49111E-01   -.84412    
  19  Prefactor     .63048        .12098        .70020E-01   -1.0632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.17112e-08
Minuit parameter uncertainties:
  1  7.58628
  2  9.98645
  3  37.6472
  4  4.64313
  5  0.732026
  6  5.76019
  7  6.58529
  8  13.4671
  9  5.5809
  10  7.22653e-05
  11  1.65589e-06
  12  2.83031e-07
  13  1.85669e-06
  14  5.6754
  15  8.74288
  16  9.49137
  17  10.3528
  18  0.121333
  19  0.121033
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  3.349e+00  5.581e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  6.305e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.272e+00  1.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 163.628 22.191
Photon Flux Upper Limit: 4.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/86885/likelihoodResults_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.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) = 12835.6435907
delta logL = 0.140299473802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12835.6382992
delta logL = 0.145590980199

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12835.64     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      260 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8940        48.547        .75490E-03    .13532E-01
   2  Index         2.7942        3.0842        .17346        .17040E-03
   3  Normalizat    1.2596        .27745E-01    .49301E-01   -.35836E-04
   4  Prefactor     .63865        .27612E-01    .69603E-01    .24514E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89399
  Index      = 2.79415
  Normalizat = 1.25957
  Prefactor  = 0.638654
 **********
 **   18 **HESSE 
 **********

 FCN=   12835.64     FROM HESSE     STATUS=OK            33 CALLS      293 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8940        25.358        .18564E-04   -1.5680    
   2  Index         2.7942        3.5876        .10088E-01   -.45690    
   3  Normalizat    1.2596        .15031        .21796E-03   -.84782    
   4  Prefactor     .63865        .15138        .30805E-03   -1.0598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01478e-07
Minuit parameter uncertainties:
  1  13.8604
  2  4.15745
  3  0.150365
  4  0.151472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86885': 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) = 12835.6382971
delta logL = 0.145593116504

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.894e+00  1.386e+01  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.794e+00  4.157e+00  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.471e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  6.387e-01  1.515e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.260e+00  1.504e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.56
Ra Dec: 163.628 22.191

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/86885/cmap_HighResolution_697420801_698025601_4FGL_J1054.5+2211_weekly_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-03', job_status='DONE', photon_flux_upper_limit='4.46e-08', time_completed='2023-02-14 01:20:23.276754', job_id='86885', GAL2='0.64', fit_tolerance='1e-08', EG2='1.26', EG='1.27', time_epoch_completed='1676366423.28', return_code2='0', ts='0.56', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='1.46e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='758' AND source_name='4FGL J1054.5+2211' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 14 01:20:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 86885: <4FGL_J1054.5+2211_weekly_bin758> in cluster <slac> Done

Job <4FGL_J1054.5+2211_weekly_bin758> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 14 01:05:31 2023
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 14 01:05:32 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 14 01:05:32 2023
Terminated at Tue Feb 14 01:20:24 2023
Results reported at Tue Feb 14 01:20:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_weekly_bin758 163.628 22.1913 697420801 698025601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1054.5+2211 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   800.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             309.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            893 sec.

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

