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


Performing analysis on: 4FGL_J0942.3-0800_daily_bin1219
RA = 145.586, Dec = -8.0076
tmin = 555292801, tmax = 555552001
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='447560', job_status='RUN', time_executed='2021-08-31 23:14:22.371409', time_epoch_executed='1630476862.37' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447560

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447560/ft1_4FGL_J0942.3-0800_daily_bin1219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447560/ft1_4FGL_J0942.3-0800_daily_bin1219.fits outfile=/scratch/kocevski/447560/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1219.fits ra=145.586 dec=-8.0076 rad=12.0 tmin=555292801.0 tmax=555552001.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 6.35
user 3.37
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.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/447560/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1219.fits evtable="EVENTS" outfile="/scratch/kocevski/447560/ft1_filtered_4FGL_J0942.3-0800_daily_bin1219.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 2.66
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447560/ft1_filtered_4FGL_J0942.3-0800_daily_bin1219.fits" evtable="EVENTS" scfile=/scratch/kocevski/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.fits sctable="SC_DATA" outfile=/scratch/kocevski/447560/ltcube_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.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/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.fits
.....................!
real 13.43
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447560/ft1_filtered_4FGL_J0942.3-0800_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.fits sctable="SC_DATA" expcube=/scratch/kocevski/447560/ltcube_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.fits outfile=/scratch/kocevski/447560/expmap_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.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/447560/ltcube_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.fits
.....................!
real 199.17
user 185.76
sys 4.47

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/447560/ft1_filtered_4FGL_J0942.3-0800_daily_bin1219.fits scfile=/scratch/kocevski/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.fits outfile=/scratch/kocevski/447560/cmap_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.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.96
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447560/ft1_filtered_4FGL_J0942.3-0800_daily_bin1219.fits scfile=/scratch/kocevski/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.fits outfile=/scratch/kocevski/447560/cmap_HighResolution_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447560/ft1_filtered_4FGL_J0942.3-0800_daily_bin1219.fits evtable="EVENTS" scfile=/scratch/kocevski/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447560/Model_4FGL_J0942.3-0800_daily_bin1219.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/447560/ft1_filtered_4FGL_J0942.3-0800_daily_bin1219.fits.........!
real 15.09
user 13.09
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/447560/ft1_filtered_4FGL_J0942.3-0800_daily_bin1219.fits', '/scratch/kocevski/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.fits', expMap='/scratch/kocevski/447560/expmap_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.fits', expCube='/scratch/kocevski/447560/ltcube_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/447560/Model_4FGL_J0942.3-0800_daily_bin1219.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/447560/ft1_filtered_4FGL_J0942.3-0800_daily_bin1219.fits
Spacecraft file(s): /scratch/kocevski/447560/ft2_4FGL_J0942.3-0800_daily_bin1219.fits
Exposure map: /scratch/kocevski/447560/expmap_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.fits
Exposure cube: /scratch/kocevski/447560/ltcube_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/447560/Model_4FGL_J0942.3-0800_daily_bin1219.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 129.998412737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 125.768133069

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3764       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1638       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.5189       1.0000         .10000E-03   10000.    
     4 'norm      '    .20435E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8542       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8143       1.0000         .10000E-03   10000.    
     7 'Prefactor '    502.46       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8469       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0954       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0130       1.0000         .10000E-03   10000.    
    11 'norm      '    2.7574       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3186       1.0000         .10000E-03   10000.    
    13 'norm      '    .10365E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2577       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1469       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.4361       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .56722       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .21827       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .54898       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   125.7629     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      223 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3764        1.0240         .0000         .0000    
   2  Prefactor     2.1638        1.0296         .0000         .0000    
   3  Prefactor     1.5189        1.0682         .0000         .0000    
   4  norm          .10000E-03    .20815       -.47241E-05** at limit **
   5  Prefactor     1.8542        1.0420         .0000         .0000    
   6  Prefactor     .10047E-03    .52527E-01   -.32532E-04** at limit **
   7  Prefactor     502.14        .99970       -.10953E-06    .44239E-02
   8  Prefactor     5.8469        1.0037         .0000         .0000    
   9  Prefactor     3.0954        1.0137         .0000         .0000    
  10  Prefactor     3.0130        1.0145         .0000         .0000    
  11  norm          2.7574        1.0175         .0000         .0000    
  12  norm          1.3186        1.1004         .0000         .0000    
  13  norm          .10000E-03    .20571        .82812E-06** at limit **
  14  norm          1.2577        1.1158         .0000         .0000    
  15  norm          4.1469        1.0075         .0000         .0000    
  16  Prefactor     .10000E-03    .20274       -.14967E-05** at limit **
  17  Prefactor     .10000E-03    .33305        .36657E-05** at limit **
  18  Normalizat    .21862        .49549       -.36196E-04    .12212E-06
  19  Prefactor     .54812        .89377        .10954E-04    .59270E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.37642
  Prefactor  = 2.16378
  Prefactor  = 1.51891
  norm       = 0.0001
  Prefactor  = 1.85423
  Prefactor  = 0.000100474
  Prefactor  = 502.141
  Prefactor  = 5.84694
  Prefactor  = 3.09544
  Prefactor  = 3.01296
  norm       = 2.75741
  norm       = 1.31858
  norm       = 0.0001
  norm       = 1.25767
  norm       = 4.14694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.218624
  Prefactor  = 0.548117
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   125.7629     FROM HESSE     STATUS=FAILED         9 CALLS      232 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          563.11        560.62         .0000       -1.5400    
   2  Prefactor     2.1638        1.0296         .0000       -1.5414    
   3  Prefactor     1.5189        1.0682         .0000       -1.5461    
   4  norm          .10000E-03    .20815       -.47241E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8542        1.0420         .0000       -1.5436    
   6  Prefactor     .10047E-03    .52527E-01   -.32532E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     502.14        .99970       -.10953E-06   -1.1188    
   8  Prefactor     5.8469        1.0037         .0000       -1.5224    
   9  Prefactor     3.0954        1.0137         .0000       -1.5356    
  10  Prefactor     3.0130        1.0145         .0000       -1.5361    
  11  norm          2.7574        1.0175         .0000       -1.5376    
  12  norm          1.3186        1.1004         .0000       -1.5478    
  13  norm          .10000E-03    .20571        .82812E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2577        1.1158         .0000       -1.5484    
  15  norm          4.1469        1.0075         .0000       -1.5301    
  16  Prefactor     .10000E-03    .20274       -.14967E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    .33305        .36657E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .21862        .49549       -.36196E-04   -1.2808    
  19  Prefactor     .54812        .89377        .10954E-04   -1.0982    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.56141e-12
