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


Performing analysis on: 4FGL_J0824.9+3915_daily_bin1756
RA = 126.236, Dec = 39.2574
tmin = 694483201, tmax = 694742401
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='9150', job_status='RUN', time_executed='2023-01-07 00:39:36.823599', time_epoch_executed='1673080776.82' WHERE source_name='4FGL J0824.9+3915' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9150

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9150/ft1_4FGL_J0824.9+3915_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9150/ft1_4FGL_J0824.9+3915_daily_bin1756.fits outfile=/scratch/kocevski/9150/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1756.fits ra=126.236 dec=39.2574 rad=12.0 tmin=694483201.0 tmax=694742401.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.99
user 2.76
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.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/9150/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/9150/ft1_filtered_4FGL_J0824.9+3915_daily_bin1756.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9150/ft1_filtered_4FGL_J0824.9+3915_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/9150/ltcube_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.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/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits
.....................!
real 16.44
user 16.00
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9150/ft1_filtered_4FGL_J0824.9+3915_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/9150/ltcube_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.fits outfile=/scratch/kocevski/9150/expmap_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.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/9150/ltcube_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.fits
.....................!
real 192.04
user 187.10
sys 4.45

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

Setting source of interest to:
4FGL J0824.9+3915 @ 126.236 39.2574

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/9150/ft1_filtered_4FGL_J0824.9+3915_daily_bin1756.fits scfile=/scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits outfile=/scratch/kocevski/9150/cmap_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.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=126.236 yref=39.2574 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9150/ft1_filtered_4FGL_J0824.9+3915_daily_bin1756.fits scfile=/scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits outfile=/scratch/kocevski/9150/cmap_HighResolution_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.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=126.236 yref=39.2574 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/9150/ft1_filtered_4FGL_J0824.9+3915_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/9150/Model_4FGL_J0824.9+3915_daily_bin1756.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/9150/ft1_filtered_4FGL_J0824.9+3915_daily_bin1756.fits.................!
real 14.99
user 13.76
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9150/ft1_filtered_4FGL_J0824.9+3915_daily_bin1756.fits', '/scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits', expMap='/scratch/kocevski/9150/expmap_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.fits', expCube='/scratch/kocevski/9150/ltcube_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9150/Model_4FGL_J0824.9+3915_daily_bin1756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0824.9+3915'

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.301e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/9150/ft1_filtered_4FGL_J0824.9+3915_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/9150/ft2_4FGL_J0824.9+3915_daily_bin1756.fits
Exposure map: /scratch/kocevski/9150/expmap_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.fits
Exposure cube: /scratch/kocevski/9150/ltcube_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9150/Model_4FGL_J0824.9+3915_daily_bin1756.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) = 208.436442441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14974E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13966       1.0000          .0000       .10000E+07
     3 'norm      '    .99943E+06   1.0000          .0000       .10000E+07
     4 'norm      '    .38649E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .74230E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .94359       1.0000          .0000       .10000E+07
     7 'Prefactor '    12241.       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2279       1.0000          .0000       .10000E+07
     9 'norm      '    .36909E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .66733       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14533       1.0000          .0000       .10000E+07
    12 'Prefactor '    28.016       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17795E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .28183       1.0000          .0000       .10000E+07
    15 'norm      '    2.9148       1.0000          .0000       .10000E+07
    16 'Prefactor '    433.08       1.0000          .0000       .10000E+07
    17 'Prefactor '    10.903       1.0000          .0000       .10000E+07
    18 'Prefactor '    .45992E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .58975E-06   1.0000          .0000       .10000E+07
    20 'norm      '    33.211       1.0000          .0000       .10000E+07
    21 'Prefactor '    .23228E-05   1.0000          .0000       .10000E+07
    22 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    .42275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   208.3905     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1967 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    224.24       -.99381E-06** at limit **
   2  Prefactor     .51070E-08    266.23       -.17167E-05** at limit **
   3  norm          .99943E+06    1.0919       -.52157E-09   -.78830E-02
   4  norm           .0000        26.597       -.98499E-07** at limit **
   5  Prefactor     .22194E-03    400.00        .74543E-06** at limit **
   6  Prefactor     .62799        31.372        .33803E-06    .42908E-01
   7  Prefactor     12242.        24.177       -.54683E-08   -2.0395    
   8  Prefactor     .40995E-03    281.84        .27776E-05** at limit **
   9  norm           .0000        27.136        .15569E-06** at limit **
  10  Prefactor     .70939E-03    196.29       -.87912E-07** at limit **
  11  Prefactor     .66502E-06    464.74        .23947E-06** at limit **
  12  Prefactor     11.540        191.19        .26301E-05   -.23407E-01
  13  Prefactor     .13832E-03    173.56       -.20269E-06** at limit **
  14  Prefactor      .0000        94.310        .31249E-06** at limit **
  15  norm          .89373E-08    144.18       -.52990E-06** at limit **
  16  Prefactor     432.53        14.897        .23881E-07    .18894    
  17  Prefactor     11.024        11.823       -.19091E-06   -.84347E-03
  18  Prefactor     .11102E-09    58.483        .39656E-06** at limit **
  19  norm           .0000        .96998        .96617E-07** at limit **
  20  norm          32.961        32.260       -.59981E-07   -.39054E-01
  21  Prefactor      .0000        3.2446       -.15164E-07** at limit **
  22  Normalizat    .10000E-01    .37795       -.17940E-04** at limit **
  23  Prefactor     .43769        .40021        .62077E-05    .15323E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  Prefactor  = 5.10703e-09
  norm       = 999428
  norm       = 0
  Prefactor  = 0.000221942
  Prefactor  = 0.627989
  Prefactor  = 12241.9
  Prefactor  = 0.000409952
  norm       = 0
  Prefactor  = 0.000709392
  Prefactor  = 6.65024e-07
  Prefactor  = 11.5402
  Prefactor  = 0.000138315
  Prefactor  = 0
  norm       = 8.9373e-09
  Prefactor  = 432.526
  Prefactor  = 11.0242
  Prefactor  = 1.11022e-10
  norm       = 0
  norm       = 32.9611
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 0.437688
 **********
 **   18 **HESSE 
 **********

 FCN=   208.3905     FROM HESSE     STATUS=OK           402 CALLS     2369 TOTAL
                     EDM=   .30E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    225.00        .17393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .51070E-08    266.97        .12967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .99943E+06    .95184E+06    .41818E-04    1.5230    
   4  norm           .0000        26.612        .16025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22194E-03    445.56        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .62799        9205.9        .42792E-03   -1.5692    
   7  Prefactor     12242.        9232.3        .90941E-05   -1.3491    
   8  Prefactor     .40995E-03    1504.9        .56357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        27.406        .16106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .70939E-03    528.98        .63401E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .66502E-06    468.59        .12843E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.540        298.03        .18896E-03   -1.5640    
  13  Prefactor     .13832E-03    247.88        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        94.914        .10470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .89373E-08    144.50        .59482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     432.53        286.72        .48063E-04   -1.5292    
  17  Prefactor     11.024        11.880        .30317E-03   -1.5642    
  18  Prefactor     .11102E-09    58.666        .15704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .96127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          32.961        32.839        .17355E-03   -1.5593    
  21  Prefactor      .0000        3.2500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .10000E-01    .37551        .12512       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .43769        .42011        .57195E-01   -1.1493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.0297887
