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


Performing analysis on: 4FGL_J0942.3-0800_daily_bin1442
RA = 145.586, Dec = -8.0076
tmin = 613094401, tmax = 613353601
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='447894', job_status='RUN', time_executed='2021-08-31 23:14:55.201194', time_epoch_executed='1630476895.2' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1442'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447894

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447894/ft1_4FGL_J0942.3-0800_daily_bin1442.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447894/ft2_4FGL_J0942.3-0800_daily_bin1442.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447894/ft1_4FGL_J0942.3-0800_daily_bin1442.fits outfile=/scratch/kocevski/447894/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1442.fits ra=145.586 dec=-8.0076 rad=12.0 tmin=613094401.0 tmax=613353601.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.93
user 2.71
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447894/ft2_4FGL_J0942.3-0800_daily_bin1442.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/447894/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1442.fits evtable="EVENTS" outfile="/scratch/kocevski/447894/ft1_filtered_4FGL_J0942.3-0800_daily_bin1442.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.62
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447894/ft1_filtered_4FGL_J0942.3-0800_daily_bin1442.fits" evtable="EVENTS" scfile=/scratch/kocevski/447894/ft2_4FGL_J0942.3-0800_daily_bin1442.fits sctable="SC_DATA" outfile=/scratch/kocevski/447894/ltcube_613094401_613353601_4FGL_J0942.3-0800_daily_bin1442.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/447894/ft2_4FGL_J0942.3-0800_daily_bin1442.fits
.....................!
real 15.87
user 15.26
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447894/ft1_filtered_4FGL_J0942.3-0800_daily_bin1442.fits evtable="EVENTS" scfile=/scratch/kocevski/447894/ft2_4FGL_J0942.3-0800_daily_bin1442.fits sctable="SC_DATA" expcube=/scratch/kocevski/447894/ltcube_613094401_613353601_4FGL_J0942.3-0800_daily_bin1442.fits outfile=/scratch/kocevski/447894/expmap_613094401_613353601_4FGL_J0942.3-0800_daily_bin1442.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/447894/ltcube_613094401_613353601_4FGL_J0942.3-0800_daily_bin1442.fits
.....................!
real 194.50
user 185.86
sys 5.07

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/447894/ft1_filtered_4FGL_J0942.3-0800_daily_bin1442.fits scfile=/scratch/kocevski/447894/ft2_4FGL_J0942.3-0800_daily_bin1442.fits outfile=/scratch/kocevski/447894/cmap_613094401_613353601_4FGL_J0942.3-0800_daily_bin1442.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 1.30
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447894/ft1_filtered_4FGL_J0942.3-0800_daily_bin1442.fits scfile=/scratch/kocevski/447894/ft2_4FGL_J0942.3-0800_daily_bin1442.fits outfile=/scratch/kocevski/447894/cmap_HighResolution_613094401_613353601_4FGL_J0942.3-0800_daily_bin1442.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.81
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447894/ft1_filtered_4FGL_J0942.3-0800_daily_bin1442.fits evtable="EVENTS" scfile=/scratch/kocevski/447894/ft2_4FGL_J0942.3-0800_daily_bin1442.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447894/Model_4FGL_J0942.3-0800_daily_bin1442.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/447894/ft1_filtered_4FGL_J0942.3-0800_daily_bin1442.fits.....................!
real 72.84
user 68.17
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7549       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.0205       1.0000         .10000E-03   10000.    
     4 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .38251E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0461       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5061       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.227       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .13303       1.0000         .10000E-03   10000.    
    14 'norm      '    1.1843       1.0000         .10000E-03   10000.    
    15 'norm      '    .85510       1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.529       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1784       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .67945       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=   6854.154     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     1702 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7548        2.9110        .20260E-06    .50204E-04
   2  Prefactor     .10000E-03    3.0269       -.22300E-07** at limit **
   3  Prefactor     9.0217        5.8549        .11626E-07   -.22742E-03
   4  norm          .10000E-03    4.7629        .10155E-06** at limit **
   5  Prefactor     .10186E-03    19.846        .52494E-05** at limit **
   6  Prefactor     2.1155        114.90       -.12637E-05   -.10058E-03
   7  Prefactor     7.5047        12.338        .47160E-06   -.23608E-03
   8  Prefactor     .10000E-03    13.216       -.18762E-06** at limit **
   9  Prefactor     .10000E-03    8.0946        .41390E-07** at limit **
  10  Prefactor     11.225        11.809        .10624E-05    .19584E-03
  11  norm          .10000E-03    1.5859       -.21004E-07** at limit **
  12  norm          .10000E-03    1.3115        .50659E-07** at limit **
  13  norm          .13310        .42497        .56436E-06   -.43918E-03
  14  norm          1.1841        1.4008        .19722E-06    .28066E-03
  15  norm          .84769        4.5244       -.85983E-06    .28371E-03
  16  Prefactor     26.520        31.269        .10291E-06   -.15209E-03
  17  Prefactor     .10000E-03    11.166       -.16915E-06** at limit **
  18  Normalizat    1.1785        .18808       -.47799E-05   -.11714E-02
  19  Prefactor     .67944        .12464        .23260E-05   -.11402E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.75484
  Prefactor  = 0.0001
  Prefactor  = 9.02168
  norm       = 0.0001
  Prefactor  = 0.000101863
  Prefactor  = 2.1155
  Prefactor  = 7.50471
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2247
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.133099
  norm       = 1.18407
  norm       = 0.847694
  Prefactor  = 26.52
  Prefactor  = 0.0001
  Normalizat = 1.17848
  Prefactor  = 0.679441
 **********
 **   18 **HESSE 
 **********

 FCN=   6854.154     FROM HESSE     STATUS=OK           278 CALLS     1980 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7548        2.9028        .14066E-03   -1.5376    
   2  Prefactor     .10000E-03    3.0286        .14066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.0217        5.8537        .13345E-03   -1.5107    
   4  norm          .10000E-03    4.8986        .35282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10186E-03    14.106        .81379E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.1155        120.78        .28904E-03   -1.5417    
   7  Prefactor     7.5047        12.254        .14638E-03   -1.5160    
   8  Prefactor     .10000E-03    13.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.0993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.225        11.899        .11956E-03   -1.5038    
  11  norm          .10000E-03    1.5905        .10180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.3294        .92576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .13310        .51890        .84659E-03   -1.5635    
  14  norm          1.1841        1.3748        .10340E-03   -1.5490    
  15  norm          .84769        14.033        .31907E-02   -1.5524    
  16  Prefactor     26.520        31.375        .77778E-04   -1.4678    
  17  Prefactor     .10000E-03    11.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1785        .20175        .23064E-03   -.87270    
  19  Prefactor     .67944        .13437        .20798E-03   -1.0434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40499e-08
