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


Performing analysis on: 4FGL_J0942.3-0800_daily_bin1493
RA = 145.586, Dec = -8.0076
tmin = 626313601, tmax = 626572801
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='447974', job_status='RUN', time_executed='2021-08-31 23:17:26.776155', time_epoch_executed='1630477046.78' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1493'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447974

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447974/ft1_4FGL_J0942.3-0800_daily_bin1493.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447974/ft1_4FGL_J0942.3-0800_daily_bin1493.fits outfile=/scratch/kocevski/447974/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1493.fits ra=145.586 dec=-8.0076 rad=12.0 tmin=626313601.0 tmax=626572801.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 4.62
user 4.20
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.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/447974/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1493.fits evtable="EVENTS" outfile="/scratch/kocevski/447974/ft1_filtered_4FGL_J0942.3-0800_daily_bin1493.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.91
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447974/ft1_filtered_4FGL_J0942.3-0800_daily_bin1493.fits" evtable="EVENTS" scfile=/scratch/kocevski/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.fits sctable="SC_DATA" outfile=/scratch/kocevski/447974/ltcube_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.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/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.fits
.....................!
real 12.44
user 11.58
sys 0.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447974/ft1_filtered_4FGL_J0942.3-0800_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.fits sctable="SC_DATA" expcube=/scratch/kocevski/447974/ltcube_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.fits outfile=/scratch/kocevski/447974/expmap_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.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/447974/ltcube_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.fits
.....................!
real 192.29
user 185.68
sys 4.55

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/447974/ft1_filtered_4FGL_J0942.3-0800_daily_bin1493.fits scfile=/scratch/kocevski/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.fits outfile=/scratch/kocevski/447974/cmap_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447974/ft1_filtered_4FGL_J0942.3-0800_daily_bin1493.fits scfile=/scratch/kocevski/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.fits outfile=/scratch/kocevski/447974/cmap_HighResolution_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447974/ft1_filtered_4FGL_J0942.3-0800_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447974/Model_4FGL_J0942.3-0800_daily_bin1493.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/447974/ft1_filtered_4FGL_J0942.3-0800_daily_bin1493.fits.....................!
real 60.60
user 59.30
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/447974/ft1_filtered_4FGL_J0942.3-0800_daily_bin1493.fits', '/scratch/kocevski/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.fits', expMap='/scratch/kocevski/447974/expmap_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.fits', expCube='/scratch/kocevski/447974/ltcube_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/447974/Model_4FGL_J0942.3-0800_daily_bin1493.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/447974/ft1_filtered_4FGL_J0942.3-0800_daily_bin1493.fits
Spacecraft file(s): /scratch/kocevski/447974/ft2_4FGL_J0942.3-0800_daily_bin1493.fits
Exposure map: /scratch/kocevski/447974/expmap_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.fits
Exposure cube: /scratch/kocevski/447974/ltcube_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/447974/Model_4FGL_J0942.3-0800_daily_bin1493.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) = 5652.435858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.394       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.9671       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.576       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.155       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    34.707       1.0000         .10000E-03   10000.    
    12 'norm      '    .10324E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .87330       1.0000         .10000E-03   10000.    
    14 'norm      '    1.2483       1.0000         .10000E-03   10000.    
    15 'norm      '    7.8058       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10633E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.343       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1851       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .78041       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=   5652.433     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1847 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1011        .20140E-06** at limit **
   2  Prefactor     17.396        13.049       -.18827E-06   -.22897E-04
   3  Prefactor     .10000E-03    1.9242        .91301E-07** at limit **
   4  norm          4.9682        6.2085        .21276E-05   -.25096E-03
   5  Prefactor     .10000E-03    12.453       -.39075E-06** at limit **
   6  Prefactor     .10000E-03    27.804       -.99565E-06** at limit **
   7  Prefactor     10.578        14.958       -.13326E-05   -.10883E-02
   8  Prefactor     24.183        39.945        .38227E-04    .55326E-04
   9  Prefactor     .10000E-03    15.857        .26903E-05** at limit **
  10  Prefactor     .10000E-03    16.155       -.29175E-05** at limit **
  11  norm          34.708        11.313       -.88414E-06    .18908E-04
  12  norm          .10001E-03    3.3618       -.15796E-05** at limit **
  13  norm          .87368        .62754        .18921E-06   -.37192E-03
  14  norm          1.2486        1.5309       -.10748E-06   -.11685E-03
  15  norm          7.8065        10.001        .20099E-06   -.50702E-04
  16  Prefactor     .10000E-03    44.285        .29153E-05** at limit **
  17  Prefactor     26.335        37.316       -.89567E-05   -.22503E-04
  18  Normalizat    1.1845        .21292       -.40442E-05    .30000E-03
  19  Prefactor     .78077        .14104        .48570E-06    .21999E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 17.3959
  Prefactor  = 0.0001
  norm       = 4.96816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5775
  Prefactor  = 24.1827
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 34.7082
  norm       = 0.000100006
  norm       = 0.873684
  norm       = 1.24855
  norm       = 7.8065
  Prefactor  = 0.000100001
  Prefactor  = 26.3353
  Normalizat = 1.18451
  Prefactor  = 0.780768
 **********
 **   18 **HESSE 
 **********

 FCN=   5652.433     FROM HESSE     STATUS=OK           272 CALLS     2119 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.1386        .10639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.396        13.050        .96033E-04   -1.4874    
   3  Prefactor     .10000E-03    1.9263        .10185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.9682        6.1872        .18045E-03   -1.5262    
   5  Prefactor     .10000E-03    12.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    27.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.578        15.212        .61601E-03   -1.5057    
   8  Prefactor     24.183        39.559        .81503E-04   -1.4724    
   9  Prefactor     .10000E-03    15.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          34.708        11.322        .68022E-04   -1.4529    
  12  norm          .10001E-03    6.7275        .26487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .87368        .60933        .47334E-03   -1.5521    
  14  norm          1.2486        1.4986        .99435E-04   -1.5484    
  15  norm          7.8065        9.9961        .14352E-03   -1.5149    
  16  Prefactor     .10000E-03    44.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.335        37.630        .78051E-04   -1.4681    
  18  Normalizat    1.1845        .25288        .25968E-03   -.87083    
  19  Prefactor     .78077        .16727        .22055E-03   -1.0044    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57828e-09