Minuit parameter uncertainties:
  1  0.000872657
  2  0.00234075
  3  58934.8
  4  2.91611e-05
  5  0.628977
  6  152.303
  7  9243.19
  8  1.57132
  9  1.41158e-05
  10  1.22527
  11  0.0353084
  12  117.298
  13  0.370343
  14  5.40594e-05
  15  0.00227047
  16  286.726
  17  11.8795
  18  0.000147601
  19  7.28285e-06
  20  32.8389
  21  3.74822e-07
  22  1.96914e-06
  23  0.423124
Done.

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

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.154e+01  1.173e+02  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  4.377e-01  4.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.000e-02  1.969e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 126.236 39.257
Photon Flux Upper Limit: 4.72e-06 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/9150/likelihoodResults_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.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) = 208.389737157
delta logL = 0.00074258540289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 208.389523892
delta logL = 0.000955850456648

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.157       1.0000          .0000       .10000E+07
     2 'Index     '    2.5639       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43695       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+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=   208.3895     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      265 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.176        218.37        .11988E-04   -.35575E-02
   2  Index         2.5638        2.8382        .76861E-02   -.17672E-03
   3  Normalizat    .10000E-01    .37982        .53688E-02** at limit **
   4  Prefactor     .43670        .37558        .25322E-03    .10810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1764
  Index      = 2.56385
  Normalizat = 0.01
  Prefactor  = 0.436702
 **********
 **   18 **HESSE 
 **********

 FCN=   208.3895     FROM HESSE     STATUS=OK            23 CALLS      288 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.176        209.91        .23975E-05   -1.5641    
   2  Index         2.5638        2.7925        .30744E-03   -.50892    
   3  Normalizat    .10000E-01    .37983        .10738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .43670        .37557        .50645E-04   -1.1497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98883e-08
Minuit parameter uncertainties:
  1  96.8753
  2  3.02982
  3  1.31833e-06
  4  0.377721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9150': 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) = 208.389523587
delta logL = 0.000956155626028

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.118e+01  9.688e+01  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  2.564e+00  3.030e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  4.367e-01  3.777e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.000e-02  1.318e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 126.236 39.257

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/9150/cmap_HighResolution_694483201_694742401_4FGL_J0824.9+3915_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-01', job_status='DONE', photon_flux_upper_limit='4.72e-06', time_completed='2023-01-07 00:45:15.612852', job_id='9150', GAL2='0.44', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1673081115.61', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.44', dlogl='9.56e-04', ts2='0.02', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1756' AND source_name='4FGL J0824.9+3915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:45:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 9150: <4FGL_J0824.9+3915_daily_bin1756> in cluster <slac> Done

Job <4FGL_J0824.9+3915_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:35:16 2023
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:35:46 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:35:46 2023
Terminated at Sat Jan  7 00:45:16 2023
Results reported at Sat Jan  7 00:45:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.9+3915_daily_bin1756 126.236 39.2574 694483201 694742401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0824.9+3915 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   341.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             384.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            600 sec.

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

