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 222 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_J2225.7-0457_daily_bin1768
RA = 336.432, Dec = -4.9537
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='283256', job_status='RUN', time_executed='2023-02-12 01:44:45.577554', time_epoch_executed='1676195085.58' WHERE source_name='4FGL J2225.7-0457' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/283256

Creating custom pfile directory:
/scratch/kocevski/283256/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/283256/ft1_4FGL_J2225.7-0457_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/283256/ft2_4FGL_J2225.7-0457_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/283256/ft1_4FGL_J2225.7-0457_daily_bin1768.fits outfile=/scratch/kocevski/283256/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1768.fits ra=336.432 dec=-4.9537 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.68
user 3.41
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/283256/ft2_4FGL_J2225.7-0457_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/283256/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/283256/ft1_filtered_4FGL_J2225.7-0457_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.51
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 600

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/283256/ft1_filtered_4FGL_J2225.7-0457_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/283256/ft2_4FGL_J2225.7-0457_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/283256/ltcube_697593601_697852801_4FGL_J2225.7-0457_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/283256/ft2_4FGL_J2225.7-0457_daily_bin1768.fits
.....................!
real 14.98
user 14.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/283256/ft1_filtered_4FGL_J2225.7-0457_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283256/ft2_4FGL_J2225.7-0457_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/283256/ltcube_697593601_697852801_4FGL_J2225.7-0457_daily_bin1768.fits outfile=/scratch/kocevski/283256/expmap_697593601_697852801_4FGL_J2225.7-0457_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/283256/ltcube_697593601_697852801_4FGL_J2225.7-0457_daily_bin1768.fits
.....................!
real 192.13
user 186.02
sys 5.18

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/283256/ft1_filtered_4FGL_J2225.7-0457_daily_bin1768.fits scfile=/scratch/kocevski/283256/ft2_4FGL_J2225.7-0457_daily_bin1768.fits outfile=/scratch/kocevski/283256/cmap_697593601_697852801_4FGL_J2225.7-0457_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=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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/283256/ft1_filtered_4FGL_J2225.7-0457_daily_bin1768.fits scfile=/scratch/kocevski/283256/ft2_4FGL_J2225.7-0457_daily_bin1768.fits outfile=/scratch/kocevski/283256/cmap_HighResolution_697593601_697852801_4FGL_J2225.7-0457_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=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.55
user 0.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/283256/ft1_filtered_4FGL_J2225.7-0457_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/283256/ft2_4FGL_J2225.7-0457_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/283256/Model_4FGL_J2225.7-0457_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/283256/ft1_filtered_4FGL_J2225.7-0457_daily_bin1768.fits....................!
real 65.69
user 64.20
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/283256/ft1_filtered_4FGL_J2225.7-0457_daily_bin1768.fits', '/scratch/kocevski/283256/ft2_4FGL_J2225.7-0457_daily_bin1768.fits', expMap='/scratch/kocevski/283256/expmap_697593601_697852801_4FGL_J2225.7-0457_daily_bin1768.fits', expCube='/scratch/kocevski/283256/ltcube_697593601_697852801_4FGL_J2225.7-0457_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/283256/Model_4FGL_J2225.7-0457_daily_bin1768.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/283256/ft1_filtered_4FGL_J2225.7-0457_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/283256/ft2_4FGL_J2225.7-0457_daily_bin1768.fits
Exposure map: /scratch/kocevski/283256/expmap_697593601_697852801_4FGL_J2225.7-0457_daily_bin1768.fits
Exposure cube: /scratch/kocevski/283256/ltcube_697593601_697852801_4FGL_J2225.7-0457_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/283256/Model_4FGL_J2225.7-0457_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) = 6857.38359497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32871E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15109E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .30321E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.8259       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.749       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.0320       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.9954       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55436E-01   1.0000          .0000       .10000E+07
     9 'norm      '    2.2559       1.0000          .0000       .10000E+07
    10 'Prefactor '    .61616E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .39032       1.0000          .0000       .10000E+07
    12 'Prefactor '    25.582       1.0000          .0000       .10000E+07
    13 'norm      '    .14764E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1412       1.0000          .0000       .10000E+07
    15 'norm      '    9.7601       1.0000          .0000       .10000E+07
    16 'Normalizat'    .70636       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.2825       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=   6857.256     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1282 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61258E-05    13.105        .40204E-06** at limit **
   2  Prefactor      .0000        4.9783        .68514E-08** at limit **
   3  Prefactor     .55511E-10    6.1024        .15282E-06** at limit **
   4  Prefactor     4.7155        1.6240       -.10725E-07   -.49366E-01
   5  Prefactor     14.657        8.4674       -.27212E-07   -.89330E-01
   6  Prefactor     7.9689        10.382       -.70237E-07    .76354E-01
   7  Prefactor     8.0108        5.3866       -.14171E-06   -.13897E-01
   8  Prefactor      .0000        36.622       -.27407E-06** at limit **
   9  norm          2.2523        3.8119       -.74528E-07   -.32166E-03
  10  Prefactor     .36906E-05    16.098        .27639E-06** at limit **
  11  norm          .39487        .74720        .32630E-07    .13381E-03
  12  Prefactor     24.433        22.533       -.50028E-06   -.10029E-01
  13  norm          .22204E-09    5.9013        .31411E-06** at limit **
  14  Prefactor     6.3273        70.822        .21164E-05   -.56898E-02
  15  norm          9.7792        7.6772       -.29449E-07   -.13386E-01
  16  Normalizat    .70801        .26973        .65552E-05    .30349E-04
  17  Prefactor     1.2823        .16371       -.13011E-05    .65623E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.12577e-06
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 4.71545
  Prefactor  = 14.6573
  Prefactor  = 7.96894
  Prefactor  = 8.01084
  Prefactor  = 0
  norm       = 2.2523
  Prefactor  = 3.6906e-06
  norm       = 0.394871
  Prefactor  = 24.4334
  norm       = 2.22045e-10
  Prefactor  = 6.32728
  norm       = 9.77922
  Normalizat = 0.708009
  Prefactor  = 1.28226
 **********
 **   18 **HESSE 
 **********

 FCN=   6857.256     FROM HESSE     STATUS=OK           267 CALLS     1549 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61258E-05    32.776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.9896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    6.1282        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7155        17.759        .45770E-03   -1.5665    
   5  Prefactor     14.657        15.162        .26054E-03   -1.5631    
   6  Prefactor     7.9689        14.145        .35354E-03   -1.5652    
   7  Prefactor     8.0108        5.7616        .35435E-03   -1.5651    
   8  Prefactor      .0000        36.615        .15330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.2523        3.8325        .68374E-03   -1.5678    
  10  Prefactor     .36906E-05    26.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .39487        .80655        .21957E-02   -1.5695    
  12  Prefactor     24.433        27.666        .19775E-03   -1.5609    
  13  norm          .22204E-09    2.1768        .26754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.3273        79.484        .44315E-03   -1.5658    
  15  norm          9.7792        14.553        .32051E-03   -1.5645    
  16  Normalizat    .70801        .24535        .87210E-01   -1.0358    
  17  Prefactor     1.2823        .14533        .32923E-01   -.83836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.98148e-07
