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


Performing analysis on: 4FGL_J2225.7-0457_daily_bin1765
RA = 336.432, Dec = -4.9537
tmin = 696816001, tmax = 697075201
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='648338', job_status='RUN', time_executed='2023-02-03 01:49:02.954762', time_epoch_executed='1675417742.95' WHERE source_name='4FGL J2225.7-0457' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/648338

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/648338/ft1_4FGL_J2225.7-0457_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/648338/ft2_4FGL_J2225.7-0457_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/648338/ft1_4FGL_J2225.7-0457_daily_bin1765.fits outfile=/scratch/kocevski/648338/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1765.fits ra=336.432 dec=-4.9537 rad=12.0 tmin=696816001.0 tmax=697075201.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.77
user 3.46
sys 0.23

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

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

Number of photons that the gtmktime cut: 538

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/648338/ft1_filtered_4FGL_J2225.7-0457_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/648338/ft2_4FGL_J2225.7-0457_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/648338/ltcube_696816001_697075201_4FGL_J2225.7-0457_daily_bin1765.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/648338/ft2_4FGL_J2225.7-0457_daily_bin1765.fits
.....................!
real 16.01
user 15.44
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/648338/ft1_filtered_4FGL_J2225.7-0457_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/648338/ft2_4FGL_J2225.7-0457_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/648338/ltcube_696816001_697075201_4FGL_J2225.7-0457_daily_bin1765.fits outfile=/scratch/kocevski/648338/expmap_696816001_697075201_4FGL_J2225.7-0457_daily_bin1765.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/648338/ltcube_696816001_697075201_4FGL_J2225.7-0457_daily_bin1765.fits
.....................!
real 195.78
user 188.10
sys 5.22

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/648338/ft1_filtered_4FGL_J2225.7-0457_daily_bin1765.fits scfile=/scratch/kocevski/648338/ft2_4FGL_J2225.7-0457_daily_bin1765.fits outfile=/scratch/kocevski/648338/cmap_696816001_697075201_4FGL_J2225.7-0457_daily_bin1765.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/648338/ft1_filtered_4FGL_J2225.7-0457_daily_bin1765.fits scfile=/scratch/kocevski/648338/ft2_4FGL_J2225.7-0457_daily_bin1765.fits outfile=/scratch/kocevski/648338/cmap_HighResolution_696816001_697075201_4FGL_J2225.7-0457_daily_bin1765.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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/648338/ft1_filtered_4FGL_J2225.7-0457_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/648338/ft2_4FGL_J2225.7-0457_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/648338/Model_4FGL_J2225.7-0457_daily_bin1765.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/648338/ft1_filtered_4FGL_J2225.7-0457_daily_bin1765.fits.....................!
real 59.58
user 57.52
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.850       1.0000          .0000       .10000E+07
     2 'Prefactor '    .97973E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.0847       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54722E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.029       1.0000          .0000       .10000E+07
     6 'Prefactor '    .96448E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .43973E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .86860E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .16015E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10288       1.0000          .0000       .10000E+07
    11 'norm      '    3.0129       1.0000          .0000       .10000E+07
    12 'Prefactor '    14.915       1.0000          .0000       .10000E+07
    13 'norm      '    .62643E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43038E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .46913E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    .73540       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3599       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=   6019.797     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1016 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.838        8.6295       -.28076E-07   -.19761E-01
   2  Prefactor     .10547E-07    4.9263        .22647E-07** at limit **
   3  Prefactor     2.1293        2.4607        .29444E-07   -.70641E-01
   4  Prefactor     .75495E-08    7.9404       -.40677E-06** at limit **
   5  Prefactor     10.945        2.6146       -.28321E-08   -.33135E-02
   6  Prefactor     .25535E-07    4.6965       -.12976E-06** at limit **
   7  Prefactor      .0000        1.5505       -.26553E-06** at limit **
   8  Prefactor     .20151E-07    89.191        .45062E-06** at limit **
   9  norm           .0000        .87873       -.38346E-07** at limit **
  10  Prefactor     .55511E-10    28.322       -.10687E-05** at limit **
  11  norm          3.0157        1.3858        .12368E-07   -.22590E-02
  12  Prefactor     14.700        15.050       -.10067E-06    .32587E-02
  13  norm           .0000        3.9747       -.71610E-06** at limit **
  14  Prefactor     .49405E-08    48.255        .25969E-05** at limit **
  15  norm           .0000        3.5845       -.10480E-06** at limit **
  16  Normalizat    .73615        .27097        .33277E-05   -.38700E-05
  17  Prefactor     1.3598        .17511       -.63532E-06    .15618E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8376
  Prefactor  = 1.05471e-08
  Prefactor  = 2.12934
  Prefactor  = 7.54952e-09
  Prefactor  = 10.9454
  Prefactor  = 2.55351e-08
  Prefactor  = 0
  Prefactor  = 2.01505e-08
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 3.01573
  Prefactor  = 14.6998
  norm       = 0
  Prefactor  = 4.94049e-09
  norm       = 0
  Normalizat = 0.736152
  Prefactor  = 1.3598
 **********
 **   18 **HESSE 
 **********

 FCN=   6019.797     FROM HESSE     STATUS=OK           257 CALLS     1273 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.838        8.7227        .30391E-03   -1.5642    
   2  Prefactor     .10547E-07    4.9449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.1293        18.670        .71483E-03   -1.5679    
   4  Prefactor     .75495E-08    7.9264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.945        17.151        .30142E-03   -1.5642    
   6  Prefactor     .25535E-07    4.7527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.5429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .20151E-07    89.248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        .87558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    28.266        .13853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0157        1.3929        .58445E-03   -1.5673    
  12  Prefactor     14.700        20.048        .25908E-03   -1.5631    
  13  norm           .0000        1.6518        .24568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .49405E-08    48.223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        3.5804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .73615        .24797        .86047E-01   -1.0248    
  17  Prefactor     1.3598        .15599        .31639E-01   -.81546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69305e-07
