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


Performing analysis on: 4FGL_J1054.5+2211_daily_bin1759
RA = 163.628, Dec = 22.1913
tmin = 695260801, tmax = 695520001
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='555620', job_status='RUN', time_executed='2023-01-16 01:03:29.850299', time_epoch_executed='1673859809.85' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555620

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555620/ft1_4FGL_J1054.5+2211_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555620/ft2_4FGL_J1054.5+2211_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555620/ft1_4FGL_J1054.5+2211_daily_bin1759.fits outfile=/scratch/kocevski/555620/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin1759.fits ra=163.628 dec=22.1913 rad=12.0 tmin=695260801.0 tmax=695520001.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 2.76
user 2.56
sys 0.19

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

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

Number of photons that the gtmktime cut: 264

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555620/ft1_filtered_4FGL_J1054.5+2211_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/555620/ft2_4FGL_J1054.5+2211_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/555620/ltcube_695260801_695520001_4FGL_J1054.5+2211_daily_bin1759.fits outfile=/scratch/kocevski/555620/expmap_695260801_695520001_4FGL_J1054.5+2211_daily_bin1759.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/555620/ltcube_695260801_695520001_4FGL_J1054.5+2211_daily_bin1759.fits
.....................!
real 191.13
user 185.52
sys 5.19

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/555620/ft1_filtered_4FGL_J1054.5+2211_daily_bin1759.fits scfile=/scratch/kocevski/555620/ft2_4FGL_J1054.5+2211_daily_bin1759.fits outfile=/scratch/kocevski/555620/cmap_695260801_695520001_4FGL_J1054.5+2211_daily_bin1759.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/555620/ft1_filtered_4FGL_J1054.5+2211_daily_bin1759.fits scfile=/scratch/kocevski/555620/ft2_4FGL_J1054.5+2211_daily_bin1759.fits outfile=/scratch/kocevski/555620/cmap_HighResolution_695260801_695520001_4FGL_J1054.5+2211_daily_bin1759.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.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71640E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .33528       1.0000          .0000       .10000E+07
     3 'Prefactor '    72.019       1.0000          .0000       .10000E+07
     4 'Prefactor '    .56398E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .98632E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9467       1.0000          .0000       .10000E+07
     7 'Prefactor '    18.174       1.0000          .0000       .10000E+07
     8 'Prefactor '    .54222       1.0000          .0000       .10000E+07
     9 'Prefactor '    .91738E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .25817E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.7109       1.0000          .0000       .10000E+07
    12 'norm      '    .77084       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.0805       1.0000          .0000       .10000E+07
    14 'Prefactor '    .42638E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .26355E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.9140       1.0000          .0000       .10000E+07
    17 'Prefactor '    24.876       1.0000          .0000       .10000E+07
    18 'Normalizat'    .65142       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.4266       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=   3134.108     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1467 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79936E-08    9.9278       -.78383E-07** at limit **
   2  Prefactor     .41400E-06    55.468       -.26082E-06** at limit **
   3  Prefactor     75.837        74.330        .15261E-05   -.10780E-01
   4  Prefactor     .13878E-08    6.1950        .29291E-06** at limit **
   5  Prefactor     .55511E-10    2.2563       -.45035E-06** at limit **
   6  Prefactor     4.9671        9.3751        .50130E-06   -.11297E-01
   7  Prefactor     18.219        5.7645        .65410E-07   -.10319    
   8  Prefactor     .56504E-05    120.77       -.15794E-05** at limit **
   9  Prefactor     .44964E-08    7.4969       -.24246E-06** at limit **
  10  Prefactor      .0000        5.2877        .13806E-06** at limit **
  11  Prefactor     3.7220        3.2756        .90039E-07    .92407E-02
  12  norm          .77149        1.2250       -.98747E-07    .41639E-03
  13  Prefactor     3.0789        4.2998       -.22594E-06   -.13002E-02
  14  Prefactor     .11102E-09    4.0220       -.19335E-06** at limit **
  15  norm          .99920E-09    18.076        .20156E-05** at limit **
  16  Prefactor     5.9261        5.6190       -.19470E-06   -.38985E-01
  17  Prefactor     25.456        6.8170        .17236E-06    .18990    
  18  Normalizat    .64954        .30548        .12344E-04   -.50579E-04
  19  Prefactor     1.4277        .32806       -.87383E-06   -.58783E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.99361e-09
  Prefactor  = 4.14002e-07
  Prefactor  = 75.8367
  Prefactor  = 1.38778e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 4.96707
  Prefactor  = 18.2191
  Prefactor  = 5.65037e-06
  Prefactor  = 4.4964e-09
  Prefactor  = 0
  Prefactor  = 3.72205
  norm       = 0.771493
  Prefactor  = 3.07887
  Prefactor  = 1.11022e-10
  norm       = 9.99201e-10
  Prefactor  = 5.92608
  Prefactor  = 25.4563
  Normalizat = 0.649537
  Prefactor  = 1.42771
 **********
 **   18 **HESSE 
 **********

 FCN=   3134.108     FROM HESSE     STATUS=OK           306 CALLS     1773 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79936E-08    9.9631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .41400E-06    65.843        .97404E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     75.837        74.537        .11784E-03   -1.5534    
   4  Prefactor     .13878E-08    6.2204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    2.2532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.9671        11.103        .45196E-03   -1.5663    
   7  Prefactor     18.219        17.905        .23466E-03   -1.5623    
   8  Prefactor     .56504E-05    124.05        .74572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44964E-08    7.5091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.3119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.7220        48.723        .52398E-03   -1.5669    
  12  norm          .77149        1.2435        .55134E-03   -1.5690    
  13  Prefactor     3.0789        4.3266        .57763E-03   -1.5673    
  14  Prefactor     .11102E-09    4.0241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .99920E-09    18.044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.9261        11.075        .41270E-03   -1.5659    
  17  Prefactor     25.456        32.885        .20054E-03   -1.5607    
  18  Normalizat    .64954        .26595        .68990E-01   -1.0592    
  19  Prefactor     1.4277        .27300        .52374E-01   -.79585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82767e-06
