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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1676
RA = 341.491, Dec = 15.7479
tmin = 673747201, tmax = 674006401
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='67828', job_status='RUN', time_executed='2022-05-12 01:29:18.874458', time_epoch_executed='1652344158.87' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67828

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67828/ft1_4FGL_J2245.9+1544_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67828/ft2_4FGL_J2245.9+1544_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67828/ft1_4FGL_J2245.9+1544_daily_bin1676.fits outfile=/scratch/kocevski/67828/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1676.fits ra=341.491 dec=15.7479 rad=12.0 tmin=673747201.0 tmax=674006401.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.90
user 3.62
sys 0.22

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

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

Number of photons that the gtmktime cut: 786

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67828/ft1_filtered_4FGL_J2245.9+1544_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/67828/ft2_4FGL_J2245.9+1544_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/67828/ltcube_673747201_674006401_4FGL_J2245.9+1544_daily_bin1676.fits outfile=/scratch/kocevski/67828/expmap_673747201_674006401_4FGL_J2245.9+1544_daily_bin1676.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/67828/ltcube_673747201_674006401_4FGL_J2245.9+1544_daily_bin1676.fits
.....................!
real 196.89
user 188.65
sys 5.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/67828/ft1_filtered_4FGL_J2245.9+1544_daily_bin1676.fits scfile=/scratch/kocevski/67828/ft2_4FGL_J2245.9+1544_daily_bin1676.fits outfile=/scratch/kocevski/67828/cmap_673747201_674006401_4FGL_J2245.9+1544_daily_bin1676.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.64
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/67828/ft1_filtered_4FGL_J2245.9+1544_daily_bin1676.fits scfile=/scratch/kocevski/67828/ft2_4FGL_J2245.9+1544_daily_bin1676.fits outfile=/scratch/kocevski/67828/cmap_HighResolution_673747201_674006401_4FGL_J2245.9+1544_daily_bin1676.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.58
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.736       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.6580       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .97225       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1255       1.0000         .10000E-03   10000.    
     8 'norm      '    .46021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    74.710       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .84015       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.557       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.453       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    70.925       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10519E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.1441       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0246       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84935       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=   8248.496     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2356 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .22126       -.54190E-08** at limit **
   2  Prefactor     .10000E-03    16.971       -.17485E-04** at limit **
   3  norm          .10000E-03    2.5240        .36344E-07** at limit **
   4  Prefactor     14.735        13.077       -.36129E-05   -.37896E-04
   5  Prefactor     9.6569        8.8688        .37113E-05    .12498E-03
   6  Prefactor     .97221        .23712        .52965E-07   -.85213E-03
   7  Prefactor     5.1264        5.3525        .98912E-06    .27151E-04
   8  norm          .23742E-01    .94704       -.43076E-06    .32526E-03
   9  Prefactor     .10000E-03    12.277        .21894E-04** at limit **
  10  Prefactor     74.647        18.111       -.23622E-05    .13388E-03
  11  Prefactor     .10000E-03    3.9353       -.15525E-06** at limit **
  12  Prefactor     .84016        .17569        .95512E-08   -.15736E-02
  13  Prefactor     11.562        12.146        .81053E-05   -.19473E-05
  14  Prefactor     .10000E-03    13.058       -.51139E-06** at limit **
  15  Prefactor     .10000E-03    1.8105        .62144E-07** at limit **
  16  Prefactor     .10000E-03    4.8480       -.81307E-07** at limit **
  17  Prefactor     .10000E-03    18.032       -.45350E-05** at limit **
  18  Prefactor     11.453        6.6551       -.51035E-06    .63741E-04
  19  Prefactor     .10000E-03    13.343       -.84480E-05** at limit **
  20  norm          70.922        18.283       -.18503E-05    .41151E-04
  21  Prefactor     .10000E-03    7.7126       -.70944E-06** at limit **
  22  norm          4.1457        21.501       -.33101E-05   -.38616E-04
  23  Normalizat    1.0250        .21417        .53549E-06    .11883E-03
  24  Prefactor     .84909        .11192       -.33251E-06    .26401E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.7352
  Prefactor  = 9.6569
  Prefactor  = 0.972208
  Prefactor  = 5.12636
  norm       = 0.0237418
  Prefactor  = 0.0001
  Prefactor  = 74.6474
  Prefactor  = 0.0001
  Prefactor  = 0.840159
  Prefactor  = 11.5622
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4528
  Prefactor  = 0.0001
  norm       = 70.922
  Prefactor  = 0.0001
  norm       = 4.14565
  Normalizat = 1.025
  Prefactor  = 0.849086
 **********
 **   18 **HESSE 
 **********

 FCN=   8248.496     FROM HESSE     STATUS=OK           403 CALLS     2759 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .45250        .83130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.5674        .14085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.735        13.119        .10434E-03   -1.4940    
   5  Prefactor     9.6569        8.8986        .12895E-03   -1.5086    
   6  Prefactor     .97221        .23751        .20069E-04   -1.5511    
   7  Prefactor     5.1264        5.3557        .17758E-03   -1.5255    
   8  norm          .23742E-01    .87656        .30361E-01   -1.5677    
   9  Prefactor     .10000E-03    12.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     74.647        18.121        .46453E-04   -1.3978    
  11  Prefactor     .10000E-03    3.9366        .17596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .84016        .17563        .16580E-04   -1.5525    
  13  Prefactor     11.562        12.126        .11784E-03   -1.5028    
  14  Prefactor     .10000E-03    13.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.8171        .11933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.8686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.453        6.6666        .11838E-03   -1.5031    
  19  Prefactor     .10000E-03    13.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          70.922        18.299        .47667E-04   -1.4022    
  21  Prefactor     .10000E-03    7.7651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.1457        21.528        .19800E-03   -1.5301    
  23  Normalizat    1.0250        .25101        .34247E-03   -.92198    
  24  Prefactor     .84909        .13128        .20435E-03   -.97944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.89854e-10
