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


Performing analysis on: 4FGL_J0224.9+1843_daily_bin1726
RA = 36.2294, Dec = 18.7194
tmin = 686707201, tmax = 686966401
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='86615', job_status='RUN', time_executed='2022-10-09 00:32:37.963820', time_epoch_executed='1665300757.96' WHERE source_name='4FGL J0224.9+1843' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86615

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86615/ft1_4FGL_J0224.9+1843_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86615/ft1_4FGL_J0224.9+1843_daily_bin1726.fits outfile=/scratch/kocevski/86615/ft1_filteredMKT_4FGL_J0224.9+1843_daily_bin1726.fits ra=36.2294 dec=18.7194 rad=12.0 tmin=686707201.0 tmax=686966401.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.06
user 2.84
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.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/86615/ft1_filteredMKT_4FGL_J0224.9+1843_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/86615/ft1_filtered_4FGL_J0224.9+1843_daily_bin1726.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.14

Number of photons that the gtmktime cut: 50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86615/ft1_filtered_4FGL_J0224.9+1843_daily_bin1726.fits" evtable="EVENTS" scfile=/scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits sctable="SC_DATA" outfile=/scratch/kocevski/86615/ltcube_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.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/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits
.....................!
real 12.87
user 12.48
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86615/ft1_filtered_4FGL_J0224.9+1843_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/86615/ltcube_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.fits outfile=/scratch/kocevski/86615/expmap_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.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/86615/ltcube_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.fits
.....................!
real 191.46
user 185.10
sys 5.96

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

