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


Performing analysis on: 4FGL_J2225.7-0457_daily_bin1751
RA = 336.432, Dec = -4.9537
tmin = 693187201, tmax = 693446401
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='88991', job_status='RUN', time_executed='2022-12-23 01:26:03.696233', time_epoch_executed='1671787563.7' WHERE source_name='4FGL J2225.7-0457' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88991

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=693187201.0 && nMetStart<693446401.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<693446401.0' /Data/Flight/Level1/LPA

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88991/ft1_4FGL_J2225.7-0457_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88991/ft1_4FGL_J2225.7-0457_daily_bin1751.fits outfile=/scratch/kocevski/88991/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1751.fits ra=336.432 dec=-4.9537 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.41
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.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/88991/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/88991/ft1_filtered_4FGL_J2225.7-0457_daily_bin1751.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.49
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88991/ft1_filtered_4FGL_J2225.7-0457_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/88991/ltcube_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.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/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits
.....................!
real 12.07
user 11.70
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88991/ft1_filtered_4FGL_J2225.7-0457_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/88991/ltcube_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.fits outfile=/scratch/kocevski/88991/expmap_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.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/88991/ltcube_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.fits
.....................!
real 192.30
user 187.16
sys 4.80

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

Setting source of interest to:
4FGL J2225.7-0457 @ 336.432 -4.9537

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/88991/ft1_filtered_4FGL_J2225.7-0457_daily_bin1751.fits scfile=/scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits outfile=/scratch/kocevski/88991/cmap_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.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=336.432 yref=-4.9537 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88991/ft1_filtered_4FGL_J2225.7-0457_daily_bin1751.fits scfile=/scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits outfile=/scratch/kocevski/88991/cmap_HighResolution_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.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=336.432 yref=-4.9537 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88991/ft1_filtered_4FGL_J2225.7-0457_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88991/Model_4FGL_J2225.7-0457_daily_bin1751.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/88991/ft1_filtered_4FGL_J2225.7-0457_daily_bin1751.fits.....................!
real 60.63
user 59.30
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88991/ft1_filtered_4FGL_J2225.7-0457_daily_bin1751.fits', '/scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits', expMap='/scratch/kocevski/88991/expmap_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.fits', expCube='/scratch/kocevski/88991/ltcube_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88991/Model_4FGL_J2225.7-0457_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2225.7-0457'

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  2.714e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/88991/ft1_filtered_4FGL_J2225.7-0457_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/88991/ft2_4FGL_J2225.7-0457_daily_bin1751.fits
Exposure map: /scratch/kocevski/88991/expmap_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.fits
Exposure cube: /scratch/kocevski/88991/ltcube_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88991/Model_4FGL_J2225.7-0457_daily_bin1751.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) = 6279.38465517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.665       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15377E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    35.910       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.280       1.0000          .0000       .10000E+07
     5 'Prefactor '    25.188       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.202       1.0000          .0000       .10000E+07
     7 'Prefactor '    5.4791       1.0000          .0000       .10000E+07
     8 'Prefactor '    20.740       1.0000          .0000       .10000E+07
     9 'norm      '    3.7826       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17304E-02   1.0000          .0000       .10000E+07
    11 'norm      '    1.9558       1.0000          .0000       .10000E+07
    12 'Prefactor '    17.222       1.0000          .0000       .10000E+07
    13 'norm      '    .10513E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .56157E-02   1.0000          .0000       .10000E+07
    15 'norm      '    7.1146       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2399       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .65111       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6279.146     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1253 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.684        7.3081        .21478E-07    .18859E-02
   2  Prefactor     .55511E-10    7.4528       -.13762E-06** at limit **
   3  Prefactor     35.296        8.9726        .18110E-07   -.17045    
   4  Prefactor     11.014        16.586       -.45476E-07    .31910E-01
   5  Prefactor     25.415        8.9535       -.56445E-08   -.57024E-01
   6  Prefactor     21.246        13.827        .11507E-07    .33855E-01
   7  Prefactor     5.4855        4.7022        .12969E-06    .36571E-02
   8  Prefactor     21.287        52.184        .63094E-08   -.19287E-01
   9  norm          3.7900        5.2609       -.18416E-07   -.12306E-02
  10  Prefactor     .88429E-06    25.964        .14759E-06** at limit **
  11  norm          1.9552        .92686        .15625E-08   -.11770E-02
  12  Prefactor     17.266        13.103       -.10283E-07   -.31737E-02
  13  norm           .0000        2.7774       -.70251E-07** at limit **
  14  Prefactor     .82323E-07    19.176       -.45221E-07** at limit **
  15  norm          7.2024        8.9641        .20973E-07   -.10016E-02
  16  Normalizat    1.2376        .26176       -.35237E-05   -.14252E-03
  17  Prefactor     .65178        .14302        .18068E-05   -.67579E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.684
  Prefactor  = 5.55112e-11
  Prefactor  = 35.2958
  Prefactor  = 11.0135
  Prefactor  = 25.4148
  Prefactor  = 21.2458
  Prefactor  = 5.4855
  Prefactor  = 21.2866
  norm       = 3.78999
  Prefactor  = 8.84293e-07
  norm       = 1.9552
  Prefactor  = 17.2662
  norm       = 0
  Prefactor  = 8.2323e-08
  norm       = 7.20241
  Normalizat = 1.23764
  Prefactor  = 0.651782
 **********
 **   18 **HESSE 
 **********

 FCN=   6279.146     FROM HESSE     STATUS=OK           271 CALLS     1524 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.684        7.3444        .29306E-03   -1.5640    
   2  Prefactor     .55511E-10    7.4722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.296        24.576        .16690E-03   -1.5589    
   4  Prefactor     11.014        20.873        .31226E-03   -1.5642    
   5  Prefactor     25.415        15.971        .19929E-03   -1.5607    
   6  Prefactor     21.246        14.427        .21724E-03   -1.5616    
   7  Prefactor     5.4855        4.7399        .42902E-03   -1.5661    
   8  Prefactor     21.287        53.883        .21965E-03   -1.5616    
   9  norm          3.7900        5.2506        .51880E-03   -1.5669    
  10  Prefactor     .88429E-06    27.105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9552        .92748        .74160E-03   -1.5680    
  12  Prefactor     17.266        16.619        .24107E-03   -1.5625    
  13  norm           .0000        .90187        .32204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .82323E-07    19.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.2024        8.9696        .37584E-03   -1.5654    
  16  Normalizat    1.2376        .22029        .61877E-01   -.85448    
  17  Prefactor     .65178        .12177        .41747E-01   -1.0545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43957e-07
