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


Performing analysis on: 4FGL_J1054.5+2211_daily_bin1752
RA = 163.628, Dec = 22.1913
tmin = 693446401, tmax = 693705601
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='260470', job_status='RUN', time_executed='2022-12-26 00:48:58.557033', time_epoch_executed='1672044538.56' WHERE source_name='4FGL J1054.5+2211' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260470

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260470/ft1_4FGL_J1054.5+2211_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260470/ft2_4FGL_J1054.5+2211_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260470/ft1_4FGL_J1054.5+2211_daily_bin1752.fits outfile=/scratch/kocevski/260470/ft1_filteredMKT_4FGL_J1054.5+2211_daily_bin1752.fits ra=163.628 dec=22.1913 rad=12.0 tmin=693446401.0 tmax=693705601.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.58
user 3.30
sys 0.24

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

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

Number of photons that the gtmktime cut: 576

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260470/ft1_filtered_4FGL_J1054.5+2211_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/260470/ft2_4FGL_J1054.5+2211_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/260470/ltcube_693446401_693705601_4FGL_J1054.5+2211_daily_bin1752.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/260470/ft2_4FGL_J1054.5+2211_daily_bin1752.fits
.....................!
real 16.84
user 16.26
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260470/ft1_filtered_4FGL_J1054.5+2211_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260470/ft2_4FGL_J1054.5+2211_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/260470/ltcube_693446401_693705601_4FGL_J1054.5+2211_daily_bin1752.fits outfile=/scratch/kocevski/260470/expmap_693446401_693705601_4FGL_J1054.5+2211_daily_bin1752.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/260470/ltcube_693446401_693705601_4FGL_J1054.5+2211_daily_bin1752.fits
.....................!
real 193.96
user 187.43
sys 5.42

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/260470/ft1_filtered_4FGL_J1054.5+2211_daily_bin1752.fits scfile=/scratch/kocevski/260470/ft2_4FGL_J1054.5+2211_daily_bin1752.fits outfile=/scratch/kocevski/260470/cmap_693446401_693705601_4FGL_J1054.5+2211_daily_bin1752.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260470/ft1_filtered_4FGL_J1054.5+2211_daily_bin1752.fits scfile=/scratch/kocevski/260470/ft2_4FGL_J1054.5+2211_daily_bin1752.fits outfile=/scratch/kocevski/260470/cmap_HighResolution_693446401_693705601_4FGL_J1054.5+2211_daily_bin1752.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.267       1.0000          .0000       .10000E+07
     2 'Prefactor '    .38899E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13556E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.6742       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.2290       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.341       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.827       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.0643       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30143E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11043E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .29795E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .42084E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.6434       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.5592       1.0000          .0000       .10000E+07
    15 'norm      '    .55015E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.0220       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.706       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0648       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1032       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=   6211.851     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1522 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.282        5.5528       -.24343E-06    .12461    
   2  Prefactor     .18319E-08    11.601       -.23829E-05** at limit **
   3  Prefactor      .0000        42.942        .93024E-06** at limit **
   4  Prefactor     7.6768        7.5762       -.66391E-06   -.10511E-01
   5  Prefactor     2.2290        1.7204       -.39213E-06   -.19631E-02
   6  Prefactor     12.325        8.9576       -.11244E-05   -.36124E-01
   7  Prefactor     19.808        6.0032        .15540E-06    .48112E-01
   8  Prefactor     6.0606        16.354       -.50786E-05    .93235E-03
   9  Prefactor     .44409E-09    2.5684        .47702E-07** at limit **
  10  Prefactor     .23204E-07    2.6532        .16880E-05** at limit **
  11  Prefactor     .32530E-07    2.5928        .10033E-05** at limit **
  12  norm          .44409E-09    28.969        .41562E-05** at limit **
  13  Prefactor     2.6433        2.3006        .24800E-06    .27551E-03
  14  Prefactor     3.5605        3.5934        .98898E-06    .16814E-02
  15  norm          .23259E-07    148.56        .33540E-05** at limit **
  16  Prefactor     3.0286        6.8002        .22880E-06    .13972E-02
  17  Prefactor     18.774        4.0563        .78545E-06   -.54798E-01
  18  Normalizat    1.0648        .21505       -.21770E-04   -.21688E-03
  19  Prefactor     1.1032        .22978        .11725E-04   -.34484E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.2818
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  Prefactor  = 7.67678
  Prefactor  = 2.22901
  Prefactor  = 12.3253
  Prefactor  = 19.8085
  Prefactor  = 6.06056
  Prefactor  = 4.44089e-10
  Prefactor  = 2.32037e-08
  Prefactor  = 3.25295e-08
  norm       = 4.44089e-10
  Prefactor  = 2.6433
  Prefactor  = 3.56052
  norm       = 2.32592e-08
  Prefactor  = 3.02862
  Prefactor  = 18.7738
  Normalizat = 1.06476
  Prefactor  = 1.10317
 **********
 **   18 **HESSE 
 **********

 FCN=   6211.851     FROM HESSE     STATUS=OK           322 CALLS     1844 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.282        9.8650        .22790E-03   -1.5620    
   2  Prefactor     .18319E-08    11.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        43.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.6768        7.9252        .36175E-03   -1.5653    
   5  Prefactor     2.2290        1.7335        .68834E-03   -1.5678    
   6  Prefactor     12.325        9.2101        .28489E-03   -1.5638    
   7  Prefactor     19.808        9.2204        .22465E-03   -1.5619    
   8  Prefactor     6.0606        16.949        .40748E-03   -1.5659    
   9  Prefactor     .44409E-09    2.5746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .23204E-07    3.7401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .32530E-07    3.8118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44409E-09    1.0216        .25939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6433        2.3108        .62682E-03   -1.5675    
  14  Prefactor     3.5605        3.5946        .53548E-03   -1.5670    
  15  norm          .23259E-07    11.541        .69943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0286        6.8161        .58353E-03   -1.5673    
  17  Prefactor     18.774        20.791        .23129E-03   -1.5621    
  18  Normalizat    1.0648        .18560        .39659E-01   -.90891    
  19  Prefactor     1.1032        .19513        .60470E-01   -.89365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86982e-07
