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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1747
RA = 341.491, Dec = 15.7479
tmin = 692150401, tmax = 692409601
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='816067', job_status='RUN', time_executed='2022-12-11 01:51:37.661233', time_epoch_executed='1670752297.66' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816067

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816067/ft1_4FGL_J2245.9+1544_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816067/ft2_4FGL_J2245.9+1544_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816067/ft1_4FGL_J2245.9+1544_daily_bin1747.fits outfile=/scratch/kocevski/816067/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1747.fits ra=341.491 dec=15.7479 rad=12.0 tmin=692150401.0 tmax=692409601.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.98
user 3.75
sys 0.21

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

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

Number of photons that the gtmktime cut: 838

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816067/ft1_filtered_4FGL_J2245.9+1544_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/816067/ft2_4FGL_J2245.9+1544_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/816067/ltcube_692150401_692409601_4FGL_J2245.9+1544_daily_bin1747.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/816067/ft2_4FGL_J2245.9+1544_daily_bin1747.fits
.....................!
real 11.98
user 11.65
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816067/ft1_filtered_4FGL_J2245.9+1544_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816067/ft2_4FGL_J2245.9+1544_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/816067/ltcube_692150401_692409601_4FGL_J2245.9+1544_daily_bin1747.fits outfile=/scratch/kocevski/816067/expmap_692150401_692409601_4FGL_J2245.9+1544_daily_bin1747.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/816067/ltcube_692150401_692409601_4FGL_J2245.9+1544_daily_bin1747.fits
.....................!
real 189.21
user 185.02
sys 3.86

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/816067/ft1_filtered_4FGL_J2245.9+1544_daily_bin1747.fits scfile=/scratch/kocevski/816067/ft2_4FGL_J2245.9+1544_daily_bin1747.fits outfile=/scratch/kocevski/816067/cmap_692150401_692409601_4FGL_J2245.9+1544_daily_bin1747.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816067/ft1_filtered_4FGL_J2245.9+1544_daily_bin1747.fits scfile=/scratch/kocevski/816067/ft2_4FGL_J2245.9+1544_daily_bin1747.fits outfile=/scratch/kocevski/816067/cmap_HighResolution_692150401_692409601_4FGL_J2245.9+1544_daily_bin1747.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46130E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .45298E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .14371E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .47328E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.3974       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.3828       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.1623       1.0000          .0000       .10000E+07
     9 'Prefactor '    .74582E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    9.2052       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.7400       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28241E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16665E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .74889E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    8.6508       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.071       1.0000          .0000       .10000E+07
    17 'norm      '    5.6862       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.2254       1.0000          .0000       .10000E+07
    19 'norm      '    62.938       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1645       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80342       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=   8463.313     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1281 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .37084        .33586E-08** at limit **
   2  Prefactor     .12407E-06    6.4546       -.12910E-06** at limit **
   3  norm           .0000        2.5806       -.32783E-09** at limit **
   4  Prefactor     .16653E-09    6.2796       -.74713E-07** at limit **
   5  Prefactor     3.4944        8.1371       -.62541E-07    .22818E-01
   6  Prefactor     2.3826        .32054       -.60474E-07   -.29344E-02
   7  Prefactor     .10000E-03    3.5305       -.50917E-06** at limit **
   8  norm          4.1610        1.8697       -.14945E-07   -.55759E-02
   9  Prefactor     .37192E-08    7.0271       -.76226E-07** at limit **
  10  Prefactor     9.2164        4.6402       -.83751E-08    .76086E-01
  11  Prefactor     1.7402        .22905        .29710E-07    .34664E-02
  12  Prefactor     .13484E-06    8.7364       -.13187E-06** at limit **
  13  Prefactor     .55511E-09    10.931       -.10561E-06** at limit **
  14  Prefactor     .55511E-10    21.769       -.18012E-06** at limit **
  15  Prefactor     8.5113        7.2682        .70855E-07    .16092E-01
  16  Prefactor     11.257        1.7958        .16403E-07    .44069E-02
  17  norm          5.6669        5.0555        .26869E-08    .43657E-02
  18  Prefactor     7.2033        6.5973        .53853E-08    .50499E-02
  19  norm          62.837        2.4984       -.32813E-08    .65889E-01
  20  Normalizat    1.1651        .25842        .13414E-05    .16205E-03
  21  Prefactor     .80326        .13264       -.37435E-06    .15697E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.24067e-07
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 3.49441
  Prefactor  = 2.38261
  Prefactor  = 0.0001
  norm       = 4.16095
  Prefactor  = 3.71925e-09
  Prefactor  = 9.21638
  Prefactor  = 1.74023
  Prefactor  = 1.34837e-07
  Prefactor  = 5.55112e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 8.5113
  Prefactor  = 11.2571
  norm       = 5.66694
  Prefactor  = 7.20334
  norm       = 62.8366
  Normalizat = 1.16507
  Prefactor  = 0.803263
 **********
 **   18 **HESSE 
 **********

 FCN=   8463.313     FROM HESSE     STATUS=OK           359 CALLS     1640 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .36512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .12407E-06    14.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.5753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    6.2857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4944        9.2796        .54865E-03   -1.5671    
   6  Prefactor     2.3826        .31995        .41040E-02   -1.5399    
   7  Prefactor     .10000E-03    3.5249        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.1610        1.8861        .49379E-03   -1.5667    
   9  Prefactor     .37192E-08    7.1228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.2164        8.2388        .33009E-03   -1.5647    
  11  Prefactor     1.7402        .22836        .34174E-02   -1.5444    
  12  Prefactor     .13484E-06    15.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-09    11.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    21.961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.5113        8.3904        .34057E-03   -1.5650    
  16  Prefactor     11.257        20.750        .30085E-03   -1.5641    
  17  norm          5.6669        13.601        .42101E-03   -1.5660    
  18  Prefactor     7.2033        11.677        .37292E-03   -1.5654    
  19  norm          62.837        26.253        .12606E-03   -1.5549    
  20  Normalizat    1.1651        .22187        .76153E-01   -.87689    
  21  Prefactor     .80326        .11270        .43762E-01   -.99608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27416e-07