Minuit parameter uncertainties:
  1  8.7227
  2  0.000456958
  3  12.6102
  4  0.000488855
  5  17.1506
  6  0.000696983
  7  3.95618e-06
  8  0.00268051
  9  1.73823e-06
  10  6.26242e-05
  11  1.39292
  12  20.0479
  13  8.22266e-06
  14  0.000974168
  15  4.93712e-06
  16  0.248347
  17  0.156042
Done.

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

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  0.000e+00  3.956e-06  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.360e+00  1.560e-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.362e-01  2.483e-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: 7.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/648338/likelihoodResults_696816001_697075201_4FGL_J2225.7-0457_daily_bin1765.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) = 6019.79765193
delta logL = -0.00087860622898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6019.79677882
delta logL = -5.4967995311e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25956E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.0909       1.0000          .0000       10.000    
     3 'Normalizat'    .73658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3594       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=   6019.797     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      279 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10290E-01    .42118E-03** at limit **
   2  Index         2.6000        5.4071        .37941        .59928E-10
   3  Normalizat    .73615        .50523E-03    .86048E-01   -.86468E-03
   4  Prefactor     1.3598        .32788E-03    .31648E-01   -.15073E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.59997
  Normalizat = 0.736146
  Prefactor  = 1.3598
 **********
 **   18 **HESSE 
 **********

 FCN=   6019.797     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .79E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .31012E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6000        5.0364        .50000       -.50066    
   3  Normalizat    .73615        .87350E-03    .38110E-03   -1.0248    
   4  Prefactor     1.3598        .56843E-03    .18714E-03   -.81546    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.8765e-13
Minuit parameter uncertainties:
  1  2.70399e-06
  2  12053.2
  3  0.000873501
  4  0.000568427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/648338': 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) = 6019.79677332
delta logL = -1.03136699181e-09

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  5.551e-11  2.704e-06  0.000e+00  1.000e+06 ( 1.000e-12)
237        Index:  2.600e+00  1.205e+04  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.360e+00  5.684e-04  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.361e-01  8.735e-04  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/648338/cmap_HighResolution_696816001_697075201_4FGL_J2225.7-0457_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-03', job_status='DONE', photon_flux_upper_limit='7.01e-08', time_completed='2023-02-03 01:57:09.303004', job_id='648338', GAL2='1.36', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1675418229.3', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='-1.03e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1765' AND source_name='4FGL J2225.7-0457' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:57:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 648338: <4FGL_J2225.7-0457_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2225.7-0457_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 01:45:15 2023
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:46:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:46:08 2023
Terminated at Fri Feb  3 01:57:10 2023
Results reported at Fri Feb  3 01:57:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.7-0457_daily_bin1765 336.432 -4.9537 696816001 697075201 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 :                                   483.61 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             281.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            715 sec.

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

