/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 9 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 = 7380
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0824.9+3915_daily_bin1282
RA = 126.236, Dec = 39.2574
tmin = 571622401, tmax = 571881601
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='461013', job_status='RUN', time_executed='2021-08-29 19:43:26.385111', time_epoch_executed='1630291406.39' WHERE source_name='4FGL J0824.9+3915' and cadence='daily' and bin_id='1282'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/461013

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/461013/ft1_4FGL_J0824.9+3915_daily_bin1282.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/461013/ft2_4FGL_J0824.9+3915_daily_bin1282.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/461013/ft1_4FGL_J0824.9+3915_daily_bin1282.fits outfile=/scratch/kocevski/461013/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1282.fits ra=126.236 dec=39.2574 rad=12.0 tmin=571622401.0 tmax=571881601.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 10.19
user 2.51
sys 7.58

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/461013/ft2_4FGL_J0824.9+3915_daily_bin1282.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/461013/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1282.fits evtable="EVENTS" outfile="/scratch/kocevski/461013/ft1_filtered_4FGL_J0824.9+3915_daily_bin1282.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 8.80
user 0.32
sys 7.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/461013/ft1_filtered_4FGL_J0824.9+3915_daily_bin1282.fits" evtable="EVENTS" scfile=/scratch/kocevski/461013/ft2_4FGL_J0824.9+3915_daily_bin1282.fits sctable="SC_DATA" outfile=/scratch/kocevski/461013/ltcube_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.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/461013/ft2_4FGL_J0824.9+3915_daily_bin1282.fits
.....................!
real 21.56
user 13.02
sys 8.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/461013/ft1_filtered_4FGL_J0824.9+3915_daily_bin1282.fits evtable="EVENTS" scfile=/scratch/kocevski/461013/ft2_4FGL_J0824.9+3915_daily_bin1282.fits sctable="SC_DATA" expcube=/scratch/kocevski/461013/ltcube_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.fits outfile=/scratch/kocevski/461013/expmap_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.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/461013/ltcube_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.fits
.....................!
real 200.45
user 185.29
sys 14.31

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/461013/ft1_filtered_4FGL_J0824.9+3915_daily_bin1282.fits scfile=/scratch/kocevski/461013/ft2_4FGL_J0824.9+3915_daily_bin1282.fits outfile=/scratch/kocevski/461013/cmap_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.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 8.22
user 0.38
sys 7.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/461013/ft1_filtered_4FGL_J0824.9+3915_daily_bin1282.fits scfile=/scratch/kocevski/461013/ft2_4FGL_J0824.9+3915_daily_bin1282.fits outfile=/scratch/kocevski/461013/cmap_HighResolution_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.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 7.93
user 0.39
sys 7.30

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/461013/ft1_filtered_4FGL_J0824.9+3915_daily_bin1282.fits', '/scratch/kocevski/461013/ft2_4FGL_J0824.9+3915_daily_bin1282.fits', expMap='/scratch/kocevski/461013/expmap_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.fits', expCube='/scratch/kocevski/461013/ltcube_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/461013/Model_4FGL_J0824.9+3915_daily_bin1282.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  1.000e-04  1.000e+04 ( 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/461013/ft1_filtered_4FGL_J0824.9+3915_daily_bin1282.fits
Spacecraft file(s): /scratch/kocevski/461013/ft2_4FGL_J0824.9+3915_daily_bin1282.fits
Exposure map: /scratch/kocevski/461013/expmap_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.fits
Exposure cube: /scratch/kocevski/461013/ltcube_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/461013/Model_4FGL_J0824.9+3915_daily_bin1282.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) = 41.0970871814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.533       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .24520       1.0000         .10000E-03   10000.    
     3 'norm      '    .14031E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    .22284E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .39594E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0014       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .79459E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .46235       1.0000         .10000E-03   10000.    
     9 'norm      '    .23650       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9423       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .62098       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6826       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3338       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.9201       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7009       1.0000         .10000E-03   10000.    
    16 'norm      '    6.0043       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0053       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9002       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9597       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4222       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2153       1.0000         .10000E-03   10000.    
    22 'norm      '    .30896E-01   1.0000         .10000E-03   10000.    
    23 'norm      '    3.3766       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.0663       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .10004E-01   1.0000         .10000E-01   10.000    
    26 'Prefactor '    .15225       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   40.49763     FROM MIGRAD    STATUS=CONVERGED    230 CALLS      612 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.678        64.302        .12301E-02   -.75333E-03
   2  Prefactor     .10000E-03    150.77        .10182E-01** at limit **
   3  norm          .10000E-03    44.225        .90930E-02** at limit **
   4  norm          .10000E-03    71.084        .90712E-02** at limit **
   5  Prefactor     .10000E-03    210.23        .92192E-02** at limit **
   6  Prefactor     .94558E-03    7294.7        .40976E-02** at limit **
   7  Prefactor     .10000E-03    219.30        .92443E-02** at limit **
   8  Prefactor     .10000E-03    430.66        .11116E-01** at limit **
   9  norm          .11563E-03    1239.1        .10143E-01** at limit **
  10  Prefactor     .10041E-03    919.62        .74469E-02** at limit **
  11  Prefactor     .10145E-03    1381.3        .11755E-01** at limit **
  12  Prefactor     3.0020        2297.1        .62195E-02   -.32998E-03
  13  Prefactor     2.9180        2297.1        .95002E-02   -.10970E-02
  14  Prefactor     8.9424        2294.4        .33550E-02   -.42505E-04
  15  Prefactor     1.7519        2297.7        .80633E-02   -.38770E-04
  16  norm          6.0143        2295.7        .40966E-02   -.15732E-04
  17  Prefactor     1.0053        1.3475         .0000         .0000    
  18  Prefactor     1.9002        1.0396         .0000         .0000    
  19  Prefactor     5.9597        1.0036         .0000         .0000    
  20  Prefactor     1.4222        1.0811         .0000         .0000    
  21  Prefactor     7.2153        1.0024         .0000         .0000    
  22  norm          .10001E-03    .21052        .19998E-03** at limit **
  23  norm          3.3766        1.0114         .0000         .0000    
  24  Prefactor     1.0663        1.2185         .0000         .0000    
  25  Normalizat    .10000E-01    .25612       -.78126E-04** at limit **
  26  Prefactor     .15202        .41420       -.33184E-04   -.11412E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.6779
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000945578
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.000115633
  Prefactor  = 0.000100409
  Prefactor  = 0.000101454
  Prefactor  = 3.002
  Prefactor  = 2.91801
  Prefactor  = 8.94239
  Prefactor  = 1.75189
  norm       = 6.01434
  Prefactor  = 1.00528
  Prefactor  = 1.9002
  Prefactor  = 5.95967
  Prefactor  = 1.42219
  Prefactor  = 7.21531
  norm       = 0.000100009
  norm       = 3.37659
  Prefactor  = 1.06631
  Normalizat = 0.01
  Prefactor  = 0.152016
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   40.49763     FROM HESSE     STATUS=FAILED        41 CALLS      653 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.678        64.302        .12301E-02   -1.4073    
   2  Prefactor     .10000E-03    150.77        .10182E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    44.225        .90930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    71.084        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    210.23        .92192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .94558E-03    7294.7        .40976E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    219.30        .92443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    430.66        .11116E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11563E-03    1239.1        .10143E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10041E-03    919.62        .74469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10145E-03    1381.3        .11755E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.0020        2297.1        .62195E-02   -1.5361    
  13  Prefactor     2.9180        2297.1        .95002E-02   -1.5366    
  14  Prefactor     8.9424        2294.4        .33550E-02   -1.5110    
  15  Prefactor     1.7519        2297.7        .80633E-02   -1.5443    
  16  norm          6.0143        2295.7        .40966E-02   -1.5217    
  17  Prefactor     588.21        586.76         .0000       -1.5507    
  18  Prefactor     1.9002        1.0396         .0000       -1.5432    
  19  Prefactor     5.9597        1.0036         .0000       -1.5220    
  20  Prefactor     1.4222        1.0811         .0000       -1.5469    
  21  Prefactor     7.2153        1.0024         .0000       -1.5171    
  22  norm          .10001E-03    .21052        .19998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.3766        1.0114         .0000       -1.5340    
  24  Prefactor     1.0663        1.2185         .0000       -1.5501    
  25  Normalizat    .10000E-01    .25612       -.78126E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .15202        .41420       -.33184E-04   -1.3236    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.35098e-11
