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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1702
RA = 341.491, Dec = 15.7479
tmin = 680486401, tmax = 680745601
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='258997', job_status='RUN', time_executed='2022-07-29 01:38:37.381068', time_epoch_executed='1659083917.38' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/258997

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/258997/ft1_4FGL_J2245.9+1544_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/258997/ft2_4FGL_J2245.9+1544_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/258997/ft1_4FGL_J2245.9+1544_daily_bin1702.fits outfile=/scratch/kocevski/258997/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1702.fits ra=341.491 dec=15.7479 rad=12.0 tmin=680486401.0 tmax=680745601.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.76
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/258997/ft1_filtered_4FGL_J2245.9+1544_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/258997/ft2_4FGL_J2245.9+1544_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/258997/ltcube_680486401_680745601_4FGL_J2245.9+1544_daily_bin1702.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/258997/ft2_4FGL_J2245.9+1544_daily_bin1702.fits
.....................!
real 13.65
user 13.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/258997/ft1_filtered_4FGL_J2245.9+1544_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258997/ft2_4FGL_J2245.9+1544_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/258997/ltcube_680486401_680745601_4FGL_J2245.9+1544_daily_bin1702.fits outfile=/scratch/kocevski/258997/expmap_680486401_680745601_4FGL_J2245.9+1544_daily_bin1702.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/258997/ltcube_680486401_680745601_4FGL_J2245.9+1544_daily_bin1702.fits
.....................!
real 191.24
user 186.09
sys 4.64

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/258997/ft1_filtered_4FGL_J2245.9+1544_daily_bin1702.fits scfile=/scratch/kocevski/258997/ft2_4FGL_J2245.9+1544_daily_bin1702.fits outfile=/scratch/kocevski/258997/cmap_680486401_680745601_4FGL_J2245.9+1544_daily_bin1702.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/258997/ft1_filtered_4FGL_J2245.9+1544_daily_bin1702.fits scfile=/scratch/kocevski/258997/ft2_4FGL_J2245.9+1544_daily_bin1702.fits outfile=/scratch/kocevski/258997/cmap_HighResolution_680486401_680745601_4FGL_J2245.9+1544_daily_bin1702.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/258997/ft1_filtered_4FGL_J2245.9+1544_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/258997/ft2_4FGL_J2245.9+1544_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/258997/Model_4FGL_J2245.9+1544_daily_bin1702.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/258997/ft1_filtered_4FGL_J2245.9+1544_daily_bin1702.fits.....................!
real 76.04
user 74.60
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.164       1.0000         .10000E-03   10000.    
     3 'norm      '    .10320E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8216       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .90177       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .91808       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.3194       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8819       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6280       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.4767       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2845       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.216       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.389       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .79429       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.155       1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.550       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.4192       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1323       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79775       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=   6932.609     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2700 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .35438       -.25446E-07** at limit **
   2  Prefactor     17.158        19.569       -.67775E-05    .76842E-04
   3  norm          .10000E-03    4.5466       -.31898E-06** at limit **
   4  Prefactor     9.8221        15.431        .25660E-06    .19762E-04
   5  Prefactor     .89402        11.292       -.12210E-05    .38616E-03
   6  Prefactor     .91811        .31921       -.57047E-08    .73549E-03
   7  Prefactor     9.3194        11.756       -.28414E-06    .93957E-05
   8  norm          1.8818        1.3224       -.26720E-08    .13255E-03
   9  Prefactor     3.6166        43.124       -.40526E-04    .29447E-05
  10  Prefactor     5.4773        11.956       -.56213E-06   -.34553E-04
  11  Prefactor     .10000E-03    9.9574       -.14337E-05** at limit **
  12  Prefactor     1.2846        .24576        .89485E-07    .78011E-03
  13  Prefactor     10.218        11.972       -.69605E-07    .39147E-04
  14  Prefactor     24.372        45.958       -.29321E-04   -.77754E-06
  15  Prefactor     .79318        1.3713        .42056E-06   -.13850E-02
  16  Prefactor     13.157        14.282        .14861E-05    .24924E-04
  17  Prefactor     39.551        32.996        .13492E-05    .22110E-04
  18  Prefactor     8.4222        7.4191       -.85587E-06    .26247E-04
  19  Prefactor     .10000E-03    10.214        .71550E-07** at limit **
  20  norm          .10000E-03    4.4423        .27171E-06** at limit **
  21  Prefactor     .10000E-03    6.2151        .28340E-06** at limit **
  22  norm          .10000E-03    12.994        .14123E-05** at limit **
  23  Normalizat    1.1322        .25330        .17431E-05    .19120E-03
  24  Prefactor     .79775        .12266        .15779E-05    .19525E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 17.1583
  norm       = 0.0001
  Prefactor  = 9.82206
  Prefactor  = 0.894022
  Prefactor  = 0.918115
  Prefactor  = 9.31941
  norm       = 1.88182
  Prefactor  = 3.61658
  Prefactor  = 5.47731
  Prefactor  = 0.0001
  Prefactor  = 1.28456
  Prefactor  = 10.218
  Prefactor  = 24.372
  Prefactor  = 0.793179
  Prefactor  = 13.1571
  Prefactor  = 39.5515
  Prefactor  = 8.4222
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.13221
  Prefactor  = 0.797748
 **********
 **   18 **HESSE 
 **********

 FCN=   6932.609     FROM HESSE     STATUS=OK           407 CALLS     3107 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .36030        .48372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.158        19.545        .96675E-04   -1.4879    
   3  norm          .10000E-03    4.6445        .17324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.8221        15.446        .12786E-03   -1.5081    
   5  Prefactor     .89402        51.703        .49548E-02   -1.5519    
   6  Prefactor     .91811        .31963        .25622E-04   -1.5516    
   7  Prefactor     9.3194        11.794        .13128E-03   -1.5097    
   8  norm          1.8818        1.3249        .76944E-04   -1.5434    
   9  Prefactor     3.6166        43.335        .21211E-03   -1.5328    
  10  Prefactor     5.4773        11.957        .85847E-03   -1.5240    
  11  Prefactor     .10000E-03    9.9693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2846        .24856        .16589E-04   -1.5481    
  13  Prefactor     10.218        11.975        .12536E-03   -1.5069    
  14  Prefactor     24.372        45.977        .81112E-04   -1.4720    
  15  Prefactor     .79318        11.658        .24837E-02   -1.5530    
  16  Prefactor     13.157        14.294        .11044E-03   -1.4982    
  17  Prefactor     39.551        33.038        .63736E-04   -1.4449    
  18  Prefactor     8.4222        7.4381        .13816E-03   -1.5127    
  19  Prefactor     .10000E-03    10.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.4502        .17138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.2548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    13.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1322        .29804        .34295E-03   -.88724    
  24  Prefactor     .79775        .14514        .20960E-03   -.99811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1732e-08
