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 147 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_bin1719
RA = 341.491, Dec = 15.7479
tmin = 684892801, tmax = 685152001
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='668243', job_status='RUN', time_executed='2022-09-18 01:23:18.503280', time_epoch_executed='1663489398.5' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668243

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668243/ft1_4FGL_J2245.9+1544_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668243/ft2_4FGL_J2245.9+1544_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668243/ft1_4FGL_J2245.9+1544_daily_bin1719.fits outfile=/scratch/kocevski/668243/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1719.fits ra=341.491 dec=15.7479 rad=12.0 tmin=684892801.0 tmax=685152001.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.16
user 2.92
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668243/ft2_4FGL_J2245.9+1544_daily_bin1719.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/668243/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/668243/ft1_filtered_4FGL_J2245.9+1544_daily_bin1719.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 542

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668243/ft1_filtered_4FGL_J2245.9+1544_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/668243/ft2_4FGL_J2245.9+1544_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/668243/ltcube_684892801_685152001_4FGL_J2245.9+1544_daily_bin1719.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/668243/ft2_4FGL_J2245.9+1544_daily_bin1719.fits
.....................!
real 17.03
user 16.54
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668243/ft1_filtered_4FGL_J2245.9+1544_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/668243/ft2_4FGL_J2245.9+1544_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/668243/ltcube_684892801_685152001_4FGL_J2245.9+1544_daily_bin1719.fits outfile=/scratch/kocevski/668243/expmap_684892801_685152001_4FGL_J2245.9+1544_daily_bin1719.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/668243/ltcube_684892801_685152001_4FGL_J2245.9+1544_daily_bin1719.fits
.....................!
real 192.60
user 187.01
sys 4.51

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/668243/ft1_filtered_4FGL_J2245.9+1544_daily_bin1719.fits scfile=/scratch/kocevski/668243/ft2_4FGL_J2245.9+1544_daily_bin1719.fits outfile=/scratch/kocevski/668243/cmap_684892801_685152001_4FGL_J2245.9+1544_daily_bin1719.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668243/ft1_filtered_4FGL_J2245.9+1544_daily_bin1719.fits scfile=/scratch/kocevski/668243/ft2_4FGL_J2245.9+1544_daily_bin1719.fits outfile=/scratch/kocevski/668243/cmap_HighResolution_684892801_685152001_4FGL_J2245.9+1544_daily_bin1719.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.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19595E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .38548E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .60063E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .53038E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.905       1.0000          .0000       .10000E+07
     6 'Prefactor '    .44933       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6520       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1742       1.0000          .0000       .10000E+07
     9 'Prefactor '    .44337E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.3107       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.4123       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .46873       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.3938       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.417       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.622       1.0000          .0000       .10000E+07
    16 'Prefactor '    .28130E-04   1.0000          .0000       .10000E+07
    17 'norm      '    38.134       1.0000          .0000       .10000E+07
    18 'Prefactor '    9.3239       1.0000          .0000       .10000E+07
    19 'norm      '    .45530E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    .43825       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0974       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=   6084.143     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1593 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .33463        .61882E-07** at limit **
   2  Prefactor     .23709E-06    3.8550        .21191E-06** at limit **
   3  norm           .0000        2.4027        .10315E-06** at limit **
   4  Prefactor     .28089E-07    13.011       -.41568E-06** at limit **
   5  Prefactor     16.872        3.2903        .12820E-07   -.13952E-03
   6  Prefactor     .45106        .29753       -.29606E-06   -.66254E-03
   7  Prefactor     3.6025        7.2018       -.26171E-05   -.24045E-02
   8  norm          3.1818        2.0768       -.68256E-07   -.25975E-02
   9  Prefactor     .15266E-07    11.056        .22594E-06** at limit **
  10  Prefactor     7.1459        12.835        .33714E-06    .72085E-01
  11  Prefactor     4.4125        .45222       -.17605E-06   -.12465E-02
  12  Prefactor     .58747E-04    108.55       -.22339E-05** at limit **
  13  Prefactor     9.5876        9.6758       -.18806E-06    .92508E-03
  14  Prefactor     22.911        22.490        .71026E-06    .14987    
  15  Prefactor     19.673        11.432        .26932E-06    .54472E-02
  16  Prefactor     .78770E-07    15.206       -.32859E-06** at limit **
  17  norm          40.328        41.221        .12122E-05   -.59064E-01
  18  Prefactor     8.6852        18.748       -.10399E-05    .25849E-02
  19  norm          .13434E-06    10.911        .26818E-06** at limit **
  20  Normalizat    .43499        .34733       -.16213E-04   -.29366E-04
  21  Prefactor     1.0980        .17972        .24357E-05   -.59409E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 2.37088e-07
  norm       = 0
  Prefactor  = 2.80886e-08
  Prefactor  = 16.8723
  Prefactor  = 0.451062
  Prefactor  = 3.60246
  norm       = 3.18176
  Prefactor  = 1.52656e-08
  Prefactor  = 7.14591
  Prefactor  = 4.41246
  Prefactor  = 5.87471e-05
  Prefactor  = 9.58763
  Prefactor  = 22.9112
  Prefactor  = 19.6729
  Prefactor  = 7.87703e-08
  norm       = 40.3278
  Prefactor  = 8.68515
  norm       = 1.34337e-07
  Normalizat = 0.434995
  Prefactor  = 1.09796
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.143     FROM HESSE     STATUS=OK           369 CALLS     1962 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .33388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .23709E-06    10.169        .13592E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.4005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28089E-07    13.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.872        17.230        .24333E-03   -1.5626    
   6  Prefactor     .45106        .32356        .74033E-02   -1.5574    
   7  Prefactor     3.6025        18.402        .52845E-02   -1.5328    
   8  norm          3.1818        2.0980        .56857E-03   -1.5672    
   9  Prefactor     .15266E-07    21.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.1459        15.815        .37072E-03   -1.5654    
  11  Prefactor     4.4125        .45552        .35687E-02   -1.5288    
  12  Prefactor     .58747E-04    138.48        .81920E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.5876        9.6890        .32674E-03   -1.5646    
  14  Prefactor     22.911        36.525        .21614E-03   -1.5612    
  15  Prefactor     19.673        11.850        .22583E-03   -1.5619    
  16  Prefactor     .78770E-07    15.297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          40.328        44.029        .16195E-03   -1.5581    
  18  Prefactor     8.6852        28.248        .32797E-03   -1.5649    
  19  norm          .13434E-06    21.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .43499        .41326        .13442       -1.1553    
  21  Prefactor     1.0980        .19037        .37685E-01   -.89532    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16891e-06
