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


Performing analysis on: 4FGL_J0824.4+2440_daily_bin1541
RA = 126.108, Dec = 24.6709
tmin = 638755201, tmax = 639014401
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='439994', job_status='RUN', time_executed='2021-08-29 18:36:55.860904', time_epoch_executed='1630287415.86' WHERE source_name='4FGL J0824.4+2440' and cadence='daily' and bin_id='1541'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439994

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439994/ft1_4FGL_J0824.4+2440_daily_bin1541.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439994/ft1_4FGL_J0824.4+2440_daily_bin1541.fits outfile=/scratch/kocevski/439994/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1541.fits ra=126.108 dec=24.6709 rad=12.0 tmin=638755201.0 tmax=639014401.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 6.27
user 5.24
sys 0.86

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.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/439994/ft1_filteredMKT_4FGL_J0824.4+2440_daily_bin1541.fits evtable="EVENTS" outfile="/scratch/kocevski/439994/ft1_filtered_4FGL_J0824.4+2440_daily_bin1541.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 1.25
user 0.35
sys 0.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/439994/ft1_filtered_4FGL_J0824.4+2440_daily_bin1541.fits" evtable="EVENTS" scfile=/scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits sctable="SC_DATA" outfile=/scratch/kocevski/439994/ltcube_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.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/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits
.....................!
real 15.67
user 14.48
sys 1.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439994/ft1_filtered_4FGL_J0824.4+2440_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits sctable="SC_DATA" expcube=/scratch/kocevski/439994/ltcube_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.fits outfile=/scratch/kocevski/439994/expmap_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.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/439994/ltcube_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.fits
.....................!
real 193.37
user 186.43
sys 5.09

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

Setting source of interest to:
4FGL J0824.4+2440 @ 126.108 24.6709

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/439994/ft1_filtered_4FGL_J0824.4+2440_daily_bin1541.fits scfile=/scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits outfile=/scratch/kocevski/439994/cmap_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.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.108 yref=24.6709 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 1.23
user 0.38
sys 0.73

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/439994/ft1_filtered_4FGL_J0824.4+2440_daily_bin1541.fits scfile=/scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits outfile=/scratch/kocevski/439994/cmap_HighResolution_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.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.108 yref=24.6709 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 1.31
user 0.40
sys 0.75

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/439994/ft1_filtered_4FGL_J0824.4+2440_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/439994/Model_4FGL_J0824.4+2440_daily_bin1541.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/439994/ft1_filtered_4FGL_J0824.4+2440_daily_bin1541.fits.....................!
real 62.99
user 59.49
sys 1.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/439994/ft1_filtered_4FGL_J0824.4+2440_daily_bin1541.fits', '/scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits', expMap='/scratch/kocevski/439994/expmap_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.fits', expCube='/scratch/kocevski/439994/ltcube_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/439994/Model_4FGL_J0824.4+2440_daily_bin1541.xml', optimizer='MINUIT')

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

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  8.553e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.487e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/439994/ft1_filtered_4FGL_J0824.4+2440_daily_bin1541.fits
Spacecraft file(s): /scratch/kocevski/439994/ft2_4FGL_J0824.4+2440_daily_bin1541.fits
Exposure map: /scratch/kocevski/439994/expmap_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.fits
Exposure cube: /scratch/kocevski/439994/ltcube_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/439994/Model_4FGL_J0824.4+2440_daily_bin1541.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) = 5998.11524844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0108       1.0000         .10000E-03   10000.    
     2 'Prefactor '    93.504       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.751       1.0000         .10000E-03   10000.    
     4 'Prefactor '    40.946       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.600       1.0000         .10000E-03   10000.    
     6 'norm      '    8.5862       1.0000         .10000E-03   10000.    
     7 'norm      '    .10177E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.832       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4937       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2116       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.719       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0337       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4539       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15512E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .14065       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.540       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.4569       1.0000         .10000E-03   10000.    
    18 'norm      '    .10250E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .75368       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2462       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5998.089     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     2456 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0202        6.1777       -.12374E-05    .62076E-04
   2  Prefactor     93.455        58.096       -.20057E-05   -.12483E-03
   3  Prefactor     16.729        21.602        .45952E-06   -.41794E-04
   4  Prefactor     40.913        48.428       -.46756E-05   -.84450E-04
   5  Prefactor     28.592        47.008        .13854E-05   -.25000E-04
   6  norm          8.5851        12.912        .21098E-06    .24560E-05
   7  norm          .10000E-03    37.935        .13417E-05** at limit **
   8  Prefactor     25.865        55.600       -.18146E-05    .32228E-04
   9  Prefactor     3.4508        137.40       -.12737E-05   -.29508E-04
  10  Prefactor     6.2102        18.887       -.14052E-07   -.13526E-05
  11  Prefactor     12.715        26.321       -.53618E-06   -.24761E-04
  12  norm          2.0337        1.7231       -.39946E-06   -.25265E-03
  13  Prefactor     5.4589        10.026        .56875E-05   -.32495E-04
  14  Prefactor     .10002E-03    6.3211       -.36445E-06** at limit **
  15  norm          .14092        .43103        .10378E-06   -.59715E-03
  16  Prefactor     10.538        12.247       -.51862E-06   -.22672E-04
  17  Prefactor     9.4547        14.264       -.39211E-06   -.84010E-05
  18  norm          .10000E-03    26.367       -.51331E-06** at limit **
  19  Normalizat    .75377        .20445        .69333E-06    .27181E-04
  20  Prefactor     1.2462        .16400       -.36288E-06    .77415E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.02021
  Prefactor  = 93.4549
  Prefactor  = 16.7291
  Prefactor  = 40.9134
  Prefactor  = 28.5922
  norm       = 8.58514
  norm       = 0.0001
  Prefactor  = 25.8646
  Prefactor  = 3.45084
  Prefactor  = 6.21023
  Prefactor  = 12.7154
  norm       = 2.0337
  Prefactor  = 5.45893
  Prefactor  = 0.000100018
  norm       = 0.140917
  Prefactor  = 10.5383
  Prefactor  = 9.45473
  norm       = 0.0001
  Normalizat = 0.75377
  Prefactor  = 1.24616
 **********
 **   18 **HESSE 
 **********

 FCN=   5998.089     FROM HESSE     STATUS=OK           305 CALLS     2761 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0202        5.4717        .30510E-03   -1.5506    
   2  Prefactor     93.455        57.536        .20781E-03   -1.3771    
   3  Prefactor     16.729        21.277        .97858E-04   -1.4890    
   4  Prefactor     40.913        48.855        .62644E-04   -1.4428    
   5  Prefactor     28.592        46.667        .74914E-04   -1.4638    
   6  norm          8.5851        12.898        .13680E-03   -1.5122    
   7  norm          .10000E-03    37.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.865        53.769        .78817E-04   -1.4690    
   9  Prefactor     3.4508        131.96        .21632E-03   -1.5336    
  10  Prefactor     6.2102        18.879        .16107E-03   -1.5210    
  11  Prefactor     12.715        26.366        .11232E-03   -1.4995    
  12  norm          2.0337        1.7143        .71647E-04   -1.5423    
  13  Prefactor     5.4589        10.121        .86030E-03   -1.5241    
  14  Prefactor     .10002E-03    21.656        .37217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .14092        .45812        .82819E-03   -1.5633    
  16  Prefactor     10.538        12.116        .12341E-03   -1.5059    
  17  Prefactor     9.4547        14.314        .13032E-03   -1.5093    
  18  norm          .10000E-03    26.418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .75377        .22994        .30724E-03   -1.0181    
  20  Prefactor     1.2462        .18642        .20917E-03   -.84922    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12252e-08
