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


Performing analysis on: 4FGL_J0924.0+2816_daily_bin731
RA = 141.005, Dec = 28.2755
tmin = 428803201, tmax = 429062401
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='219412', job_status='RUN', time_executed='2021-08-31 11:23:11.418376', time_epoch_executed='1630434191.42' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219412

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219412/ft1_4FGL_J0924.0+2816_daily_bin731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219412/ft2_4FGL_J0924.0+2816_daily_bin731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219412/ft1_4FGL_J0924.0+2816_daily_bin731.fits outfile=/scratch/kocevski/219412/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin731.fits ra=141.005 dec=28.2755 rad=12.0 tmin=428803201.0 tmax=429062401.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.71
user 6.29
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/219412/ft2_4FGL_J0924.0+2816_daily_bin731.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/219412/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin731.fits evtable="EVENTS" outfile="/scratch/kocevski/219412/ft1_filtered_4FGL_J0924.0+2816_daily_bin731.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.21
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219412/ft1_filtered_4FGL_J0924.0+2816_daily_bin731.fits" evtable="EVENTS" scfile=/scratch/kocevski/219412/ft2_4FGL_J0924.0+2816_daily_bin731.fits sctable="SC_DATA" outfile=/scratch/kocevski/219412/ltcube_428803201_429062401_4FGL_J0924.0+2816_daily_bin731.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/219412/ft2_4FGL_J0924.0+2816_daily_bin731.fits
.....................!
real 16.82
user 15.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219412/ft1_filtered_4FGL_J0924.0+2816_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/219412/ft2_4FGL_J0924.0+2816_daily_bin731.fits sctable="SC_DATA" expcube=/scratch/kocevski/219412/ltcube_428803201_429062401_4FGL_J0924.0+2816_daily_bin731.fits outfile=/scratch/kocevski/219412/expmap_428803201_429062401_4FGL_J0924.0+2816_daily_bin731.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/219412/ltcube_428803201_429062401_4FGL_J0924.0+2816_daily_bin731.fits
.....................!
real 196.93
user 187.47
sys 4.29

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/219412/ft1_filtered_4FGL_J0924.0+2816_daily_bin731.fits scfile=/scratch/kocevski/219412/ft2_4FGL_J0924.0+2816_daily_bin731.fits outfile=/scratch/kocevski/219412/cmap_428803201_429062401_4FGL_J0924.0+2816_daily_bin731.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.71
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219412/ft1_filtered_4FGL_J0924.0+2816_daily_bin731.fits scfile=/scratch/kocevski/219412/ft2_4FGL_J0924.0+2816_daily_bin731.fits outfile=/scratch/kocevski/219412/cmap_HighResolution_428803201_429062401_4FGL_J0924.0+2816_daily_bin731.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.98
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2330       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.728       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.276       1.0000         .10000E-03   10000.    
     4 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2471       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.8715       1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.722       1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.146       1.0000         .10000E-03   10000.    
    10 'norm      '    45.951       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.288       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.610       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.5759       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1677       1.0000         .10000E-03   10000.    
    18 'norm      '    5.1910       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .62621       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.4143       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=   5608.331     FROM MIGRAD    STATUS=CONVERGED    407 CALLS     2018 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2330        1.0526        .68774E-02    .13734E-04
   2  Prefactor     16.728        17.175        .24481E-02    .31607E-03
   3  Prefactor     36.277        19.822        .16635E-02   -.98160E-04
   4  norm          .10000E-03    58.164        .90712E-02** at limit **
   5  Prefactor     3.2472        2.9587        .56191E-02   -.41157E-04
   6  Prefactor     .10000E-03    11.050        .90712E-02** at limit **
   7  norm          1.8715        1.5440        .76109E-02    .48321E-04
   8  Prefactor     32.723        23.278        .17512E-02   -.28976E-03
   9  Prefactor     38.145        55.024        .16223E-02    .32608E-03
  10  norm          45.952        14.405        .14787E-02    .87747E-04
  11  Prefactor     .10000E-03    3.3369        .90712E-02** at limit **
  12  Prefactor     .10000E-03    20.978        .90712E-02** at limit **
  13  Prefactor     .10000E-03    37.909        .90712E-02** at limit **
  14  Prefactor     43.288        56.171        .15233E-02    .26494E-03
  15  Prefactor     14.609        9.1751        .26197E-02   -.46642E-03
  16  Prefactor     9.5756        6.8000        .32375E-02   -.26834E-02
  17  Prefactor     6.1678        3.6242        .40412E-02    .21180E-03
  18  norm          5.1910        8.7947        .44110E-02    .28550E-02
  19  Normalizat    .62614        .19578        .71284E-01   -.28894E-04
  20  Prefactor     1.4143        .19618        .52585E-01   -.88988E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.233
  Prefactor  = 16.7276
  Prefactor  = 36.2769
  norm       = 0.0001
  Prefactor  = 3.24719
  Prefactor  = 0.0001
  norm       = 1.87149
  Prefactor  = 32.7231
  Prefactor  = 38.1455
  norm       = 45.9519
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.288
  Prefactor  = 14.6094
  Prefactor  = 9.57558
  Prefactor  = 6.16784
  norm       = 5.19103
  Normalizat = 0.626139
  Prefactor  = 1.41434
 **********
 **   18 **HESSE 
 **********

 FCN=   5608.331     FROM HESSE     STATUS=OK           291 CALLS     2309 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2330        1.0507        .48507E-04   -1.5409    
   2  Prefactor     16.728        17.179        .48963E-03   -1.4890    
   3  Prefactor     36.277        19.860        .66540E-04   -1.4503    
   4  norm          .10000E-03    58.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2472        2.9623        .11894E-03   -1.5348    
   6  Prefactor     .10000E-03    11.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8715        1.5421        .82120E-04   -1.5434    
   8  Prefactor     32.723        23.294        .70049E-04   -1.4563    
   9  Prefactor     38.145        55.055        .64894E-04   -1.4472    
  10  norm          45.952        14.435        .59148E-04   -1.4351    
  11  Prefactor     .10000E-03    3.4436        .26662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    37.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     43.288        56.193        .60932E-04   -1.4391    
  15  Prefactor     14.609        9.1803        .10479E-03   -1.4943    
  16  Prefactor     9.5756        6.8042        .12950E-03   -1.5089    
  17  Prefactor     6.1678        3.6270        .10131E-03   -1.5211    
  18  norm          5.1910        8.7835        .88219E-03   -1.5252    
  19  Normalizat    .62614        .22492        .31552E-03   -1.0689    
  20  Prefactor     1.4143        .22725        .23247E-03   -.79968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06692e-09