Minuit parameter uncertainties:
  1  0.000565097
  2  0.0104425
  3  74.5376
  4  0.000187297
  5  1.82825e-05
  6  11.1034
  7  17.9049
  8  0.0529517
  9  0.000368099
  10  2.1036e-05
  11  26.9335
  12  1.24346
  13  4.32663
  14  4.3022e-05
  15  0.000270586
  16  11.0747
  17  32.8853
  18  0.266481
  19  0.27328
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  4.496e-09  3.681e-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.428e+00  2.733e-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:  6.495e-01  2.665e-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: 9.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/555620/likelihoodResults_695260801_695520001_4FGL_J1054.5+2211_daily_bin1759.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): 102
logL (Free Index) = 3134.10798518
delta logL = -0.000180131661182

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3134.10780508
delta logL = -3.8593498175e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20539E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .95332       1.0000          .0000       10.000    
     3 'Normalizat'    .64952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4277       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=   3134.108     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      223 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22204E-09    7.3367       -.51920E-05** at limit **
   2  Index         2.1792        2.9754        .22636E-03    .37452E-10
   3  Normalizat    .64955        .30217       -.22952E-04    .19833E-03
   4  Prefactor     1.4277        .32799        .86884E-05   -.59613E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22045e-10
  Index      = 2.17921
  Normalizat = 0.649546
  Prefactor  = 1.4277
 **********
 **   18 **HESSE 
 **********

 FCN=   3134.108     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      260 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22204E-09    .44334E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1792        5.2950        .45681       -.59941    
   3  Normalizat    .64955        .47478E-03    .68990E-01   -1.0592    
   4  Prefactor     1.4277        .51508E-03    .52374E-01   -.79585    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.20506e-13
Minuit parameter uncertainties:
  1  6.26526e-06
  2  4442.98
  3  0.000474779
  4  0.000515077
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555620': 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): 102
logL (Free Index) = 3134.10780504
delta logL = -1.49157131091e-10

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  2.220e-10  6.265e-06  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.179e+00  4.443e+03  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.428e+00  5.151e-04  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:  6.495e-01  4.748e-04  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/555620/cmap_HighResolution_695260801_695520001_4FGL_J1054.5+2211_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-03', job_status='DONE', photon_flux_upper_limit='9.57e-08', time_completed='2023-01-16 01:10:41.355331', job_id='555620', GAL2='1.43', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1673860241.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.43', dlogl='-1.49e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1759' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:10:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 555620: <4FGL_J1054.5+2211_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1054.5+2211_daily_bin1759> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Jan 16 01:00:20 2023
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:01:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:01:23 2023
Terminated at Mon Jan 16 01:10:42 2023
Results reported at Mon Jan 16 01:10:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin1759 163.628 22.1913 695260801 695520001 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 :                                   434.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            622 sec.

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

