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 26 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1698
RA = 341.491, Dec = 15.7479
tmin = 679449601, tmax = 679708801
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='925735', job_status='RUN', time_executed='2022-07-17 00:36:03.513132', time_epoch_executed='1658043363.51' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925735

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925735/ft1_4FGL_J2245.9+1544_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925735/ft2_4FGL_J2245.9+1544_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925735/ft1_4FGL_J2245.9+1544_daily_bin1698.fits outfile=/scratch/kocevski/925735/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1698.fits ra=341.491 dec=15.7479 rad=12.0 tmin=679449601.0 tmax=679708801.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.51
user 3.29
sys 0.20

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

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

Number of photons that the gtmktime cut: 856

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925735/ft1_filtered_4FGL_J2245.9+1544_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/925735/ft2_4FGL_J2245.9+1544_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/925735/ltcube_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.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/925735/ft2_4FGL_J2245.9+1544_daily_bin1698.fits
.....................!
real 11.78
user 11.43
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925735/ft1_filtered_4FGL_J2245.9+1544_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925735/ft2_4FGL_J2245.9+1544_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/925735/ltcube_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.fits outfile=/scratch/kocevski/925735/expmap_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.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/925735/ltcube_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.fits
.....................!
real 192.30
user 187.53
sys 4.41

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/925735/ft1_filtered_4FGL_J2245.9+1544_daily_bin1698.fits scfile=/scratch/kocevski/925735/ft2_4FGL_J2245.9+1544_daily_bin1698.fits outfile=/scratch/kocevski/925735/cmap_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925735/ft1_filtered_4FGL_J2245.9+1544_daily_bin1698.fits scfile=/scratch/kocevski/925735/ft2_4FGL_J2245.9+1544_daily_bin1698.fits outfile=/scratch/kocevski/925735/cmap_HighResolution_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.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.53
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/925735/ft1_filtered_4FGL_J2245.9+1544_daily_bin1698.fits', '/scratch/kocevski/925735/ft2_4FGL_J2245.9+1544_daily_bin1698.fits', expMap='/scratch/kocevski/925735/expmap_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.fits', expCube='/scratch/kocevski/925735/ltcube_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/925735/Model_4FGL_J2245.9+1544_daily_bin1698.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  1.000e-04  1.000e+04 ( 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/925735/ft1_filtered_4FGL_J2245.9+1544_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/925735/ft2_4FGL_J2245.9+1544_daily_bin1698.fits
Exposure map: /scratch/kocevski/925735/expmap_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.fits
Exposure cube: /scratch/kocevski/925735/ltcube_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/925735/Model_4FGL_J2245.9+1544_daily_bin1698.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) = 9231.76568438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34915       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.093       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0675       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .41262E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .63915       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .33256E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.630       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1282       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.563       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.8441       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.299       1.0000         .10000E-03   10000.    
    20 'norm      '    10.377       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.4264       1.0000         .10000E-03   10000.    
    22 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0699       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88413       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9231.753     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     3204 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35020        .63554       -.32553E-06   -.29659E-02
   2  Prefactor     .10000E-03    4.8839        .34989E-06** at limit **
   3  norm          .10002E-03    1.8013       -.14108E-05** at limit **
   4  Prefactor     18.090        16.462       -.49783E-06    .42710E-04
   5  Prefactor     .10000E-03    4.4138       -.35994E-05** at limit **
   6  Prefactor     1.0674        .26423       -.38219E-07    .89514E-03
   7  Prefactor     .10000E-03    3.8869       -.22580E-06** at limit **
   8  norm          .64045        1.2794       -.20468E-06   -.16890E-02
   9  Prefactor     .10013E-03    16.845       -.11485E-05** at limit **
  10  Prefactor     34.627        14.291       -.12090E-05    .55063E-04
  11  Prefactor     .10000E-03    5.2420        .35265E-05** at limit **
  12  Prefactor     1.1282        .19666        .18410E-07    .21952E-02
  13  Prefactor     .10000E-03    4.4772        .38038E-05** at limit **
  14  Prefactor     42.550        42.600       -.73527E-05    .11421E-04
  15  Prefactor     .10000E-03    2.2956       -.18439E-06** at limit **
  16  Prefactor     9.8449        14.105       -.58592E-06   -.32864E-04
  17  Prefactor     .10000E-03    10.984       -.90607E-07** at limit **
  18  Prefactor     .10000E-03    8.0176        .61211E-08** at limit **
  19  Prefactor     16.319        16.186       -.25121E-05   -.76068E-05
  20  norm          10.380        9.9732       -.34600E-06   -.35906E-04
  21  Prefactor     7.4279        7.0130        .48772E-06    .21300E-04
  22  norm          .10000E-03    4.2196        .25348E-06** at limit **
  23  Normalizat    1.0698        .21250        .31395E-05    .13396E-03
  24  Prefactor     .88418        .10733       -.13187E-06    .45193E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.350204
  Prefactor  = 0.0001
  norm       = 0.000100018
  Prefactor  = 18.0898
  Prefactor  = 0.0001
  Prefactor  = 1.06736
  Prefactor  = 0.000100004
  norm       = 0.640446
  Prefactor  = 0.000100125
  Prefactor  = 34.6267
  Prefactor  = 0.0001
  Prefactor  = 1.12818
  Prefactor  = 0.0001
  Prefactor  = 42.5503
  Prefactor  = 0.0001
  Prefactor  = 9.84494
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.319
  norm       = 10.3801
  Prefactor  = 7.42786
  norm       = 0.0001
  Normalizat = 1.06984
  Prefactor  = 0.88418
 **********
 **   18 **HESSE 
 **********

 FCN=   9231.753     FROM HESSE     STATUS=OK           419 CALLS     3623 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35020        .56816        .10291E-02   -1.5590    
   2  Prefactor     .10000E-03    4.8894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10002E-03    5.0870        .24376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.090        16.521        .94161E-04   -1.4857    
   5  Prefactor     .10000E-03    4.3956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.0674        .26209        .21985E-04   -1.5501    
   7  Prefactor     .10000E-03    29.682        .36498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .64045        1.0079        .14657E-02   -1.5548    
   9  Prefactor     .10013E-03    18.133        .13233       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.627        13.938        .68098E-04   -1.4530    
  11  Prefactor     .10000E-03    5.1942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1282        .19739        .16507E-04   -1.5496    
  13  Prefactor     .10000E-03    4.4263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     42.550        42.447        .61447E-04   -1.4402    
  15  Prefactor     .10000E-03    2.3057        .14215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.8449        14.124        .12772E-03   -1.5080    
  17  Prefactor     .10000E-03    10.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.3104        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.319        16.180        .99205E-04   -1.4900    
  20  norm          10.380        9.9623        .12438E-03   -1.5063    
  21  Prefactor     7.4279        7.0099        .14717E-03   -1.5163    
  22  norm          .10000E-03    4.2197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0698        .24862        .34527E-03   -.90726    
  24  Prefactor     .88418        .12630        .20401E-03   -.96696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77857e-09
