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


Performing analysis on: 4FGL_J0942.3-0800_daily_bin1530
RA = 145.586, Dec = -8.0076
tmin = 635904001, tmax = 636163201
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='448031', job_status='RUN', time_executed='2021-08-31 23:13:08.787430', time_epoch_executed='1630476788.79' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1530'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/448031

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/448031/ft1_4FGL_J0942.3-0800_daily_bin1530.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/448031/ft2_4FGL_J0942.3-0800_daily_bin1530.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/448031/ft1_4FGL_J0942.3-0800_daily_bin1530.fits outfile=/scratch/kocevski/448031/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1530.fits ra=145.586 dec=-8.0076 rad=12.0 tmin=635904001.0 tmax=636163201.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.66
user 3.92
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/448031/ft1_filtered_4FGL_J0942.3-0800_daily_bin1530.fits" evtable="EVENTS" scfile=/scratch/kocevski/448031/ft2_4FGL_J0942.3-0800_daily_bin1530.fits sctable="SC_DATA" outfile=/scratch/kocevski/448031/ltcube_635904001_636163201_4FGL_J0942.3-0800_daily_bin1530.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/448031/ft2_4FGL_J0942.3-0800_daily_bin1530.fits
.....................!
real 11.96
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/448031/ft1_filtered_4FGL_J0942.3-0800_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/448031/ft2_4FGL_J0942.3-0800_daily_bin1530.fits sctable="SC_DATA" expcube=/scratch/kocevski/448031/ltcube_635904001_636163201_4FGL_J0942.3-0800_daily_bin1530.fits outfile=/scratch/kocevski/448031/expmap_635904001_636163201_4FGL_J0942.3-0800_daily_bin1530.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/448031/ltcube_635904001_636163201_4FGL_J0942.3-0800_daily_bin1530.fits
.....................!
real 195.82
user 186.21
sys 4.84

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/448031/ft1_filtered_4FGL_J0942.3-0800_daily_bin1530.fits scfile=/scratch/kocevski/448031/ft2_4FGL_J0942.3-0800_daily_bin1530.fits outfile=/scratch/kocevski/448031/cmap_635904001_636163201_4FGL_J0942.3-0800_daily_bin1530.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.33
user 0.38
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/448031/ft1_filtered_4FGL_J0942.3-0800_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/448031/ft2_4FGL_J0942.3-0800_daily_bin1530.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/448031/Model_4FGL_J0942.3-0800_daily_bin1530.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/448031/ft1_filtered_4FGL_J0942.3-0800_daily_bin1530.fits.....................!
real 58.81
user 52.04
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2422       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.5826       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.489       1.0000         .10000E-03   10000.    
     8 'Prefactor '    71.878       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17746E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.715       1.0000         .10000E-03   10000.    
    11 'norm      '    13.563       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2131       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.4485       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10535E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .80173       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0880       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=   4962.342     FROM MIGRAD    STATUS=CONVERGED    395 CALLS     1934 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2422        2.3609       -.39833E-07    .22894E-05
   2  Prefactor     .10000E-03    8.8288        .16179E-07** at limit **
   3  Prefactor     .10000E-03    4.9700        .17604E-08** at limit **
   4  norm          3.5809        9.4491        .58932E-06   -.36546E-05
   5  Prefactor     .10000E-03    8.0436       -.28285E-07** at limit **
   6  Prefactor     .10000E-03    14.051       -.22110E-10** at limit **
   7  Prefactor     27.488        16.880       -.31733E-07   -.21415E-04
   8  Prefactor     71.859        52.613       -.20351E-06   -.74961E-04
   9  Prefactor     .10000E-03    282.92       -.93541E-05** at limit **
  10  Prefactor     40.717        25.555       -.80301E-06    .10376E-04
  11  norm          13.573        11.619       -.33937E-05    .61751E-06
  12  norm          1.2123        4.0374        .10521E-05    .38426E-04
  13  norm          .10000E-03    .26266        .94312E-07** at limit **
  14  norm          .10000E-03    .77546        .66978E-08** at limit **
  15  norm          5.4429        10.388        .45592E-06    .16908E-04
  16  Prefactor     .10000E-03    94.580        .11416E-05** at limit **
  17  Prefactor     .10000E-03    21.367        .76577E-07** at limit **
  18  Normalizat    .80175        .23299        .87032E-06   -.76610E-04
  19  Prefactor     1.0880        .16006       -.95988E-06   -.31977E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.24224
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.58091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.4879
  Prefactor  = 71.8589
  Prefactor  = 0.0001
  Prefactor  = 40.7174
  norm       = 13.5732
  norm       = 1.21233
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.44293
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.801747
  Prefactor  = 1.08801
 **********
 **   18 **HESSE 
 **********

 FCN=   4962.342     FROM HESSE     STATUS=OK           268 CALLS     2202 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2422        2.3686        .10837E-03   -1.5408    
   2  Prefactor     .10000E-03    8.8569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.9978        .15335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.5809        9.4523        .21350E-03   -1.5329    
   5  Prefactor     .10000E-03    8.0544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.488        16.899        .76410E-04   -1.4659    
   8  Prefactor     71.859        52.670        .47352E-04   -1.4011    
   9  Prefactor     .10000E-03    282.58        .40667E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     40.717        25.553        .62821E-04   -1.4431    
  11  norm          13.573        11.554        .10876E-03   -1.4971    
  12  norm          1.2123        4.0024        .24653E-03   -1.5488    
  13  norm          .10000E-03    .33684        .69581E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.3820        .12052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4429        10.386        .17215E-03   -1.5241    
  16  Prefactor     .10000E-03    95.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .80175        .26746        .31961E-03   -1.0000    
  19  Prefactor     1.0880        .18563        .19693E-03   -.89851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27516e-11
