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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1671
RA = 341.491, Dec = 15.7479
tmin = 672451201, tmax = 672710401
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='43781', job_status='RUN', time_executed='2022-04-27 01:07:13.996459', time_epoch_executed='1651046834.0' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43781

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43781/ft1_4FGL_J2245.9+1544_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43781/ft2_4FGL_J2245.9+1544_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43781/ft1_4FGL_J2245.9+1544_daily_bin1671.fits outfile=/scratch/kocevski/43781/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1671.fits ra=341.491 dec=15.7479 rad=12.0 tmin=672451201.0 tmax=672710401.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 2.97
user 2.75
sys 0.20

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

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

Number of photons that the gtmktime cut: 1042

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43781/ft1_filtered_4FGL_J2245.9+1544_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/43781/ft2_4FGL_J2245.9+1544_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/43781/ltcube_672451201_672710401_4FGL_J2245.9+1544_daily_bin1671.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/43781/ft2_4FGL_J2245.9+1544_daily_bin1671.fits
.....................!
real 12.86
user 12.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43781/ft1_filtered_4FGL_J2245.9+1544_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43781/ft2_4FGL_J2245.9+1544_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/43781/ltcube_672451201_672710401_4FGL_J2245.9+1544_daily_bin1671.fits outfile=/scratch/kocevski/43781/expmap_672451201_672710401_4FGL_J2245.9+1544_daily_bin1671.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/43781/ltcube_672451201_672710401_4FGL_J2245.9+1544_daily_bin1671.fits
.....................!
real 190.56
user 185.63
sys 4.58

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/43781/ft1_filtered_4FGL_J2245.9+1544_daily_bin1671.fits scfile=/scratch/kocevski/43781/ft2_4FGL_J2245.9+1544_daily_bin1671.fits outfile=/scratch/kocevski/43781/cmap_672451201_672710401_4FGL_J2245.9+1544_daily_bin1671.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.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50749       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10422E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8191       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0460       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8602       1.0000         .10000E-03   10000.    
     8 'norm      '    .72517       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.987       1.0000         .10000E-03   10000.    
    10 'Prefactor '    85.591       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.8114       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .57815       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8824       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.121       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .46493       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.0046       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .74897E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.927       1.0000         .10000E-03   10000.    
    20 'norm      '    11.897       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11114E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    8.7826       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0207       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91265       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=   11113.91     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     2325 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50723        .54421        .24380E-06    .69702E-04
   2  Prefactor     .10000E-03    11.769        .44011E-05** at limit **
   3  norm          .10000E-03    1.4440        .34115E-07** at limit **
   4  Prefactor     .10000E-03    3.7450       -.12884E-05** at limit **
   5  Prefactor     5.8217        3.6973        .30851E-06   -.62493E-03
   6  Prefactor     1.0460        .19831        .82175E-07    .61276E-03
   7  Prefactor     5.8603        4.7343        .14668E-06    .42455E-03
   8  norm          .72481        1.4459        .14801E-06    .15493E-04
   9  Prefactor     33.974        1.5629        .37738E-07    .15200E-02
  10  Prefactor     85.589        1.0576        .18779E-07   -.25680E-02
  11  Prefactor     4.8104        1.0530        .69407E-07   -.96076E-03
  12  Prefactor     .57817        .14383       -.73684E-07   -.63860E-03
  13  Prefactor     1.8803        1.1405        .40511E-07   -.10796E-02
  14  Prefactor     11.130        2.3149       -.14638E-06   -.15387E-03
  15  Prefactor     .45765        10.591       -.94390E-06   -.14265E-03
  16  Prefactor     8.0048        3.8786        .19035E-06   -.69633E-02
  17  Prefactor     .10000E-03    5.5528        .27356E-05** at limit **
  18  Prefactor     .10000E-03    191.52        .17240E-04** at limit **
  19  Prefactor     16.963        18.191        .25990E-06   -.16984E-02
  20  norm          11.907        7.1553        .31539E-06    .36727E-02
  21  Prefactor     .10000E-03    10.273        .48058E-05** at limit **
  22  norm          8.7853        1.9237        .59133E-09   -.16180E-02
  23  Normalizat    1.0206        .21271        .81887E-06    .21446E-05
  24  Prefactor     .91277        .11429       -.56701E-06   -.94941E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.507227
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.82167
  Prefactor  = 1.04605
  Prefactor  = 5.86028
  norm       = 0.724813
  Prefactor  = 33.9744
  Prefactor  = 85.5887
  Prefactor  = 4.81036
  Prefactor  = 0.578175
  Prefactor  = 1.88026
  Prefactor  = 11.1295
  Prefactor  = 0.457654
  Prefactor  = 8.00477
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.9629
  norm       = 11.9067
  Prefactor  = 0.0001
  norm       = 8.78531
  Normalizat = 1.02057
  Prefactor  = 0.912767
 **********
 **   18 **HESSE 
 **********

 FCN=   11113.91     FROM HESSE     STATUS=OK           469 CALLS     2794 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50723        .63669        .18432E-01   -1.5566    
   2  Prefactor     .10000E-03    11.627        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.4274        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.7286        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8217        10.430        .41622E-02   -1.5225    
   6  Prefactor     1.0460        .19933        .43795E-02   -1.5503    
   7  Prefactor     5.8603        4.7335        .41474E-02   -1.5224    
   8  norm          .72481        1.5557        .12158E-01   -1.5538    
   9  Prefactor     33.974        27.912        .17184E-02   -1.4542    
  10  Prefactor     85.589        17.144        .10856E-02   -1.3855    
  11  Prefactor     4.8104        10.016        .45852E-02   -1.5269    
  12  Prefactor     .57817        .15074        .42539E-02   -1.5556    
  13  Prefactor     1.8803        8.1948        .75849E-02   -1.5434    
  14  Prefactor     11.130        21.322        .30033E-02   -1.5041    
  15  Prefactor     .45765        5.3404        .75979E-01   -1.5573    
  16  Prefactor     8.0048        12.582        .35429E-02   -1.5142    
  17  Prefactor     .10000E-03    5.5544        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.1573        .69698E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.963        20.358        .24337E-02   -1.4884    
  20  norm          11.907        9.8869        .29035E-02   -1.5018    
  21  Prefactor     .10000E-03    9.9374        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.7853        12.095        .33813E-02   -1.5115    
  23  Normalizat    1.0206        .19393        .78130E-01   -.92345    
  24  Prefactor     .91277        .97653E-01    .45166E-01   -.95696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40171e-07
