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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1737
RA = 341.491, Dec = 15.7479
tmin = 689558401, tmax = 689817601
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='163206', job_status='RUN', time_executed='2022-11-11 00:59:41.519544', time_epoch_executed='1668157181.52' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/163206

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/163206/ft1_4FGL_J2245.9+1544_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/163206/ft1_4FGL_J2245.9+1544_daily_bin1737.fits outfile=/scratch/kocevski/163206/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1737.fits ra=341.491 dec=15.7479 rad=12.0 tmin=689558401.0 tmax=689817601.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.73
user 3.47
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.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/163206/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1737.fits evtable="EVENTS" outfile="/scratch/kocevski/163206/ft1_filtered_4FGL_J2245.9+1544_daily_bin1737.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.34
sys 0.16

Number of photons that the gtmktime cut: 1006

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/163206/ft1_filtered_4FGL_J2245.9+1544_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/163206/ltcube_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.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/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.fits
.....................!
real 14.40
user 13.97
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/163206/ft1_filtered_4FGL_J2245.9+1544_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/163206/ltcube_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.fits outfile=/scratch/kocevski/163206/expmap_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.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/163206/ltcube_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.fits
.....................!
real 192.84
user 186.67
sys 5.34

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/163206/ft1_filtered_4FGL_J2245.9+1544_daily_bin1737.fits scfile=/scratch/kocevski/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.fits outfile=/scratch/kocevski/163206/cmap_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.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.59
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/163206/ft1_filtered_4FGL_J2245.9+1544_daily_bin1737.fits scfile=/scratch/kocevski/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.fits outfile=/scratch/kocevski/163206/cmap_HighResolution_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.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.60
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/163206/ft1_filtered_4FGL_J2245.9+1544_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/163206/Model_4FGL_J2245.9+1544_daily_bin1737.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/163206/ft1_filtered_4FGL_J2245.9+1544_daily_bin1737.fits.....................!
real 118.19
user 115.41
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/163206/ft1_filtered_4FGL_J2245.9+1544_daily_bin1737.fits', '/scratch/kocevski/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.fits', expMap='/scratch/kocevski/163206/expmap_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.fits', expCube='/scratch/kocevski/163206/ltcube_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/163206/Model_4FGL_J2245.9+1544_daily_bin1737.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/163206/ft1_filtered_4FGL_J2245.9+1544_daily_bin1737.fits
Spacecraft file(s): /scratch/kocevski/163206/ft2_4FGL_J2245.9+1544_daily_bin1737.fits
Exposure map: /scratch/kocevski/163206/expmap_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.fits
Exposure cube: /scratch/kocevski/163206/ltcube_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/163206/Model_4FGL_J2245.9+1544_daily_bin1737.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) = 10555.2031648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22649E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14641E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .17986E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.548       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.8909       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7716       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0395       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4485       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.573       1.0000          .0000       .10000E+07
    10 'Prefactor '    .90196E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.1558       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.268       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90906E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    140.39       1.0000          .0000       .10000E+07
    15 'Prefactor '    .16710E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    61.615       1.0000          .0000       .10000E+07
    17 'norm      '    .26440E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22545E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .42832       1.0000          .0000       .10000E+07
    20 'Normalizat'    2.0112       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .49405       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=   10555.20     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1690 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .16418       -.91205E-07** at limit **
   2  Prefactor     .62783E-07    13.606        .14408E-05** at limit **
   3  norm           .0000        .97512       -.30015E-06** at limit **
   4  Prefactor     13.504        1.7050        .29369E-06    .71529E-02
   5  Prefactor     9.8800        14.130       -.38693E-05   -.34288E-01
   6  Prefactor     1.7719        .30356       -.56385E-07    .13653E-02
   7  Prefactor     3.0173        4.4814       -.84239E-06    .10903E-04
   8  norm          2.4478        1.6417       -.39981E-06   -.57380E-02
   9  Prefactor     12.596        45.249        .63057E-05    .62749E-02
  10  Prefactor     .52736E-08    10.972       -.10003E-05** at limit **
  11  Prefactor     3.1577        .32037       -.28259E-06   -.33344E-02
  12  Prefactor     16.248        1.9211        .27974E-06    .15940E-01
  13  Prefactor     .11102E-09    2.9699       -.53513E-06** at limit **
  14  Prefactor     140.31        5.1487        .12169E-06    .14707    
  15  Prefactor     .22204E-09    4.0143       -.21287E-05** at limit **
  16  Prefactor     61.745        7.7412       -.99064E-06    .31638    
  17  norm          .55511E-10    3.0669       -.38777E-06** at limit **
  18  Prefactor     .33307E-09    23.880       -.40683E-05** at limit **
  19  norm          .42312E-05    78.070        .98552E-05** at limit **
  20  Normalizat    2.0116        .27183        .94561E-05   -.34305E-04
  21  Prefactor     .49418        .12984       -.17017E-05   -.39700E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 6.27831e-08
  norm       = 0
  Prefactor  = 13.504
  Prefactor  = 9.87997
  Prefactor  = 1.77194
  Prefactor  = 3.01728
  norm       = 2.44779
  Prefactor  = 12.5961
  Prefactor  = 5.27356e-09
  Prefactor  = 3.15774
  Prefactor  = 16.2475
  Prefactor  = 1.11022e-10
  Prefactor  = 140.313
  Prefactor  = 2.22045e-10
  Prefactor  = 61.7448
  norm       = 5.55112e-11
  Prefactor  = 3.33067e-10
  norm       = 4.23117e-06
  Normalizat = 2.01159
  Prefactor  = 0.494182
 **********
 **   18 **HESSE 
 **********

 FCN=   10555.20     FROM HESSE     STATUS=OK           367 CALLS     2057 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .16409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .62783E-07    13.697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .97460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.504        16.590        .27187E-03   -1.5634    
   5  Prefactor     9.8800        14.215        .31838E-03   -1.5645    
   6  Prefactor     1.7719        .31682        .49801E-02   -1.5442    
   7  Prefactor     3.0173        4.4911        .58184E-02   -1.5361    
   8  norm          2.4478        1.6408        .65348E-03   -1.5677    
   9  Prefactor     12.596        45.813        .27162E-03   -1.5637    
  10  Prefactor     .52736E-08    10.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.1577        .31743        .37459E-02   -1.5353    
  12  Prefactor     16.248        20.790        .24805E-03   -1.5627    
  13  Prefactor     .11102E-09    2.9706        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     140.31        61.249        .84404E-04   -1.5471    
  15  Prefactor     .22204E-09    4.0220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     61.745        27.076        .12740E-03   -1.5551    
  17  norm          .55511E-10    3.0712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .33307E-09    3.9657        .11196E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .42312E-05    79.576        .86276E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    2.0116        .23750        .73889E-01   -.64260    
  21  Prefactor     .49418        .11140        .67807E-01   -1.1224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87307e-06
