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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1774
RA = 341.491, Dec = 15.7479
tmin = 699148801, tmax = 699408001
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='699087', job_status='RUN', time_executed='2023-03-02 01:48:59.133194', time_epoch_executed='1677750539.13' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/699087

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/699087/ft1_4FGL_J2245.9+1544_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/699087/ft2_4FGL_J2245.9+1544_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/699087/ft1_4FGL_J2245.9+1544_daily_bin1774.fits outfile=/scratch/kocevski/699087/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1774.fits ra=341.491 dec=15.7479 rad=12.0 tmin=699148801.0 tmax=699408001.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.81
user 2.60
sys 0.20

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

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

Number of photons that the gtmktime cut: 900

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/699087/ft1_filtered_4FGL_J2245.9+1544_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/699087/ft2_4FGL_J2245.9+1544_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/699087/ltcube_699148801_699408001_4FGL_J2245.9+1544_daily_bin1774.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/699087/ft2_4FGL_J2245.9+1544_daily_bin1774.fits
.....................!
real 13.05
user 12.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/699087/ft1_filtered_4FGL_J2245.9+1544_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/699087/ft2_4FGL_J2245.9+1544_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/699087/ltcube_699148801_699408001_4FGL_J2245.9+1544_daily_bin1774.fits outfile=/scratch/kocevski/699087/expmap_699148801_699408001_4FGL_J2245.9+1544_daily_bin1774.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/699087/ltcube_699148801_699408001_4FGL_J2245.9+1544_daily_bin1774.fits
.....................!
real 191.40
user 186.23
sys 4.82

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/699087/ft1_filtered_4FGL_J2245.9+1544_daily_bin1774.fits scfile=/scratch/kocevski/699087/ft2_4FGL_J2245.9+1544_daily_bin1774.fits outfile=/scratch/kocevski/699087/cmap_699148801_699408001_4FGL_J2245.9+1544_daily_bin1774.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/699087/ft1_filtered_4FGL_J2245.9+1544_daily_bin1774.fits scfile=/scratch/kocevski/699087/ft2_4FGL_J2245.9+1544_daily_bin1774.fits outfile=/scratch/kocevski/699087/cmap_HighResolution_699148801_699408001_4FGL_J2245.9+1544_daily_bin1774.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50162       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.2770       1.0000          .0000       .10000E+07
     3 'norm      '    .59990       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2300       1.0000          .0000       .10000E+07
     5 'Prefactor '    .30528E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .86477       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16028E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8584       1.0000          .0000       .10000E+07
     9 'Prefactor '    .85959E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .39777E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.1191       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24884       1.0000          .0000       .10000E+07
    13 'Prefactor '    .82170E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.375       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.4895       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.8541       1.0000          .0000       .10000E+07
    17 'norm      '    .23598E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.9641       1.0000          .0000       .10000E+07
    19 'norm      '    .60620E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5591       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90308       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=   9975.724     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1265 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50438        .95414       -.32070E-07   -.86795E-03
   2  Prefactor     3.3033        1.8643       -.28206E-06    .30030E-03
   3  norm          .48808        1.0878        .57556E-06   -.20021E-02
   4  Prefactor     2.2403        1.2654       -.15874E-06    .27882E-02
   5  Prefactor     .12212E-08    15.368       -.16478E-06** at limit **
   6  Prefactor     .86477        .28464        .12177E-06    .31251E-03
   7  Prefactor     .10000E-03    7.1057       -.92210E-05** at limit **
   8  norm          1.8581        1.2923        .66145E-08    .17910E-02
   9  Prefactor     .10547E-08    57.193       -.64125E-05** at limit **
  10  Prefactor     .11102E-09    6.0075        .27898E-06** at limit **
  11  Prefactor     1.1190        .20272       -.58489E-07    .18296E-02
  12  Prefactor     .55511E-10    177.37       -.30948E-05** at limit **
  13  Prefactor      .0000        2.3534        .12221E-06** at limit **
  14  Prefactor     18.738        1.9136        .86670E-07   -.13888E-01
  15  Prefactor     5.4876        6.4475       -.11919E-06    .46264E-03
  16  Prefactor     8.8800        1.4460        .73486E-07   -.27422E-02
  17  norm           .0000        3.8881        .12077E-06** at limit **
  18  Prefactor     5.0024        8.9879       -.64189E-06   -.42025E-03
  19  norm           .0000        9.7936       -.36377E-06** at limit **
  20  Normalizat    1.5596        .26058        .56662E-05    .12645E-03
  21  Prefactor     .90296        .13344        .14956E-05    .18550E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.504376
  Prefactor  = 3.30328
  norm       = 0.488078
  Prefactor  = 2.2403
  Prefactor  = 1.22125e-09
  Prefactor  = 0.864772
  Prefactor  = 0.0001
  norm       = 1.85811
  Prefactor  = 1.05471e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 1.11903
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 18.7382
  Prefactor  = 5.48763
  Prefactor  = 8.88004
  norm       = 0
  Prefactor  = 5.00241
  norm       = 0
  Normalizat = 1.55961
  Prefactor  = 0.902963
 **********
 **   18 **HESSE 
 **********

 FCN=   9975.724     FROM HESSE     STATUS=OK           363 CALLS     1628 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50438        .97620        .78547E-03   -1.5694    
   2  Prefactor     3.3033        11.176        .55912E-03   -1.5672    
   3  norm          .48808        16.558        .69237E-03   -1.5694    
   4  Prefactor     2.2403        29.399        .68816E-03   -1.5678    
   5  Prefactor     .12212E-08    15.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .86477        .30179        .65322E-02   -1.5522    
   7  Prefactor     .10000E-03    7.0526        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8581        1.2952        .76419E-03   -1.5681    
   9  Prefactor     .10547E-08    56.734        .14323E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    6.0169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.1190        .20316        .40759E-02   -1.5496    
  12  Prefactor     .55511E-10    175.56        .10964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.3532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.738        18.116        .23337E-03   -1.5621    
  15  Prefactor     5.4876        6.7012        .42861E-03   -1.5661    
  16  Prefactor     8.8800        12.384        .33661E-03   -1.5648    
  17  norm           .0000        3.8866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.0024        9.0641        .45115E-03   -1.5663    
  19  norm           .0000        9.7981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5596        .22672        .76185E-01   -.76117    
  21  Prefactor     .90296        .11336        .45044E-01   -.96038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.38575e-07