Minuit parameter uncertainties:
  1  1.02405
  2  1.02956
  3  1.06823
  4  1.52453e-07
  5  1.04198
  6  0.000315729
  7  0.999699
  8  1.0037
  9  1.01368
  10  1.01448
  11  1.01746
  12  1.10038
  13  2.95341e-07
  14  1.11581
  15  1.00746
  16  1.62209e-08
  17  9.38249e-07
  18  0.506007
  19  0.918499
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 125.762876704

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.319e+00  1.100e+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:  5.481e-01  9.185e-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:  2.186e-01  5.060e-01  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -1.42108547152e-14

TS (Fixed Index): 0.00
Ra Dec: 145.586 -8.008
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -5.66e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/447560/likelihoodResults_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.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): 101
logL (Free Index) = 125.762995743
delta logL = -0.000119039651949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 125.762995743
delta logL = -0.000119039651949

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    2.0082       1.0000          .0000       5.0000    
 **********
 **   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   125.7630     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       2.0082        1.0041        .42205         .0000    
                               ERR DEF=  .500    
Final values: 
  alpha      = 2.00825
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   125.7630     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       .87423        1.1772        .42205       -.19799    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.03452
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447560': 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): 101
logL (Free Index) = 125.762995743
delta logL = -0.000119039651949

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.319e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
240        alpha:  2.008e+00  1.035e+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:  5.437e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  2.232e-01  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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/447560/cmap_HighResolution_555292801_555552001_4FGL_J0942.3-0800_daily_bin1219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-5.66e+02', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-08-31 23:20:30.201311', job_id='447560', GAL2='0.54', fit_tolerance='1e-08', EG2='0.22', EG='0.22', time_epoch_completed='1630477230.2', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.55', dlogl='-1.19e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1219' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 23:20:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 447560: <4FGL_J0942.3-0800_daily_bin1219> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1219 145.586 -8.0076 555292801 555552001 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 :                                   312.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             424.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   518 sec.
    Turnaround time :                            520 sec.

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

