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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin1507
RA = 141.005, Dec = 28.2755
tmin = 629942401, tmax = 630201601
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='223846', job_status='RUN', time_executed='2021-08-31 11:34:32.977842', time_epoch_executed='1630434872.98' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='1507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/223846

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/223846/ft1_4FGL_J0924.0+2816_daily_bin1507.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/223846/ft2_4FGL_J0924.0+2816_daily_bin1507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/223846/ft1_4FGL_J0924.0+2816_daily_bin1507.fits outfile=/scratch/kocevski/223846/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1507.fits ra=141.005 dec=28.2755 rad=12.0 tmin=629942401.0 tmax=630201601.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.35
user 4.46
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/223846/ft2_4FGL_J0924.0+2816_daily_bin1507.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/223846/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin1507.fits evtable="EVENTS" outfile="/scratch/kocevski/223846/ft1_filtered_4FGL_J0924.0+2816_daily_bin1507.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 2.82
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/223846/ft1_filtered_4FGL_J0924.0+2816_daily_bin1507.fits" evtable="EVENTS" scfile=/scratch/kocevski/223846/ft2_4FGL_J0924.0+2816_daily_bin1507.fits sctable="SC_DATA" outfile=/scratch/kocevski/223846/ltcube_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.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/223846/ft2_4FGL_J0924.0+2816_daily_bin1507.fits
.....................!
real 12.79
user 11.42
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/223846/ft1_filtered_4FGL_J0924.0+2816_daily_bin1507.fits evtable="EVENTS" scfile=/scratch/kocevski/223846/ft2_4FGL_J0924.0+2816_daily_bin1507.fits sctable="SC_DATA" expcube=/scratch/kocevski/223846/ltcube_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.fits outfile=/scratch/kocevski/223846/expmap_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.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/223846/ltcube_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.fits
.....................!
real 197.79
user 186.16
sys 5.42

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/223846/ft1_filtered_4FGL_J0924.0+2816_daily_bin1507.fits scfile=/scratch/kocevski/223846/ft2_4FGL_J0924.0+2816_daily_bin1507.fits outfile=/scratch/kocevski/223846/cmap_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.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.55
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/223846/ft1_filtered_4FGL_J0924.0+2816_daily_bin1507.fits scfile=/scratch/kocevski/223846/ft2_4FGL_J0924.0+2816_daily_bin1507.fits outfile=/scratch/kocevski/223846/cmap_HighResolution_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.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.59
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/223846/ft1_filtered_4FGL_J0924.0+2816_daily_bin1507.fits', '/scratch/kocevski/223846/ft2_4FGL_J0924.0+2816_daily_bin1507.fits', expMap='/scratch/kocevski/223846/expmap_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.fits', expCube='/scratch/kocevski/223846/ltcube_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/223846/Model_4FGL_J0924.0+2816_daily_bin1507.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/223846/ft1_filtered_4FGL_J0924.0+2816_daily_bin1507.fits
Spacecraft file(s): /scratch/kocevski/223846/ft2_4FGL_J0924.0+2816_daily_bin1507.fits
Exposure map: /scratch/kocevski/223846/expmap_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.fits
Exposure cube: /scratch/kocevski/223846/ltcube_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/223846/Model_4FGL_J0924.0+2816_daily_bin1507.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) = 5705.07591148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3308       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.312       1.0000         .10000E-03   10000.    
     4 'norm      '    .10122E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3317       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.4299       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.0403       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.476       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9330       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.6067       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.848       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9507       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.9476       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0079       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92326       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=   5704.977     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     1782 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3307        .74159        .32102E-08    .71889E-05
   2  Prefactor     .10000E-03    6.1126       -.51213E-07** at limit **
   3  Prefactor     27.312        16.956       -.46836E-07   -.13086E-04
   4  norm          .10000E-03    45.934       -.32371E-05** at limit **
   5  Prefactor     1.3312        3.4019        .11732E-05    .17970E-04
   6  Prefactor     .10000E-03    57.155        .56589E-06** at limit **
   7  norm          1.4299        1.3583       -.38224E-08   -.41237E-04
   8  Prefactor     8.0283        13.245        .76806E-06   -.11847E-04
   9  Prefactor     13.369        57.625       -.12413E-05   -.16029E-04
  10  norm          .10000E-03    3.2620        .10118E-06** at limit **
  11  Prefactor     1.9322        3.3543        .13104E-06   -.17839E-04
  12  Prefactor     2.6068        13.272        .63271E-06   -.95084E-05
  13  Prefactor     25.810        36.602       -.70320E-07   -.16121E-04
  14  Prefactor     .10000E-03    28.576        .23428E-07** at limit **
  15  Prefactor     2.9518        5.2246        .15397E-06   -.80265E-04
  16  Prefactor     .10000E-03    3.2927        .21577E-06** at limit **
  17  Prefactor     .10000E-03    1.2553        .53030E-06** at limit **
  18  norm          1.9466        14.317        .16621E-05   -.16740E-04
  19  Normalizat    1.0080        .16393        .31602E-06   -.23360E-03
  20  Prefactor     .92321        .16454       -.15556E-05   -.92411E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33073
  Prefactor  = 0.0001
  Prefactor  = 27.3117
  norm       = 0.0001
  Prefactor  = 1.33123
  Prefactor  = 0.0001
  norm       = 1.42986
  Prefactor  = 8.02827
  Prefactor  = 13.3688
  norm       = 0.0001
  Prefactor  = 1.93222
  Prefactor  = 2.60685
  Prefactor  = 25.8104
  Prefactor  = 0.0001
  Prefactor  = 2.95179
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94663
  Normalizat = 1.00801
  Prefactor  = 0.923213
 **********
 **   18 **HESSE 
 **********

 FCN=   5704.977     FROM HESSE     STATUS=OK           297 CALLS     2079 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3307        .73760        .46774E-04   -1.5477    
   2  Prefactor     .10000E-03    6.1279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.312        16.951        .76657E-04   -1.4662    
   4  norm          .10000E-03    45.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3312        3.4435        .21581E-03   -1.5477    
   6  Prefactor     .10000E-03    57.733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4299        1.3543        .82825E-04   -1.5469    
   8  Prefactor     8.0283        13.273        .14140E-03   -1.5141    
   9  Prefactor     13.369        58.036        .10911E-03   -1.4977    
  10  norm          .10000E-03    3.2707        .13310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9322        3.3327        .17119E-03   -1.5430    
  12  Prefactor     2.6068        13.232        .25267E-03   -1.5385    
  13  Prefactor     25.810        36.612        .78794E-04   -1.4691    
  14  Prefactor     .10000E-03    28.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.9518        5.1853        .21611E-03   -1.5364    
  16  Prefactor     .10000E-03    3.3097        .13390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.9055        .15715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.9466        14.385        .29740E-03   -1.5429    
  19  Normalizat    1.0080        .18688        .22139E-03   -.92762    
  20  Prefactor     .92321        .18518        .23684E-03   -.95335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0996e-10
