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


Performing analysis on: 4FGL_J1224.4+2436_daily_bin1747
RA = 186.116, Dec = 24.6142
tmin = 692150401, tmax = 692409601
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='800850', job_status='RUN', time_executed='2022-12-11 00:50:51.919128', time_epoch_executed='1670748651.92' WHERE source_name='4FGL J1224.4+2436' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/800850

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/800850/ft1_4FGL_J1224.4+2436_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/800850/ft1_4FGL_J1224.4+2436_daily_bin1747.fits outfile=/scratch/kocevski/800850/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin1747.fits ra=186.116 dec=24.6142 rad=12.0 tmin=692150401.0 tmax=692409601.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 4.02
user 3.78
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.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/800850/ft1_filteredMKT_4FGL_J1224.4+2436_daily_bin1747.fits evtable="EVENTS" outfile="/scratch/kocevski/800850/ft1_filtered_4FGL_J1224.4+2436_daily_bin1747.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.33
sys 0.16

Number of photons that the gtmktime cut: 798

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/800850/ft1_filtered_4FGL_J1224.4+2436_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/800850/ltcube_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.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/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits
.....................!
real 11.70
user 11.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/800850/ft1_filtered_4FGL_J1224.4+2436_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/800850/ltcube_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.fits outfile=/scratch/kocevski/800850/expmap_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.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/800850/ltcube_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.fits
.....................!
real 191.09
user 185.13
sys 5.60

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1224.4+2436 @ 186.116 24.6142

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/800850/ft1_filtered_4FGL_J1224.4+2436_daily_bin1747.fits scfile=/scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits outfile=/scratch/kocevski/800850/cmap_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.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=186.116 yref=24.6142 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/800850/ft1_filtered_4FGL_J1224.4+2436_daily_bin1747.fits scfile=/scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits outfile=/scratch/kocevski/800850/cmap_HighResolution_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.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=186.116 yref=24.6142 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/800850/ft1_filtered_4FGL_J1224.4+2436_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/800850/Model_4FGL_J1224.4+2436_daily_bin1747.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/800850/ft1_filtered_4FGL_J1224.4+2436_daily_bin1747.fits.....................!
real 73.69
user 72.22
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/800850/ft1_filtered_4FGL_J1224.4+2436_daily_bin1747.fits', '/scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits', expMap='/scratch/kocevski/800850/expmap_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.fits', expCube='/scratch/kocevski/800850/ltcube_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/800850/Model_4FGL_J1224.4+2436_daily_bin1747.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1224.4+2436'

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  2.506e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/800850/ft1_filtered_4FGL_J1224.4+2436_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/800850/ft2_4FGL_J1224.4+2436_daily_bin1747.fits
Exposure map: /scratch/kocevski/800850/expmap_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.fits
Exposure cube: /scratch/kocevski/800850/ltcube_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/800850/Model_4FGL_J1224.4+2436_daily_bin1747.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) = 8441.30785287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2529       1.0000          .0000       .10000E+07
     2 'Prefactor '    .56664E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .47091E-03   1.0000          .0000       .10000E+07
     4 'norm      '    40.674       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3907       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28597E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .36784E-03   1.0000          .0000       .10000E+07
     8 'norm      '    5.2335       1.0000          .0000       .10000E+07
     9 'Prefactor '    .16979E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .57887E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .73078       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
    13 'norm      '    .72705E-01   1.0000          .0000       .10000E+07
    14 'norm      '    10.677       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.1672       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13475E-03   1.0000          .0000       .10000E+07
    17 'norm      '    14.040       1.0000          .0000       .10000E+07
    18 'norm      '    .46738E-05   1.0000          .0000       .10000E+07
    19 'norm      '    20.517       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1369       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94806       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8440.379     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1326 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9054        19.921       -.43264E-06    .43216E-01
   2  Prefactor     .33307E-07    8.3107        .25558E-06** at limit **
   3  Prefactor     .10590E-05    3.1561        .27433E-06** at limit **
   4  norm          40.717        3.3537        .25861E-07   -.23333E-02
   5  Prefactor     1.3902        3.4840        .94054E-07   -.14536E-02
   6  Prefactor     .12379E-07    2.4691        .12780E-06** at limit **
   7  Prefactor     .27445E-06    19.357        .10638E-05** at limit **
   8  norm          5.2356        2.6901        .60036E-07   -.37735E-02
   9  Prefactor     .16653E-09    1.8851       -.41718E-08** at limit **
  10  Prefactor     .66613E-08    1.9833       -.54696E-07** at limit **
  11  Prefactor     .73329        2.2094        .49261E-07    .18761E-02
  12  Prefactor     .72164E-09    1.4540       -.11477E-07** at limit **
  13  norm          .72863E-01    .18470        .40366E-07** at limit **
  14  norm          10.689        4.6538       -.95326E-08    .11036E-02
  15  Prefactor     4.1960        1.9365       -.50705E-07   -.23786E-01
  16  Prefactor     .28588E-07    3.9245       -.50389E-08** at limit **
  17  norm          14.039        1.4725        .23301E-08   -.13343E-01
  18  norm          .62728E-08    1.7190       -.63561E-07** at limit **
  19  norm          20.573        1.4426       -.20148E-07    .61874E-03
  20  Normalizat    1.1370        .20853       -.53854E-05   -.22714E-03
  21  Prefactor     .94802        .21675       -.97123E-06   -.19092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.90543
  Prefactor  = 3.33067e-08
  Prefactor  = 1.05904e-06
  norm       = 40.7173
  Prefactor  = 1.39017
  Prefactor  = 1.2379e-08
  Prefactor  = 2.74447e-07
  norm       = 5.23562
  Prefactor  = 1.66533e-10
  Prefactor  = 6.66134e-09
  Prefactor  = 0.733287
  Prefactor  = 7.21645e-10
  norm       = 0.0728633
  norm       = 10.6892
  Prefactor  = 4.19601
  Prefactor  = 2.85882e-08
  norm       = 14.039
  norm       = 6.27276e-09
  norm       = 20.5727
  Normalizat = 1.137
  Prefactor  = 0.948016
 **********
 **   18 **HESSE 
 **********

 FCN=   8440.379     FROM HESSE     STATUS=OK           371 CALLS     1697 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9054        50.082        .56129E-03   -1.5674    
   2  Prefactor     .33307E-07    8.3792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10590E-05    .97753        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          40.717        3.4170        .15681E-03   -1.5580    
   5  Prefactor     1.3902        3.5320        .92114E-03   -1.5684    
   6  Prefactor     .12379E-07    2.4844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27445E-06    2.1867        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.2356        2.7109        .43915E-03   -1.5662    
   9  Prefactor     .16653E-09    1.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .66613E-08    1.9487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73329        2.3147        .58244E-03   -1.5691    
  12  Prefactor     .72164E-09    1.4552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .72863E-01    .15370        .13508E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.689        4.6603        .30638E-03   -1.5643    
  15  Prefactor     4.1960        9.1620        .49348E-03   -1.5667    
  16  Prefactor     .28588E-07    3.9782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.039        6.5218        .26705E-03   -1.5633    
  18  norm          .62728E-08    1.7321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          20.573        16.535        .22084E-03   -1.5617    
  20  Normalizat    1.1370        .17549        .62975E-01   -.88572    
  21  Prefactor     .94802        .18000        .72197E-01   -.94483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01263e-07
