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


Performing analysis on: 4FGL_J0942.3-0800_daily_bin1321
RA = 145.586, Dec = -8.0076
tmin = 581731201, tmax = 581990401
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='447705', job_status='RUN', time_executed='2021-08-31 23:12:49.447514', time_epoch_executed='1630476769.45' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1321'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447705

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447705/ft1_4FGL_J0942.3-0800_daily_bin1321.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447705/ft1_4FGL_J0942.3-0800_daily_bin1321.fits outfile=/scratch/kocevski/447705/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1321.fits ra=145.586 dec=-8.0076 rad=12.0 tmin=581731201.0 tmax=581990401.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 2.63
user 2.33
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.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/447705/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1321.fits evtable="EVENTS" outfile="/scratch/kocevski/447705/ft1_filtered_4FGL_J0942.3-0800_daily_bin1321.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.36
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447705/ft1_filtered_4FGL_J0942.3-0800_daily_bin1321.fits" evtable="EVENTS" scfile=/scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits sctable="SC_DATA" outfile=/scratch/kocevski/447705/ltcube_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.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/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits
.....................!
real 13.64
user 13.26
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447705/ft1_filtered_4FGL_J0942.3-0800_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits sctable="SC_DATA" expcube=/scratch/kocevski/447705/ltcube_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.fits outfile=/scratch/kocevski/447705/expmap_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.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/447705/ltcube_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.fits
.....................!
real 190.55
user 185.75
sys 3.85

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

Setting source of interest to:
4FGL J0942.3-0800 @ 145.586 -8.0076

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/447705/ft1_filtered_4FGL_J0942.3-0800_daily_bin1321.fits scfile=/scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits outfile=/scratch/kocevski/447705/cmap_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.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=145.586 yref=-8.0076 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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447705/ft1_filtered_4FGL_J0942.3-0800_daily_bin1321.fits scfile=/scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits outfile=/scratch/kocevski/447705/cmap_HighResolution_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.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=145.586 yref=-8.0076 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.57
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447705/ft1_filtered_4FGL_J0942.3-0800_daily_bin1321.fits evtable="EVENTS" scfile=/scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447705/Model_4FGL_J0942.3-0800_daily_bin1321.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/447705/ft1_filtered_4FGL_J0942.3-0800_daily_bin1321.fits....................!
real 92.12
user 88.25
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/447705/ft1_filtered_4FGL_J0942.3-0800_daily_bin1321.fits', '/scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits', expMap='/scratch/kocevski/447705/expmap_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.fits', expCube='/scratch/kocevski/447705/ltcube_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/447705/Model_4FGL_J0942.3-0800_daily_bin1321.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0942.3-0800'

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.319e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  2.008e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  1.442e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  9.432e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/447705/ft1_filtered_4FGL_J0942.3-0800_daily_bin1321.fits
Spacecraft file(s): /scratch/kocevski/447705/ft2_4FGL_J0942.3-0800_daily_bin1321.fits
Exposure map: /scratch/kocevski/447705/expmap_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.fits
Exposure cube: /scratch/kocevski/447705/ltcube_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/447705/Model_4FGL_J0942.3-0800_daily_bin1321.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) = 9559.1295592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13912E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.434       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.014       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.6801       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6726       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.0329       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.8741       1.0000         .10000E-03   10000.    
    12 'norm      '    4.5565       1.0000         .10000E-03   10000.    
    13 'norm      '    2.5616       1.0000         .10000E-03   10000.    
    14 'norm      '    2.3389       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.058       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15151E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .68286       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0502       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9559.058     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     1662 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.5882        .32880E-05** at limit **
   2  Prefactor     .10000E-03    8.2048       -.53504E-06** at limit **
   3  Prefactor     12.435        6.2629        .61582E-08    .37196E-04
   4  norm          .10000E-03    1.6460       -.21307E-08** at limit **
   5  Prefactor     19.020        13.200        .48511E-07    .17663E-04
   6  Prefactor     9.6770        18.999       -.45114E-06    .55041E-05
   7  Prefactor     .10000E-03    6.7968       -.38343E-06** at limit **
   8  Prefactor     2.6411        22.809       -.25524E-05    .23700E-05
   9  Prefactor     4.0341        11.842       -.12120E-05   -.10226E-04
  10  Prefactor     .10000E-03    2.6255       -.29681E-07** at limit **
  11  norm          4.8737        4.9323        .44605E-07    .35698E-04
  12  norm          4.5569        2.6068       -.11341E-08    .44871E-04
  13  norm          2.5616        .57757        .44730E-08    .20051E-03
  14  norm          2.3389        1.2120       -.69402E-08    .40106E-04
  15  norm          .10000E-03    1.9988       -.64601E-08** at limit **
  16  Prefactor     33.029        28.173       -.25892E-05   -.77006E-05
  17  Prefactor     .10000E-03    27.731        .12520E-05** at limit **
  18  Normalizat    .68284        .14993       -.99781E-07    .96087E-04
  19  Prefactor     1.0502        .10765        .43940E-06   -.26372E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4349
  norm       = 0.0001
  Prefactor  = 19.0196
  Prefactor  = 9.67701
  Prefactor  = 0.0001
  Prefactor  = 2.64106
  Prefactor  = 4.0341
  Prefactor  = 0.0001
  norm       = 4.87366
  norm       = 4.5569
  norm       = 2.56157
  norm       = 2.33891
  norm       = 0.0001
  Prefactor  = 33.0285
  Prefactor  = 0.0001
  Normalizat = 0.682841
  Prefactor  = 1.05024
 **********
 **   18 **HESSE 
 **********

 FCN=   9559.058     FROM HESSE     STATUS=OK           272 CALLS     1934 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.4656        .19766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.3046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.435        6.2416        .11360E-03   -1.5003    
   4  norm          .10000E-03    1.6646        .12247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.020        13.218        .91852E-04   -1.4835    
   6  Prefactor     9.6770        18.971        .12880E-03   -1.5086    
   7  Prefactor     .10000E-03    6.8995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.6411        22.883        .24928E-03   -1.5383    
   9  Prefactor     4.0341        11.866        .10040E-02   -1.5306    
  10  Prefactor     .10000E-03    2.6301        .15471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.8737        4.9245        .18220E-03   -1.5266    
  12  norm          4.5569        2.6044        .11563E-03   -1.5281    
  13  norm          2.5616        .57719        .33727E-04   -1.5388    
  14  norm          2.3389        1.2112        .75279E-04   -1.5402    
  15  norm          .10000E-03    2.0094        .13498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     33.029        28.378        .69694E-04   -1.4558    
  17  Prefactor     .10000E-03    28.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .68284        .17242        .30297E-03   -1.0457    
  19  Prefactor     1.0502        .12345        .18446E-03   -.91073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14643e-11