Minuit parameter uncertainties:
  1  7.34443
  2  3.12937e-05
  3  24.5758
  4  20.8732
  5  15.9707
  6  14.4266
  7  4.73993
  8  53.8844
  9  5.25065
  10  0.00979147
  11  0.92748
  12  16.6186
  13  9.44667e-06
  14  0.00251996
  15  8.96958
  16  0.22046
  17  0.121824
Done.

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

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  5.486e+00  4.740e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  6.518e-01  1.218e-01  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.238e+00  2.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.52
Ra Dec: 336.432 -4.954
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 5.50e-08 +/- 4.75e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.51e-05

TS (Fixed Index): 3.52
Ra Dec: 336.432 -4.954
Photon Flux Upper Limit: 1.56e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88991/likelihoodResults_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.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) = 6278.54719388
delta logL = 0.599202004333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6278.48742089
delta logL = 0.658974991806

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6278.487     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      251 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1390        15.356        .70360E-03    .59413E-02
   2  Index         3.7269        2.7893        .12094        .16226E-03
   3  Normalizat    1.1120        .69218E-01    .64621E-01    .12703E-04
   4  Prefactor     .70241        .39068E-01    .42433E-01    .33108E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.13903
  Index      = 3.72688
  Normalizat = 1.11202
  Prefactor  = 0.70241
 **********
 **   18 **HESSE 
 **********

 FCN=   6278.487     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1390        26.401        .57290E-05   -1.5679    
   2  Index         3.7269        4.0418        .44869E-02   -.25746    
   3  Normalizat    1.1120        .33605        .28586E-03   -.89367    
   4  Prefactor     .70241        .18665        .20946E-03   -1.0343    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.07461e-10
Minuit parameter uncertainties:
  1  15.0298
  2  4.78584
  3  0.336703
  4  0.186813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88991': 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) = 6278.48741829
delta logL = 0.658977593279

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  2.139e+00  1.503e+01  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  3.727e+00  4.786e+00  0.000e+00  1.000e+01 (-1.000e+00)
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  7.024e-01  1.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.112e+00  3.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.10
Ra Dec: 336.432 -4.954
Photon Index (Free Index): 3.73 +/- 4.79
Photon Flux (Free Index): 1.61e-07 +/- 1.86e-07
Energy Flux (Free Index): 2.54e-05 +/- 1.34e-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/88991/cmap_HighResolution_693187201_693446401_4FGL_J2225.7-0457_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', comment='SUCCESS', photon_flux='5.50e-08', energy_flux2='2.54e-05', photon_flux_error='4.75e-08', dlogl='6.59e-01', energy_flux='1.74e-05', photon_flux2='1.61e-07', job_status='DONE', time_completed='2022-12-23 01:34:12.625502', photon_index_error2='4.79', photon_index2='3.73', ts='3.52', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='1.56e-07', energy_flux_error2='1.34e-05', EG='1.24', time_epoch_completed='1671788052.63', return_code='0', job_id='88991', GAL2='0.70', EG2='1.11', return_code2='102', energy_flux_error='1.51e-05', photon_flux_error2='1.86e-07', ts2='5.10', photon_index='2.43' WHERE bin_id='1751' AND source_name='4FGL J2225.7-0457' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:34:12 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 88991: <4FGL_J2225.7-0457_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2225.7-0457_daily_bin1751> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Dec 23 01:25:15 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:25:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:25:16 2022
Terminated at Fri Dec 23 01:34:13 2022
Results reported at Fri Dec 23 01:34:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.7-0457_daily_bin1751 336.432 -4.9537 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2225.7-0457 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   491.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             322.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   536 sec.
    Turnaround time :                            538 sec.

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

