/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 36 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 = 7388
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin585
RA = 141.005, Dec = 28.2755
tmin = 390960001, tmax = 391219201
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='217948', job_status='RUN', time_executed='2021-08-31 11:18:17.877542', time_epoch_executed='1630433897.88' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='585'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217948

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217948/ft1_4FGL_J0924.0+2816_daily_bin585.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217948/ft1_4FGL_J0924.0+2816_daily_bin585.fits outfile=/scratch/kocevski/217948/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin585.fits ra=141.005 dec=28.2755 rad=12.0 tmin=390960001.0 tmax=391219201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.38
user 3.15
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.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/217948/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin585.fits evtable="EVENTS" outfile="/scratch/kocevski/217948/ft1_filtered_4FGL_J0924.0+2816_daily_bin585.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.43
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217948/ft1_filtered_4FGL_J0924.0+2816_daily_bin585.fits" evtable="EVENTS" scfile=/scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits sctable="SC_DATA" outfile=/scratch/kocevski/217948/ltcube_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.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/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits
.....................!
real 8.55
user 8.29
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217948/ft1_filtered_4FGL_J0924.0+2816_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits sctable="SC_DATA" expcube=/scratch/kocevski/217948/ltcube_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.fits outfile=/scratch/kocevski/217948/expmap_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.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/217948/ltcube_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.fits
.....................!
real 139.44
user 135.93
sys 3.28

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

Setting source of interest to:
4FGL J0924.0+2816 @ 141.005 28.2755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/217948/ft1_filtered_4FGL_J0924.0+2816_daily_bin585.fits scfile=/scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits outfile=/scratch/kocevski/217948/cmap_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.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=141.005 yref=28.2755 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.45
user 0.30
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217948/ft1_filtered_4FGL_J0924.0+2816_daily_bin585.fits scfile=/scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits outfile=/scratch/kocevski/217948/cmap_HighResolution_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.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=141.005 yref=28.2755 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.53
user 0.31
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217948/ft1_filtered_4FGL_J0924.0+2816_daily_bin585.fits evtable="EVENTS" scfile=/scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217948/Model_4FGL_J0924.0+2816_daily_bin585.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/217948/ft1_filtered_4FGL_J0924.0+2816_daily_bin585.fits.....................!
real 46.09
user 43.45
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217948/ft1_filtered_4FGL_J0924.0+2816_daily_bin585.fits', '/scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits', expMap='/scratch/kocevski/217948/expmap_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.fits', expCube='/scratch/kocevski/217948/ltcube_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217948/Model_4FGL_J0924.0+2816_daily_bin585.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0924.0+2816'

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.227e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/217948/ft1_filtered_4FGL_J0924.0+2816_daily_bin585.fits
Spacecraft file(s): /scratch/kocevski/217948/ft2_4FGL_J0924.0+2816_daily_bin585.fits
Exposure map: /scratch/kocevski/217948/expmap_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.fits
Exposure cube: /scratch/kocevski/217948/ltcube_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217948/Model_4FGL_J0924.0+2816_daily_bin585.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) = 6579.53468803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8343       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.033       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9402       1.0000         .10000E-03   10000.    
     4 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6294       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.230       1.0000         .10000E-03   10000.    
    10 'norm      '    10.642       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1599       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.6405       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.369       1.0000         .10000E-03   10000.    
    18 'norm      '    5.7731       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.6222       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .47665       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6579.482     FROM MIGRAD    STATUS=CONVERGED    396 CALLS     1726 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8342        .79771       -.35680E-07   -.34844E-05
   2  Prefactor     16.033        11.678        .25843E-07    .21031E-04
   3  Prefactor     3.9346        16.558       -.39961E-05   -.79549E-04
   4  norm          .10000E-03    25.346       -.71875E-05** at limit **
   5  Prefactor     2.6293        3.4685        .83723E-07   -.50455E-03
   6  Prefactor     .10000E-03    34.575       -.80917E-06** at limit **
   7  norm          .10000E-03    1.0293       -.20818E-07** at limit **
   8  Prefactor     .10000E-03    8.0461        .90479E-05** at limit **
   9  Prefactor     10.221        34.048       -.19581E-04   -.24218E-05
  10  norm          10.641        8.3845       -.10093E-05   -.24034E-03
  11  Prefactor     2.1605        4.8215        .13409E-05   -.78109E-03
  12  Prefactor     .10000E-03    8.1405       -.90117E-05** at limit **
  13  Prefactor     .10000E-03    28.378        .16440E-04** at limit **
  14  Prefactor     .10000E-03    35.906       -.10348E-04** at limit **
  15  Prefactor     .10000E-03    5.0461       -.44916E-07** at limit **
  16  Prefactor     7.6402        7.2447       -.56387E-06   -.28904E-04
  17  Prefactor     11.369        3.5197        .98874E-07   -.15832E-04
  18  norm          5.7730        7.0380        .31144E-06   -.11855E-03
  19  Normalizat    1.6222        .18322        .12178E-06    .26142E-04
  20  Prefactor     .47657        .16364        .13332E-05   -.19064E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.83425
  Prefactor  = 16.0329
  Prefactor  = 3.93464
  norm       = 0.0001
  Prefactor  = 2.62925
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2206
  norm       = 10.6406
  Prefactor  = 2.16052
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.64024
  Prefactor  = 11.3692
  norm       = 5.77304
  Normalizat = 1.62223
  Prefactor  = 0.47657
 **********
 **   18 **HESSE 
 **********

 FCN=   6579.482     FROM HESSE     STATUS=OK           297 CALLS     2023 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8342        .79642        .45419E-04   -1.5437    
   2  Prefactor     16.033        11.678        .10003E-03   -1.4907    
   3  Prefactor     3.9346        16.601        .20322E-03   -1.5311    
   4  norm          .10000E-03    25.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6293        3.4562        .16696E-03   -1.5384    
   6  Prefactor     .10000E-03    34.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.0758        .16042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.0647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.221        34.024        .12528E-03   -1.5068    
  10  norm          10.641        8.4268        .12282E-03   -1.5055    
  11  Prefactor     2.1605        4.8072        .24164E-03   -1.5414    
  12  Prefactor     .10000E-03    8.1414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    35.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.1226        .17783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.6402        7.2526        .14508E-03   -1.5155    
  17  Prefactor     11.369        3.5302        .80827E-04   -1.5033    
  18  norm          5.7730        7.0285        .16716E-03   -1.5227    
  19  Normalizat    1.6222        .21116        .21255E-03   -.74399    
  20  Prefactor     .47657        .18508        .34330E-03   -1.1306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.26787e-10
