/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 42 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 = 7534
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0924.0+2816_daily_bin134
RA = 141.005, Dec = 28.2755
tmin = 274060801, tmax = 274320001
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='215911', job_status='RUN', time_executed='2021-08-31 11:12:21.963235', time_epoch_executed='1630433541.96' WHERE source_name='4FGL J0924.0+2816' and cadence='daily' and bin_id='134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215911

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215911/ft1_4FGL_J0924.0+2816_daily_bin134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215911/ft2_4FGL_J0924.0+2816_daily_bin134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215911/ft1_4FGL_J0924.0+2816_daily_bin134.fits outfile=/scratch/kocevski/215911/ft1_filteredMKT_4FGL_J0924.0+2816_daily_bin134.fits ra=141.005 dec=28.2755 rad=12.0 tmin=274060801.0 tmax=274320001.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.85
user 3.42
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215911/ft1_filtered_4FGL_J0924.0+2816_daily_bin134.fits" evtable="EVENTS" scfile=/scratch/kocevski/215911/ft2_4FGL_J0924.0+2816_daily_bin134.fits sctable="SC_DATA" outfile=/scratch/kocevski/215911/ltcube_274060801_274320001_4FGL_J0924.0+2816_daily_bin134.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/215911/ft2_4FGL_J0924.0+2816_daily_bin134.fits
.....................!
real 15.28
user 14.79
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215911/ft1_filtered_4FGL_J0924.0+2816_daily_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/215911/ft2_4FGL_J0924.0+2816_daily_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/215911/ltcube_274060801_274320001_4FGL_J0924.0+2816_daily_bin134.fits outfile=/scratch/kocevski/215911/expmap_274060801_274320001_4FGL_J0924.0+2816_daily_bin134.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/215911/ltcube_274060801_274320001_4FGL_J0924.0+2816_daily_bin134.fits
.....................!
real 193.03
user 186.73
sys 5.31

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215911/ft1_filtered_4FGL_J0924.0+2816_daily_bin134.fits scfile=/scratch/kocevski/215911/ft2_4FGL_J0924.0+2816_daily_bin134.fits outfile=/scratch/kocevski/215911/cmap_HighResolution_274060801_274320001_4FGL_J0924.0+2816_daily_bin134.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 1.11
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50538       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9825       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.929       1.0000         .10000E-03   10000.    
     4 'norm      '    46.136       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10494E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.4073       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.5093       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4541       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .16375E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    73.303       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.7005       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1117       1.0000         .10000E-03   10000.    
    18 'norm      '    11.629       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3255       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94721       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=   6168.822     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2083 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50552        .82826        .23442E-06    .38516E-03
   2  Prefactor     6.9805        13.086        .80273E-07   -.21933E-04
   3  Prefactor     11.927        13.609        .19077E-06   -.18367E-04
   4  norm          46.127        35.611       -.13756E-05   -.34835E-04
   5  Prefactor     .10000E-03    2.1659        .11323E-06** at limit **
   6  Prefactor     .10000E-03    17.483        .22623E-05** at limit **
   7  norm          1.4071        1.9190        .17960E-06   -.15384E-04
   8  Prefactor     4.5550        41.048       -.14466E-05   -.88040E-05
   9  Prefactor     .10000E-03    20.354       -.17354E-05** at limit **
  10  norm          3.4344        13.529        .42164E-05   -.29541E-04
  11  Prefactor     .10000E-03    3.7451        .54658E-07** at limit **
  12  Prefactor     .10000E-03    42.868        .27359E-05** at limit **
  13  Prefactor     .10000E-03    22.620        .19443E-06** at limit **
  14  Prefactor     73.277        59.025       -.42789E-05   -.52269E-04
  15  Prefactor     4.6991        6.7356        .54069E-06   -.14405E-04
  16  Prefactor     .10000E-03    5.5194        .32836E-07** at limit **
  17  Prefactor     2.1102        3.0861        .36012E-06   -.38159E-04
  18  norm          11.628        10.528        .84621E-07   -.11305E-04
  19  Normalizat    1.3255        .18981       -.12608E-05   -.61865E-04
  20  Prefactor     .94738        .18099        .46945E-06   -.13797E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.505517
  Prefactor  = 6.98045
  Prefactor  = 11.9274
  norm       = 46.1272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.40713
  Prefactor  = 4.55501
  Prefactor  = 0.0001
  norm       = 3.43436
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 73.2773
  Prefactor  = 4.69914
  Prefactor  = 0.0001
  Prefactor  = 2.1102
  norm       = 11.6282
  Normalizat = 1.32547
  Prefactor  = 0.947378
 **********
 **   18 **HESSE 
 **********

 FCN=   6168.822     FROM HESSE     STATUS=OK           295 CALLS     2378 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50552        .76037        .84431E-03   -1.5566    
   2  Prefactor     6.9805        12.877        .15182E-03   -1.5179    
   3  Prefactor     11.927        13.628        .11598E-03   -1.5017    
   4  norm          46.127        35.627        .59030E-04   -1.4349    
   5  Prefactor     .10000E-03    9.5218        .22080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    17.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4071        1.8929        .12216E-03   -1.5471    
   8  Prefactor     4.5550        41.173        .18960E-03   -1.5281    
   9  Prefactor     .10000E-03    20.362        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4344        13.592        .21761E-03   -1.5337    
  11  Prefactor     .10000E-03    3.8892        .29624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    44.653        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     73.277        59.336        .46893E-04   -1.3994    
  15  Prefactor     4.6991        6.7102        .18561E-03   -1.5274    
  16  Prefactor     .10000E-03    5.5987        .18019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.1102        3.0729        .15515E-03   -1.5417    
  18  norm          11.628        10.517        .11747E-03   -1.5026    
  19  Normalizat    1.3255        .22021        .23377E-03   -.82809    
  20  Prefactor     .94738        .21124        .27136E-03   -.94505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2854e-10