Minuit parameter uncertainties:
  1  0.0283393
  2  1.05993e-05
  3  3.05483e-05
  4  17.7593
  5  15.1622
  6  14.1449
  7  5.76161
  8  5.60892e-05
  9  3.83248
  10  0.0197588
  11  0.806553
  12  27.6664
  13  4.60733e-05
  14  44.8522
  15  14.5533
  16  0.245728
  17  0.145371
Done.

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

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  8.011e+00  5.762e+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:  1.282e+00  1.454e-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:  7.080e-01  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.24
Ra Dec: 336.432 -4.954
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 8.03e-08 +/- 5.77e-08
Energy Flux (Fixed Index): 2.55e-05 +/- 1.83e-05

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

Saving results to:
/scratch/kocevski/283256/likelihoodResults_697593601_697852801_4FGL_J2225.7-0457_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): 0
logL (Free Index) = 6857.18355783
delta logL = 0.0724916296604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6857.18080124
delta logL = 0.0752482171201

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8098       1.0000          .0000       .10000E+07
     2 'Index     '    2.6616       1.0000          .0000       10.000    
     3 'Normalizat'    .68839       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2909       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=   6857.181     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      263 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8126        94.828        .38425E-03    .32709E-02
   2  Index         2.6621        6.3301        .14247        .11077E-03
   3  Normalizat    .68843        .10764        .88333E-01    .36269E-04
   4  Prefactor     1.2907        .57453E-01    .32771E-01   -.74936E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.81258
  Index      = 2.66205
  Normalizat = 0.688425
  Prefactor  = 1.29075
 **********
 **   18 **HESSE 
 **********

 FCN=   6857.181     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8126        6.2918        .13033E-04   -1.5656    
   2  Index         2.6621        .68864        .70397E-02   -.48656    
   3  Normalizat    .68843        .26224        .39128E-03   -1.0435    
   4  Prefactor     1.2907        .16516        .18715E-03   -.83583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.69513e-12
Minuit parameter uncertainties:
  1  6.29181
  2  0.691454
  3  0.262715
  4  0.165226
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/283256': 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) = 6857.18079962
delta logL = 0.0752498362026

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  6.813e+00  6.292e+00  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.662e+00  6.915e-01  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:  1.291e+00  1.652e-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:  6.884e-01  2.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.42
Ra Dec: 336.432 -4.954
Photon Index (Free Index): 2.66 +/- 0.69
Photon Flux (Free Index): 9.51e-08 +/- 6.83e-08
Energy Flux (Free Index): 2.36e-05 +/- 1.62e-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/283256/cmap_HighResolution_697593601_697852801_4FGL_J2225.7-0457_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-02', comment='SUCCESS', photon_flux='8.03e-08', energy_flux2='2.36e-05', photon_flux_error='5.77e-08', dlogl='7.52e-02', energy_flux='2.55e-05', photon_flux2='9.51e-08', job_status='DONE', time_completed='2023-02-12 01:53:20.748144', photon_index_error2='0.69', photon_index2='2.66', ts='3.24', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='1.87e-07', energy_flux_error2='1.62e-05', EG='0.71', time_epoch_completed='1676195600.75', return_code='0', job_id='283256', GAL2='1.29', EG2='0.69', return_code2='0', energy_flux_error='1.83e-05', photon_flux_error2='6.83e-08', ts2='3.42', photon_index='2.43' WHERE bin_id='1768' AND source_name='4FGL J2225.7-0457' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:53:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 283256: <4FGL_J2225.7-0457_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2225.7-0457_daily_bin1768> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Feb 12 01:40:18 2023
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:40:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:40:53 2023
Terminated at Sun Feb 12 01:53:21 2023
Results reported at Sun Feb 12 01:53:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.7-0457_daily_bin1768 336.432 -4.9537 697593601 697852801 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 :                                   515.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             251.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            783 sec.

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