Minuit parameter uncertainties:
  1  1.42241e-07
  2  0.00185425
  3  1.10071e-06
  4  16.5897
  5  14.2155
  6  0.316822
  7  4.49163
  8  1.6408
  9  45.8141
  10  0.000481497
  11  0.317433
  12  20.7905
  13  3.55925e-05
  14  61.2492
  15  5.60269e-05
  16  27.0762
  17  2.54603e-05
  18  7.2574e-05
  19  0.0366992
  20  0.237636
  21  0.111449
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.260e+01  4.581e+01  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:  4.942e-01  1.114e-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:  2.012e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 341.491 15.748
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/163206/likelihoodResults_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.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) = 10553.6764242
delta logL = 1.52575044688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10553.5854714
delta logL = 1.61670319813

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10553.59     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      279 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6012        11.949        .83330E-03   -.63635E-03
   2  Index         3.6266        1.4701        .65113E-01    .15183E-03
   3  Normalizat    1.8796        .64841E-01    .75321E-01   -.15516E-03
   4  Prefactor     .53220        .31872E-01    .65356E-01   -.55336E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60115
  Index      = 3.62657
  Normalizat = 1.87963
  Prefactor  = 0.532195
 **********
 **   18 **HESSE 
 **********

 FCN=   10553.59     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      310 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6012        26.131        .71762E-05   -1.5683    
   2  Index         3.6266        2.5358        .32235E-02   -.27826    
   3  Normalizat    1.8796        .23512        .33321E-03   -.67603    
   4  Prefactor     .53220        .11483        .28925E-03   -1.1052    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.44324e-10
Minuit parameter uncertainties:
  1  12.9367
  2  2.6711
  3  0.23526
  4  0.114878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/163206': 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) = 10553.5854598
delta logL = 1.6167148421

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.601e+00  1.294e+01  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  3.627e+00  2.671e+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:  5.322e-01  1.149e-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:  1.880e+00  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.47
Ra Dec: 341.491 15.748
Photon Index (Free Index): 3.63 +/- 2.67
Photon Flux (Free Index): 2.03e-07 +/- 1.29e-07
Energy Flux (Free Index): 3.27e-05 +/- 2.17e-05

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/163206/cmap_HighResolution_689558401_689817601_4FGL_J2245.9+1544_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.71e-03', comment='SUCCESS', energy_flux2='3.27e-05', dlogl='1.62e+00', photon_flux2='2.03e-07', job_status='DONE', time_completed='2022-11-11 01:12:06.082687', photon_index_error2='2.67', photon_index2='3.63', ts='0.09', fit_tolerance='1e-08', GAL='0.49', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='2.17e-05', EG='2.01', time_epoch_completed='1668157926.08', return_code='0', job_id='163206', GAL2='0.53', EG2='1.88', return_code2='102', photon_flux_error2='1.29e-07', ts2='3.47', photon_index='1.96' WHERE bin_id='1737' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:12:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 163206: <4FGL_J2245.9+1544_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1737> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Nov 11 00:55:48 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 00:59:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 00:59:17 2022
Terminated at Fri Nov 11 01:12:07 2022
Results reported at Fri Nov 11 01:12:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1737 341.491 15.7479 689558401 689817601 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 :                                   744.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             394.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            979 sec.

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

