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


Performing analysis on: 4FGL_J1054.5+2211_weekly_bin756
RA = 163.628, Dec = 22.1913
tmin = 696211201, tmax = 696816001
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='477544', job_status='RUN', time_executed='2023-01-31 02:48:08.111416', time_epoch_executed='1675162088.11' WHERE source_name='4FGL J1054.5+2211' and cadence='weekly' and bin_id='756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/477544

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/477544/ft1_4FGL_J1054.5+2211_weekly_bin756.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/477544/ft2_4FGL_J1054.5+2211_weekly_bin756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/477544/ft1_4FGL_J1054.5+2211_weekly_bin756.fits outfile=/scratch/kocevski/477544/ft1_filteredMKT_4FGL_J1054.5+2211_weekly_bin756.fits ra=163.628 dec=22.1913 rad=12.0 tmin=696211201.0 tmax=696816001.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.94
user 7.58
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/477544/ft2_4FGL_J1054.5+2211_weekly_bin756.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/477544/ft1_filteredMKT_4FGL_J1054.5+2211_weekly_bin756.fits evtable="EVENTS" outfile="/scratch/kocevski/477544/ft1_filtered_4FGL_J1054.5+2211_weekly_bin756.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.56
user 0.38
sys 0.17

Number of photons that the gtmktime cut: 1173

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/477544/ft1_filtered_4FGL_J1054.5+2211_weekly_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/477544/ft2_4FGL_J1054.5+2211_weekly_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/477544/ltcube_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.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/477544/ft2_4FGL_J1054.5+2211_weekly_bin756.fits
.....................!
real 33.11
user 32.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/477544/ft1_filtered_4FGL_J1054.5+2211_weekly_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/477544/ft2_4FGL_J1054.5+2211_weekly_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/477544/ltcube_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.fits outfile=/scratch/kocevski/477544/expmap_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.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/477544/ltcube_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.fits
.....................!
real 193.87
user 187.77
sys 5.55

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/477544/ft1_filtered_4FGL_J1054.5+2211_weekly_bin756.fits scfile=/scratch/kocevski/477544/ft2_4FGL_J1054.5+2211_weekly_bin756.fits outfile=/scratch/kocevski/477544/cmap_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.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.60
user 0.44
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/477544/ft1_filtered_4FGL_J1054.5+2211_weekly_bin756.fits scfile=/scratch/kocevski/477544/ft2_4FGL_J1054.5+2211_weekly_bin756.fits outfile=/scratch/kocevski/477544/cmap_HighResolution_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.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.61
user 0.43
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/477544/ft1_filtered_4FGL_J1054.5+2211_weekly_bin756.fits', '/scratch/kocevski/477544/ft2_4FGL_J1054.5+2211_weekly_bin756.fits', expMap='/scratch/kocevski/477544/expmap_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.fits', expCube='/scratch/kocevski/477544/ltcube_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/477544/Model_4FGL_J1054.5+2211_weekly_bin756.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/477544/ft1_filtered_4FGL_J1054.5+2211_weekly_bin756.fits
Spacecraft file(s): /scratch/kocevski/477544/ft2_4FGL_J1054.5+2211_weekly_bin756.fits
Exposure map: /scratch/kocevski/477544/expmap_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.fits
Exposure cube: /scratch/kocevski/477544/ltcube_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/477544/Model_4FGL_J1054.5+2211_weekly_bin756.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) = 13513.1609005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.8915       1.0000          .0000       .10000E+07
     2 'Prefactor '    .83769       1.0000          .0000       .10000E+07
     3 'Prefactor '    52.290       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10625E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .58547       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.572       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9159       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.247       1.0000          .0000       .10000E+07
     9 'Prefactor '    14.840       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35114       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12476E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .42056       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17785E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .90112E-04   1.0000          .0000       .10000E+07
    15 'norm      '    2.7060       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.3317       1.0000          .0000       .10000E+07
    17 'Prefactor '    12.207       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2260       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .82654       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=   13513.15     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1420 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.8692        4.0026       -.12902E-06   -.23129E-01
   2  Prefactor     .43218        130.99       -.49306E-06    .71164E-02
   3  Prefactor     52.670        16.652        .26753E-07    .68469E-01
   4  Prefactor     .11102E-09    1.6612        .37332E-07** at limit **
   5  Prefactor     .58534        1.0450        .10889E-06    .17303E-02
   6  Prefactor     17.549        4.8515       -.72068E-07   -.15350E-01
   7  Prefactor     1.9689        5.7323       -.23094E-06    .37650E-02
   8  Prefactor     10.258        1.9420        .79311E-07   -.39610E-01
   9  Prefactor     14.844        5.6096        .66666E-07   -.22692E-01
  10  Prefactor     .37664        15.283        .52198E-07    .39174E-02
  11  Prefactor      .0000        3.5225        .81014E-07** at limit **
  12  norm          .42108        .54892       -.50966E-08   -.61584E-04
  13  Prefactor     .72170E-01    9.9807       -.14469E-06** at limit **
  14  Prefactor     .55511E-10    1.8256       -.43493E-06** at limit **
  15  norm          2.7091        6.2813        .44210E-06    .72474E-02
  16  Prefactor     5.3058        4.4653        .20782E-06    .19466E-02
  17  Prefactor     12.256        1.0812        .14328E-07   -.92412E-02
  18  Normalizat    1.2251        .14071       -.24006E-05   -.77819E-05
  19  Prefactor     .82700        .14311        .16537E-05   -.40331E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.86919
  Prefactor  = 0.43218
  Prefactor  = 52.6703
  Prefactor  = 1.11022e-10
  Prefactor  = 0.585341
  Prefactor  = 17.5487
  Prefactor  = 1.96892
  Prefactor  = 10.2576
  Prefactor  = 14.8439
  Prefactor  = 0.376642
  Prefactor  = 0
  norm       = 0.421084
  Prefactor  = 0.0721701
  Prefactor  = 5.55112e-11
  norm       = 2.7091
  Prefactor  = 5.30584
  Prefactor  = 12.2561
  Normalizat = 1.22513
  Prefactor  = 0.826997
 **********
 **   18 **HESSE 
 **********

 FCN=   13513.15     FROM HESSE     STATUS=OK           328 CALLS     1748 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.8692        5.5168        .33590E-03   -1.5648    
   2  Prefactor     .43218        157.22        .50167E-03   -1.5695    
   3  Prefactor     52.670        41.090        .13830E-03   -1.5563    
   4  Prefactor     .11102E-09    1.7545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .58534        1.0664        .70540E-03   -1.5693    
   6  Prefactor     17.549        5.6882        .23866E-03   -1.5624    
   7  Prefactor     1.9689        9.3284        .75057E-03   -1.5680    
   8  Prefactor     10.258        13.114        .31277E-03   -1.5644    
   9  Prefactor     14.844        8.4931        .25974E-03   -1.5631    
  10  Prefactor     .37664        3.0959        .95381E-02   -1.5696    
  11  Prefactor      .0000        3.5474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .42108        .65609        .22246E-02   -1.5695    
  13  Prefactor     .72170E-01    .73867        .58813E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    2.0181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.7091        6.6617        .61896E-03   -1.5675    
  16  Prefactor     5.3058        4.4634        .43502E-03   -1.5662    
  17  Prefactor     12.256        13.760        .28646E-03   -1.5638    
  18  Normalizat    1.2251        .12219        .51862E-01   -.85830    
  19  Prefactor     .82700        .12029        .63725E-01   -.98741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34894e-07