Minuit parameter uncertainties:
  1  1.11918e-06
  2  0.0031056
  3  1.0492e-05
  4  0.00120981
  5  17.2304
  6  0.323559
  7  16.2918
  8  2.098
  9  0.00115807
  10  15.8155
  11  0.455525
  12  0.180394
  13  9.68905
  14  36.5253
  15  11.8501
  16  0.00219567
  17  44.029
  18  28.2486
  19  0.00343467
  20  0.416207
  21  0.190484
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.527e-08  1.158e-03  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.098e+00  1.905e-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:  4.350e-01  4.162e-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: 9.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668243/likelihoodResults_684892801_685152001_4FGL_J2245.9+1544_daily_bin1719.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) = 6084.16428295
delta logL = -0.0217557008818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6084.14252726
delta logL = -1.22581695905e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45963E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .93796       1.0000          .0000       10.000    
     3 'Normalizat'    .43499       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0980       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=   6084.143     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      232 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28866E-08    .55097        .42118E-03** at limit **
   2  Index         1.6504        7.3920        .45487        .24993E-10
   3  Normalizat    .43498        .10050E-02    .13442       -.38075E-03
   4  Prefactor     1.0980        .53145E-03    .37664E-01   -.41290E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.88658e-09
  Index      = 1.6504
  Normalizat = 0.434978
  Prefactor  = 1.09797
 **********
 **   18 **HESSE 
 **********

 FCN=   6084.143     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      263 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28866E-08    1.9509        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6504        5.8083        .50000       -.73410    
   3  Normalizat    .43498        .18840E-02    .59615E-03   -1.1553    
   4  Prefactor     1.0980        .99982E-03    .20329E-03   -.89532    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.06624e-12
Minuit parameter uncertainties:
  1  0.000150571
  2  5273.95
  3  0.00188404
  4  0.000999818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668243': 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) = 6084.14252725
delta logL = -1.09230313683e-09

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  2.887e-09  1.506e-04  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  1.650e+00  5.274e+03  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.098e+00  9.998e-04  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:  4.350e-01  1.884e-03  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/668243/cmap_HighResolution_684892801_685152001_4FGL_J2245.9+1544_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.14e-03', job_status='DONE', photon_flux_upper_limit='9.54e-08', time_completed='2022-09-18 01:32:27.045344', job_id='668243', GAL2='1.10', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1663489947.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='-1.09e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1719' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:32:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 668243: <4FGL_J2245.9+1544_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 18 01:20:20 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:20:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:20:41 2022
Terminated at Sun Sep 18 01:32:27 2022
Results reported at Sun Sep 18 01:32:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1719 341.491 15.7479 684892801 685152001 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 :                                   550.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             302.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            727 sec.

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