Minuit parameter uncertainties:
  1  4.72107e-07
  2  3.34271e-06
  3  7.32355e-06
  4  13.1211
  5  8.89982
  6  0.237512
  7  5.35624
  8  0.287918
  9  9.06532e-06
  10  18.1228
  11  9.81518e-08
  12  0.175635
  13  12.1284
  14  5.33219e-06
  15  1.60186e-06
  16  7.97555e-06
  17  4.83076e-05
  18  6.66701
  19  4.68717e-05
  20  18.3004
  21  7.4732e-05
  22  18.9048
  23  0.251298
  24  0.131325
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  9.065e-06  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.491e-01  1.313e-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.025e+00  2.513e-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: 5.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/67828/likelihoodResults_673747201_674006401_4FGL_J2245.9+1544_daily_bin1676.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) = 8248.49604056
delta logL = -0.000387788884836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8248.49565271
delta logL = 5.71617420064e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9450       1.0000          .0000       10.000    
     3 'Normalizat'    1.0250       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84908       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=   8248.496     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.1878        .90712E-02** at limit **
   2  Index         1.9267        7.3933        .50000        .10993E-04
   3  Normalizat    1.0250        .36498E-02    .77379E-01   -.41009E-04
   4  Prefactor     .84909        .20113E-02    .44353E-01    .45411E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 1.9267
  Normalizat = 1.025
  Prefactor  = 0.849086
 **********
 **   18 **HESSE 
 **********

 FCN=   8248.496     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    60.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9267        8.3521        .50000       -.66196    
   3  Normalizat    1.0250        .11468E-01    .34247E-03   -.92198    
   4  Prefactor     .84909        .63289E-02    .20435E-03   -.97944    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.87059e-07
Minuit parameter uncertainties:
  1  0.000866763
  2  142.868
  3  0.0114684
  4  0.00632895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67828': 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) = 8248.49565266
delta logL = 1.0957410268e-07

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.000e-04  8.668e-04  1.000e-04  1.000e+04 ( 1.000e-14)
284        Index:  1.927e+00  1.429e+02  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.491e-01  6.329e-03  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.025e+00  1.147e-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/67828/cmap_HighResolution_673747201_674006401_4FGL_J2245.9+1544_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.87e-03', job_status='DONE', photon_flux_upper_limit='5.17e-08', time_completed='2022-05-12 01:42:13.487676', job_id='67828', GAL2='0.85', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1652344933.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1676' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:42:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 67828: <4FGL_J2245.9+1544_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1676> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu May 12 01:25:49 2022
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:28:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:28:50 2022
Terminated at Thu May 12 01:42:14 2022
Results reported at Thu May 12 01:42:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1676 341.491 15.7479 673747201 674006401 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 :                                   756.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            985 sec.

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