Minuit parameter uncertainties:
  1  64.3694
  2  1.125e-06
  3  3.86022e-06
  4  9.44538e-06
  5  0.000328
  6  4.32688
  7  0.00115883
  8  0.00146247
  9  0.284454
  10  0.0394074
  11  0.0918464
  12  173.234
  13  170.794
  14  298.903
  15  132.344
  16  245.166
  17  1.3475
  18  1.03966
  19  1.00356
  20  1.08115
  21  1.00242
  22  8.4634e-05
  23  1.01141
  24  1.21855
  25  6.79366e-07
  26  0.422554
Done.

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

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  2.918e+00  1.708e+02  1.000e-04  1.000e+04 ( 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:  1.520e-01  4.226e-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  6.794e-07  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0623258157997

TS (Fixed Index): 0.00
Ra Dec: 126.236 39.257
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.74e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/461013/likelihoodResults_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.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) = 40.4978369281
delta logL = -0.000207410659101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 40.4978367366
delta logL = -0.000207219085489

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.4529       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.

 FCN=   40.49784     FROM MIGRAD    STATUS=CONVERGED     20 CALLS       81 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       2.4671        3.6275        .50000       -.59564E-04
                               ERR DEF=  .500    
Final values: 
  Index      = 2.4671
 **********
 **   18 **HESSE 
 **********

 FCN=   40.49784     FROM HESSE     STATUS=OK             9 CALLS       90 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       2.4671        3.6275        .20000       -.53121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54231e-09
Minuit parameter uncertainties:
  1  4.31096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/461013': 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) = 40.4978365412
delta logL = -0.000207023689221

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  2.919e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
315        Index:  2.467e+00  4.311e+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:  1.503e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.021e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
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/461013/cmap_HighResolution_571622401_571881601_4FGL_J0824.9+3915_daily_bin1282.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.74e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-08-29 19:50:53.718421', job_id='461013', GAL2='0.15', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630291853.72', return_code2='0', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.15', dlogl='-2.07e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1282' AND source_name='4FGL J0824.9+3915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 19:50:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 461013: <4FGL_J0824.9+3915_daily_bin1282> in cluster <slac> Done

Job <4FGL_J0824.9+3915_daily_bin1282> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Aug 29 19:40:44 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 19:40:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 19:40:45 2021
Terminated at Sun Aug 29 19:50:55 2021
Results reported at Sun Aug 29 19:50:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.9+3915_daily_bin1282 126.236 39.2574 571622401 571881601 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 :                                   544.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            611 sec.

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

