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


Performing analysis on: 4FGL_J1254.9+1138_daily_bin1768
RA = 193.733, Dec = 11.6495
tmin = 697593601, tmax = 697852801
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='270355', job_status='RUN', time_executed='2023-02-12 00:56:37.022392', time_epoch_executed='1676192197.02' WHERE source_name='4FGL J1254.9+1138' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/270355

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/270355/ft1_4FGL_J1254.9+1138_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/270355/ft2_4FGL_J1254.9+1138_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/270355/ft1_4FGL_J1254.9+1138_daily_bin1768.fits outfile=/scratch/kocevski/270355/ft1_filteredMKT_4FGL_J1254.9+1138_daily_bin1768.fits ra=193.733 dec=11.6495 rad=12.0 tmin=697593601.0 tmax=697852801.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.73
user 3.48
sys 0.21

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

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

Number of photons that the gtmktime cut: 559

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/270355/ft1_filtered_4FGL_J1254.9+1138_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/270355/ft2_4FGL_J1254.9+1138_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/270355/ltcube_697593601_697852801_4FGL_J1254.9+1138_daily_bin1768.fits outfile=/scratch/kocevski/270355/expmap_697593601_697852801_4FGL_J1254.9+1138_daily_bin1768.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/270355/ltcube_697593601_697852801_4FGL_J1254.9+1138_daily_bin1768.fits
.....................!
real 192.45
user 187.14
sys 4.78

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/270355/ft1_filtered_4FGL_J1254.9+1138_daily_bin1768.fits scfile=/scratch/kocevski/270355/ft2_4FGL_J1254.9+1138_daily_bin1768.fits outfile=/scratch/kocevski/270355/cmap_697593601_697852801_4FGL_J1254.9+1138_daily_bin1768.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/270355/ft1_filtered_4FGL_J1254.9+1138_daily_bin1768.fits scfile=/scratch/kocevski/270355/ft2_4FGL_J1254.9+1138_daily_bin1768.fits outfile=/scratch/kocevski/270355/cmap_HighResolution_697593601_697852801_4FGL_J1254.9+1138_daily_bin1768.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58276E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .38370E-03   1.0000          .0000       .10000E+07
     3 'norm      '    17.523       1.0000          .0000       .10000E+07
     4 'Prefactor '    .75988E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .18676E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    .93113       1.0000          .0000       .10000E+07
     8 'norm      '    .13295E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26090E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.5983       1.0000          .0000       .10000E+07
    11 'Prefactor '    .63782E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13622E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10477E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    37.842       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1656       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .93646       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=   6177.062     FROM MIGRAD    STATUS=CONVERGED    127 CALLS      907 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .87998       -.30733E-07** at limit **
   2  Prefactor     .29976E-06    9.3894       -.36458E-06** at limit **
   3  norm          17.531        5.0392       -.19356E-07   -.87468E-03
   4  Prefactor     .85996E-05    11.893        .23004E-06** at limit **
   5  norm          .77183E-05    12.822        .32337E-06** at limit **
   6  norm           .0000        .33909        .61397E-07** at limit **
   7  Prefactor     .88830        .94580        .11099E-07   -.33819E-01
   8  norm           .0000        1.0422        .98733E-08** at limit **
   9  Prefactor      .0000        1.7889        .23622E-07** at limit **
  10  Prefactor     1.5745        24.168        .18707E-05    .42201E-02
  11  Prefactor      .0000        3.8046       -.18225E-07** at limit **
  12  Prefactor     .25424E-07    8.9699        .11970E-06** at limit **
  13  Prefactor     .26107E-06    10.217       -.14101E-06** at limit **
  14  Prefactor     39.392        45.061       -.47798E-06   -.10434E-01
  15  Normalizat    1.1655        .23200       -.40998E-05    .22551E-04
  16  Prefactor     .93623        .19471        .35287E-05    .37949E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.9976e-07
  norm       = 17.5307
  Prefactor  = 8.59962e-06
  norm       = 7.71833e-06
  norm       = 0
  Prefactor  = 0.888302
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.57449
  Prefactor  = 0
  Prefactor  = 2.54241e-08
  Prefactor  = 2.61069e-07
  Prefactor  = 39.3925
  Normalizat = 1.16553
  Prefactor  = 0.936231
 **********
 **   18 **HESSE 
 **********

 FCN=   6177.062     FROM HESSE     STATUS=OK           229 CALLS     1136 TOTAL
                     EDM=   .91E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .88054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .29976E-06    9.7172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          17.531        5.0416        .23899E-03   -1.5624    
   4  Prefactor     .85996E-05    22.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .77183E-05    23.233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .33159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .88830        29.305        .43631E-03   -1.5689    
   8  norm           .0000        1.0314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.7820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.5745        23.901        .83842E-03   -1.5683    
  11  Prefactor      .0000        3.7973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .25424E-07    8.9429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .26107E-06    10.508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.392        45.193        .16258E-03   -1.5582    
  15  Normalizat    1.1655        .19458        .57803E-01   -.87675    
  16  Prefactor     .93623        .16299        .45468E-01   -.94886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.05058e-07