Minuit parameter uncertainties:
  1  1.97678e-06
  2  13.0518
  3  2.19197e-06
  4  6.18796
  5  2.56948e-05
  6  1.50739e-05
  7  15.2173
  8  39.6022
  9  2.21139e-06
  10  4.59363e-05
  11  11.3232
  12  0.000390476
  13  0.609335
  14  1.49866
  15  9.99826
  16  0.000416265
  17  37.6639
  18  0.253141
  19  0.167382
Done.

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

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.000e-04  3.905e-04  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:  7.808e-01  1.674e-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:  1.185e+00  2.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 145.586 -8.008
Photon Flux Upper Limit: 6.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.92e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/447974/likelihoodResults_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.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): 0
logL (Free Index) = 5652.43409768
delta logL = -0.00070708622934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5652.43338866
delta logL = 1.94001131604e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11895E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1075       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1846       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78073       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=   5652.258     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      256 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49855        68.737        .90712E-02   -.11499E-02
   2  alpha         3.4033        2.7365        .41811        .20676E-04
   3  Normalizat    1.1554        .12887        .59349E-01   -.70835E-03
   4  Prefactor     .78960        .68659E-01    .43466E-01   -.80310E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.498547
  alpha      = 3.4033
  Normalizat = 1.15542
  Prefactor  = 0.789596
 **********
 **   18 **HESSE 
 **********

 FCN=   5652.258     FROM HESSE     STATUS=OK            29 CALLS      285 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49855        3.3128        .93195E-04   -1.5849    
   2  alpha         3.4033        3.8217        .22810E-01    .36968    
   3  Normalizat    1.1554        .23840        .26249E-03   -.87992    
   4  Prefactor     .78960        .16649        .21940E-03   -1.0011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.62594e-10
Minuit parameter uncertainties:
  1  2.57023
  2  2.65629
  3  0.23862
  4  0.1666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447974': 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) = 5652.25835638
delta logL = 0.175034217301

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  4.985e-01  2.570e+00  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  3.403e+00  2.656e+00  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:  7.896e-01  1.666e-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:  1.155e+00  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 145.586 -8.008

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/447974/cmap_HighResolution_626313601_626572801_4FGL_J0942.3-0800_daily_bin1493.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.92e-05', job_status='DONE', photon_flux_upper_limit='6.93e-08', time_completed='2021-08-31 23:28:16.268529', job_id='447974', GAL2='0.79', fit_tolerance='1e-08', EG2='1.16', EG='1.18', time_epoch_completed='1630477696.27', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.75e-01', ts2='0.36', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1493' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 23:28:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 447974: <4FGL_J0942.3-0800_daily_bin1493> in cluster <slac> Done

Job <4FGL_J0942.3-0800_daily_bin1493> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 23:12:26 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 23:12:28 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:28 2021
Terminated at Tue Aug 31 23:28:17 2021
Results reported at Tue Aug 31 23:28:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1493 145.586 -8.0076 626313601 626572801 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 :                                   534.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            951 sec.

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

