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


Performing analysis on: 4FGL_J0224.9+1843_daily_bin1672
RA = 36.2294, Dec = 18.7194
tmin = 672710401, tmax = 672969601
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='154101', job_status='RUN', time_executed='2022-04-30 00:17:33.015744', time_epoch_executed='1651303053.02' WHERE source_name='4FGL J0224.9+1843' and cadence='daily' and bin_id='1672'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154101

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154101/ft1_4FGL_J0224.9+1843_daily_bin1672.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154101/ft2_4FGL_J0224.9+1843_daily_bin1672.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154101/ft1_4FGL_J0224.9+1843_daily_bin1672.fits outfile=/scratch/kocevski/154101/ft1_filteredMKT_4FGL_J0224.9+1843_daily_bin1672.fits ra=36.2294 dec=18.7194 rad=12.0 tmin=672710401.0 tmax=672969601.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.49
user 2.28
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/154101/ft2_4FGL_J0224.9+1843_daily_bin1672.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/154101/ft1_filteredMKT_4FGL_J0224.9+1843_daily_bin1672.fits evtable="EVENTS" outfile="/scratch/kocevski/154101/ft1_filtered_4FGL_J0224.9+1843_daily_bin1672.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.47
user 0.27
sys 0.15

Number of photons that the gtmktime cut: 30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/154101/ft1_filtered_4FGL_J0224.9+1843_daily_bin1672.fits" evtable="EVENTS" scfile=/scratch/kocevski/154101/ft2_4FGL_J0224.9+1843_daily_bin1672.fits sctable="SC_DATA" outfile=/scratch/kocevski/154101/ltcube_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.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/154101/ft2_4FGL_J0224.9+1843_daily_bin1672.fits
.....................!
real 9.85
user 9.54
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154101/ft1_filtered_4FGL_J0224.9+1843_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/154101/ft2_4FGL_J0224.9+1843_daily_bin1672.fits sctable="SC_DATA" expcube=/scratch/kocevski/154101/ltcube_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.fits outfile=/scratch/kocevski/154101/expmap_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.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/154101/ltcube_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.fits
.....................!
real 156.19
user 151.30
sys 4.42

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/154101/ft1_filtered_4FGL_J0224.9+1843_daily_bin1672.fits scfile=/scratch/kocevski/154101/ft2_4FGL_J0224.9+1843_daily_bin1672.fits outfile=/scratch/kocevski/154101/cmap_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154101/ft1_filtered_4FGL_J0224.9+1843_daily_bin1672.fits scfile=/scratch/kocevski/154101/ft2_4FGL_J0224.9+1843_daily_bin1672.fits outfile=/scratch/kocevski/154101/cmap_HighResolution_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.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.49
user 0.31
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/154101/ft1_filtered_4FGL_J0224.9+1843_daily_bin1672.fits', '/scratch/kocevski/154101/ft2_4FGL_J0224.9+1843_daily_bin1672.fits', expMap='/scratch/kocevski/154101/expmap_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.fits', expCube='/scratch/kocevski/154101/ltcube_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/154101/Model_4FGL_J0224.9+1843_daily_bin1672.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  1.000e-04  1.000e+04 ( 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/154101/ft1_filtered_4FGL_J0224.9+1843_daily_bin1672.fits
Spacecraft file(s): /scratch/kocevski/154101/ft2_4FGL_J0224.9+1843_daily_bin1672.fits
Exposure map: /scratch/kocevski/154101/expmap_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.fits
Exposure cube: /scratch/kocevski/154101/ltcube_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/154101/Model_4FGL_J0224.9+1843_daily_bin1672.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) = 361.421727713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    111.32       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10718E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .43634E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10679E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.619       1.0000         .10000E-03   10000.    
     6 'norm      '    .10209E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    40.063       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .29274E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    347.09       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13402E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .39492E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11623E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13442E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    31.134       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14783E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .13376E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19251E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5254.7       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .25084E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1103.0       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10665       1.0000         .10000E-03   10000.    
    27 'norm      '    459.86       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .13609E-02   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    .45065       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=   360.1342     FROM MIGRAD    STATUS=CONVERGED    726 CALLS     4496 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     111.38        113.75        .76135E-05    .15834E-03
   2  Prefactor     .10000E-03    252.37       -.10331E-03** at limit **
   3  Prefactor     .10013E-03    156.09       -.13799E-04** at limit **
   4  Prefactor     .10000E-03    317.22       -.14824E-04** at limit **
   5  Prefactor     30.626        22.510        .58095E-05    .18063E-03
   6  norm          .10000E-03    18.281        .62317E-06** at limit **
   7  Prefactor     40.081        50.559       -.99342E-05    .12908E-03
   8  Prefactor     .10000E-03    8.1669        .38188E-06** at limit **
   9  norm          .10000E-03    433.25       -.41396E-05** at limit **
  10  Prefactor     346.84        284.57       -.11715E-03   -.39489E-05
  11  Prefactor     .10000E-03    351.64        .11037E-03** at limit **
  12  Prefactor     .10000E-03    48.219        .50197E-06** at limit **
  13  Prefactor     .10000E-03    418.42       -.82561E-05** at limit **
  14  Prefactor     .10000E-03    237.32       -.51359E-04** at limit **
  15  Prefactor     .10003E-03    309.97       -.34046E-04** at limit **
  16  Prefactor     .10001E-03    224.03        .17066E-04** at limit **
  17  Prefactor     .10000E-03    71.003       -.42854E-07** at limit **
  18  norm          31.171        37.120       -.65487E-05   -.98378E-05
  19  Prefactor     .10020E-03    1268.7        .52824E-03** at limit **
  20  norm          .10003E-03    32.171        .35028E-05** at limit **
  21  Prefactor     .10001E-03    2237.0       -.27965E-03** at limit **
  22  norm          .10000E-03    214.01        .85952E-04** at limit **
  23  Prefactor     5251.9        7211.2       -.55507E-03   -.11783E-04
  24  Prefactor     .10001E-03    7101.5       -.15325E-02** at limit **
  25  Prefactor     1103.4        933.73        .13423E-03   -.85894E-07
  26  Prefactor     .10000E-03    2186.8       -.18601E-03** at limit **
  27  norm          459.89        514.50        .12537E-04   -.11818E-05
  28  Prefactor     .10000E-03    1042.2        .31223E-03** at limit **
  29  Normalizat    .10000E-01    .36999        .94783E-05** at limit **
  30  Prefactor     .45095        .22821        .12281E-04    .30920E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 111.379
  Prefactor  = 0.000100001
  Prefactor  = 0.000100125
  Prefactor  = 0.0001
  Prefactor  = 30.6261
  norm       = 0.000100001
  Prefactor  = 40.0808
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 346.836
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100031
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 31.171
  Prefactor  = 0.000100197
  norm       = 0.000100031
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 5251.93
  Prefactor  = 0.000100006
  Prefactor  = 1103.38
  Prefactor  = 0.0001
  norm       = 459.892
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.450946
 **********
 **   18 **HESSE 
 **********

 FCN=   360.1342     FROM HESSE     STATUS=OK           560 CALLS     5056 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     111.38        114.12        .19062E-03   -1.3593    
   2  Prefactor     .10000E-03    259.94        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10013E-03    161.10        .42446E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    317.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.626        22.556        .69808E-04   -1.4601    
   6  norm          .10000E-03    18.294        .79311E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     40.081        50.729        .63328E-04   -1.4441    
   8  Prefactor     .10000E-03    8.1697        .53004E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    433.25        .21400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     346.84        284.50        .10926E-03   -1.1961    
  11  Prefactor     .10000E-03    351.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    48.225        .12888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    418.45        .21269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    237.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10003E-03    310.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    224.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    71.005        .15645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          31.171        37.171        .71809E-04   -1.4591    
  19  Prefactor     .10020E-03    1277.3        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10003E-03    32.253        .10509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    2236.8        .18238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    213.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5251.9        7210.2        .40052E-04    .50407E-01
  24  Prefactor     .10001E-03    7096.7        .18296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1103.4        933.70        .63845E-04   -.89359    
  26  Prefactor     .10000E-03    2186.7        .19086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          459.89        514.48        .95486E-04   -1.1385    
  28  Prefactor     .10000E-03    1041.7        .20546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .10000E-01    .38459        .68267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .45095        .22375        .16826E-03   -1.1428    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87191e-09
