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


Performing analysis on: 4FGL_J1254.9+1138_weekly_bin751
RA = 193.733, Dec = 11.6495
tmin = 693187201, tmax = 693792001
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='673788', job_status='RUN', time_executed='2022-12-27 01:07:33.700170', time_epoch_executed='1672132053.7' WHERE source_name='4FGL J1254.9+1138' and cadence='weekly' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/673788

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/673788/ft1_4FGL_J1254.9+1138_weekly_bin751.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/673788/ft2_4FGL_J1254.9+1138_weekly_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/673788/ft1_4FGL_J1254.9+1138_weekly_bin751.fits outfile=/scratch/kocevski/673788/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin751.fits ra=193.733 dec=11.6495 rad=12.0 tmin=693187201.0 tmax=693792001.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 7.63
user 7.26
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/673788/ft2_4FGL_J1254.9+1138_weekly_bin751.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/673788/ft1_filteredMKT_4FGL_J1254.9+1138_weekly_bin751.fits evtable="EVENTS" outfile="/scratch/kocevski/673788/ft1_filtered_4FGL_J1254.9+1138_weekly_bin751.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.56
user 0.38
sys 0.16

Number of photons that the gtmktime cut: 1363

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/673788/ft1_filtered_4FGL_J1254.9+1138_weekly_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/673788/ft2_4FGL_J1254.9+1138_weekly_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/673788/ltcube_693187201_693792001_4FGL_J1254.9+1138_weekly_bin751.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/673788/ft2_4FGL_J1254.9+1138_weekly_bin751.fits
.....................!
real 32.94
user 32.27
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/673788/ft1_filtered_4FGL_J1254.9+1138_weekly_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/673788/ft2_4FGL_J1254.9+1138_weekly_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/673788/ltcube_693187201_693792001_4FGL_J1254.9+1138_weekly_bin751.fits outfile=/scratch/kocevski/673788/expmap_693187201_693792001_4FGL_J1254.9+1138_weekly_bin751.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/673788/ltcube_693187201_693792001_4FGL_J1254.9+1138_weekly_bin751.fits
.....................!
real 192.73
user 186.28
sys 4.92

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/673788/ft1_filtered_4FGL_J1254.9+1138_weekly_bin751.fits scfile=/scratch/kocevski/673788/ft2_4FGL_J1254.9+1138_weekly_bin751.fits outfile=/scratch/kocevski/673788/cmap_693187201_693792001_4FGL_J1254.9+1138_weekly_bin751.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/673788/ft1_filtered_4FGL_J1254.9+1138_weekly_bin751.fits scfile=/scratch/kocevski/673788/ft2_4FGL_J1254.9+1138_weekly_bin751.fits outfile=/scratch/kocevski/673788/cmap_HighResolution_693187201_693792001_4FGL_J1254.9+1138_weekly_bin751.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.59
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.4117       1.0000          .0000       .10000E+07
     3 'norm      '    .17542E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.9073       1.0000          .0000       .10000E+07
     5 'norm      '    .36299E-06   1.0000          .0000       .10000E+07
     6 'norm      '    2.7378       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.7376       1.0000          .0000       .10000E+07
     8 'norm      '    .62490       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.4321       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8380       1.0000          .0000       .10000E+07
    11 'Prefactor '    .34956E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.409       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12797E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17269E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    .95757       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1070       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=   14862.93     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      888 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .43110       -.14493E-06** at limit **
   2  Prefactor     5.4093        2.4923       -.10982E-07    .74131E-02
   3  norm           .0000        2.6799        .10158E-06** at limit **
   4  Prefactor     6.0806        10.842       -.10285E-06   -.28747E-02
   5  norm          .27756E-09    11.222       -.83112E-07** at limit **
   6  norm          2.7377        .50955        .10380E-07   -.68410E-03
   7  Prefactor     1.7429        4.6402        .11687E-06    .14047E-04
   8  norm          .62483        .66448        .53311E-07    .21001E-03
   9  Prefactor     2.4327        2.4186        .10913E-07   -.50376E-04
  10  Prefactor     9.8403        6.9455       -.23701E-07   -.23672E-03
  11  Prefactor     .26978E-07    5.6366        .30446E-07** at limit **
  12  Prefactor     12.425        6.5546        .54550E-08    .93621E-04
  13  Prefactor     .55511E-10    6.3092       -.48730E-07** at limit **
  14  Prefactor     .20817E-07    5.3127       -.11347E-07** at limit **
  15  Normalizat    .95751        .14686       -.16698E-05    .10097E-04
  16  Prefactor     1.1069        .12853        .14680E-05    .42919E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.4093
  norm       = 0
  Prefactor  = 6.08061
  norm       = 2.77556e-10
  norm       = 2.73774
  Prefactor  = 1.74287
  norm       = 0.624829
  Prefactor  = 2.43269
  Prefactor  = 9.8403
  Prefactor  = 2.69784e-08
  Prefactor  = 12.4252
  Prefactor  = 5.55112e-11
  Prefactor  = 2.08167e-08
  Normalizat = 0.957514
  Prefactor  = 1.10694
 **********
 **   18 **HESSE 
 **********

 FCN=   14862.93     FROM HESSE     STATUS=OK           235 CALLS     1123 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .42961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.4093        14.909        .43173E-03   -1.5661    
   3  norm           .0000        2.5990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.0806        11.021        .41293E-03   -1.5659    
   5  norm          .27756E-09    11.554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7377        .51052        .61508E-03   -1.5675    
   7  Prefactor     1.7429        4.6739        .79574E-03   -1.5682    
   8  norm          .62483        .67185        .67026E-03   -1.5692    
   9  Prefactor     2.4327        2.4152        .65588E-03   -1.5677    
  10  Prefactor     9.8403        6.9334        .31924E-03   -1.5645    
  11  Prefactor     .26978E-07    11.073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.425        6.5593        .28411E-03   -1.5637    
  13  Prefactor     .55511E-10    6.3524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .20817E-07    9.9213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .95751        .12670        .45633E-01   -.94468    
  16  Prefactor     1.1069        .11088        .37326E-01   -.89245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.23885e-07