Minuit parameter uncertainties:
  1  1.33685e-06
  2  19.5518
  3  8.06371e-06
  4  15.4525
  5  13.6092
  6  0.319632
  7  11.7971
  8  1.32495
  9  25.0604
  10  11.9621
  11  9.0671e-06
  12  0.248558
  13  11.9776
  14  46.0442
  15  6.08277
  16  14.2977
  17  33.0529
  18  7.43894
  19  1.03787e-05
  20  4.09999e-06
  21  1.51335e-05
  22  2.14124e-05
  23  0.298482
  24  0.145211
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  3.617e+00  2.506e+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:  7.977e-01  1.452e-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.132e+00  2.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/258997/likelihoodResults_680486401_680745601_4FGL_J2245.9+1544_daily_bin1702.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) = 6932.3256503
delta logL = 0.283255017078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6931.97439994
delta logL = 0.634505381558

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97583E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    5.8149       1.0000          .0000       10.000    
     3 'Normalizat'    1.0117       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83999       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=   6931.974     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      335 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97590E-03    .12576E-01    .52197E-03** at limit **
   2  Index         5.8153        1.6248        .68497E-01    .48538E-03
   3  Normalizat    1.0115        .48879E-01    .81116E-01    .16351E-03
   4  Prefactor     .84010        .25732E-01    .44235E-01    .11592E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000975898
  Index      = 5.81534
  Normalizat = 1.01149
  Prefactor  = 0.840103
 **********
 **   18 **HESSE 
 **********

 FCN=   6931.974     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      368 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97590E-03    .42546E-01    .23761E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.8153        3.4184        .35557E-02    .16380    
   3  Normalizat    1.0115        .22438        .35906E-03   -.92646    
   4  Prefactor     .84010        .11483        .20460E-03   -.98267    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16796e-09
Minuit parameter uncertainties:
  1  0.0122092
  2  3.77671
  3  0.224586
  4  0.114865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/258997': 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) = 6931.97439834
delta logL = 0.634506978042

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  9.759e-04  1.221e-02  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  5.815e+00  3.777e+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.401e-01  1.149e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.011e+00  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 341.491 15.748
Photon Index (Free Index): 5.82 +/- 3.78
Photon Flux (Free Index): 1.45e-07 +/- 1.28e-07
Energy Flux (Free Index): 1.83e-05 +/- 1.67e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/258997/cmap_HighResolution_680486401_680745601_4FGL_J2245.9+1544_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.22e-03', comment='SUCCESS', energy_flux2='1.83e-05', dlogl='6.35e-01', photon_flux2='1.45e-07', job_status='DONE', time_completed='2022-07-29 01:49:52.201756', photon_index_error2='3.78', photon_index2='5.82', ts='0.02', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='8.31e-08', energy_flux_error2='1.67e-05', EG='1.13', time_epoch_completed='1659084592.2', return_code='0', job_id='258997', GAL2='0.84', EG2='1.01', return_code2='102', photon_flux_error2='1.28e-07', ts2='1.45', photon_index='1.96' WHERE bin_id='1702' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:49:52 PDT 2022


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

Job <4FGL_J2245.9+1544_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:23 2022
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:36:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:36:02 2022
Terminated at Fri Jul 29 01:49:53 2022
Results reported at Fri Jul 29 01:49:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1702 341.491 15.7479 680486401 680745601 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 :                                   677.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            870 sec.

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