Minuit parameter uncertainties:
  1  24.1258
  2  0.00105652
  3  0.00203492
  4  3.41705
  5  3.53204
  6  0.000350757
  7  0.00154942
  8  2.71087
  9  3.55195e-05
  10  0.000228234
  11  2.31466
  12  6.5311e-05
  13  0.153697
  14  4.66031
  15  9.16202
  16  0.000674229
  17  6.52183
  18  0.000208042
  19  16.5347
  20  0.175585
  21  0.180115
Done.

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

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  7.216e-10  6.531e-05  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.925e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.480e-01  1.801e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.137e+00  1.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 186.116 24.614
Photon Flux Upper Limit: 3.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/800850/likelihoodResults_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.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) = 8440.38063875
delta logL = -0.00163170883934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8440.37900718
delta logL = -1.35591108119e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13872E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .70848       1.0000          .0000       10.000    
     3 'Normalizat'    1.1370       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94800       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8440.379     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      234 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.4012        .42118E-03** at limit **
   2  Index         1.9737        1.6416        .82366E-05     .0000    
   3  Normalizat    1.1370        1.1328       -.11635E-04   -.11791E-04
   4  Prefactor     .94802        1.2904        .15413E-04   -.49875E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.97373
  Normalizat = 1.137
  Prefactor  = 0.948016
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8440.379     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4012        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .41582        1.8273        .82366E-05   -.65008    
   3  Normalizat    1.1370        1.1328       -.11635E-04   -.88572    
   4  Prefactor     .94802        1.2904        .15413E-04   -.94483    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.58864e-12
Minuit parameter uncertainties:
  1  9.99856e-07
  2  1.69213
  3  1.15862
  4  1.33622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/800850': 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): 101
logL (Free Index) = 8440.37900704
delta logL = 2.67391442321e-10

Extracting fit parameters...

4FGL J1224.4+2436
   Spectrum: PowerLaw
328    Prefactor:  0.000e+00  9.999e-07  0.000e+00  1.000e+06 ( 1.000e-13)
329        Index:  1.974e+00  1.692e+00  0.000e+00  1.000e+01 (-1.000e+00)
330        Scale:  2.216e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.480e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.137e+00  1.159e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 186.116 24.614

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/800850/cmap_HighResolution_692150401_692409601_4FGL_J1224.4+2436_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.34e-08', time_completed='2022-12-11 01:01:43.456527', job_id='800850', GAL2='0.95', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1670749303.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.67e-10', ts2='0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='1747' AND source_name='4FGL J1224.4+2436' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:01:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 800850: <4FGL_J1224.4+2436_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1224.4+2436_daily_bin1747> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Dec 11 00:50:22 2022
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:50:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:50:24 2022
Terminated at Sun Dec 11 01:01:44 2022
Results reported at Sun Dec 11 01:01:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1224.4+2436_daily_bin1747 186.116 24.6142 692150401 692409601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1224.4+2436 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   653.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            682 sec.

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