Minuit parameter uncertainties:
  1  114.342
  2  0.000871961
  3  0.00900684
  4  6.12729e-05
  5  22.5618
  6  0.000204785
  7  50.7839
  8  0.000130584
  9  2.72901e-05
  10  285.655
  11  0.00121643
  12  0.000367937
  13  0.000896521
  14  5.95437e-05
  15  0.00626078
  16  0.00269007
  17  8.32785e-05
  18  37.1983
  19  0.0324525
  20  0.0019946
  21  0.00838702
  22  0.000162356
  23  5174.37
  24  0.0110516
  25  948.102
  26  0.00158494
  27  519.799
  28  8.38173e-05
  29  1.79268e-05
  30  0.22419
Done.

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

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  1.000e-04  1.216e-03  1.000e-04  1.000e+04 ( 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.509e-01  2.242e-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:  1.000e-02  1.793e-05  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/154101/likelihoodResults_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.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) = 360.134182942
delta logL = -1.42688662095e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 360.134168702
delta logL = -2.88737851406e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.9874       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .45094       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   360.1342     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      283 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10259E-03    1103.0        .18142E-01** at limit **
   2  Index         3.7710        6.7597        .50000        .23890E-06
   3  Normalizat    .10000E-01    .27538E-02    .68269E-02** at limit **
   4  Prefactor     .45094        .15825E-01    .16826E-03    .17821E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102585
  Index      = 3.77101
  Normalizat = 0.01
  Prefactor  = 0.450941
 **********
 **   18 **HESSE 
 **********

 FCN=   360.1342     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      312 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10259E-03    7442.1        .33486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7710        6.4108        .50000       -.24834    
   3  Normalizat    .10000E-01    .14814E-01    .13654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .45094        .36707E-01    .67304E-05   -1.1428    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.09569e-08
