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


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin736
RA = 193.733, Dec = 11.6495
tmin = 684115201, tmax = 684720001
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='240700', job_status='RUN', time_executed='2022-09-16 23:44:36.394212', time_epoch_executed='1663397076.39' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/240700

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/240700/ft1_4FGL_J1254.9+1138_weekly_bin736.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/240700/ft2_4FGL_J1254.9+1138_weekly_bin736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/240700/ft1_4FGL_J1254.9+1138_weekly_bin736.fits outfile=/scratch/kocevski/240700/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin736.fits ra=193.733 dec=11.6495 rad=12.0 tmin=684115201.0 tmax=684720001.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 9.51
user 9.17
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/240700/ft2_4FGL_J1254.9+1138_weekly_bin736.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/240700/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin736.fits evtable="EVENTS" outfile="/scratch/kocevski/240700/ft1_filtered_4FGL_J1254.9+1138_weekly_bin736.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.57
user 0.40
sys 0.16

Number of photons that the gtmktime cut: 1038

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/240700/ft1_filtered_4FGL_J1254.9+1138_weekly_bin736.fits evtable="EVENTS" scfile=/scratch/kocevski/240700/ft2_4FGL_J1254.9+1138_weekly_bin736.fits sctable="SC_DATA" expcube=/scratch/kocevski/240700/ltcube_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.fits outfile=/scratch/kocevski/240700/expmap_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.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/240700/ltcube_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.fits
.....................!
real 192.08
user 186.10
sys 5.56

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/240700/ft1_filtered_4FGL_J1254.9+1138_weekly_bin736.fits scfile=/scratch/kocevski/240700/ft2_4FGL_J1254.9+1138_weekly_bin736.fits outfile=/scratch/kocevski/240700/cmap_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.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.59
user 0.39
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/240700/ft1_filtered_4FGL_J1254.9+1138_weekly_bin736.fits scfile=/scratch/kocevski/240700/ft2_4FGL_J1254.9+1138_weekly_bin736.fits outfile=/scratch/kocevski/240700/cmap_HighResolution_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.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.61
user 0.42
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/240700/ft1_filtered_4FGL_J1254.9+1138_weekly_bin736.fits', '/scratch/kocevski/240700/ft2_4FGL_J1254.9+1138_weekly_bin736.fits', expMap='/scratch/kocevski/240700/expmap_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.fits', expCube='/scratch/kocevski/240700/ltcube_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/240700/Model_4FGL_J1254.9+1138_weekly_bin736.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/240700/ft1_filtered_4FGL_J1254.9+1138_weekly_bin736.fits
Spacecraft file(s): /scratch/kocevski/240700/ft2_4FGL_J1254.9+1138_weekly_bin736.fits
Exposure map: /scratch/kocevski/240700/expmap_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.fits
Exposure cube: /scratch/kocevski/240700/ltcube_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/240700/Model_4FGL_J1254.9+1138_weekly_bin736.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) = 11389.7449496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6143       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.0511       1.0000          .0000       .10000E+07
     3 'norm      '    3.1767       1.0000          .0000       .10000E+07
     4 'Prefactor '    17.787       1.0000          .0000       .10000E+07
     5 'norm      '    7.4515       1.0000          .0000       .10000E+07
     6 'norm      '    1.5612       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.7886       1.0000          .0000       .10000E+07
     8 'norm      '    1.6960       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.0248       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.1728       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29472E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.7956       1.0000          .0000       .10000E+07
    13 'Prefactor '    .97952E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10847E-01   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1146       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .97449       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=   11389.73     FROM MIGRAD    STATUS=CONVERGED     86 CALLS     1057 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6136        1.8888        .24947E-07    .10566E-02
   2  Prefactor     7.1641        4.0378        .25349E-07   -.34474E-01
   3  norm          3.1788        3.1794        .63738E-07    .11055E-02
   4  Prefactor     17.724        7.1737       -.23984E-07    .11181    
   5  norm          7.4533        1.0485        .36022E-08   -.16928E-02
   6  norm          1.5612        .58404       -.28551E-07   -.11804E-01
   7  Prefactor     4.7215        4.5751       -.45875E-07   -.33554E-02
   8  norm          1.6970        1.0881       -.19637E-07   -.30209E-02
   9  Prefactor     9.0435        4.6376        .89008E-08   -.30962E-02
  10  Prefactor     2.1759        4.8162       -.76726E-07   -.52082E-03
  11  Prefactor     .40173E-06    9.9654        .28693E-06** at limit **
  12  Prefactor     2.8307        9.0366       -.31453E-06   -.18296E-02
  13  Prefactor     .23642E-06    7.3023        .19304E-06** at limit **
  14  Prefactor     .33307E-09    9.3873       -.19842E-06** at limit **
  15  Normalizat    1.1145        .16721       -.18240E-05   -.11620E-03
  16  Prefactor     .97455        .14362        .14442E-05   -.60518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.6136
  Prefactor  = 7.16413
  norm       = 3.17881
  Prefactor  = 17.7244
  norm       = 7.45328
  norm       = 1.56125
  Prefactor  = 4.72147
  norm       = 1.69698
  Prefactor  = 9.04348
  Prefactor  = 2.17592
  Prefactor  = 4.01734e-07
  Prefactor  = 2.83072
  Prefactor  = 2.36422e-07
  Prefactor  = 3.33067e-10
  Normalizat = 1.11447
  Prefactor  = 0.974554
 **********
 **   18 **HESSE 
 **********

 FCN=   11389.73     FROM HESSE     STATUS=OK           239 CALLS     1296 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6136        1.9029        .83310E-03   -1.5683    
   2  Prefactor     7.1641        19.876        .37755E-03   -1.5654    
   3  norm          3.1788        3.3907        .56834E-03   -1.5672    
   4  Prefactor     17.724        20.734        .23720E-03   -1.5624    
   5  norm          7.4533        17.182        .36717E-03   -1.5653    
   6  norm          1.5612        .59288        .85124E-03   -1.5683    
   7  Prefactor     4.7215        4.5699        .45952E-03   -1.5665    
   8  norm          1.6970        1.0883        .80769E-04   -1.5682    
   9  Prefactor     9.0435        4.6334        .33339E-03   -1.5648    
  10  Prefactor     2.1759        4.8450        .69828E-03   -1.5678    
  11  Prefactor     .40173E-06    10.734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8307        9.0556        .60823E-03   -1.5674    
  13  Prefactor     .23642E-06    7.8281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .33307E-09    9.4099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1145        .14087        .58656E-01   -.89289    
  16  Prefactor     .97455        .12128        .45947E-01   -.93583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97441e-07