Minuit parameter uncertainties:
  1  0.6367
  2  0.00016922
  3  1.05482e-06
  4  9.38282e-06
  5  10.433
  6  0.199325
  7  4.73384
  8  1.5558
  9  27.9228
  10  17.1448
  11  10.0196
  12  0.150744
  13  7.85229
  14  21.3368
  15  3.12669
  16  12.5865
  17  1.8913e-05
  18  3.92362e-05
  19  20.3666
  20  9.88822
  21  9.47463e-07
  22  12.0986
  23  0.194067
  24  0.0976717
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  3.397e+01  2.792e+01  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:  9.128e-01  9.767e-02  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.021e+00  1.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.36
Ra Dec: 341.491 15.748
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 3.44e-08 +/- 2.82e-08
Energy Flux (Fixed Index): 2.60e-05 +/- 2.14e-05

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

Saving results to:
/scratch/kocevski/43781/likelihoodResults_672451201_672710401_4FGL_J2245.9+1544_daily_bin1671.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) = 11112.76332
delta logL = 1.14518920322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11112.7531456
delta logL = 1.15536360107

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7504       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8866       1.0000          .0000       10.000    
     3 'Normalizat'    .95070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93440       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   11112.75     FROM MIGRAD    STATUS=FAILED       103 CALLS      305 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7676        108.47        .72019E-03   -.17443E-03
   2  Index         2.8859        2.7013        .38044E-02    .15295E-02
   3  Normalizat    .95075        .24406        .35599E-03   -.96892E-04
   4  Prefactor     .93443        .12000        .19745E-03   -.19360E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   11112.75     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      389 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7676        108.47        .18896E-03   -.17443E-03
   2  Index         2.8859        2.7013        .57148E-03    .15295E-02
   3  Normalizat    .95075        .24406        .28507E-03   -.96892E-04
   4  Prefactor     .93443        .12000        .11464E-03   -.19360E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11112.75     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      424 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7676        15.256        .28808E-04   -.14917E-03
   2  Index         2.8859        .75705        .76088E-03   -.55433E-04
   3  Normalizat    .95075        .21491        .14240E-04   -.83671E-04
   4  Prefactor     .93443        .11572        .39490E-04   -.16697E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.76758
  Index      = 2.88586
  Normalizat = 0.950752
  Prefactor  = 0.93443
 **********
 **   18 **HESSE 
 **********

 FCN=   11112.75     FROM HESSE     STATUS=OK            23 CALLS      447 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7676        13.368        .11523E-05   -1.5150    
   2  Index         2.8859        .66355        .30435E-04   -.43656    
   3  Normalizat    .95075        .21364        .28479E-05   -.94699    
   4  Prefactor     .93443        .11530        .78980E-05   -.94948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51091e-11
Minuit parameter uncertainties:
  1  13.3733
  2  0.665943
  3  0.213829
  4  0.115329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43781': 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): 0
logL (Free Index) = 11112.7531442
delta logL = 1.15536504522

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  7.768e+00  1.337e+01  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  2.886e+00  6.659e-01  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:  9.344e-01  1.153e-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:  9.508e-01  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.76
Ra Dec: 341.491 15.748
Photon Index (Free Index): 2.89 +/- 0.67
Photon Flux (Free Index): 1.02e-07 +/- 6.61e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.19e-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/43781/cmap_HighResolution_672451201_672710401_4FGL_J2245.9+1544_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.06e-03', comment='SUCCESS', photon_flux='3.44e-08', energy_flux2='2.16e-05', photon_flux_error='2.82e-08', dlogl='1.16e+00', energy_flux='2.60e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2022-04-27 01:22:09.786970', photon_index_error2='0.67', photon_index2='2.89', ts='2.36', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='9.44e-08', energy_flux_error2='1.19e-05', EG='1.02', time_epoch_completed='1651047729.79', return_code='0', job_id='43781', GAL2='0.93', EG2='0.95', return_code2='0', energy_flux_error='2.14e-05', photon_flux_error2='6.61e-08', ts2='4.76', photon_index='1.96' WHERE bin_id='1671' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:22:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 43781: <4FGL_J2245.9+1544_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1671> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr 27 01:05:36 2022
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:05:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:05:36 2022
Terminated at Wed Apr 27 01:22:10 2022
Results reported at Wed Apr 27 01:22:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1671 341.491 15.7479 672451201 672710401 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 :                                   898.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            994 sec.

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