Minuit parameter uncertainties:
  1  0.976204
  2  11.1761
  3  5.68564
  4  16.2312
  5  0.000277083
  6  0.301793
  7  3.30209e-05
  8  1.29519
  9  0.000490129
  10  4.63516e-05
  11  0.203163
  12  0.000164827
  13  2.83142e-06
  14  18.1165
  15  6.70126
  16  12.384
  17  1.74943e-06
  18  9.06409
  19  7.03364e-06
  20  0.226874
  21  0.113386
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.055e-09  4.901e-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:  9.030e-01  1.134e-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.560e+00  2.269e-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.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/699087/likelihoodResults_699148801_699408001_4FGL_J2245.9+1544_daily_bin1774.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) = 9975.73228915
delta logL = -0.00875590584837

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 9974.27097288
delta logL = 1.45256036661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13323E-08   1.0000          .0000       .10000E+07
     2 'Index     '    9.8238       1.0000          .0000       10.000    
     3 'Normalizat'    1.4258       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95094       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=   9975.724     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1325 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    9.3458        .42118E-03** at limit **
   2  Index         .95563        2.4739        2130.7        .60267E-04
   3  Normalizat    1.5596        .25186        .76187E-01   -.12286E-04
   4  Prefactor     .90296        .13313        .45651E-01    .22962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 0.955633
  Normalizat = 1.55961
  Prefactor  = 0.902963
 **********
 **   18 **HESSE 
 **********

 FCN=   9975.724     FROM HESSE     STATUS=NOT POSDEF    33 CALLS     1358 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    361.74        .71539       -.15003E+07
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .95563        5.4479        2130.7       -.44684E+10
   3  Normalizat    1.5596        .41993E-01    .33713E-03   -65.212    
   4  Prefactor     .90296        .22171E-01    .22470E-03   -176.89    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.98277e-07
Minuit parameter uncertainties:
  1  0.000276968
  2  20.775
  3  0.0419939
  4  0.0221716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/699087': 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) = 9975.72353325
delta logL = 1.63709046319e-11

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  5.551e-11  2.770e-04  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  9.556e-01  2.078e+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.030e-01  2.217e-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.560e+00  4.199e-02  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/699087/cmap_HighResolution_699148801_699408001_4FGL_J2245.9+1544_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.94e-08', time_completed='2023-03-02 02:01:14.973149', job_id='699087', GAL2='0.90', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1677751274.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1774' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 02:01:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 699087: <4FGL_J2245.9+1544_daily_bin1774> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1774> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Mar  2 01:45:15 2023
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:45:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:45:16 2023
Terminated at Thu Mar  2 02:01:15 2023
Results reported at Thu Mar  2 02:01:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1774 341.491 15.7479 699148801 699408001 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 :                                   738.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            960 sec.

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