Minuit parameter uncertainties:
  1  2.15223e-06
  2  0.00341353
  3  5.04164
  4  0.0280864
  5  0.026782
  6  1.48966e-06
  7  10.2042
  8  1.74765e-06
  9  7.85333e-07
  10  12.2691
  11  1.08397e-05
  12  0.000953528
  13  0.00331263
  14  45.1931
  15  0.194696
  16  0.163077
Done.

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

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  1.574e+00  1.227e+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:  9.362e-01  1.631e-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.166e+00  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 193.733 11.649
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/270355/likelihoodResults_697593601_697852801_4FGL_J1254.9+1138_daily_bin1768.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) = 6175.0823405
delta logL = 1.98010633041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6174.74244662
delta logL = 2.32000021078

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22577E-02   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0228       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0223       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=   6174.742     FROM MIGRAD    STATUS=CONVERGED    159 CALLS      543 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22575E-02    .13136E-02    .42118E-04** at limit **
   2  Index        10.0000        .44405        .50000    ** at limit **
   3  Normalizat    1.0224        .20387        .42975E-01    .23492E-03
   4  Prefactor     1.0226        .17140        .41915E-01    .34670E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00225753
  Index      = 10
  Normalizat = 1.0224
  Prefactor  = 1.02258
 **********
 **   18 **HESSE 
 **********

 FCN=   6174.742     FROM HESSE     STATUS=OK            35 CALLS      578 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22575E-02    .14629E-02    .20547E-06   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .57016        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0224        .23631        .27007E-03   -.92284    
   4  Prefactor     1.0226        .20066        .23405E-03   -.91980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02853e-10
Minuit parameter uncertainties:
  1  0.00146289
  2  3.36115e-05
  3  0.236551
  4  0.20081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/270355': 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) = 6174.74244353
delta logL = 2.32000329888

Extracting fit parameters...

4FGL J1254.9+1138
   Spectrum: PowerLaw
287    Prefactor:  2.258e-03  1.463e-03  0.000e+00  1.000e+06 ( 1.000e-12)
288        Index:  1.000e+01  3.361e-05  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.023e+00  2.008e-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.022e+00  2.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.07
Ra Dec: 193.733 11.649
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.09e-07 +/- 6.82e-08
Energy Flux (Free Index): 1.21e-05 +/- 7.67e-06

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/270355/cmap_HighResolution_697593601_697852801_4FGL_J1254.9+1138_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.13e-03', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='2.32e+00', photon_flux2='1.09e-07', job_status='DONE', time_completed='2023-02-12 01:05:23.305257', photon_index_error2='0.00', photon_index2='10.00', ts='0.02', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='7.67e-06', EG='1.17', time_epoch_completed='1676192723.31', return_code='0', job_id='270355', GAL2='1.02', EG2='1.02', return_code2='0', photon_flux_error2='6.82e-08', ts2='5.07', photon_index='2.79' WHERE bin_id='1768' AND source_name='4FGL J1254.9+1138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:05:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 270355: <4FGL_J1254.9+1138_daily_bin1768> in cluster <slac> Done

Job <4FGL_J1254.9+1138_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 00:50:21 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 00:53:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 00:53:14 2023
Terminated at Sun Feb 12 01:05:24 2023
Results reported at Sun Feb 12 01:05:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1254.9+1138_daily_bin1768 193.733 11.6495 697593601 697852801 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 :                                   526.58 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             274.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            903 sec.

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

