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 44 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_J2245.9+1544_daily_bin1721
RA = 341.491, Dec = 15.7479
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='70692', job_status='RUN', time_executed='2022-09-24 01:14:17.057047', time_epoch_executed='1664007257.06' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/70692

Creating custom pfile directory:
/scratch/kocevski/70692/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/70692/ft1_4FGL_J2245.9+1544_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/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/70692/ft1_4FGL_J2245.9+1544_daily_bin1721.fits outfile=/scratch/kocevski/70692/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1721.fits ra=341.491 dec=15.7479 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.32
user 4.98
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/70692/ft2_4FGL_J2245.9+1544_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/70692/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/70692/ft1_filtered_4FGL_J2245.9+1544_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.52
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 750

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/70692/ft1_filtered_4FGL_J2245.9+1544_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/70692/ltcube_685411201_685670401_4FGL_J2245.9+1544_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/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits
.....................!
real 15.73
user 15.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/70692/ft1_filtered_4FGL_J2245.9+1544_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/70692/ltcube_685411201_685670401_4FGL_J2245.9+1544_daily_bin1721.fits outfile=/scratch/kocevski/70692/expmap_685411201_685670401_4FGL_J2245.9+1544_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/70692/ltcube_685411201_685670401_4FGL_J2245.9+1544_daily_bin1721.fits
.....................!
real 197.42
user 191.32
sys 5.37

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

Setting source of interest to:
4FGL J2245.9+1544 @ 341.491 15.7479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/70692/ft1_filtered_4FGL_J2245.9+1544_daily_bin1721.fits scfile=/scratch/kocevski/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits outfile=/scratch/kocevski/70692/cmap_685411201_685670401_4FGL_J2245.9+1544_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=341.491 yref=15.7479 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.62
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/70692/ft1_filtered_4FGL_J2245.9+1544_daily_bin1721.fits scfile=/scratch/kocevski/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits outfile=/scratch/kocevski/70692/cmap_HighResolution_685411201_685670401_4FGL_J2245.9+1544_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=341.491 yref=15.7479 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/70692/ft1_filtered_4FGL_J2245.9+1544_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/70692/Model_4FGL_J2245.9+1544_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/70692/ft1_filtered_4FGL_J2245.9+1544_daily_bin1721.fits.....................!
real 85.53
user 83.32
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/70692/ft1_filtered_4FGL_J2245.9+1544_daily_bin1721.fits', '/scratch/kocevski/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits', expMap='/scratch/kocevski/70692/expmap_685411201_685670401_4FGL_J2245.9+1544_daily_bin1721.fits', expCube='/scratch/kocevski/70692/ltcube_685411201_685670401_4FGL_J2245.9+1544_daily_bin1721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/70692/Model_4FGL_J2245.9+1544_daily_bin1721.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2245.9+1544'

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  5.169e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/70692/ft1_filtered_4FGL_J2245.9+1544_daily_bin1721.fits
Spacecraft file(s): /scratch/kocevski/70692/ft2_4FGL_J2245.9+1544_daily_bin1721.fits
Exposure map: /scratch/kocevski/70692/expmap_685411201_685670401_4FGL_J2245.9+1544_daily_bin1721.fits
Exposure cube: /scratch/kocevski/70692/ltcube_685411201_685670401_4FGL_J2245.9+1544_daily_bin1721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/70692/Model_4FGL_J2245.9+1544_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) = 8146.95849177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3821       1.0000          .0000       .10000E+07
     2 'Prefactor '    28.047       1.0000          .0000       .10000E+07
     3 'norm      '    .22835E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .72639E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6749       1.0000          .0000       .10000E+07
     6 'Prefactor '    .85780       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .65453E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8956       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14653E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    21.255       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.9355       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.4862       1.0000          .0000       .10000E+07
    13 'Prefactor '    .48653E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    14.998       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.1314       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.379       1.0000          .0000       .10000E+07
    17 'norm      '    .32196E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    13.781       1.0000          .0000       .10000E+07
    19 'norm      '    .68284E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    .51893       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1398       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8146.820     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1616 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3879        1.1174       -.16924E-07   -.26681E-03
   2  Prefactor     28.480        18.781       -.15965E-05    .62428E-02
   3  norm          .38858E-09    4.1815        .47940E-06** at limit **
   4  Prefactor     .64376E-06    4.2214       -.31393E-06** at limit **
   5  Prefactor     2.6548        8.6386       -.70262E-06    .77147E-03
   6  Prefactor     .86006        .24603       -.18219E-06    .42993E-03
   7  Prefactor     .10040E-03    20.462       -.50525E-04** at limit **
   8  norm          1.8980        1.8162       -.15179E-06    .38397E-02
   9  Prefactor     .32196E-08    12.016        .18589E-07** at limit **
  10  Prefactor     21.277        1.4422       -.12896E-06    .17325E-01
  11  Prefactor     3.9373        .36365       -.23037E-07    .36818E-03
  12  Prefactor     9.9812        18.507       -.26327E-05   -.84221E-02
  13  Prefactor     .31647E-06    6.1293        .10686E-05** at limit **
  14  Prefactor     20.351        51.963       -.39038E-05   -.22283E-02
  15  Prefactor     2.1177        12.227        .13654E-05    .42953E-02
  16  Prefactor     35.717        10.851       -.86245E-06    .59112E-01
  17  norm          .14988E-08    5.9640       -.57790E-06** at limit **
  18  Prefactor     13.977        3.2494        .26121E-06   -.43649E-02
  19  norm          .14228E-06    8.5413       -.72147E-06** at limit **
  20  Normalizat    .51165        .28001       -.27709E-04    .15580E-04
  21  Prefactor     1.1406        .14618        .85067E-05   -.10056E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38789
  Prefactor  = 28.4798
  norm       = 3.88578e-10
  Prefactor  = 6.43763e-07
  Prefactor  = 2.65483
  Prefactor  = 0.860063
  Prefactor  = 0.000100396
  norm       = 1.898
  Prefactor  = 3.21965e-09
  Prefactor  = 21.2767
  Prefactor  = 3.93734
  Prefactor  = 9.98125
  Prefactor  = 3.16469e-07
  Prefactor  = 20.3505
  Prefactor  = 2.11766
  Prefactor  = 35.7169
  norm       = 1.4988e-09
  Prefactor  = 13.9766
  norm       = 1.42275e-07
  Normalizat = 0.511649
  Prefactor  = 1.14062
 **********
 **   18 **HESSE 
 **********

 FCN=   8146.820     FROM HESSE     STATUS=OK           363 CALLS     1979 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3879        1.1208        .92527E-04   -1.5684    
   2  Prefactor     28.480        27.858        .18886E-03   -1.5601    
   3  norm          .38858E-09    4.2260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .64376E-06    8.4858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6548        8.7411        .62283E-03   -1.5675    
   6  Prefactor     .86006        .24828        .51194E-02   -1.5522    
   7  Prefactor     .10040E-03    22.801        .94033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8980        1.8545        .75529E-03   -1.5680    
   9  Prefactor     .32196E-08    12.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.277        13.429        .21697E-03   -1.5616    
  11  Prefactor     3.9373        .36401        .35143E-02   -1.5311    
  12  Prefactor     9.9812        27.578        .32513E-03   -1.5645    
  13  Prefactor     .31647E-06    8.1901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.351        52.149        .25837E-03   -1.5618    
  15  Prefactor     2.1177        17.562        .70590E-03   -1.5679    
  16  Prefactor     35.717        32.244        .16814E-03   -1.5588    
  17  norm          .14988E-08    6.0251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.977        10.994        .26955E-03   -1.5633    
  19  norm          .14228E-06    9.5129        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .51165        .28806        .11964       -1.1188    
  21  Prefactor     1.1406        .14268        .36239E-01   -.88179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42275e-07