Minuit parameter uncertainties:
  1  0.796421
  2  11.68
  3  16.1716
  4  6.43395e-05
  5  3.45648
  6  6.93842e-06
  7  3.85117e-06
  8  9.72569e-06
  9  34.0886
  10  8.4277
  11  4.8081
  12  4.66037e-06
  13  8.74266e-06
  14  1.88744e-06
  15  1.20381e-05
  16  7.25344
  17  3.53024
  18  7.02948
  19  0.211274
  20  0.185313
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  2.161e+00  4.808e+00  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  2.506e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  4.766e-01  1.853e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.622e+00  2.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217948/likelihoodResults_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.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) = 6576.5998492
delta logL = 2.88224448967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6576.5355381
delta logL = 2.9465555893

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6576.536     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      255 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11569        .66888        .26669E-02    .17986E-02
   2  Index         5.5899        2.3637        .87764E-01    .16160E-03
   3  Normalizat    1.4384        .57727E-01    .50360E-01    .17770E-06
   4  Prefactor     .59427        .54070E-01    .70067E-01    .29895E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.11569
  Index      = 5.58992
  Normalizat = 1.43835
  Prefactor  = 0.594274
 **********
 **   18 **HESSE 
 **********

 FCN=   6576.536     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      288 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11569        1.1480        .11927E-04   -1.5640    
   2  Index         5.5899        3.2241        .36167E-02    .11826    
   3  Normalizat    1.4384        .18880        .22264E-03   -.79526    
   4  Prefactor     .59427        .17084        .31014E-03   -1.0783    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.41431e-07
Minuit parameter uncertainties:
  1  0.72857
  2  3.50899
  3  0.188887
  4  0.170989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217948': 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) = 6576.53553754
delta logL = 2.94655615016

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.157e-01  7.286e-01  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  5.590e+00  3.509e+00  0.000e+00  1.000e+01 (-1.000e+00)
278        Scale:  7.290e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  5.943e-01  1.710e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.438e+00  1.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.83
Ra Dec: 141.005 28.276
Photon Index (Free Index): 5.59 +/- 3.51
Photon Flux (Free Index): 1.69e-07 +/- 7.80e-08
Energy Flux (Free Index): 2.15e-05 +/- 1.16e-05

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/217948/cmap_HighResolution_390960001_391219201_4FGL_J0924.0+2816_daily_bin585.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.15e-03', comment='SUCCESS', energy_flux2='2.15e-05', dlogl='2.95e+00', photon_flux2='1.69e-07', job_status='DONE', time_completed='2021-08-31 11:25:40.531360', photon_index_error2='3.51', photon_index2='5.59', ts='0.23', fit_tolerance='1e-08', GAL='0.48', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.16e-05', EG='1.62', time_epoch_completed='1630434340.53', return_code='0', job_id='217948', GAL2='0.59', EG2='1.44', return_code2='102', photon_flux_error2='7.80e-08', ts2='6.83', photon_index='2.51' WHERE bin_id='585' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:25:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 217948: <4FGL_J0924.0+2816_daily_bin585> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin585> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Tue Aug 31 11:16:33 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:16:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:16:34 2021
Terminated at Tue Aug 31 11:25:41 2021
Results reported at Tue Aug 31 11:25:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin585 141.005 28.2755 390960001 391219201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0924.0+2816 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   434.52 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   546 sec.
    Turnaround time :                            548 sec.

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

