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


Performing analysis on: 4FGL_J0942.3-0800_daily_bin1350
RA = 145.586, Dec = -8.0076
tmin = 589248001, tmax = 589507201
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='447749', job_status='RUN', time_executed='2021-08-31 23:12:25.873915', time_epoch_executed='1630476745.87' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447749

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447749/ft1_4FGL_J0942.3-0800_daily_bin1350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447749/ft2_4FGL_J0942.3-0800_daily_bin1350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447749/ft1_4FGL_J0942.3-0800_daily_bin1350.fits outfile=/scratch/kocevski/447749/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1350.fits ra=145.586 dec=-8.0076 rad=12.0 tmin=589248001.0 tmax=589507201.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 5.22
user 2.93
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447749/ft1_filtered_4FGL_J0942.3-0800_daily_bin1350.fits" evtable="EVENTS" scfile=/scratch/kocevski/447749/ft2_4FGL_J0942.3-0800_daily_bin1350.fits sctable="SC_DATA" outfile=/scratch/kocevski/447749/ltcube_589248001_589507201_4FGL_J0942.3-0800_daily_bin1350.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/447749/ft2_4FGL_J0942.3-0800_daily_bin1350.fits
.....................!
real 12.77
user 12.41
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447749/ft1_filtered_4FGL_J0942.3-0800_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/447749/ft2_4FGL_J0942.3-0800_daily_bin1350.fits sctable="SC_DATA" expcube=/scratch/kocevski/447749/ltcube_589248001_589507201_4FGL_J0942.3-0800_daily_bin1350.fits outfile=/scratch/kocevski/447749/expmap_589248001_589507201_4FGL_J0942.3-0800_daily_bin1350.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/447749/ltcube_589248001_589507201_4FGL_J0942.3-0800_daily_bin1350.fits
.....................!
real 190.87
user 185.18
sys 5.27

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/447749/ft1_filtered_4FGL_J0942.3-0800_daily_bin1350.fits scfile=/scratch/kocevski/447749/ft2_4FGL_J0942.3-0800_daily_bin1350.fits outfile=/scratch/kocevski/447749/cmap_589248001_589507201_4FGL_J0942.3-0800_daily_bin1350.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447749/ft1_filtered_4FGL_J0942.3-0800_daily_bin1350.fits scfile=/scratch/kocevski/447749/ft2_4FGL_J0942.3-0800_daily_bin1350.fits outfile=/scratch/kocevski/447749/cmap_HighResolution_589248001_589507201_4FGL_J0942.3-0800_daily_bin1350.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.60
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447749/ft1_filtered_4FGL_J0942.3-0800_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/447749/ft2_4FGL_J0942.3-0800_daily_bin1350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447749/Model_4FGL_J0942.3-0800_daily_bin1350.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/447749/ft1_filtered_4FGL_J0942.3-0800_daily_bin1350.fits.....................!
real 42.30
user 40.59
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.487       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.5637       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.670       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.434       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    24.610       1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.7513       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    148.56       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4425       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .52621       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1672       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=   3144.927     FROM MIGRAD    STATUS=CONVERGED    377 CALLS     1856 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3845        .19578E-06** at limit **
   2  Prefactor     11.485        12.416        .37219E-06   -.32642E-04
   3  Prefactor     .10000E-03    8.5219        .14699E-05** at limit **
   4  norm          6.5630        6.6328        .21559E-06    .72854E-06
   5  Prefactor     .10000E-03    8.5683        .39170E-06** at limit **
   6  Prefactor     .10001E-03    126.91        .41366E-05** at limit **
   7  Prefactor     18.646        42.115        .19051E-05   -.28919E-04
   8  Prefactor     33.431        45.418        .10203E-05   -.11915E-04
   9  Prefactor     .10000E-03    75.552        .10002E-05** at limit **
  10  Prefactor     .10000E-03    9.7606        .11111E-05** at limit **
  11  norm          24.608        14.067        .34854E-06   -.74034E-04
  12  norm          .10000E-03    3.5682        .33084E-06** at limit **
  13  norm          3.7513        2.7156        .51701E-07   -.20392E-03
  14  norm          .10000E-03    1.4920       -.23295E-06** at limit **
  15  norm          .10000E-03    11.809        .95285E-06** at limit **
  16  Prefactor     149.09        193.40       -.43584E-04   -.18359E-03
  17  Prefactor     1.8364        1671.4       -.24464E-03    .43470E-04
  18  Normalizat    .52621        .32744       -.40552E-05   -.18805E-03
  19  Prefactor     1.1673        .20792       -.11618E-05   -.52090E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 11.4853
  Prefactor  = 0.0001
  norm       = 6.56301
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 18.6462
  Prefactor  = 33.4315
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.6079
  norm       = 0.0001
  norm       = 3.75133
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 149.086
  Prefactor  = 1.83636
  Normalizat = 0.526211
  Prefactor  = 1.16727
 **********
 **   18 **HESSE 
 **********

 FCN=   3144.927     FROM HESSE     STATUS=OK           266 CALLS     2122 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3876        .64441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.485        12.412        .11820E-03   -1.5030    
   3  Prefactor     .10000E-03    8.5888        .15988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.5630        6.6298        .14133E-03   -1.5196    
   5  Prefactor     .10000E-03    8.5722        .16034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    127.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.646        42.057        .92695E-04   -1.4844    
   8  Prefactor     33.431        45.413        .69301E-04   -1.4551    
   9  Prefactor     .10000E-03    75.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.8019        .17112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          24.608        14.049        .80747E-04   -1.4715    
  12  norm          .10000E-03    3.6011        .10344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7513        2.7067        .71626E-04   -1.5321    
  14  norm          .10000E-03    1.5064        .66874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    11.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     149.09        205.15        .16532E-03   -1.3260    
  17  Prefactor     1.8364        1931.1        .26178E-02   -1.5437    
  18  Normalizat    .52621        .36236        .39168E-03   -1.1122    
  19  Prefactor     1.1673        .23351        .18140E-03   -.87345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62703e-09