Minuit parameter uncertainties:
  1  1.05071
  2  17.1837
  3  19.8639
  4  0.000239973
  5  2.96243
  6  2.74495e-06
  7  1.54213
  8  23.3005
  9  55.1283
  10  14.4365
  11  2.89745e-06
  12  4.67382e-05
  13  0.000197574
  14  56.2621
  15  9.18122
  16  6.80474
  17  3.62717
  18  8.78572
  19  0.225246
  20  0.227409
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  2.897e-06  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:  1.414e+00  2.274e-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:  6.261e-01  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/219412/likelihoodResults_428803201_429062401_4FGL_J0924.0+2816_daily_bin731.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) = 5608.33257437
delta logL = -0.00138433407756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5608.33119108
delta logL = -1.0436424418e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5402       1.0000          .0000       10.000    
     3 'Normalizat'    .62585       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4147       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5607.697     FROM MIGRAD    STATUS=CONVERGED    180 CALLS      340 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12216E-01    .25157E-01    .17641E-02   -.49292E-02
   2  Index         6.1876        .93895        .13574        .11350E-03
   3  Normalizat    .54453        .22743        .31552E-02   -.62907E-04
   4  Prefactor     1.4699        .23335        .23247E-03    .63574E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0122159
  Index      = 6.18758
  Normalizat = 0.544528
  Prefactor  = 1.46995
 **********
 **   18 **HESSE 
 **********

 FCN=   5607.697     FROM HESSE     STATUS=OK            33 CALLS      373 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12216E-01    .91254E-01    .81335E-04   -1.5730    
   2  Index         6.1876        2.7839        .66262E-02    .23981    
   3  Normalizat    .54453        .22145        .12621E-03   -1.1039    
   4  Prefactor     1.4699        .23074        .92989E-05   -.78385    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.29352e-08
Minuit parameter uncertainties:
  1  0.0665019
  2  2.96453
  3  0.221809
  4  0.230903
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219412': 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) = 5607.69707999
delta logL = 0.634110043218

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.222e-02  6.650e-02  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  6.188e+00  2.965e+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:  1.470e+00  2.309e-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:  5.445e-01  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 141.005 28.276
Photon Index (Free Index): 6.19 +/- 2.96
Photon Flux (Free Index): 5.19e-08 +/- 5.50e-07
Energy Flux (Free Index): 6.40e-06 +/- 6.73e-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/219412/cmap_HighResolution_428803201_429062401_4FGL_J0924.0+2816_daily_bin731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', comment='SUCCESS', energy_flux2='6.40e-06', dlogl='6.34e-01', photon_flux2='5.19e-08', job_status='DONE', time_completed='2021-08-31 11:33:18.432718', photon_index_error2='2.96', photon_index2='6.19', ts='-0.00', fit_tolerance='1e-08', GAL='1.41', photon_index_error='0.00', photon_flux_upper_limit='7.87e-08', energy_flux_error2='6.73e-05', EG='0.63', time_epoch_completed='1630434798.43', return_code='0', job_id='219412', GAL2='1.47', EG2='0.54', return_code2='0', photon_flux_error2='5.50e-07', ts2='1.40', photon_index='2.51' WHERE bin_id='731' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:33:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 219412: <4FGL_J0924.0+2816_daily_bin731> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin731> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:20:46 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:20:47 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:20:47 2021
Terminated at Tue Aug 31 11:33:19 2021
Results reported at Tue Aug 31 11:33:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin731 141.005 28.2755 428803201 429062401 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 :                                   583.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            753 sec.

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