Minuit parameter uncertainties:
  1  0.248849
  2  9821.18
  3  3.55843e-07
  4  0.0367085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154101': 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) = 360.13416869
delta logL = -1.60490003509e-08

Extracting fit parameters...

4FGL J0224.9+1843
   Spectrum: PowerLaw
253    Prefactor:  1.026e-04  2.488e-01  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  3.771e+00  9.821e+03  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.509e-01  3.671e-02  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:  1.000e-02  3.558e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/154101/cmap_HighResolution_672710401_672969601_4FGL_J0224.9+1843_daily_bin1672.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-01', job_status='DONE', photon_flux_upper_limit='2.45e-06', time_completed='2022-04-30 00:22:18.620104', job_id='154101', GAL2='0.45', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1651303338.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.45', dlogl='-1.60e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.95' WHERE bin_id='1672' AND source_name='4FGL J0224.9+1843' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 30 00:22:18 PDT 2022

2


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 154038: <4FGL_J0224.9+1843_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0224.9+1843_daily_bin1672> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:53 2022
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:11:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:11:49 2022
Terminated at Sat Apr 30 00:21:16 2022
Results reported at Sat Apr 30 00:21:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.9+1843_daily_bin1672 36.2294 18.7194 672710401 672969601 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 :                                   361.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             231.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            923 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 154101: <4FGL_J0224.9+1843_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0224.9+1843_daily_bin1672> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:56 2022
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:15:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:15:56 2022
Terminated at Sat Apr 30 00:22:18 2022
Results reported at Sat Apr 30 00:22:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0224.9+1843_daily_bin1672 36.2294 18.7194 672710401 672969601 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 :                                   286.72 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3029 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   382 sec.
    Turnaround time :                            982 sec.

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