Minuit parameter uncertainties:
  1  9.86496
  2  0.000290478
  3  1.83525e-06
  4  7.92518
  5  1.73348
  6  9.21013
  7  9.22038
  8  16.9493
  9  6.87133e-05
  10  0.000589121
  11  0.000704261
  12  4.25708e-05
  13  2.31076
  14  3.5946
  15  0.00103579
  16  6.81607
  17  20.7915
  18  0.185712
  19  0.195259
Done.

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

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  4.441e-10  6.871e-05  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.103e+00  1.953e-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.065e+00  1.857e-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: 3.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/260470/likelihoodResults_693446401_693705601_4FGL_J1054.5+2211_daily_bin1752.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) = 6211.85401651
delta logL = -0.00284531775287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6211.8511716
delta logL = -4.1434304876e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34128E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .93320       1.0000          .0000       10.000    
     3 'Normalizat'    1.0648       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1032       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=   6211.851     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      232 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6738        .42118E-03** at limit **
   2  Index         2.0955        1.7859        .20309E-04     .0000    
   3  Normalizat    1.0648        1.1858       -.22385E-04   -.12667E-03
   4  Prefactor     1.1032        1.1465        .13960E-04   -.13124E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.09549
  Normalizat = 1.06476
  Prefactor  = 1.10317
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6211.851     FROM HESSE     STATUS=FAILED         9 CALLS      241 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .47829        1.9118        .20309E-04   -.61984    
   3  Normalizat    1.0648        1.1858       -.22385E-04   -.90891    
   4  Prefactor     1.1032        1.1465        .13960E-04   -.89365    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.27988e-11
Minuit parameter uncertainties:
  1  4.58278e-06
  2  1.84881
  3  1.21742
  4  1.1738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260470': 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) = 6211.85117119
delta logL = 1.75532477442e-10

Extracting fit parameters...

4FGL J1054.5+2211
   Spectrum: PowerLaw
249    Prefactor:  0.000e+00  4.583e-06  0.000e+00  1.000e+06 ( 1.000e-13)
250        Index:  2.095e+00  1.849e+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.103e+00  1.174e+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:  1.065e+00  1.217e+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/260470/cmap_HighResolution_693446401_693705601_4FGL_J1054.5+2211_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.97e-03', job_status='DONE', photon_flux_upper_limit='3.92e-08', time_completed='2022-12-26 00:58:43.573041', job_id='260470', GAL2='1.10', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1672045123.57', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.76e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1752' AND source_name='4FGL J1054.5+2211' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 00:58:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 260470: <4FGL_J1054.5+2211_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1054.5+2211_daily_bin1752> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec 26 00:45:12 2022
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:45:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:45:33 2022
Terminated at Mon Dec 26 00:58:44 2022
Results reported at Mon Dec 26 00:58:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1054.5+2211_daily_bin1752 163.628 22.1913 693446401 693705601 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 :                                   579.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            812 sec.

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

