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


Performing analysis on: 4FGL_J1054.5+2211_daily_bin1715
RA = 163.628, Dec = 22.1913
tmin = 683856001, tmax = 684115201
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='97500', job_status='RUN', time_executed='2022-09-16 15:39:27.177392', time_epoch_executed='1663367967.18' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97500

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97500/ft1_4FGL_J1054.5+2211_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97500/ft2_4FGL_J1054.5+2211_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97500/ft1_4FGL_J1054.5+2211_daily_bin1715.fits outfile=/scratch/kocevski/97500/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin1715.fits ra=163.628 dec=22.1913 rad=12.0 tmin=683856001.0 tmax=684115201.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 3.49
user 3.22
sys 0.23

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

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

Number of photons that the gtmktime cut: 561

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/97500/ft1_filtered_4FGL_J1054.5+2211_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/97500/ft2_4FGL_J1054.5+2211_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/97500/ltcube_683856001_684115201_4FGL_J1054.5+2211_daily_bin1715.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/97500/ft2_4FGL_J1054.5+2211_daily_bin1715.fits
.....................!
real 13.93
user 13.48
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97500/ft1_filtered_4FGL_J1054.5+2211_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/97500/ft2_4FGL_J1054.5+2211_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/97500/ltcube_683856001_684115201_4FGL_J1054.5+2211_daily_bin1715.fits outfile=/scratch/kocevski/97500/expmap_683856001_684115201_4FGL_J1054.5+2211_daily_bin1715.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/97500/ltcube_683856001_684115201_4FGL_J1054.5+2211_daily_bin1715.fits
.....................!
real 193.70
user 187.29
sys 5.69

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/97500/ft1_filtered_4FGL_J1054.5+2211_daily_bin1715.fits scfile=/scratch/kocevski/97500/ft2_4FGL_J1054.5+2211_daily_bin1715.fits outfile=/scratch/kocevski/97500/cmap_683856001_684115201_4FGL_J1054.5+2211_daily_bin1715.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97500/ft1_filtered_4FGL_J1054.5+2211_daily_bin1715.fits scfile=/scratch/kocevski/97500/ft2_4FGL_J1054.5+2211_daily_bin1715.fits outfile=/scratch/kocevski/97500/cmap_HighResolution_683856001_684115201_4FGL_J1054.5+2211_daily_bin1715.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.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.008       1.0000          .0000       .10000E+07
     2 'Prefactor '    .46871       1.0000          .0000       .10000E+07
     3 'Prefactor '    .97429E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .63633E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .62742E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    24.434       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.319       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.0998       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14008E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.3561       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25308E-02   1.0000          .0000       .10000E+07
    12 'norm      '    4.3884       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77809E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17962E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .24415E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.8979       1.0000          .0000       .10000E+07
    17 'Prefactor '    14.410       1.0000          .0000       .10000E+07
    18 'Normalizat'    .87533       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.4980       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=   6248.642     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     1102 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.991        7.6723       -.45864E-06   -.28133E-01
   2  Prefactor     .20817E-07    142.92        .34104E-05** at limit **
   3  Prefactor     .49905E-07    13.537        .19741E-05** at limit **
   4  Prefactor     .34750E-07    13.310       -.71945E-06** at limit **
   5  Prefactor      .0000        1.6957       -.17438E-06** at limit **
   6  Prefactor     24.395        2.8993       -.99324E-07    .10710E-02
   7  Prefactor     14.420        8.5766       -.25227E-06   -.19769E-01
   8  Prefactor     8.4986        10.209        .12821E-05   -.22913E-01
   9  Prefactor     .13323E-08    4.5492       -.29822E-06** at limit **
  10  Prefactor     9.2410        8.2751       -.38402E-07   -.87750E-03
  11  Prefactor     .43854E-08    4.6250        .74572E-06** at limit **
  12  norm          4.3840        1.9631       -.56788E-07   -.25898E-03
  13  Prefactor      .0000        .87250       -.21106E-07** at limit **
  14  Prefactor     .16653E-09    5.2328       -.10813E-05** at limit **
  15  norm          .66613E-09    7.0746       -.13942E-07** at limit **
  16  Prefactor     10.035        2.7408       -.25081E-07    .12686E-01
  17  Prefactor     14.259        2.7646        .12664E-06   -.15481E-01
  18  Normalizat    .87558        .23102        .89745E-05    .16881E-05
  19  Prefactor     1.4986        .25312        .32826E-05   -.44483E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.9906
  Prefactor  = 2.08167e-08
  Prefactor  = 4.99045e-08
  Prefactor  = 3.475e-08
  Prefactor  = 0
  Prefactor  = 24.3947
  Prefactor  = 14.4202
  Prefactor  = 8.49856
  Prefactor  = 1.33227e-09
  Prefactor  = 9.24101
  Prefactor  = 4.38538e-09
  norm       = 4.38402
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  norm       = 6.66134e-10
  Prefactor  = 10.0345
  Prefactor  = 14.259
  Normalizat = 0.875578
  Prefactor  = 1.49861
 **********
 **   18 **HESSE 
 **********

 FCN=   6248.642     FROM HESSE     STATUS=OK           306 CALLS     1408 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.991        10.091        .25006E-03   -1.5628    
   2  Prefactor     .20817E-07    141.33        .81922E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49905E-07    15.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .34750E-07    14.988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.6840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.395        11.257        .20235E-03   -1.5609    
   7  Prefactor     14.420        10.202        .26443E-03   -1.5632    
   8  Prefactor     8.4986        20.372        .33200E-03   -1.5650    
   9  Prefactor     .13323E-08    4.7363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.2410        8.2925        .32740E-03   -1.5647    
  11  Prefactor     .43854E-08    5.7214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3840        1.9773        .48053E-03   -1.5666    
  13  Prefactor      .0000        .87018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16653E-09    6.1757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .66613E-09    7.3364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.035        13.416        .31826E-03   -1.5645    
  17  Prefactor     14.259        14.250        .26359E-03   -1.5632    
  18  Normalizat    .87558        .19748        .66855E-01   -.97324    
  19  Prefactor     1.4986        .21133        .58492E-01   -.77579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.65689e-08