Minuit parameter uncertainties:
  1  2.36872
  2  2.6618e-06
  3  2.87638e-06
  4  9.45621
  5  9.19686e-07
  6  6.59257e-06
  7  16.902
  8  52.7045
  9  0.000606679
  10  25.5597
  11  11.5557
  12  4.00326
  13  1.04835e-06
  14  2.77358e-06
  15  10.3891
  16  0.000482229
  17  1.18522e-05
  18  0.267895
  19  0.185745
Done.

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

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.212e+00  4.003e+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:  1.088e+00  1.857e-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.017e-01  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/448031/likelihoodResults_635904001_636163201_4FGL_J0942.3-0800_daily_bin1530.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) = 4962.03106659
delta logL = 0.310531568022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4962.01690947
delta logL = 0.324688692851

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5497       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0304       1.0000          .0000       5.0000    
     3 'Normalizat'    .77064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0953       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=   4962.017     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      208 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5517        48.976        .85547E-02    .59311E-03
   2  alpha         3.0298        3.9343        .42388        .35255E-04
   3  Normalizat    .77073        .57136E-01    .73486E-01    .17945E-04
   4  Prefactor     1.0952        .39483E-01    .37769E-01   -.51703E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.55172
  alpha      = 3.02979
  Normalizat = 0.77073
  Prefactor  = 1.09523
 **********
 **   18 **HESSE 
 **********

 FCN=   4962.017     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5517        3.2943        .10802E-03   -1.5459    
   2  alpha         3.0298        1.2642        .16532E-01    .21354    
   3  Normalizat    .77073        .26132        .32525E-03   -1.0116    
   4  Prefactor     1.0952        .18364        .19622E-03   -.89619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9884e-12
Minuit parameter uncertainties:
  1  3.29464
  2  1.32876
  3  0.261749
  4  0.183748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/448031': 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) = 4962.01690909
delta logL = 0.324689074299

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.552e+00  3.295e+00  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  3.030e+00  1.329e+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:  1.095e+00  1.837e-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:  7.707e-01  2.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/448031/cmap_HighResolution_635904001_636163201_4FGL_J0942.3-0800_daily_bin1530.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.52e-05', job_status='DONE', photon_flux_upper_limit='7.97e-08', time_completed='2021-08-31 23:22:34.319212', job_id='448031', GAL2='1.10', fit_tolerance='1e-08', EG2='0.77', EG='0.80', time_epoch_completed='1630477354.32', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.25e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1530' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 23:22:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 448031: <4FGL_J0942.3-0800_daily_bin1530> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1530 145.586 -8.0076 635904001 636163201 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 :                                   501.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             316.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            605 sec.

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