Minuit parameter uncertainties:
  1  0.737608
  2  7.25331e-06
  3  16.9535
  4  4.35882e-05
  5  3.44403
  6  2.17986e-05
  7  1.35429
  8  13.2781
  9  55.8003
  10  2.80032e-06
  11  3.33302
  12  11.7502
  13  36.6436
  14  1.39906e-05
  15  5.18605
  16  1.04182e-06
  17  4.08682e-05
  18  10.5868
  19  0.187002
  20  0.185305
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.932e+00  3.333e+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:  9.232e-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.008e+00  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.43
Ra Dec: 141.005 28.276
Photon Flux Upper Limit: 9.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/223846/likelihoodResults_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.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) = 5704.07227611
delta logL = 0.904368713445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5703.67783616
delta logL = 1.29880866108

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.8693       1.0000          .0000       10.000    
     3 'Normalizat'    .94420       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97513       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=   5703.678     FROM MIGRAD    STATUS=CONVERGED    238 CALLS      621 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .37155E-02    .29725E-03** at limit **
   2  Index         8.8698        7.6487        .19660        .10451E-03
   3  Normalizat    .94382        .46958E-01    .45464E-01   -.16286E-03
   4  Prefactor     .97542        .48169E-01    .45955E-01   -.17902E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.86977
  Normalizat = 0.943818
  Prefactor  = 0.975421
 **********
 **   18 **HESSE 
 **********

 FCN=   5703.678     FROM HESSE     STATUS=OK            31 CALLS      652 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .12055E-02    .89298E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.8698        .39196        .86004E-03    .88506    
   3  Normalizat    .94382        .18422        .22755E-03   -.94937    
   4  Prefactor     .97542        .18838        .23127E-03   -.93553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05752e-10
Minuit parameter uncertainties:
  1  1.50877e-08
  2  0.392968
  3  0.184348
  4  0.188503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/223846': 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) = 5703.67783108
delta logL = 1.29881374152

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  1.509e-08  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  8.870e+00  3.930e-01  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:  9.754e-01  1.885e-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:  9.438e-01  1.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.18
Ra Dec: 141.005 28.276
Photon Index (Free Index): 8.87 +/- 0.39
Photon Flux (Free Index): 5.85e-08 +/- 4.17e-08
Energy Flux (Free Index): 6.66e-06 +/- 4.73e-06

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/223846/cmap_HighResolution_629942401_630201601_4FGL_J0924.0+2816_daily_bin1507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.31e-03', comment='SUCCESS', energy_flux2='6.66e-06', dlogl='1.30e+00', photon_flux2='5.85e-08', job_status='DONE', time_completed='2021-08-31 11:44:37.946123', photon_index_error2='0.39', photon_index2='8.87', ts='0.43', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='9.40e-08', energy_flux_error2='4.73e-06', EG='1.01', time_epoch_completed='1630435477.95', return_code='0', job_id='223846', GAL2='0.98', EG2='0.94', return_code2='0', photon_flux_error2='4.17e-08', ts2='3.18', photon_index='2.51' WHERE bin_id='1507' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:44:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 223846: <4FGL_J0924.0+2816_daily_bin1507> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin1507> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:31:56 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:31:57 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:31:57 2021
Terminated at Tue Aug 31 11:44:38 2021
Results reported at Tue Aug 31 11:44:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin1507 141.005 28.2755 629942401 630201601 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 :                                   581.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            762 sec.

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