Setting source of interest to:
4FGL J0224.9+1843 @ 36.2294 18.7194

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/86615/ft1_filtered_4FGL_J0224.9+1843_daily_bin1726.fits scfile=/scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits outfile=/scratch/kocevski/86615/cmap_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.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=36.2294 yref=18.7194 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86615/ft1_filtered_4FGL_J0224.9+1843_daily_bin1726.fits scfile=/scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits outfile=/scratch/kocevski/86615/cmap_HighResolution_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.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=36.2294 yref=18.7194 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.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/86615/ft1_filtered_4FGL_J0224.9+1843_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86615/Model_4FGL_J0224.9+1843_daily_bin1726.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/86615/ft1_filtered_4FGL_J0224.9+1843_daily_bin1726.fits.........................!
real 23.48
user 22.07
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86615/ft1_filtered_4FGL_J0224.9+1843_daily_bin1726.fits', '/scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits', expMap='/scratch/kocevski/86615/expmap_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.fits', expCube='/scratch/kocevski/86615/ltcube_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86615/Model_4FGL_J0224.9+1843_daily_bin1726.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0224.9+1843'

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  9.429e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.951e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  3.218e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/86615/ft1_filtered_4FGL_J0224.9+1843_daily_bin1726.fits
Spacecraft file(s): /scratch/kocevski/86615/ft2_4FGL_J0224.9+1843_daily_bin1726.fits
Exposure map: /scratch/kocevski/86615/expmap_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.fits
Exposure cube: /scratch/kocevski/86615/ltcube_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86615/Model_4FGL_J0224.9+1843_daily_bin1726.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 599.861777899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 591.34567118

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2309       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.0330       1.0000          .0000       .10000E+07
     3 'Prefactor '    .54345E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .14080E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .36712E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12518E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30899E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .74826E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    275.93       1.0000          .0000       .10000E+07
    10 'Prefactor '    142.08       1.0000          .0000       .10000E+07
    11 'Prefactor '    .26001E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    34.164       1.0000          .0000       .10000E+07
    13 'Prefactor '    93.244       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20708       1.0000          .0000       .10000E+07
    15 'norm      '    .31918E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12181E-02   1.0000          .0000       .10000E+07
    17 'norm      '    1.7646       1.0000          .0000       .10000E+07
    18 'Prefactor '    .80461       1.0000          .0000       .10000E+07
    19 'norm      '    66.426       1.0000          .0000       .10000E+07
    20 'Prefactor '    .95315E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    2.7150       1.0000          .0000       .10000E+07
    22 'Prefactor '    185.12       1.0000          .0000       .10000E+07
    23 'Prefactor '    .42632E-03   1.0000          .0000       .10000E+07
    24 'norm      '    3.4629       1.0000          .0000       .10000E+07
    25 'Normalizat'    .48566       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .47873       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   591.3310     FROM MIGRAD    STATUS=CONVERGED    284 CALLS      580 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2309        1.0046         .0000         .0000    
   2  Prefactor     .22163E-05    375.12        .18978E-05** at limit **
   3  Prefactor     .55511E-10    119.00        .65027E-06** at limit **
   4  Prefactor     .49960E-09    42.329        .12335E-06** at limit **
   5  norm          .22204E-09    31.033       -.11724E-05** at limit **
   6  Prefactor     .84932E-08    40.529       -.36754E-05** at limit **
   7  Prefactor     .22204E-09    16.212       -.67245E-06** at limit **
   8  norm          .11851E-02    459.89       -.76807E-05** at limit **
   9  Prefactor     268.39        50.988        .23044E-05    .16962    
  10  Prefactor     151.40        105.96       -.58716E-05    .41998    
  11  Prefactor     .75182E-05    194.96       -.43122E-05** at limit **
  12  Prefactor     88.327        454.80       -.40314E-04   -.38839E-01
  13  Prefactor     93.405        37.115        .99335E-06   -.13110    
  14  Prefactor     .19984E-08    156.99       -.14322E-05** at limit **
  15  norm          .11768E-07    37.165       -.55917E-05** at limit **
  16  Prefactor     .11102E-09    28.236        .41566E-06** at limit **
  17  norm          1.7480        1.8950        .12100E-06    .82984E-03
  18  Prefactor     .23298E-06    186.15        .27632E-05** at limit **
  19  norm          67.964        62.126        .15055E-06    .98519E-03
  20  Prefactor     .11102E-09    27.068        .59786E-06** at limit **
  21  Prefactor     .12927E-01    1565.9        .65129E-05** at limit **
  22  Prefactor     182.32        71.707       -.44080E-06   -.36186    
  23  Prefactor     .66613E-09    36.013        .19454E-05** at limit **
  24  norm          3.5446        36.135       -.22511E-05    .39330E-04
  25  Normalizat    .48587        .92599       -.13944E-03    .64283E-04
  26  Prefactor     .47584        .32357        .22895E-04    .19100E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.23088
  Prefactor  = 2.21628e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 4.996e-10
  norm       = 2.22045e-10
  Prefactor  = 8.49321e-09
  Prefactor  = 2.22045e-10
  norm       = 0.00118513
  Prefactor  = 268.39
  Prefactor  = 151.402
  Prefactor  = 7.51821e-06
  Prefactor  = 88.3271
  Prefactor  = 93.4054
  Prefactor  = 1.9984e-09
  norm       = 1.17684e-08
  Prefactor  = 1.11022e-10
  norm       = 1.74797
  Prefactor  = 2.3298e-07
  norm       = 67.9638
  Prefactor  = 1.11022e-10
  Prefactor  = 0.0129267
  Prefactor  = 182.316
  Prefactor  = 6.66134e-10
  norm       = 3.54458
  Normalizat = 0.48587
  Prefactor  = 0.475844
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   591.3310     FROM HESSE     STATUS=FAILED        11 CALLS      591 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46500.        46494.         .0000       -1.5662    
   2  Prefactor     .22163E-05    .38693        .18978E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    .59070        .65027E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .49960E-09    .44347E-01    .12335E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .22204E-09    .44347E-01   -.11724E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .84932E-08    .44347E-01   -.36754E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    .44347E-01   -.67245E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11851E-02    .44347E-01   -.76807E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     268.39        .98624        .23044E-05   -1.5380    
  10  Prefactor     151.40        1.0323       -.58716E-05   -1.5462    
  11  Prefactor     .75182E-05    .44347E-01   -.43122E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     88.327        1.6080       -.40314E-04   -1.5520    
  13  Prefactor     93.405        1.0009        .99335E-06   -1.5515    
  14  Prefactor     .19984E-08    .33937       -.14322E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .11768E-07    .44347E-01   -.55917E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    .44347E-01    .41566E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7480        1.0422        .12100E-06   -1.5682    
  18  Prefactor     .23298E-06    .69149E-01    .27632E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          67.964        1.0115        .15055E-06   -1.5543    
  20  Prefactor     .11102E-09    .44347E-01    .59786E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .12927E-01    .95435E-01    .65129E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     182.32        .99240       -.44080E-06   -1.5438    
  23  Prefactor     .66613E-09    .44347E-01    .19454E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          3.5446        1.0227       -.22511E-05   -1.5670    
  25  Normalizat    .48587        .81587       -.13944E-03   -1.1307    
  26  Prefactor     .47584        .81671        .22895E-04   -1.1310    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.97218e-09