Minuit parameter uncertainties:
  1  7.30928e-07
  2  0.0026861
  3  1.41697e-05
  4  6.81965e-05
  5  9.27959
  6  0.319949
  7  2.39771e-05
  8  1.8861
  9  0.000324958
  10  8.23884
  11  0.228358
  12  0.00285202
  13  0.00016057
  14  8.18496e-05
  15  8.39042
  16  20.7505
  17  13.6008
  18  11.6768
  19  26.2535
  20  0.222046
  21  0.112736
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  3.719e-09  3.250e-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:  8.033e-01  1.127e-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.165e+00  2.220e-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: 4.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/816067/likelihoodResults_692150401_692409601_4FGL_J2245.9+1544_daily_bin1747.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) = 8463.3801086
delta logL = -0.0669390489002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8463.31316962
delta logL = -7.43493728805e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30176E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .25907       1.0000          .0000       10.000    
     3 'Normalizat'    1.1651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80326       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=   8463.313     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      204 TOTAL
                     EDM=   .27E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.0062        .11072E-05** at limit **
   2  Index         1.7476        5.8378       -.77608E-04     .0000    
   3  Normalizat    1.1651        .23817        .10495E-04   -.53255E-05
   4  Prefactor     .80326        .13058       -.10589E-04    .28743E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.7476
  Normalizat = 1.16507
  Prefactor  = 0.803263
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8463.313     FROM HESSE     STATUS=FAILED        11 CALLS      215 TOTAL
                     EDM=   .27E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.9952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30758        1.6505       -.77608E-04   -.70822    
   3  Normalizat    1.1651        1.1197        .10495E-04   -.87689    
   4  Prefactor     .80326        1.1518       -.10589E-04   -.99608    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.7019e-13
Minuit parameter uncertainties:
  1  8.08964e-06
  2  1.37383
  3  1.14401
  4  1.18938
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816067': 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) = 8463.31316955
delta logL = 2.83762346953e-10

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  0.000e+00  8.090e-06  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  1.748e+00  1.374e+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:  8.033e-01  1.189e+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:  1.165e+00  1.144e+00  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/816067/cmap_HighResolution_692150401_692409601_4FGL_J2245.9+1544_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', job_status='DONE', photon_flux_upper_limit='4.11e-08', time_completed='2022-12-11 02:01:33.653757', job_id='816067', GAL2='0.80', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1670752893.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.84e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1747' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:01:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 816067: <4FGL_J2245.9+1544_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:50:14 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:50:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:50:16 2022
Terminated at Sun Dec 11 02:01:34 2022
Results reported at Sun Dec 11 02:01:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1747 341.491 15.7479 692150401 692409601 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 :                                   598.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            680 sec.

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