Minuit parameter uncertainties:
  1  5.51683
  2  16.4864
  3  41.0903
  4  2.71236e-05
  5  1.06637
  6  5.68822
  7  8.57134
  8  13.1138
  9  8.49307
  10  2.15969
  11  1.93006e-05
  12  0.656091
  13  0.461777
  14  2.07504e-05
  15  6.66167
  16  4.46344
  17  13.7596
  18  0.122214
  19  0.120328
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.484e+01  8.493e+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:  8.270e-01  1.203e-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.225e+00  1.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.06
Ra Dec: 163.628 22.191
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 4.07e-08 +/- 2.33e-08
Energy Flux (Fixed Index): 2.07e-05 +/- 1.19e-05

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) = 13512.7219034
delta logL = 0.42838910371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13512.7185663
delta logL = 0.431726248067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.417       1.0000          .0000       .10000E+07
     2 'Index     '    1.7822       1.0000          .0000       10.000    
     3 'Normalizat'    1.2424       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81773       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=   13512.72     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      243 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.417        31.164        .24692E-03    .56963E-03
   2  Index         1.7828        1.1452        .17893       -.94757E-05
   3  Normalizat    1.2423        .13079        .51558E-01   -.63478E-05
   4  Prefactor     .81779        .12533        .64049E-01    .15091E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.4173
  Index      = 1.78278
  Normalizat = 1.24233
  Prefactor  = 0.817795
 **********
 **   18 **HESSE 
 **********

 FCN=   13512.72     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.417        8.5954        .98768E-05   -1.5627    
   2  Index         1.7828        .36968        .91969E-02   -.69899    
   3  Normalizat    1.2423        .13771        .22795E-03   -.85305    
   4  Prefactor     .81779        .14193        .28331E-03   -.99076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97395e-12
Minuit parameter uncertainties:
  1  8.59541
  2  0.37026
  3  0.13775
  4  0.141995
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/477544': 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) = 13512.7185651
delta logL = 0.431727413959

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.642e+01  8.595e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  1.783e+00  3.703e-01  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:  8.178e-01  1.420e-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.242e+00  1.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.93
Ra Dec: 163.628 22.191
Photon Index (Free Index): 1.78 +/- 0.37
Photon Flux (Free Index): 2.52e-08 +/- 1.96e-08
Energy Flux (Free Index): 3.18e-05 +/- 2.40e-05

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/477544/cmap_HighResolution_696211201_696816001_4FGL_J1054.5+2211_weekly_bin756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.07e-08', energy_flux2='3.18e-05', photon_flux_error='2.33e-08', dlogl='4.32e-01', energy_flux='2.07e-05', photon_flux2='2.52e-08', job_status='DONE', time_completed='2023-01-31 03:01:37.176124', photon_index_error2='0.37', photon_index2='1.78', ts='14.06', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.23', time_epoch_completed='1675162897.18', return_code='0', job_id='477544', GAL2='0.82', EG2='1.24', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='1.96e-08', ts2='14.93', photon_index='2.13' WHERE bin_id='756' AND source_name='4FGL J1054.5+2211' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 31 03:01:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 477544: <4FGL_J1054.5+2211_weekly_bin756> in cluster <slac> Done

Job <4FGL_J1054.5+2211_weekly_bin756> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 02:45:25 2023
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 02:47:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 02:47:33 2023
Terminated at Tue Jan 31 03:01:38 2023
Results reported at Tue Jan 31 03:01:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_weekly_bin756 163.628 22.1913 696211201 696816001 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 :                                   808.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             341.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            973 sec.

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