Minuit parameter uncertainties:
  1  1.00464
  2  0.00185207
  3  8.52051e-06
  4  9.19188e-06
  5  6.0877e-06
  6  3.87953e-05
  7  6.07248e-06
  8  0.0144993
  9  0.986243
  10  1.03229
  11  0.00115484
  12  1.60804
  13  1.00088
  14  5.22354e-05
  15  4.57013e-05
  16  4.18723e-06
  17  1.04221
  18  0.000253865
  19  1.01154
  20  4.02191e-06
  21  0.0702469
  22  0.992401
  23  1.09495e-05
  24  1.02268
  25  0.837309
  26  0.838204
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 591.330957078

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  1.514e+02  1.032e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.951e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  3.218e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  4.758e-01  8.382e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  4.859e-01  8.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.38
Ra Dec: 36.229 18.719
Photon Flux Upper Limit: 1.76e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/86615/likelihoodResults_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.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) = 591.26591927
delta logL = 0.0650378079431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 591.265592463
delta logL = 0.0653646150399

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    151.40       1.0000          .0000       .10000E+07
     2 'Index     '    2.4079       1.0000          .0000       10.000    
     3 'Normalizat'    .50675       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46889       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   591.2656     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      186 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     150.65        279.42       -.94616E-05   -.17771E-04
   2  Index         2.4023        1.3611       -.33887E-03    .13978E-05
   3  Normalizat    .50530        .80791        .61966E-05    .28409E-04
   4  Prefactor     .46926        .27117        .12946E-05    .76851E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 150.655
  Index      = 2.40231
  Normalizat = 0.505298
  Prefactor  = 0.469261
 **********
 **   18 **HESSE 
 **********

 FCN=   591.2656     FROM HESSE     STATUS=OK            31 CALLS      217 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     150.65        277.64        .16255E-04   -1.5462    
   2  Index         2.4023        1.3520        .67635E-02   -.54631    
   3  Normalizat    .50530        .87416        .50264E-03   -1.1217    
   4  Prefactor     .46926        .29578        .16921E-03   -1.1341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89939e-11
Minuit parameter uncertainties:
  1  277.66
  2  1.37566
  3  0.899757
  4  0.296756
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86615': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 591.265581366
delta logL = 0.0653757119015

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  1.507e+02  2.777e+02  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.402e+00  1.376e+00  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  3.218e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  4.693e-01  2.968e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  5.053e-01  8.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
Ra Dec: 36.229 18.719

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/86615/cmap_HighResolution_686707201_686966401_4FGL_J0224.9+1843_daily_bin1726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-01', job_status='DONE', photon_flux_upper_limit='1.76e-06', time_completed='2022-10-09 00:38:07.862083', job_id='86615', GAL2='0.47', fit_tolerance='1e-08', EG2='0.51', EG='0.49', time_epoch_completed='1665301087.86', return_code2='0', ts='0.38', comment='SUCCESS', return_code='101', GAL='0.48', dlogl='6.54e-02', ts2='0.51', photon_index_error='0.00', photon_index='2.95' WHERE bin_id='1726' AND source_name='4FGL J0224.9+1843' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:38:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 86615: <4FGL_J0224.9+1843_daily_bin1726> in cluster <slac> Done

Job <4FGL_J0224.9+1843_daily_bin1726> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sun Oct  9 00:30:16 2022
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:30:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:30:23 2022
Terminated at Sun Oct  9 00:38:08 2022
Results reported at Sun Oct  9 00:38:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.9+1843_daily_bin1726 36.2294 18.7194 686707201 686966401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0224.9+1843 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   332.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             245.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   465 sec.
    Turnaround time :                            472 sec.

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