Minuit parameter uncertainties:
  1  2.90297
  2  4.21761e-07
  3  5.85404
  4  1.18747e-05
  5  0.0102553
  6  32.0368
  7  12.2577
  8  1.50076e-05
  9  8.44577e-06
  10  11.9013
  11  1.5167e-06
  12  3.64662e-06
  13  0.518915
  14  1.37488
  15  6.89948
  16  31.3943
  17  5.86735e-06
  18  0.201881
  19  0.134433
Done.

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

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.000e-04  3.647e-06  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:  6.794e-01  1.344e-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.178e+00  2.019e-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: 3.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.07e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/447894/likelihoodResults_613094401_613353601_4FGL_J0942.3-0800_daily_bin1442.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) = 6854.15724463
delta logL = -0.00356101621674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6854.1536837
delta logL = -8.95479388419e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0094       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1785       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67948       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6854.122     FROM MIGRAD    STATUS=CONVERGED    137 CALLS      280 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90383E-02    .27973E-01    .45390E-02   -.96836E-02
   2  alpha         5.0000        4.9861        .50000    ** at limit **
   3  Normalizat    1.1653        .19067        .23064E-03    .72458E-05
   4  Prefactor     .68517        .13311        .20798E-03    .16563E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00903826
  alpha      = 5
  Normalizat = 1.16527
  Prefactor  = 0.685168
 **********
 **   18 **HESSE 
 **********

 FCN=   6854.122     FROM HESSE     STATUS=OK            33 CALLS      313 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90383E-02    .38148E-01    .23741E-03   -1.5727    
   2  alpha         5.0000        4.9879        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1653        .19621        .92257E-05   -.87683    
   4  Prefactor     .68517        .13469        .83191E-05   -1.0411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39543e-11
Minuit parameter uncertainties:
  1  0.0369311
  2  5.36049e-06
  3  0.196334
  4  0.134756
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447894': 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) = 6854.12223065
delta logL = 0.0314529588577

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  9.038e-03  3.693e-02  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  5.000e+00  5.360e-06  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:  6.852e-01  1.348e-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.165e+00  1.963e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/447894/cmap_HighResolution_613094401_613353601_4FGL_J0942.3-0800_daily_bin1442.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.07e-05', job_status='DONE', photon_flux_upper_limit='3.65e-08', time_completed='2021-08-31 23:26:23.137156', job_id='447894', GAL2='0.69', fit_tolerance='1e-08', EG2='1.17', EG='1.18', time_epoch_completed='1630477583.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='3.15e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1442' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 23:26:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 447894: <4FGL_J0942.3-0800_daily_bin1442> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1442 145.586 -8.0076 613094401 613353601 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 :                                   574.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            844 sec.

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