Minuit parameter uncertainties:
  1  8.66178e-06
  2  1.5074e-06
  3  6.24197
  4  8.34542e-07
  5  13.2204
  6  18.9832
  7  2.49517e-06
  8  15.5556
  9  11.8733
  10  1.07496e-06
  11  4.92488
  12  2.60447
  13  0.577191
  14  1.21126
  15  9.63617e-07
  16  28.3895
  17  0.000133268
  18  0.172554
  19  0.123488
Done.

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

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  4.557e+00  2.604e+00  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  2.008e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
241         beta:  1.442e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  9.432e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.050e+00  1.235e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  6.828e-01  1.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.67
Ra Dec: 145.586 -8.008
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 2.93e-08 +/- 1.67e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 9.49e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9558.83223982
delta logL = 0.225885414644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9558.82883987
delta logL = 0.229285367082

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8825       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6881       1.0000          .0000       5.0000    
     3 'Normalizat'    .69097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0469       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9558.829     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      232 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8822        88.182        .45510E-02    .85965E-04
   2  alpha         1.6880        2.5294        .41690       -.51842E-05
   3  Normalizat    .69100        .24636        .68083E-01    .40995E-04
   4  Prefactor     1.0469        .15210        .40096E-01   -.13689E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.88216
  alpha      = 1.68796
  Normalizat = 0.691004
  Prefactor  = 1.04687
 **********
 **   18 **HESSE 
 **********

 FCN=   9558.829     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .50E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8822        2.7806        .11965E-03   -1.5266    
   2  alpha         1.6880        .45582        .15803E-01   -.33082    
   3  Normalizat    .69100        .16409        .30128E-03   -1.0425    
   4  Prefactor     1.0469        .12253        .18470E-03   -.91183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04335e-14
Minuit parameter uncertainties:
  1  2.78063
  2  0.45869
  3  0.164204
  4  0.122565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447705': 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) = 9558.82883979
delta logL = 0.22928544257

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  4.882e+00  2.781e+00  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  1.688e+00  4.587e-01  0.000e+00  5.000e+00 ( 1.000e+00)
241         beta:  1.442e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
242           Eb:  9.432e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.047e+00  1.226e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  6.910e-01  1.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.13
Ra Dec: 145.586 -8.008
Photon Index (Free Index): 1.69 +/- 0.46
Photon Flux (Free Index): 2.29e-08 +/- 1.58e-08
Energy Flux (Free Index): 2.25e-05 +/- 1.69e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/447705/cmap_HighResolution_581731201_581990401_4FGL_J0942.3-0800_daily_bin1321.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.93e-08', energy_flux2='2.25e-05', photon_flux_error='1.67e-08', dlogl='2.29e-01', energy_flux='1.66e-05', photon_flux2='2.29e-08', job_status='DONE', time_completed='2021-08-31 23:22:58.000393', photon_index_error2='0.46', photon_index2='1.69', ts='6.67', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.69e-05', EG='0.68', time_epoch_completed='1630477378.0', return_code='0', job_id='447705', GAL2='1.05', EG2='0.69', return_code2='0', energy_flux_error='9.49e-06', photon_flux_error2='1.58e-08', ts2='7.13', photon_index='2.01' WHERE bin_id='1321' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 23:22:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 447705: <4FGL_J0942.3-0800_daily_bin1321> in cluster <slac> Done

Job <4FGL_J0942.3-0800_daily_bin1321> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 23:12:05 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 23:12:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 23:12:07 2021
Terminated at Tue Aug 31 23:22:58 2021
Results reported at Tue Aug 31 23:22:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1321 145.586 -8.0076 581731201 581990401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0942.3-0800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   599.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   653 sec.
    Turnaround time :                            653 sec.

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