Minuit parameter uncertainties:
  1  1.9029
  2  19.8758
  3  3.39068
  4  20.7339
  5  17.182
  6  0.592878
  7  4.56993
  8  1.0883
  9  4.63335
  10  4.84504
  11  0.00415295
  12  9.05561
  13  0.00272073
  14  0.000107518
  15  0.140919
  16  0.121318
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.176e+00  4.845e+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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.746e-01  1.213e-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:  1.114e+00  1.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.27
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 6.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/240700/likelihoodResults_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.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) = 11387.8199413
delta logL = 1.90621499404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11387.7873669
delta logL = 1.93878934983

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5056       1.0000          .0000       .10000E+07
     2 'Index     '    1.2529       1.0000          .0000       10.000    
     3 'Normalizat'    1.1237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96800       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=   11387.79     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      218 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4960        1.5794        .87184E-03   -.61656E-02
   2  Index         1.2505        .30728        .25914       -.12949E-03
   3  Normalizat    1.1238        .13714        .58413E-01   -.11702E-03
   4  Prefactor     .96794        .12033        .45866E-01   -.73720E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.49598
  Index      = 1.25047
  Normalizat = 1.12382
  Prefactor  = 0.967944
 **********
 **   18 **HESSE 
 **********

 FCN=   11387.79     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4960        2.5955        .13122E-04   -1.5684    
   2  Index         1.2505        .60514        .94554E-02   -.84792    
   3  Normalizat    1.1238        .16297        .25833E-03   -.88991    
   4  Prefactor     .96794        .14307        .24102E-03   -.93806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.24585e-11
Minuit parameter uncertainties:
  1  2.59549
  2  0.608565
  3  0.16304
  4  0.143124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/240700': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11387.7873601
delta logL = 1.93879622125

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.496e+00  2.595e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  1.250e+00  6.086e-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:  9.679e-01  1.431e-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:  1.124e+00  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.15
Ra Dec: 193.733 11.649
Photon Index (Free Index): 1.25 +/- 0.61
Photon Flux (Free Index): 3.31e-09 +/- 4.33e-09
Energy Flux (Free Index): 2.37e-05 +/- 3.58e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/240700/cmap_HighResolution_684115201_684720001_4FGL_J1254.9+1138_weekly_bin736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.89e-03', comment='SUCCESS', energy_flux2='2.37e-05', dlogl='1.94e+00', photon_flux2='3.31e-09', job_status='DONE', time_completed='2022-09-16 23:56:44.952039', photon_index_error2='0.61', photon_index2='1.25', ts='0.27', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='6.18e-08', energy_flux_error2='3.58e-05', EG='1.11', time_epoch_completed='1663397804.95', return_code='0', job_id='240700', GAL2='0.97', EG2='1.12', return_code2='0', photon_flux_error2='4.33e-09', ts2='4.15', photon_index='2.79' WHERE bin_id='736' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:56:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 240700: <4FGL_J1254.9+1138_weekly_bin736> in cluster <slac> Done

Job <4FGL_J1254.9+1138_weekly_bin736> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 23:40:43 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:41:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:41:58 2022
Terminated at Fri Sep 16 23:56:45 2022
Results reported at Fri Sep 16 23:56:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.9+1138_weekly_bin736 193.733 11.6495 684115201 684720001 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 :                                   726.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            962 sec.

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

