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


Performing analysis on: 4FGL_J2225.7-0457_daily_bin1721
RA = 336.432, Dec = -4.9537
tmin = 685411201, tmax = 685670401
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='73344', job_status='RUN', time_executed='2022-09-24 01:23:00.123988', time_epoch_executed='1664007780.12' WHERE source_name='4FGL J2225.7-0457' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73344

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73344/ft1_4FGL_J2225.7-0457_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73344/ft2_4FGL_J2225.7-0457_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73344/ft1_4FGL_J2225.7-0457_daily_bin1721.fits outfile=/scratch/kocevski/73344/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1721.fits ra=336.432 dec=-4.9537 rad=12.0 tmin=685411201.0 tmax=685670401.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 5.24
user 4.97
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73344/ft2_4FGL_J2225.7-0457_daily_bin1721.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/73344/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/73344/ft1_filtered_4FGL_J2225.7-0457_daily_bin1721.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 680

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73344/ft1_filtered_4FGL_J2225.7-0457_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/73344/ft2_4FGL_J2225.7-0457_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/73344/ltcube_685411201_685670401_4FGL_J2225.7-0457_daily_bin1721.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/73344/ft2_4FGL_J2225.7-0457_daily_bin1721.fits
.....................!
real 14.41
user 14.04
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73344/ft1_filtered_4FGL_J2225.7-0457_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/73344/ft2_4FGL_J2225.7-0457_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/73344/ltcube_685411201_685670401_4FGL_J2225.7-0457_daily_bin1721.fits outfile=/scratch/kocevski/73344/expmap_685411201_685670401_4FGL_J2225.7-0457_daily_bin1721.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/73344/ltcube_685411201_685670401_4FGL_J2225.7-0457_daily_bin1721.fits
.....................!
real 191.93
user 186.85
sys 4.66

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/73344/ft1_filtered_4FGL_J2225.7-0457_daily_bin1721.fits scfile=/scratch/kocevski/73344/ft2_4FGL_J2225.7-0457_daily_bin1721.fits outfile=/scratch/kocevski/73344/cmap_685411201_685670401_4FGL_J2225.7-0457_daily_bin1721.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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73344/ft1_filtered_4FGL_J2225.7-0457_daily_bin1721.fits scfile=/scratch/kocevski/73344/ft2_4FGL_J2225.7-0457_daily_bin1721.fits outfile=/scratch/kocevski/73344/cmap_HighResolution_685411201_685670401_4FGL_J2225.7-0457_daily_bin1721.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/73344/ft1_filtered_4FGL_J2225.7-0457_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/73344/ft2_4FGL_J2225.7-0457_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/73344/Model_4FGL_J2225.7-0457_daily_bin1721.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/73344/ft1_filtered_4FGL_J2225.7-0457_daily_bin1721.fits....................!
real 67.80
user 66.40
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38674E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14313E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    18.065       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15176E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    9.2061       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.2526       1.0000          .0000       .10000E+07
     7 'Prefactor '    .63660E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .44727       1.0000          .0000       .10000E+07
     9 'norm      '    .12018E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    26.788       1.0000          .0000       .10000E+07
    11 'norm      '    .75546       1.0000          .0000       .10000E+07
    12 'Prefactor '    39.794       1.0000          .0000       .10000E+07
    13 'norm      '    .19640E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    30.469       1.0000          .0000       .10000E+07
    15 'norm      '    .15680E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    .87171       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .90379       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=   7407.228     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1281 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1325        .96459E-07** at limit **
   2  Prefactor     .66613E-09    9.0812       -.21841E-07** at limit **
   3  Prefactor     18.169        3.9910       -.16233E-07   -.40961E-01
   4  Prefactor     .11102E-09    4.4195        .86736E-07** at limit **
   5  Prefactor     9.2136        8.5299        .19503E-07   -.96212E-03
   6  Prefactor     5.3069        7.4641        .93769E-07    .33640E-03
   7  Prefactor      .0000        3.6743        .10083E-06** at limit **
   8  Prefactor     .19984E-08    48.559        .20837E-07** at limit **
   9  norm           .0000        2.3958       -.38003E-07** at limit **
  10  Prefactor     28.213        51.401        .65769E-07    .14269E-03
  11  norm          .75708        .66169        .99688E-08   -.51351E-03
  12  Prefactor     39.473        14.532        .76658E-07   -.10985E-01
  13  norm           .0000        3.5965       -.15577E-06** at limit **
  14  Prefactor     31.310        27.565       -.32143E-09   -.24256E-02
  15  norm          .89928E-08    9.1840        .27263E-07** at limit **
  16  Normalizat    .87065        .20278       -.23906E-05    .10086E-04
  17  Prefactor     .90397        .12753        .49715E-06    .12748E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.66134e-10
  Prefactor  = 18.1694
  Prefactor  = 1.11022e-10
  Prefactor  = 9.21356
  Prefactor  = 5.30688
  Prefactor  = 0
  Prefactor  = 1.9984e-09
  norm       = 0
  Prefactor  = 28.2134
  norm       = 0.75708
  Prefactor  = 39.473
  norm       = 0
  Prefactor  = 31.3101
  norm       = 8.99281e-09
  Normalizat = 0.870655
  Prefactor  = 0.903968
 **********
 **   18 **HESSE 
 **********

 FCN=   7407.228     FROM HESSE     STATUS=OK           263 CALLS     1544 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .66613E-09    9.0949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.169        13.128        .23537E-03   -1.5623    
   4  Prefactor     .11102E-09    4.4246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.2136        8.5086        .33007E-03   -1.5647    
   6  Prefactor     5.3069        7.4786        .43834E-03   -1.5662    
   7  Prefactor      .0000        3.6123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19984E-08    48.493        .84202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        2.3554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     28.213        51.207        .19325E-03   -1.5602    
  11  norm          .75708        .66860        .56316E-03   -1.5691    
  12  Prefactor     39.473        17.447        .15854E-03   -1.5582    
  13  norm           .0000        .74545        .32629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.310        27.633        .18119E-03   -1.5596    
  15  norm          .89928E-08    9.6654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .87065        .17037        .64688E-01   -.97499    
  17  Prefactor     .90397        .10695        .45053E-01   -.96003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29596e-08
