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


Performing analysis on: 4FGL_J1254.9+1138_daily_bin1711
RA = 193.733, Dec = 11.6495
tmin = 682819201, tmax = 683078401
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='123396', job_status='RUN', time_executed='2022-09-16 17:03:07.999654', time_epoch_executed='1663372988.0' WHERE source_name='4FGL J1254.9+1138' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/123396

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/123396/ft1_4FGL_J1254.9+1138_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/123396/ft1_4FGL_J1254.9+1138_daily_bin1711.fits outfile=/scratch/kocevski/123396/ft1_filteredMKT_4FGL_J1254.9+1138_daily_bin1711.fits ra=193.733 dec=11.6495 rad=12.0 tmin=682819201.0 tmax=683078401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.55
user 4.31
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.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/123396/ft1_filteredMKT_4FGL_J1254.9+1138_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/123396/ft1_filtered_4FGL_J1254.9+1138_daily_bin1711.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 507

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/123396/ft1_filtered_4FGL_J1254.9+1138_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/123396/ltcube_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.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/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits
.....................!
real 13.41
user 13.00
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/123396/ft1_filtered_4FGL_J1254.9+1138_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/123396/ltcube_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.fits outfile=/scratch/kocevski/123396/expmap_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.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/123396/ltcube_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.fits
.....................!
real 192.49
user 186.99
sys 5.13

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1254.9+1138 @ 193.733 11.6495

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/123396/ft1_filtered_4FGL_J1254.9+1138_daily_bin1711.fits scfile=/scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits outfile=/scratch/kocevski/123396/cmap_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.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=193.733 yref=11.6495 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/123396/ft1_filtered_4FGL_J1254.9+1138_daily_bin1711.fits scfile=/scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits outfile=/scratch/kocevski/123396/cmap_HighResolution_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.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=193.733 yref=11.6495 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/123396/ft1_filtered_4FGL_J1254.9+1138_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/123396/Model_4FGL_J1254.9+1138_daily_bin1711.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/123396/ft1_filtered_4FGL_J1254.9+1138_daily_bin1711.fits.....................!
real 51.15
user 49.73
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/123396/ft1_filtered_4FGL_J1254.9+1138_daily_bin1711.fits', '/scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits', expMap='/scratch/kocevski/123396/expmap_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.fits', expCube='/scratch/kocevski/123396/ltcube_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/123396/Model_4FGL_J1254.9+1138_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1254.9+1138'

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  3.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/123396/ft1_filtered_4FGL_J1254.9+1138_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/123396/ft2_4FGL_J1254.9+1138_daily_bin1711.fits
Exposure map: /scratch/kocevski/123396/expmap_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.fits
Exposure cube: /scratch/kocevski/123396/ltcube_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/123396/Model_4FGL_J1254.9+1138_daily_bin1711.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) = 5897.62085174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10222E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21800E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .18463E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    15.855       1.0000          .0000       .10000E+07
     5 'norm      '    89.880       1.0000          .0000       .10000E+07
     6 'norm      '    .93822       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32857       1.0000          .0000       .10000E+07
     8 'norm      '    2.7052       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10140E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2071       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.343       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.1160       1.0000          .0000       .10000E+07
    13 'Prefactor '    .78216E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .16184       1.0000          .0000       .10000E+07
    15 'Normalizat'    .83741       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1179       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5897.520     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1124 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    1.5124       -.10116E-06** at limit **
   2  Prefactor     .81046E-08    16.873        .13996E-05** at limit **
   3  norm          .55511E-10    4.5637       -.52495E-08** at limit **
   4  Prefactor     16.570        21.934       -.16778E-05   -.43536E-01
   5  norm          91.415        46.696        .68604E-06   -.10490E-01
   6  norm          .93393        .51784        .36145E-07    .30531E-01
   7  Prefactor     .31543E-04    132.15        .17468E-04** at limit **
   8  norm          2.7010        1.4491        .46440E-07    .13055E-01
   9  Prefactor     .22204E-09    9.7768        .13652E-06** at limit **
  10  Prefactor     7.0319        11.886       -.18636E-05   -.45200E-02
  11  Prefactor     14.427        9.0121        .22289E-05    .67610E-02
  12  Prefactor     6.9991        8.0056       -.29435E-07   -.14149E-03
  13  Prefactor     .54956E-08    24.838       -.17290E-05** at limit **
  14  Prefactor     .84660E-06    108.55       -.24902E-04** at limit **
  15  Normalizat    .83863        .24366       -.66069E-05    .27137E-03
  16  Prefactor     1.1175        .20503        .56876E-05    .53930E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 8.10463e-09
  norm       = 5.55112e-11
  Prefactor  = 16.5696
  norm       = 91.4148
  norm       = 0.933928
  Prefactor  = 3.15432e-05
  norm       = 2.70104
  Prefactor  = 2.22045e-10
  Prefactor  = 7.03194
  Prefactor  = 14.4266
  Prefactor  = 6.99912
  Prefactor  = 5.4956e-09
  Prefactor  = 8.46601e-07
  Normalizat = 0.838625
  Prefactor  = 1.11747
 **********
 **   18 **HESSE 
 **********

 FCN=   5897.520     FROM HESSE     STATUS=OK           239 CALLS     1363 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.5108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .81046E-08    16.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    4.4842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.570        29.320        .25127E-03   -1.5627    
   5  norm          91.415        46.946        .10549E-03   -1.5517    
   6  norm          .93393        .51988        .43152E-03   -1.5689    
   7  Prefactor     .31543E-04    10.219        .98278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.7010        1.4521        .61906E-03   -1.5675    
   9  Prefactor     .22204E-09    9.7223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.0319        13.425        .37340E-03   -1.5655    
  11  Prefactor     14.427        18.190        .26421E-03   -1.5632    
  12  Prefactor     6.9991        8.0010        .37581E-03   -1.5655    
  13  Prefactor     .54956E-08    24.777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .84660E-06    135.73        .12499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .83863        .20781        .67183E-01   -.98652    
  16  Prefactor     1.1175        .17336        .36942E-01   -.88910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16094e-07