Minuit parameter uncertainties:
  1  0.568169
  2  4.50295e-06
  3  0.000600201
  4  16.5249
  5  1.58841e-06
  6  0.262091
  7  0.000665785
  8  1.00797
  9  0.0030176
  10  13.9391
  11  2.83504e-06
  12  0.197386
  13  6.06862e-06
  14  42.4769
  15  3.23241e-06
  16  14.1285
  17  1.07336e-05
  18  2.46584e-05
  19  16.1844
  20  9.96387
  21  7.01071
  22  6.47056e-07
  23  0.248895
  24  0.126343
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.001e-04  3.018e-03  1.000e-04  1.000e+04 ( 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.842e-01  1.263e-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.070e+00  2.489e-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.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925735/likelihoodResults_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.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) = 9231.75288114
delta logL = -2.25439762289e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9231.75288114
delta logL = -2.2541042199e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96365E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9641       1.0000          .0000       10.000    
     3 'Normalizat'    1.0698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88418       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=   9231.422     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      301 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4368        41.916        .90712E-02    .14129E-02
   2  Index         3.2132        2.5705        .89540E-01    .31481E-03
   3  Normalizat    1.0308        .48258E-01    .79131E-01   -.12193E-04
   4  Prefactor     .89330        .25771E-01    .44803E-01   -.72726E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.43684
  Index      = 3.21324
  Normalizat = 1.03078
  Prefactor  = 0.893296
 **********
 **   18 **HESSE 
 **********

 FCN=   9231.422     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      334 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4368        117.80        .14291E-03   -1.5468    
   2  Index         3.2132        6.5815        .64237E-02   -.36543    
   3  Normalizat    1.0308        .21038        .35029E-03   -.92006    
   4  Prefactor     .89330        .10960        .20282E-03   -.96376    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.20628e-09
Minuit parameter uncertainties:
  1  26.0727
  2  6.2914
  3  0.210552
  4  0.109624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925735': 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) = 9231.42153964
delta logL = 0.331318957125

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.437e+00  2.607e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  3.213e+00  6.291e+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.933e-01  1.096e-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.031e+00  2.106e-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/925735/cmap_HighResolution_679449601_679708801_4FGL_J2245.9+1544_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.93e-03', job_status='DONE', photon_flux_upper_limit='6.59e-08', time_completed='2022-07-17 00:50:13.875084', job_id='925735', GAL2='0.89', fit_tolerance='1e-08', EG2='1.03', EG='1.07', time_epoch_completed='1658044213.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='3.31e-01', ts2='0.68', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1698' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:50:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 925735: <4FGL_J2245.9+1544_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:35:27 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:35:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:35:28 2022
Terminated at Sun Jul 17 00:50:14 2022
Results reported at Sun Jul 17 00:50:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1698 341.491 15.7479 679449601 679708801 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 :                                   852.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             329.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            887 sec.

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