Minuit parameter uncertainties:
  1  4.95002e-06
  2  12.4149
  3  6.87636e-05
  4  6.63054
  5  4.37025e-05
  6  0.00231748
  7  42.1242
  8  45.4601
  9  2.75917e-06
  10  7.32915e-05
  11  14.0507
  12  2.87095e-05
  13  2.70675
  14  1.24396e-05
  15  0.000105622
  16  206.14
  17  123.321
  18  0.364
  19  0.233717
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.167e+00  2.337e-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:  5.262e-01  3.640e-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: 8.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/447749/likelihoodResults_589248001_589507201_4FGL_J0942.3-0800_daily_bin1350.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): 102
logL (Free Index) = 3144.92854748
delta logL = -0.00131285402949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3144.76103023
delta logL = 0.166204390453

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44998E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .46385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1956       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=   3144.761     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      281 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44969E-01    7.6266        .50127E-02    .20140E-02
   2  alpha         5.0000        3.0848        .46267    ** at limit **
   3  Normalizat    .46377        .18932        .93902E-01    .71558E-05
   4  Prefactor     1.1956        .85683E-01    .34737E-01   -.32773E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.044969
  alpha      = 5
  Normalizat = 0.463774
  Prefactor  = 1.19559
 **********
 **   18 **HESSE 
 **********

 FCN=   3144.761     FROM HESSE     STATUS=OK            33 CALLS      314 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44969E-01    .90932E-01    .23882E-03   -1.5666    
   2  alpha         5.0000        3.8325        .77920E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .46377        .36133        .41609E-03   -1.1412    
   4  Prefactor     1.1956        .23905        .17949E-03   -.86467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43755e-09
Minuit parameter uncertainties:
  1  0.0909322
  2  1.02737e-06
  3  0.363172
  4  0.239263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447749': 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) = 3144.76103011
delta logL = 0.166204518719

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  4.497e-02  9.093e-02  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  5.000e+00  1.027e-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:  1.196e+00  2.393e-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:  4.638e-01  3.632e-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/447749/cmap_HighResolution_589248001_589507201_4FGL_J0942.3-0800_daily_bin1350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-05', job_status='DONE', photon_flux_upper_limit='8.61e-08', time_completed='2021-08-31 23:19:45.757894', job_id='447749', GAL2='1.20', fit_tolerance='1e-08', EG2='0.46', EG='0.53', time_epoch_completed='1630477185.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.66e-01', ts2='0.36', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1350' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 23:19:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 447749: <4FGL_J0942.3-0800_daily_bin1350> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1350 145.586 -8.0076 589248001 589507201 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 :                                   429.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   455 sec.
    Turnaround time :                            457 sec.

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

