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 161 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2225.7-0457_daily_bin1702
RA = 336.432, Dec = -4.9537
tmin = 680486401, tmax = 680745601
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='258965', job_status='RUN', time_executed='2022-07-29 01:38:26.261646', time_epoch_executed='1659083906.26' WHERE source_name='4FGL J2225.7-0457' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258965

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258965/ft1_4FGL_J2225.7-0457_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258965/ft2_4FGL_J2225.7-0457_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/258965/ft1_4FGL_J2225.7-0457_daily_bin1702.fits outfile=/scratch/kocevski/258965/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1702.fits ra=336.432 dec=-4.9537 rad=12.0 tmin=680486401.0 tmax=680745601.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 4.40
user 2.77
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/258965/ft2_4FGL_J2225.7-0457_daily_bin1702.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/258965/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/258965/ft1_filtered_4FGL_J2225.7-0457_daily_bin1702.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.63
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 126

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258965/ft1_filtered_4FGL_J2225.7-0457_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/258965/ft2_4FGL_J2225.7-0457_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/258965/ltcube_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.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/258965/ft2_4FGL_J2225.7-0457_daily_bin1702.fits
.....................!
real 18.25
user 16.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258965/ft1_filtered_4FGL_J2225.7-0457_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258965/ft2_4FGL_J2225.7-0457_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/258965/ltcube_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.fits outfile=/scratch/kocevski/258965/expmap_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.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/258965/ltcube_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.fits
.....................!
real 192.94
user 187.95
sys 4.62

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/258965/ft1_filtered_4FGL_J2225.7-0457_daily_bin1702.fits scfile=/scratch/kocevski/258965/ft2_4FGL_J2225.7-0457_daily_bin1702.fits outfile=/scratch/kocevski/258965/cmap_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258965/ft1_filtered_4FGL_J2225.7-0457_daily_bin1702.fits scfile=/scratch/kocevski/258965/ft2_4FGL_J2225.7-0457_daily_bin1702.fits outfile=/scratch/kocevski/258965/cmap_HighResolution_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.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.58
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/258965/ft1_filtered_4FGL_J2225.7-0457_daily_bin1702.fits', '/scratch/kocevski/258965/ft2_4FGL_J2225.7-0457_daily_bin1702.fits', expMap='/scratch/kocevski/258965/expmap_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.fits', expCube='/scratch/kocevski/258965/ltcube_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/258965/Model_4FGL_J2225.7-0457_daily_bin1702.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  1.000e-04  1.000e+04 ( 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/258965/ft1_filtered_4FGL_J2225.7-0457_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/258965/ft2_4FGL_J2225.7-0457_daily_bin1702.fits
Exposure map: /scratch/kocevski/258965/expmap_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.fits
Exposure cube: /scratch/kocevski/258965/ltcube_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/258965/Model_4FGL_J2225.7-0457_daily_bin1702.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) = 1531.6440737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45586E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8680       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12123E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17732       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .42249E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .52034E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .19777E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23503E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    128.48       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11077E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34930E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .55863E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .23749E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    5.0426       1.0000         .10000E-03   10000.    
    15 'Prefactor '    50.878       1.0000         .10000E-03   10000.    
    16 'norm      '    .10458E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .43628E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13067E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    20.948       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .48566       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97545       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1531.510     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     1909 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    373.78        .12338E-03** at limit **
   2  Prefactor     2.2510        336.32       -.57305E-04   -.42995E-05
   3  Prefactor     .10000E-03    20.022        .51117E-05** at limit **
   4  Prefactor     .11469E-03    82.831       -.10171E-04** at limit **
   5  Prefactor     .10000E-03    36.306        .85000E-05** at limit **
   6  Prefactor     .10000E-03    51.374       -.10384E-04** at limit **
   7  Prefactor     .10000E-03    19.265        .25343E-05** at limit **
   8  Prefactor     .10000E-03    19.606       -.71240E-05** at limit **
   9  Prefactor     128.42        228.88       -.45353E-04    .35268E-05
  10  Prefactor     .10000E-03    3.5437        .29335E-07** at limit **
  11  Prefactor     .10000E-03    134.44       -.64096E-04** at limit **
  12  norm          .10000E-03    4.6035        .39732E-06** at limit **
  13  Prefactor     .10000E-03    51.271       -.64892E-05** at limit **
  14  norm          5.0778        3.2663        .36640E-06    .13020E-03
  15  Prefactor     49.503        34.604        .40982E-06    .46362E-04
  16  norm          .10000E-03    1.9191       -.14435E-07** at limit **
  17  Prefactor     .10000E-03    32.016       -.49987E-05** at limit **
  18  Prefactor     .10000E-03    5.7084       -.18643E-07** at limit **
  19  norm          20.859        19.812        .15259E-04    .84737E-05
  20  Normalizat    .48904        .39080       -.28315E-05    .14379E-03
  21  Prefactor     .97432        .23411        .12773E-05    .32492E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.25098
  Prefactor  = 0.0001
  Prefactor  = 0.000114692
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 128.424
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.07785
  Prefactor  = 49.5028
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.8593
  Normalizat = 0.48904
  Prefactor  = 0.974317
 **********
 **   18 **HESSE 
 **********

 FCN=   1531.510     FROM HESSE     STATUS=OK           311 CALLS     2220 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    373.98        .19327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2510        340.97        .30477E-03   -1.5408    
   3  Prefactor     .10000E-03    20.031        .17109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11469E-03    648.82        .67660E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    36.339        .19426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    51.437        .21138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.268        .16783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.642        .16926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     128.42        228.67        .17759E-03   -1.3437    
  10  Prefactor     .10000E-03    3.5463        .71955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    134.42        .19657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.6268        .81964E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    51.269        .20068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.0778        3.2633        .53043E-04   -1.5257    
  15  Prefactor     49.503        31.546        .56224E-04   -1.4300    
  16  norm          .10000E-03    2.0992        .95525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    32.029        .19384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.7090        .91332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          20.859        19.768        .87513E-04   -1.4794    
  20  Normalizat    .48904        .43468        .39104E-03   -1.1293    
  21  Prefactor     .97432        .26130        .17156E-03   -.93591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10331e-08
