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


Performing analysis on: 4FGL_J1054.5+2211_weekly_bin752
RA = 163.628, Dec = 22.1913
tmin = 693792001, tmax = 694396801
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='436562', job_status='RUN', time_executed='2023-01-03 01:37:07.554259', time_epoch_executed='1672738627.55' WHERE source_name='4FGL J1054.5+2211' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436562

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436562/ft1_4FGL_J1054.5+2211_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436562/ft2_4FGL_J1054.5+2211_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436562/ft1_4FGL_J1054.5+2211_weekly_bin752.fits outfile=/scratch/kocevski/436562/ft1_filteredMKT_4FGL_J1054.5+2211_weekly_bin752.fits ra=163.628 dec=22.1913 rad=12.0 tmin=693792001.0 tmax=694396801.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.73
user 8.33
sys 0.31

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

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

Number of photons that the gtmktime cut: 841

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436562/ft1_filtered_4FGL_J1054.5+2211_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/436562/ft2_4FGL_J1054.5+2211_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/436562/ltcube_693792001_694396801_4FGL_J1054.5+2211_weekly_bin752.fits outfile=/scratch/kocevski/436562/expmap_693792001_694396801_4FGL_J1054.5+2211_weekly_bin752.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/436562/ltcube_693792001_694396801_4FGL_J1054.5+2211_weekly_bin752.fits
.....................!
real 194.53
user 186.97
sys 4.88

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/436562/ft1_filtered_4FGL_J1054.5+2211_weekly_bin752.fits scfile=/scratch/kocevski/436562/ft2_4FGL_J1054.5+2211_weekly_bin752.fits outfile=/scratch/kocevski/436562/cmap_693792001_694396801_4FGL_J1054.5+2211_weekly_bin752.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.65
user 0.43
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436562/ft1_filtered_4FGL_J1054.5+2211_weekly_bin752.fits scfile=/scratch/kocevski/436562/ft2_4FGL_J1054.5+2211_weekly_bin752.fits outfile=/scratch/kocevski/436562/cmap_HighResolution_693792001_694396801_4FGL_J1054.5+2211_weekly_bin752.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.59
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6840       1.0000          .0000       .10000E+07
     2 'Prefactor '    27.819       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.490       1.0000          .0000       .10000E+07
     4 'Prefactor '    .96289E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5576       1.0000          .0000       .10000E+07
     6 'Prefactor '    6.8105       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.5461       1.0000          .0000       .10000E+07
     8 'Prefactor '    .90822       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.327       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.154       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4243       1.0000          .0000       .10000E+07
    12 'norm      '    .18707E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.8376       1.0000          .0000       .10000E+07
    14 'Prefactor '    .57568E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .66819E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .38314E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    11.643       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4346       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .63723       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=   9166.185     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1405 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6889        6.7979       -.12657E-07   -.10650E-03
   2  Prefactor     27.626        22.135        .40981E-07   -.29280E-02
   3  Prefactor     13.700        21.416       -.52370E-07   -.31180E-01
   4  Prefactor     .54956E-08    1.6981       -.73174E-07** at limit **
   5  Prefactor     1.5595        1.7461        .19356E-07    .14420E-02
   6  Prefactor     6.9055        4.9659        .27742E-07    .88832E-03
   7  Prefactor     4.5007        7.9052       -.17860E-07    .21703E-01
   8  Prefactor     .85967        16.623        .36825E-07   -.27584E-01
   9  Prefactor     16.313        5.5869        .55435E-08   -.17783E-01
  10  Prefactor     13.113        9.6427       -.23266E-08    .27834E-01
  11  Prefactor     8.5273        11.985        .32125E-07   -.44650E-01
  12  norm           .0000        .43452       -.71909E-07** at limit **
  13  Prefactor     2.8401        2.0512        .15143E-07    .11338E-02
  14  Prefactor     .14433E-08    3.4008        .79827E-07** at limit **
  15  norm          .33307E-08    3.3684        .42456E-07** at limit **
  16  Prefactor     .11047E-07    2.7388       -.12122E-06** at limit **
  17  Prefactor     11.595        11.530        .80446E-09   -.24341E-01
  18  Normalizat    1.4346        .16795       -.76927E-06    .85933E-04
  19  Prefactor     .63713        .16940        .15411E-05    .96141E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.68886
  Prefactor  = 27.626
  Prefactor  = 13.7
  Prefactor  = 5.4956e-09
  Prefactor  = 1.5595
  Prefactor  = 6.90552
  Prefactor  = 4.50074
  Prefactor  = 0.859672
  Prefactor  = 16.3127
  Prefactor  = 13.1129
  Prefactor  = 8.52726
  norm       = 0
  Prefactor  = 2.84014
  Prefactor  = 1.44329e-09
  norm       = 3.33067e-09
  Prefactor  = 1.10467e-08
  Prefactor  = 11.5953
  Normalizat = 1.43456
  Prefactor  = 0.637127
 **********
 **   18 **HESSE 
 **********

 FCN=   9166.185     FROM HESSE     STATUS=OK           314 CALLS     1719 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6889        6.8034        .32178E-03   -1.5646    
   2  Prefactor     27.626        31.334        .18963E-03   -1.5603    
   3  Prefactor     13.700        34.700        .27245E-03   -1.5634    
   4  Prefactor     .54956E-08    4.1618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.5595        1.7706        .85252E-03   -1.5683    
   6  Prefactor     6.9055        4.9663        .38423E-03   -1.5655    
   7  Prefactor     4.5007        10.657        .47191E-03   -1.5666    
   8  Prefactor     .85967        33.366        .45194E-03   -1.5689    
   9  Prefactor     16.313        10.933        .24760E-03   -1.5627    
  10  Prefactor     13.113        10.266        .27592E-03   -1.5636    
  11  Prefactor     8.5273        15.177        .34515E-03   -1.5650    
  12  norm           .0000        .42422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8401        2.0628        .60340E-03   -1.5674    
  14  Prefactor     .14433E-08    3.4882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .33307E-08    3.3792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11047E-07    3.8961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.595        12.526        .29334E-03   -1.5640    
  18  Normalizat    1.4346        .14541        .48089E-01   -.79634    
  19  Prefactor     .63713        .14706        .72171E-01   -1.0604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00733e-07