Minuit parameter uncertainties:
  1  1.63392e-05
  2  0.000741056
  3  2.69816e-05
  4  29.3204
  5  46.9464
  6  0.519883
  7  0.0359072
  8  1.45208
  9  8.80095e-05
  10  13.4252
  11  18.1896
  12  8.00105
  13  0.000738859
  14  0.0214398
  15  0.208004
  16  0.173452
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  7.032e+00  1.343e+01  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.791e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.117e+00  1.735e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.386e-01  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/123396/likelihoodResults_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.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) = 5897.18590673
delta logL = 0.334551784346

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5897.17553921
delta logL = 0.344919304639

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6348       1.0000          .0000       .10000E+07
     2 'Index     '    4.3453       1.0000          .0000       10.000    
     3 'Normalizat'    .79530       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5897.176     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      253 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6264        70.403        .62792E-03    .53472E-02
   2  Index         4.3491        7.1484        .20321        .88255E-04
   3  Normalizat    .79519        .55902E-01    .68812E-01    .19564E-04
   4  Prefactor     1.1448        .48020E-01    .36091E-01    .27910E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.62638
  Index      = 4.3491
  Normalizat = 0.79519
  Prefactor  = 1.14482
 **********
 **   18 **HESSE 
 **********

 FCN=   5897.176     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      286 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6264        149.08        .12705E-04   -1.5676    
   2  Index         4.3491        6.0914        .98050E-02   -.13055    
   3  Normalizat    .79519        .21283        .30448E-03   -1.0025    
   4  Prefactor     1.1448        .18643        .22159E-03   -.88046    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.22768e-07
Minuit parameter uncertainties:
  1  39.5756
  2  11.9401
  3  0.213054
  4  0.186535
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/123396': 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) = 5897.17553755
delta logL = 0.344920956162

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.626e+00  3.958e+01  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  4.349e+00  1.194e+01  0.000e+00  1.000e+01 (-1.000e+00)
289        Scale:  4.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.145e+00  1.865e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  7.952e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 193.733 11.649
Photon Index (Free Index): 4.35 +/- 11.94
Photon Flux (Free Index): 5.98e-08 +/- 6.77e-08
Energy Flux (Free Index): 8.51e-06 +/- 1.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/123396/cmap_HighResolution_682819201_683078401_4FGL_J1254.9+1138_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', energy_flux2='8.51e-06', dlogl='3.45e-01', photon_flux2='5.98e-08', job_status='DONE', time_completed='2022-09-16 17:11:28.372491', photon_index_error2='11.94', photon_index2='4.35', ts='0.37', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.85e-05', EG='0.84', time_epoch_completed='1663373488.37', return_code='0', job_id='123396', GAL2='1.14', EG2='0.80', return_code2='102', photon_flux_error2='6.77e-08', ts2='1.16', photon_index='2.79' WHERE bin_id='1711' AND source_name='4FGL J1254.9+1138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:11:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 123396: <4FGL_J1254.9+1138_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1254.9+1138_daily_bin1711> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 17:00:24 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:02:11 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:02:11 2022
Terminated at Fri Sep 16 17:11:29 2022
Results reported at Fri Sep 16 17:11:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.9+1138_daily_bin1711 193.733 11.6495 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1254.9+1138 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   502.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             313.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   557 sec.
    Turnaround time :                            665 sec.

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

