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


Performing analysis on: 4FGL_J1054.5+2211_daily_bin1712
RA = 163.628, Dec = 22.1913
tmin = 683078401, tmax = 683337601
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='97495', job_status='RUN', time_executed='2022-09-16 15:39:53.576865', time_epoch_executed='1663367993.58' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97495

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97495/ft1_4FGL_J1054.5+2211_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97495/ft2_4FGL_J1054.5+2211_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97495/ft1_4FGL_J1054.5+2211_daily_bin1712.fits outfile=/scratch/kocevski/97495/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin1712.fits ra=163.628 dec=22.1913 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.76
user 4.51
sys 0.21

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

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

Number of photons that the gtmktime cut: 536

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/97495/ft1_filtered_4FGL_J1054.5+2211_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/97495/ft2_4FGL_J1054.5+2211_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/97495/ltcube_683078401_683337601_4FGL_J1054.5+2211_daily_bin1712.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/97495/ft2_4FGL_J1054.5+2211_daily_bin1712.fits
.....................!
real 13.40
user 13.02
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97495/ft1_filtered_4FGL_J1054.5+2211_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/97495/ft2_4FGL_J1054.5+2211_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/97495/ltcube_683078401_683337601_4FGL_J1054.5+2211_daily_bin1712.fits outfile=/scratch/kocevski/97495/expmap_683078401_683337601_4FGL_J1054.5+2211_daily_bin1712.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/97495/ltcube_683078401_683337601_4FGL_J1054.5+2211_daily_bin1712.fits
.....................!
real 191.57
user 186.03
sys 4.27

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/97495/ft1_filtered_4FGL_J1054.5+2211_daily_bin1712.fits scfile=/scratch/kocevski/97495/ft2_4FGL_J1054.5+2211_daily_bin1712.fits outfile=/scratch/kocevski/97495/cmap_683078401_683337601_4FGL_J1054.5+2211_daily_bin1712.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97495/ft1_filtered_4FGL_J1054.5+2211_daily_bin1712.fits scfile=/scratch/kocevski/97495/ft2_4FGL_J1054.5+2211_daily_bin1712.fits outfile=/scratch/kocevski/97495/cmap_HighResolution_683078401_683337601_4FGL_J1054.5+2211_daily_bin1712.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4421       1.0000          .0000       .10000E+07
     2 'Prefactor '    21.691       1.0000          .0000       .10000E+07
     3 'Prefactor '    72.605       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.4131       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5369       1.0000          .0000       .10000E+07
     6 'Prefactor '    22.734       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5122       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30283E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.3657       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.920       1.0000          .0000       .10000E+07
    11 'Prefactor '    .10358E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.6114       1.0000          .0000       .10000E+07
    13 'Prefactor '    .44904E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.2483       1.0000          .0000       .10000E+07
    15 'norm      '    15.543       1.0000          .0000       .10000E+07
    16 'Prefactor '    .50369E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .44687E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1164       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3940       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=   6066.559     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1416 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3807        8.9199        .14111E-06    .21518E-02
   2  Prefactor     21.526        39.732        .59724E-05   -.43915E-02
   3  Prefactor     74.380        99.893        .69221E-05   -.15876E-02
   4  Prefactor     1.5660        8.8028        .22102E-05   -.45386E-03
   5  Prefactor     1.5211        3.0130        .63468E-06   -.17346E-02
   6  Prefactor     22.749        12.532        .14660E-06    .60131E-02
   7  Prefactor     6.7429        17.266        .56874E-05   -.31108E-02
   8  Prefactor     .30531E-08    12.207        .36571E-05** at limit **
   9  Prefactor     2.4165        32.071       -.88986E-05    .50971E-02
  10  Prefactor     18.931        11.826       -.17122E-05    .63088E-01
  11  Prefactor     .61062E-09    14.983       -.45135E-06** at limit **
  12  norm          1.6173        1.6963       -.21931E-06    .41458E-02
  13  Prefactor     .55511E-10    1.4781        .96169E-07** at limit **
  14  Prefactor     2.2541        4.7464        .27338E-06   -.25223E-03
  15  norm          15.552        9.2729        .26940E-05    .75480E-01
  16  Prefactor      .0000        6.4892        .60192E-06** at limit **
  17  Prefactor     .16653E-09    6.0716        .12037E-05** at limit **
  18  Normalizat    1.1149        .26738       -.97545E-05    .10099E-03
  19  Prefactor     1.3939        .27318        .12150E-04    .13333E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.38069
  Prefactor  = 21.5257
  Prefactor  = 74.3797
  Prefactor  = 1.56604
  Prefactor  = 1.5211
  Prefactor  = 22.7492
  Prefactor  = 6.74294
  Prefactor  = 3.05311e-09
  Prefactor  = 2.41647
  Prefactor  = 18.9314
  Prefactor  = 6.10623e-10
  norm       = 1.61725
  Prefactor  = 5.55112e-11
  Prefactor  = 2.25406
  norm       = 15.5523
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Normalizat = 1.11494
  Prefactor  = 1.39394
 **********
 **   18 **HESSE 
 **********

 FCN=   6066.559     FROM HESSE     STATUS=OK           314 CALLS     1730 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3807        8.9332        .34478E-03   -1.5650    
   2  Prefactor     21.526        39.748        .21477E-03   -1.5615    
   3  Prefactor     74.380        99.349        .11737E-03   -1.5535    
   4  Prefactor     1.5660        9.0299        .91068E-03   -1.5683    
   5  Prefactor     1.5211        3.0703        .86003E-03   -1.5683    
   6  Prefactor     22.749        12.572        .20978E-03   -1.5613    
   7  Prefactor     6.7429        19.245        .39303E-03   -1.5656    
   8  Prefactor     .30531E-08    12.224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4165        41.022        .66596E-03   -1.5677    
  10  Prefactor     18.931        15.210        .22998E-03   -1.5621    
  11  Prefactor     .61062E-09    14.987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.6173        1.7209        .83408E-03   -1.5683    
  13  Prefactor     .55511E-10    1.4761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2541        4.7698        .68503E-03   -1.5678    
  15  norm          15.552        14.056        .25378E-03   -1.5629    
  16  Prefactor      .0000        6.4909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16653E-09    6.0776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1149        .22068        .65040E-01   -.89273    
  19  Prefactor     1.3939        .22482        .62611E-01   -.80555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20636e-06