Minuit parameter uncertainties:
  1  5.58609e-08
  2  14.9091
  3  4.46072e-06
  4  11.0208
  5  0.000116017
  6  0.510516
  7  4.67391
  8  0.671847
  9  2.41525
  10  6.93337
  11  0.0010926
  12  6.5593
  13  3.66481e-05
  14  0.000908794
  15  0.126738
  16  0.110906
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  9.840e+00  6.933e+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:  1.107e+00  1.109e-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:  9.575e-01  1.267e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.19
Ra Dec: 193.733 11.649
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 3.88e-08 +/- 2.73e-08
Energy Flux (Fixed Index): 8.74e-06 +/- 6.16e-06

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

Saving results to:
/scratch/kocevski/673788/likelihoodResults_693187201_693792001_4FGL_J1254.9+1138_weekly_bin751.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) = 14862.9315301
delta logL = 0.00165412316892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14862.9310411
delta logL = 0.00214312055869

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6394       1.0000          .0000       .10000E+07
     2 'Index     '    2.8409       1.0000          .0000       10.000    
     3 'Normalizat'    .95570       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1081       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14862.93     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      255 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6391        7.8986        .12901E-04    .29433E-02
   2  Index         2.8410        .80276        .13195E-01    .89229E-04
   3  Normalizat    .95565        .14804        .27383E-03   -.54470E-04
   4  Prefactor     1.1081        .12961        .22791E-03   -.87595E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.63912
  Index      = 2.84099
  Normalizat = 0.955653
  Prefactor  = 1.10814
 **********
 **   18 **HESSE 
 **********

 FCN=   14862.93     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6391        7.5461        .51604E-06   -1.5646    
   2  Index         2.8410        .76624        .52780E-03   -.44649    
   3  Normalizat    .95565        .14810        .10953E-04   -.94531    
   4  Prefactor     1.1081        .12962        .91163E-05   -.89207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27625e-10
Minuit parameter uncertainties:
  1  7.54615
  2  0.769972
  3  0.148167
  4  0.129653
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/673788': 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) = 14862.931041
delta logL = 0.0021431706009

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  9.639e+00  7.546e+00  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  2.841e+00  7.700e-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.108e+00  1.297e-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:  9.557e-01  1.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.21
Ra Dec: 193.733 11.649
Photon Index (Free Index): 2.84 +/- 0.77
Photon Flux (Free Index): 3.99e-08 +/- 3.23e-08
Energy Flux (Free Index): 8.70e-06 +/- 6.13e-06

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/673788/cmap_HighResolution_693187201_693792001_4FGL_J1254.9+1138_weekly_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.36e-03', comment='SUCCESS', photon_flux='3.88e-08', energy_flux2='8.70e-06', photon_flux_error='2.73e-08', dlogl='2.14e-03', energy_flux='8.74e-06', photon_flux2='3.99e-08', job_status='DONE', time_completed='2022-12-27 01:20:28.737198', photon_index_error2='0.77', photon_index2='2.84', ts='3.19', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='9.30e-08', energy_flux_error2='6.13e-06', EG='0.96', time_epoch_completed='1672132828.74', return_code='0', job_id='673788', GAL2='1.11', EG2='0.96', return_code2='0', energy_flux_error='6.16e-06', photon_flux_error2='3.23e-08', ts2='3.21', photon_index='2.79' WHERE bin_id='751' AND source_name='4FGL J1254.9+1138' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 27 01:20:28 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 673788: <4FGL_J1254.9+1138_weekly_bin751> in cluster <slac> Done

Job <4FGL_J1254.9+1138_weekly_bin751> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 27 01:05:32 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 27 01:05:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 27 01:05:50 2022
Terminated at Tue Dec 27 01:20:29 2022
Results reported at Tue Dec 27 01:20:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.9+1138_weekly_bin751 193.733 11.6495 693187201 693792001 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 :                                   770.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            897 sec.

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