Minuit parameter uncertainties:
  1  6.80339
  2  31.3346
  3  34.7009
  4  0.000302562
  5  1.77058
  6  4.96629
  7  10.6572
  8  10.7116
  9  10.9334
  10  10.2657
  11  15.1769
  12  6.82447e-06
  13  2.06281
  14  0.000142537
  15  0.000212773
  16  0.000415412
  17  12.5258
  18  0.145456
  19  0.147153
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.631e+01  1.093e+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:  6.371e-01  1.472e-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.435e+00  1.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.16
Ra Dec: 163.628 22.191
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 4.47e-08 +/- 2.99e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.53e-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) = 9165.28086539
delta logL = 0.904176971635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9165.25124352
delta logL = 0.933798849177

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2335       1.0000          .0000       .10000E+07
     2 'Index     '    2.9678       1.0000          .0000       10.000    
     3 'Normalizat'    1.3740       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67967       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9165.251     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      289 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2331        14.387        .10701E-04   -.10242E-01
   2  Index         2.9679        1.2330        .40171E-02   -.36386E-03
   3  Normalizat    1.3740        .17994        .21617E-03   -.44734E-03
   4  Prefactor     .67968        .18055        .31013E-03   -.27699E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.23308
  Index      = 2.96792
  Normalizat = 1.37402
  Prefactor  = 0.679683
 **********
 **   18 **HESSE 
 **********

 FCN=   9165.251     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2331        8.1521        .42802E-06   -1.5658    
   2  Index         2.9679        .70329        .16068E-03   -.41853    
   3  Normalizat    1.3740        .17083        .43234E-04   -.81383    
   4  Prefactor     .67968        .17379        .12405E-04   -1.0433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03715e-09
Minuit parameter uncertainties:
  1  8.1521
  2  0.706102
  3  0.170899
  4  0.173929
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436562': 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) = 9165.25124348
delta logL = 0.933798885892

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  6.233e+00  8.152e+00  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.968e+00  7.061e-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:  6.797e-01  1.739e-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.374e+00  1.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.18
Ra Dec: 163.628 22.191
Photon Index (Free Index): 2.97 +/- 0.71
Photon Flux (Free Index): 9.26e-08 +/- 5.34e-08
Energy Flux (Free Index): 1.88e-05 +/- 9.02e-06

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/436562/cmap_HighResolution_693792001_694396801_4FGL_J1054.5+2211_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.47e-08', energy_flux2='1.88e-05', photon_flux_error='2.99e-08', dlogl='9.34e-01', energy_flux='2.28e-05', photon_flux2='9.26e-08', job_status='DONE', time_completed='2023-01-03 01:48:38.767477', photon_index_error2='0.71', photon_index2='2.97', ts='5.16', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='9.02e-06', EG='1.43', time_epoch_completed='1672739318.77', return_code='0', job_id='436562', GAL2='0.68', EG2='1.37', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='5.34e-08', ts2='7.18', photon_index='2.13' WHERE bin_id='752' AND source_name='4FGL J1054.5+2211' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:48:38 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 436562: <4FGL_J1054.5+2211_weekly_bin752> in cluster <slac> Done

Job <4FGL_J1054.5+2211_weekly_bin752> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan  3 01:35:33 2023
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:36:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:36:28 2023
Terminated at Tue Jan  3 01:48:39 2023
Results reported at Tue Jan  3 01:48:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_weekly_bin752 163.628 22.1913 693792001 694396801 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 :                                   684.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            786 sec.

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