Minuit parameter uncertainties:
  1  1.12078
  2  27.858
  3  8.11948e-05
  4  0.00467451
  5  8.74118
  6  0.248277
  7  0.00601404
  8  1.85454
  9  0.000392417
  10  13.4291
  11  0.364008
  12  27.5779
  13  0.00321982
  14  52.1504
  15  12.1967
  16  32.2444
  17  0.000190733
  18  10.9942
  19  0.00232679
  20  0.288907
  21  0.142723
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  3.220e-09  3.924e-04  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.141e+00  1.427e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  5.116e-01  2.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 341.491 15.748
Photon Flux Upper Limit: 6.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/70692/likelihoodResults_685411201_685670401_4FGL_J2245.9+1544_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): 0
logL (Free Index) = 8146.85920595
delta logL = -0.0396758291572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8146.81953013
delta logL = -5.12500264449e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8146.820     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      200 TOTAL
                     EDM=   .13E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.031       -.40642E-06** at limit **
   2  Index         1.6776        5.7594        .98757E-05     .0000    
   3  Normalizat    .51165        .26048       -.26535E-07    .25043E-05
   4  Prefactor     1.1406        .14590        .11145E-05   -.74686E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.67757
  Normalizat = 0.511648
  Prefactor  = 1.14062
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8146.820     FROM HESSE     STATUS=FAILED        11 CALLS      211 TOTAL
                     EDM=   .13E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        14.939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .27629        1.7011        .98757E-05   -.72681    
   3  Normalizat    .51165        .84389       -.26535E-07   -1.1188    
   4  Prefactor     1.1406        1.1262        .11145E-05   -.88179    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.26734e-12
Minuit parameter uncertainties:
  1  4.05503e-05
  2  1.59958
  3  0.866488
  4  1.15118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/70692': 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): 101
logL (Free Index) = 8146.81953012
delta logL = 1.35514710564e-10

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  0.000e+00  4.055e-05  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  1.678e+00  1.600e+00  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.141e+00  1.151e+00  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  5.116e-01  8.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 341.491 15.748

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/70692/cmap_HighResolution_685411201_685670401_4FGL_J2245.9+1544_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.67e-03', job_status='DONE', photon_flux_upper_limit='6.24e-08', time_completed='2022-09-24 01:24:52.926832', job_id='70692', GAL2='1.14', fit_tolerance='1e-08', EG2='0.51', EG='0.51', time_epoch_completed='1664007892.93', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.36e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1721' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 01:24:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0113>
Subject: Job 70692: <4FGL_J2245.9+1544_daily_bin1721> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1721> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Sep 24 01:10:40 2022
Job was executed on host(s) <bullet0113>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 01:13:19 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:13:19 2022
Terminated at Sat Sep 24 01:24:53 2022
Results reported at Sat Sep 24 01:24:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1721 341.491 15.7479 685411201 685670401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2245.9+1544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   634.48 sec.
    Max Memory :                                 656 MB
    Average Memory :                             333.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            853 sec.

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