Minuit parameter uncertainties:
  1  8.93322
  2  39.748
  3  99.3514
  4  7.52096
  5  3.0703
  6  12.5724
  7  19.245
  8  0.000385492
  9  19.9129
  10  15.2099
  11  0.000193956
  12  1.72094
  13  1.60144e-05
  14  4.76978
  15  14.0564
  16  1.53899e-05
  17  5.87923e-05
  18  0.22086
  19  0.224979
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  2.416e+00  1.991e+01  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:  1.394e+00  2.250e-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.115e+00  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/97495/likelihoodResults_683078401_683337601_4FGL_J1054.5+2211_daily_bin1712.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) = 6066.12009289
delta logL = 0.439057441819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6066.08134369
delta logL = 0.477806641367

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0976       1.0000          .0000       .10000E+07
     2 'Index     '    3.2720       1.0000          .0000       10.000    
     3 'Normalizat'    1.0567       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4274       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=   6066.081     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      231 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0928        58.420        .71233E-03    .75983E-02
   2  Index         3.2732        3.4309        .10654        .18024E-03
   3  Normalizat    1.0566        .62249E-01    .66526E-01   -.22576E-04
   4  Prefactor     1.4274        .64871E-01    .61955E-01   -.50550E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09282
  Index      = 3.27319
  Normalizat = 1.05657
  Prefactor  = 1.42744
 **********
 **   18 **HESSE 
 **********

 FCN=   6066.081     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0928        138.14        .11660E-04   -1.5679    
   2  Index         3.2732        6.4741        .62501E-02   -.35262    
   3  Normalizat    1.0566        .28153        .29430E-03   -.91159    
   4  Prefactor     1.4274        .30226        .27400E-03   -.79593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0235e-09
Minuit parameter uncertainties:
  1  34.0066
  2  7.41711
  3  0.28193
  4  0.302642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97495': 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) = 6066.08134293
delta logL = 0.47780739662

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  2.093e+00  3.401e+01  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  3.273e+00  7.417e+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:  1.427e+00  3.026e-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.057e+00  2.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 163.628 22.191
Photon Index (Free Index): 3.27 +/- 7.42
Photon Flux (Free Index): 6.12e-08 +/- 7.34e-08
Energy Flux (Free Index): 1.09e-05 +/- 2.58e-05

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/97495/cmap_HighResolution_683078401_683337601_4FGL_J1054.5+2211_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.47e-03', comment='SUCCESS', energy_flux2='1.09e-05', dlogl='4.78e-01', photon_flux2='6.12e-08', job_status='DONE', time_completed='2022-09-16 15:49:03.783926', photon_index_error2='7.42', photon_index2='3.27', ts='0.04', fit_tolerance='1e-08', GAL='1.39', photon_index_error='0.00', photon_flux_upper_limit='9.85e-08', energy_flux_error2='2.58e-05', EG='1.11', time_epoch_completed='1663368543.78', return_code='0', job_id='97495', GAL2='1.43', EG2='1.06', return_code2='0', photon_flux_error2='7.34e-08', ts2='1.03', photon_index='2.13' WHERE bin_id='1712' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:49:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 97495: <4FGL_J1054.5+2211_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1054.5+2211_daily_bin1712> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 15:35:17 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:36:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:36:26 2022
Terminated at Fri Sep 16 15:49:04 2022
Results reported at Fri Sep 16 15:49:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin1712 163.628 22.1913 683078401 683337601 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 :                                   552.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             252.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            827 sec.

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

