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


Performing analysis on: 4FGL_J0942.3-0800_daily_bin1031
RA = 145.586, Dec = -8.0076
tmin = 506563201, tmax = 506822401
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='447263', job_status='RUN', time_executed='2021-08-31 23:12:44.662860', time_epoch_executed='1630476764.66' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1031'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447263

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447263/ft1_4FGL_J0942.3-0800_daily_bin1031.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447263/ft2_4FGL_J0942.3-0800_daily_bin1031.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447263/ft1_4FGL_J0942.3-0800_daily_bin1031.fits outfile=/scratch/kocevski/447263/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1031.fits ra=145.586 dec=-8.0076 rad=12.0 tmin=506563201.0 tmax=506822401.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.52
user 3.13
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447263/ft1_filtered_4FGL_J0942.3-0800_daily_bin1031.fits" evtable="EVENTS" scfile=/scratch/kocevski/447263/ft2_4FGL_J0942.3-0800_daily_bin1031.fits sctable="SC_DATA" outfile=/scratch/kocevski/447263/ltcube_506563201_506822401_4FGL_J0942.3-0800_daily_bin1031.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/447263/ft2_4FGL_J0942.3-0800_daily_bin1031.fits
.....................!
real 12.16
user 11.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447263/ft1_filtered_4FGL_J0942.3-0800_daily_bin1031.fits evtable="EVENTS" scfile=/scratch/kocevski/447263/ft2_4FGL_J0942.3-0800_daily_bin1031.fits sctable="SC_DATA" expcube=/scratch/kocevski/447263/ltcube_506563201_506822401_4FGL_J0942.3-0800_daily_bin1031.fits outfile=/scratch/kocevski/447263/expmap_506563201_506822401_4FGL_J0942.3-0800_daily_bin1031.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/447263/ltcube_506563201_506822401_4FGL_J0942.3-0800_daily_bin1031.fits
.....................!
real 191.30
user 185.85
sys 4.25

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/447263/ft1_filtered_4FGL_J0942.3-0800_daily_bin1031.fits scfile=/scratch/kocevski/447263/ft2_4FGL_J0942.3-0800_daily_bin1031.fits outfile=/scratch/kocevski/447263/cmap_506563201_506822401_4FGL_J0942.3-0800_daily_bin1031.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.88
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447263/ft1_filtered_4FGL_J0942.3-0800_daily_bin1031.fits scfile=/scratch/kocevski/447263/ft2_4FGL_J0942.3-0800_daily_bin1031.fits outfile=/scratch/kocevski/447263/cmap_HighResolution_506563201_506822401_4FGL_J0942.3-0800_daily_bin1031.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 1.03
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447263/ft1_filtered_4FGL_J0942.3-0800_daily_bin1031.fits evtable="EVENTS" scfile=/scratch/kocevski/447263/ft2_4FGL_J0942.3-0800_daily_bin1031.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447263/Model_4FGL_J0942.3-0800_daily_bin1031.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/447263/ft1_filtered_4FGL_J0942.3-0800_daily_bin1031.fits.....................!
real 56.88
user 50.79
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3049       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    34.500       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13684E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    39.636       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.919       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .28385       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.5214       1.0000         .10000E-03   10000.    
    16 'Prefactor '    51.513       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .86576       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93767       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=   4682.302     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     1911 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3046        2.6878       -.30302E-07   -.91563E-04
   2  Prefactor     .10000E-03    6.3125        .64363E-08** at limit **
   3  Prefactor     .10000E-03    2.5009       -.46791E-07** at limit **
   4  norm          34.495        11.728        .66673E-06   -.13884E-03
   5  Prefactor     .10013E-03    116.04        .14112E-04** at limit **
   6  Prefactor     39.603        51.149       -.32060E-04   -.57320E-04
   7  Prefactor     24.932        21.187        .13507E-05    .80683E-04
   8  Prefactor     .10000E-03    29.730       -.34674E-05** at limit **
   9  Prefactor     .10000E-03    17.107        .44344E-06** at limit **
  10  Prefactor     .10000E-03    8.8213        .25459E-06** at limit **
  11  norm          .10000E-03    22.270        .29628E-05** at limit **
  12  norm          .10000E-03    1.3333        .64129E-07** at limit **
  13  norm          .28449        .69900       -.55621E-06   -.97617E-03
  14  norm          .10000E-03    .87531       -.11313E-06** at limit **
  15  norm          7.5238        10.756       -.19053E-06   -.78275E-04
  16  Prefactor     51.559        41.025        .29710E-04    .23041E-04
  17  Prefactor     .10000E-03    9.9743       -.22699E-06** at limit **
  18  Normalizat    .86510        .22830        .26077E-05   -.10106E-03
  19  Prefactor     .93799        .14923       -.13463E-05    .10918E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30464
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 34.4946
  Prefactor  = 0.000100129
  Prefactor  = 39.6026
  Prefactor  = 24.9322
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.28449
  norm       = 0.0001
  norm       = 7.52382
  Prefactor  = 51.5591
  Prefactor  = 0.0001
  Normalizat = 0.865103
  Prefactor  = 0.937993
 **********
 **   18 **HESSE 
 **********

 FCN=   4682.302     FROM HESSE     STATUS=OK           264 CALLS     2175 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3046        2.6785        .11806E-03   -1.5404    
   2  Prefactor     .10000E-03    6.3226        .16791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.5042        .10568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          34.495        11.719        .68226E-04   -1.4533    
   5  Prefactor     .10013E-03    120.78        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     39.603        51.451        .63667E-04   -1.4449    
   7  Prefactor     24.932        21.114        .80247E-04   -1.4709    
   8  Prefactor     .10000E-03    29.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.8404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    23.139        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.3360        .77157E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .28449        .78986        .79102E-03   -1.5601    
  14  norm          .10000E-03    .89412        .62499E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.5238        10.749        .14623E-03   -1.5159    
  16  Prefactor     51.559        40.986        .55878E-04   -1.4271    
  17  Prefactor     .10000E-03    9.9793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .86510        .27319        .29026E-03   -.97697    
  19  Prefactor     .93799        .17985        .19567E-03   -.94826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4801e-09