Minuit parameter uncertainties:
  1  0.760382
  2  12.8818
  3  13.6319
  4  35.6431
  5  6.98109e-05
  6  2.94052e-06
  7  1.89299
  8  27.4142
  9  2.98028e-05
  10  13.6046
  11  5.96692e-06
  12  7.7803e-06
  13  1.27299e-05
  14  59.3841
  15  6.71126
  16  3.19806e-06
  17  3.07312
  18  10.5183
  19  0.220366
  20  0.211423
Done.

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

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  1.000e-04  5.967e-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:  9.474e-01  2.114e-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.325e+00  2.204e-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.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/215911/likelihoodResults_274060801_274320001_4FGL_J0924.0+2816_daily_bin134.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) = 6168.82362624
delta logL = -0.00122717180784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6168.82239917
delta logL = -1.04278115032e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5368       1.0000          .0000       10.000    
     3 'Normalizat'    1.3254       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94753       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=   6168.821     FROM MIGRAD    STATUS=CONVERGED    161 CALLS      317 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43190E-01    3.7224        .22784E-01   -.11216E-02
   2  Index         3.7090        2.5491        .50000        .60823E-05
   3  Normalizat    1.3224        .11608E-01    .23377E-03    .10407E-04
   4  Prefactor     .94903        .11677E-01    .27136E-03    .17471E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0431904
  Index      = 3.709
  Normalizat = 1.3224
  Prefactor  = 0.949031
 **********
 **   18 **HESSE 
 **********

 FCN=   6168.821     FROM HESSE     STATUS=OK            31 CALLS      348 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43190E-01    4.4526        .11803E-02   -1.5749    
   2  Index         3.7090        6.8540        .17003E-01   -.26116    
   3  Normalizat    1.3224        .21226        .93509E-05   -.82900    
   4  Prefactor     .94903        .20891        .10854E-04   -.94448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97048e-11
Minuit parameter uncertainties:
  1  0.876109
  2  6.22519
  3  0.212404
  4  0.209089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215911': 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) = 6168.82106671
delta logL = 0.00133235689918

Extracting fit parameters...

4FGL J0924.0+2816
   Spectrum: PowerLaw
276    Prefactor:  4.319e-02  8.761e-01  1.000e-04  1.000e+04 ( 1.000e-12)
277        Index:  3.709e+00  6.225e+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:  9.490e-01  2.091e-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.322e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 141.005 28.276

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/215911/cmap_HighResolution_274060801_274320001_4FGL_J0924.0+2816_daily_bin134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='7.94e-08', time_completed='2021-08-31 11:22:34.211520', job_id='215911', GAL2='0.95', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1630434154.21', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.33e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='134' AND source_name='4FGL J0924.0+2816' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:22:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 215911: <4FGL_J0924.0+2816_daily_bin134> in cluster <slac> Done

Job <4FGL_J0924.0+2816_daily_bin134> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:10:50 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:10:51 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:10:51 2021
Terminated at Tue Aug 31 11:22:35 2021
Results reported at Tue Aug 31 11:22:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0924.0+2816_daily_bin134 141.005 28.2755 274060801 274320001 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 :                                   595.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            705 sec.

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