Minuit parameter uncertainties:
  1  3.09437e-06
  2  0.000156526
  3  13.1277
  4  4.47996e-05
  5  8.50858
  6  7.4786
  7  1.93526e-05
  8  0.000621341
  9  5.37878e-06
  10  51.2078
  11  0.668601
  12  17.447
  13  2.4235e-06
  14  27.6333
  15  0.00058949
  16  0.170476
  17  0.106976
Done.

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

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  0.000e+00  1.935e-05  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:  9.040e-01  1.070e-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:  8.707e-01  1.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 336.432 -4.954
Photon Flux Upper Limit: 6.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/73344/likelihoodResults_685411201_685670401_4FGL_J2225.7-0457_daily_bin1721.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) = 7407.23053577
delta logL = -0.00241113448647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7406.65482867
delta logL = 0.573295967865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81139E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.1986       1.0000          .0000       10.000    
     3 'Normalizat'    .80319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93054       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=   7406.655     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      374 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80240E-02    .44981        .16607E-03** at limit **
   2  Index         6.2043        6.8828        .13626       -.96191E-04
   3  Normalizat    .80353        .35954        .67076E-01   -.32304E-03
   4  Prefactor     .93055        .12042        .45393E-01   -.10060E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.008024
  Index      = 6.20434
  Normalizat = 0.803525
  Prefactor  = 0.930547
 **********
 **   18 **HESSE 
 **********

 FCN=   7406.655     FROM HESSE     STATUS=OK            33 CALLS      407 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80240E-02    .18736        .76059E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.2043        6.7974        .71937E-02   -3.3849    
   3  Normalizat    .80353        .20486        .29676E-03   -.99938    
   4  Prefactor     .93055        .12925        .17986E-03   -.95082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.08212e-10
Minuit parameter uncertainties:
  1  0.077546
  2  5.06183
  3  0.205058
  4  0.129292
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73344': 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) = 7406.65482184
delta logL = 0.57330280277

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  8.024e-03  7.755e-02  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  6.204e+00  5.062e+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:  9.305e-01  1.293e-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:  8.035e-01  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.24
Ra Dec: 336.432 -4.954
Photon Index (Free Index): 6.20 +/- 5.06
Photon Flux (Free Index): 5.07e-08 +/- 9.54e-07
Energy Flux (Free Index): 6.25e-06 +/- 1.17e-04

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/73344/cmap_HighResolution_685411201_685670401_4FGL_J2225.7-0457_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', comment='SUCCESS', energy_flux2='6.25e-06', dlogl='5.73e-01', photon_flux2='5.07e-08', job_status='DONE', time_completed='2022-09-24 01:32:09.853286', photon_index_error2='5.06', photon_index2='6.20', ts='0.00', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='6.67e-08', energy_flux_error2='1.17e-04', EG='0.87', time_epoch_completed='1664008329.85', return_code='0', job_id='73344', GAL2='0.93', EG2='0.80', return_code2='0', photon_flux_error2='9.54e-07', ts2='1.24', photon_index='2.43' WHERE bin_id='1721' AND source_name='4FGL J2225.7-0457' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:32:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 73344: <4FGL_J2225.7-0457_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2225.7-0457_daily_bin1721> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Sep 24 01:20:22 2022
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:22:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 01:22:04 2022
Terminated at Sat Sep 24 01:32:10 2022
Results reported at Sat Sep 24 01:32:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.7-0457_daily_bin1721 336.432 -4.9537 685411201 685670401 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 :                                   551.54 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   607 sec.
    Turnaround time :                            708 sec.

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