Minuit parameter uncertainties:
  1  2.67862
  2  9.25046e-07
  3  2.58688e-06
  4  11.7194
  5  0.00790944
  6  51.5089
  7  21.1201
  8  8.62204e-05
  9  2.93433e-06
  10  3.2363e-06
  11  4.2269e-05
  12  5.30506e-06
  13  0.789884
  14  1.16985e-06
  15  10.7518
  16  41.0081
  17  7.24112e-05
  18  0.273631
  19  0.179961
Done.

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

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.000e-04  5.305e-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:  9.380e-01  1.800e-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:  8.651e-01  2.736e-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: 4.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/447263/likelihoodResults_506563201_506822401_4FGL_J0942.3-0800_daily_bin1031.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) = 4682.30592276
delta logL = -0.00348474852308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4682.25251873
delta logL = 0.0499192805937

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18198E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .83924       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94924       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=   4682.253     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      344 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18258E-01    .70541E-01    .24340E-03    .81431E-03
   2  alpha         5.0000        4.9199        .50000    ** at limit **
   3  Normalizat    .83944        .26652        .29441E-03    .10658E-04
   4  Prefactor     .94910        .18145        .19467E-03    .62183E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0182576
  alpha      = 5
  Normalizat = 0.839437
  Prefactor  = 0.949103
 **********
 **   18 **HESSE 
 **********

 FCN=   4682.253     FROM HESSE     STATUS=OK            31 CALLS      375 TOTAL
                     EDM=   .94E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18258E-01    .65125E-01    .97359E-05   -1.5681    
   2  alpha         5.0000        4.9933        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .83944        .26750        .11776E-04   -.98622    
   4  Prefactor     .94910        .18185        .38934E-04   -.94446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.38001e-12
Minuit parameter uncertainties:
  1  0.0651251
  2  3.63143e-05
  3  0.26792
  4  0.181963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447263': 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) = 4682.25251749
delta logL = 0.0499205209153

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.826e-02  6.513e-02  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  5.000e+00  3.631e-05  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:  9.491e-01  1.820e-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:  8.394e-01  2.679e-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/447263/cmap_HighResolution_506563201_506822401_4FGL_J0942.3-0800_daily_bin1031.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.62e-05', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2021-08-31 23:21:22.906070', job_id='447263', GAL2='0.95', fit_tolerance='1e-08', EG2='0.84', EG='0.87', time_epoch_completed='1630477282.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.99e-02', ts2='0.11', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1031' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 23:21:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 447263: <4FGL_J0942.3-0800_daily_bin1031> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1031 145.586 -8.0076 506563201 506822401 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 :                                   495.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            600 sec.

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