Minuit parameter uncertainties:
  1  4.72582
  2  57.5704
  3  21.2863
  4  48.903
  5  46.727
  6  12.9017
  7  9.15556e-05
  8  53.87
  9  42.7806
  10  18.8967
  11  26.3902
  12  1.71436
  13  10.1241
  14  0.00123556
  15  0.458132
  16  12.1188
  17  14.3194
  18  3.9109e-05
  19  0.230234
  20  0.186522
Done.

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

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  1.272e+01  2.639e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.487e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.246e+00  1.865e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  7.538e-01  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.39
Ra Dec: 126.108 24.671
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/439994/likelihoodResults_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.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) = 5997.89356573
delta logL = 0.195720676327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5997.87473001
delta logL = 0.214556402837

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0929       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5474       1.0000          .0000       10.000    
     3 'Normalizat'    .72529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2623       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5997.875     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      302 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0652        138.53        .49819E-02    .46528E-03
   2  Index         3.5511        6.7034        .12508        .12588E-03
   3  Normalizat    .72540        .58407E-01    .70612E-01   -.11451E-04
   4  Prefactor     1.2622        .48518E-01    .33302E-01   -.31188E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.0652
  Index      = 3.55107
  Normalizat = 0.725403
  Prefactor  = 1.26223
 **********
 **   18 **HESSE 
 **********

 FCN=   5997.875     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      333 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0652        272.97        .17502E-03   -1.5305    
   2  Index         3.5511        6.3375        .76747E-02   -.29400    
   3  Normalizat    .72540        .19536        .31249E-03   -1.0290    
   4  Prefactor     1.2622        .16690        .20799E-03   -.84437    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.07643e-06
Minuit parameter uncertainties:
  1  66.9438
  2  8.9859
  3  0.195551
  4  0.166974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439994': 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) = 5997.87472853
delta logL = 0.214557884248

Extracting fit parameters...

4FGL J0824.4+2440
   Spectrum: PowerLaw
296    Prefactor:  4.065e+00  6.694e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  3.551e+00  8.986e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  9.487e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.262e+00  1.670e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  7.254e-01  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
Ra Dec: 126.108 24.671

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/439994/cmap_HighResolution_638755201_639014401_4FGL_J0824.4+2440_daily_bin1541.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-08-29 18:47:40.996667', job_id='439994', GAL2='1.26', fit_tolerance='1e-08', EG2='0.73', EG='0.75', time_epoch_completed='1630288061.0', return_code2='102', ts='0.39', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='2.15e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1541' AND source_name='4FGL J0824.4+2440' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 18:47:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 439994: <4FGL_J0824.4+2440_daily_bin1541> in cluster <slac> Done

Job <4FGL_J0824.4+2440_daily_bin1541> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Aug 29 18:36:25 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 18:36:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 18:36:27 2021
Terminated at Sun Aug 29 18:47:42 2021
Results reported at Sun Aug 29 18:47:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.4+2440_daily_bin1541 126.108 24.6709 638755201 639014401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0824.4+2440 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   638.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            677 sec.

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