Minuit parameter uncertainties:
  1  10.0906
  2  0.00342945
  3  0.00176774
  4  0.00144315
  5  4.12956e-07
  6  11.2568
  7  10.2022
  8  20.3718
  9  0.000159118
  10  8.29254
  11  0.000317093
  12  1.97734
  13  1.41598e-06
  14  6.64769e-05
  15  0.000142687
  16  13.416
  17  14.2502
  18  0.197645
  19  0.211454
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  1.332e-09  1.591e-04  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.499e+00  2.115e-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:  8.756e-01  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/97500/likelihoodResults_683856001_684115201_4FGL_J1054.5+2211_daily_bin1715.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) = 6248.64968907
delta logL = -0.00757992153831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6248.64211074
delta logL = -1.59602404892e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .77776E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.3100       1.0000          .0000       10.000    
     3 'Normalizat'    .87570       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4986       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6248.642     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      223 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7852        .42118E-03** at limit **
   2  Index         1.0642        .74098       -.65378E-04     .0000    
   3  Normalizat    .87558        1.2120       -.19154E-04   -.19749E-06
   4  Prefactor     1.4986        1.0488        .13881E-04   -.61087E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06423
  Normalizat = 0.875579
  Prefactor  = 1.49861
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6248.642     FROM HESSE     STATUS=FAILED         9 CALLS      232 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59646E-01    1.1199       -.65378E-04   -.90618    
   3  Normalizat    .87558        1.2120       -.19154E-04   -.97324    
   4  Prefactor     1.4986        1.0488        .13881E-04   -.77579    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.4189e-11
Minuit parameter uncertainties:
  1  9.80788e-06
  2  0.748297
  3  1.25313
  4  1.06453
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97500': 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): 101
logL (Free Index) = 6248.64210915
delta logL = 1.31876731757e-10

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  0.000e+00  9.808e-06  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  1.064e+00  7.483e-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:  1.499e+00  1.065e+00  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:  8.756e-01  1.253e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 163.628 22.191

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/97500/cmap_HighResolution_683856001_684115201_4FGL_J1054.5+2211_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2022-09-16 15:48:14.258703', job_id='97500', GAL2='1.50', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1663368494.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.50', dlogl='1.32e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1715' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:48:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 97500: <4FGL_J1054.5+2211_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1054.5+2211_daily_bin1715> 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) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:36:32 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:32 2022
Terminated at Fri Sep 16 15:48:15 2022
Results reported at Fri Sep 16 15:48:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin1715 163.628 22.1913 683856001 684115201 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 :                                   528.57 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             262.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            778 sec.

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