Minuit parameter uncertainties:
  1  0.000275028
  2  55.733
  3  1.10859e-05
  4  0.197445
  5  2.16341e-05
  6  6.48693e-05
  7  4.05836e-05
  8  3.28812e-05
  9  230.275
  10  6.28366e-06
  11  4.68812e-05
  12  8.55762e-05
  13  2.10005e-05
  14  3.26343
  15  31.5563
  16  2.87223e-06
  17  1.1312e-05
  18  3.86298e-07
  19  19.7743
  20  0.437746
  21  0.261637
Done.

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

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  6.284e-06  1.000e-04  1.000e+04 ( 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.743e-01  2.616e-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:  4.890e-01  4.377e-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: 1.93e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.49e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/258965/likelihoodResults_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.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) = 1531.51159209
delta logL = -0.00128544171093

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1531.51030646
delta logL = 1.87038040167e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4069       1.0000          .0000       10.000    
     3 'Normalizat'    .48902       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97433       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1531.510     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      256 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    66.731        .73063E-02** at limit **
   2  Index         1.7073        5.5368        .50000       -.97958E-07
   3  Normalizat    .48904        .35946E-01    .39105E-03    .15946E-04
   4  Prefactor     .97432        .21976E-01    .17156E-03    .41806E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.70733
  Normalizat = 0.489039
  Prefactor  = 0.974316
 **********
 **   18 **HESSE 
 **********

 FCN=   1531.510     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      285 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    470.61        .85744E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7073        5.1627        .50000       -.71887    
   3  Normalizat    .48904        .10742        .15642E-04   -1.1293    
   4  Prefactor     .97432        .65689E-01    .34313E-04   -.93591    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.14091e-09
Minuit parameter uncertainties:
  1  0.000166895
  2  1140.89
  3  0.107461
  4  0.0656946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258965': 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) = 1531.51030248
delta logL = 4.16938905801e-06

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  1.000e-04  1.669e-04  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  1.707e+00  1.141e+03  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.743e-01  6.569e-02  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:  4.890e-01  1.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 336.432 -4.954

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/258965/cmap_HighResolution_680486401_680745601_4FGL_J2225.7-0457_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.49e-02', job_status='DONE', photon_flux_upper_limit='1.93e-07', time_completed='2022-07-29 01:44:42.387284', job_id='258965', GAL2='0.97', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1659084282.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.17e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1702' AND source_name='4FGL J2225.7-0457' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:44:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 258965: <4FGL_J2225.7-0457_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2225.7-0457_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:20 2022
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:35:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:35:36 2022
Terminated at Fri Jul 29 01:44:43 2022
Results reported at Fri Jul 29 01:44:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.7-0457_daily_bin1702 336.432 -4.9537 680486401 680745601 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 :                                   376.10 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             275.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   546 sec.
    Turnaround time :                            563 sec.

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

