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


Performing analysis on: 4FGL_J0942.3-0800_daily_bin1110
RA = 145.586, Dec = -8.0076
tmin = 527040001, tmax = 527299201
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='447391', job_status='RUN', time_executed='2021-08-31 23:14:41.441725', time_epoch_executed='1630476881.44' WHERE source_name='4FGL J0942.3-0800' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447391

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447391/ft1_4FGL_J0942.3-0800_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447391/ft2_4FGL_J0942.3-0800_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447391/ft1_4FGL_J0942.3-0800_daily_bin1110.fits outfile=/scratch/kocevski/447391/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1110.fits ra=145.586 dec=-8.0076 rad=12.0 tmin=527040001.0 tmax=527299201.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.21
user 5.69
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/447391/ft2_4FGL_J0942.3-0800_daily_bin1110.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/447391/ft1_filteredMKT_4FGL_J0942.3-0800_daily_bin1110.fits evtable="EVENTS" outfile="/scratch/kocevski/447391/ft1_filtered_4FGL_J0942.3-0800_daily_bin1110.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.24
user 0.32
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447391/ft1_filtered_4FGL_J0942.3-0800_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/447391/ft2_4FGL_J0942.3-0800_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/447391/ltcube_527040001_527299201_4FGL_J0942.3-0800_daily_bin1110.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/447391/ft2_4FGL_J0942.3-0800_daily_bin1110.fits
.....................!
real 13.33
user 12.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447391/ft1_filtered_4FGL_J0942.3-0800_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/447391/ft2_4FGL_J0942.3-0800_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/447391/ltcube_527040001_527299201_4FGL_J0942.3-0800_daily_bin1110.fits outfile=/scratch/kocevski/447391/expmap_527040001_527299201_4FGL_J0942.3-0800_daily_bin1110.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/447391/ltcube_527040001_527299201_4FGL_J0942.3-0800_daily_bin1110.fits
.....................!
real 197.43
user 187.38
sys 6.41

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/447391/ft1_filtered_4FGL_J0942.3-0800_daily_bin1110.fits scfile=/scratch/kocevski/447391/ft2_4FGL_J0942.3-0800_daily_bin1110.fits outfile=/scratch/kocevski/447391/cmap_527040001_527299201_4FGL_J0942.3-0800_daily_bin1110.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.60
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447391/ft1_filtered_4FGL_J0942.3-0800_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/447391/ft2_4FGL_J0942.3-0800_daily_bin1110.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447391/Model_4FGL_J0942.3-0800_daily_bin1110.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/447391/ft1_filtered_4FGL_J0942.3-0800_daily_bin1110.fits.....................!
real 70.50
user 68.27
sys 1.66

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.691       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .98658E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .24279       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.079       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16904E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    9.7557       1.0000         .10000E-03   10000.    
    12 'norm      '    .95252       1.0000         .10000E-03   10000.    
    13 'norm      '    1.9661       1.0000         .10000E-03   10000.    
    14 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.4304       1.0000         .10000E-03   10000.    
    16 'Prefactor '    62.445       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12283E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2443       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .78418       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=   6547.298     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     1942 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5347        .16038E-07** at limit **
   2  Prefactor     11.689        12.459        .14854E-06   -.81375E-04
   3  Prefactor     .10011E-03    5.1449        .95133E-06** at limit **
   4  norm          .10000E-03    3.3996        .96007E-07** at limit **
   5  Prefactor     .10000E-03    7.4989        .80001E-07** at limit **
   6  Prefactor     .10000E-03    9.7609        .16844E-07** at limit **
   7  Prefactor     .26006        27.260        .57455E-05   -.67583E-03
   8  Prefactor     .10000E-03    8.9530        .23365E-07** at limit **
   9  Prefactor     10.083        20.927        .19606E-06   -.11941E-04
  10  Prefactor     .10000E-03    6.5760        .63617E-06** at limit **
  11  norm          9.7560        6.1226        .53367E-07   -.80904E-06
  12  norm          .95300        3.3295        .27217E-05    .81023E-03
  13  norm          1.9657        .77446       -.73695E-09   -.18452E-02
  14  norm          .10000E-03    .98476       -.45479E-07** at limit **
  15  norm          4.4311        8.3997        .56685E-06    .65126E-04
  16  Prefactor     62.426        47.115       -.16026E-05   -.55217E-03
  17  Prefactor     .10000E-03    38.408       -.13280E-05** at limit **
  18  Normalizat    1.2446        .18793       -.89046E-08   -.73137E-03
  19  Prefactor     .78394        .12791       -.10859E-05   -.82389E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 11.6889
  Prefactor  = 0.00010011
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.260059
  Prefactor  = 0.0001
  Prefactor  = 10.0829
  Prefactor  = 0.000100001
  norm       = 9.75598
  norm       = 0.953005
  norm       = 1.96571
  norm       = 0.0001
  norm       = 4.43108
  Prefactor  = 62.4258
  Prefactor  = 0.000100001
  Normalizat = 1.24455
  Prefactor  = 0.78394
 **********
 **   18 **HESSE 
 **********

 FCN=   6547.298     FROM HESSE     STATUS=OK           278 CALLS     2220 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5657        .97837E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.689        12.430        .11716E-03   -1.5024    
   3  Prefactor     .10011E-03    91.033        .33808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.4253        .14570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.5457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.7667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .26006        15.911        .75570E-01   -1.5606    
   8  Prefactor     .10000E-03    8.9652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.083        20.898        .12622E-03   -1.5073    
  10  Prefactor     .10000E-03    31.765        .39593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.7560        6.1197        .12830E-03   -1.5083    
  12  norm          .95300        3.4060        .26753E-03   -1.5513    
  13  norm          1.9657        .77101        .42008E-04   -1.5428    
  14  norm          .10000E-03    2.1095        .15567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.4311        8.3991        .19132E-03   -1.5287    
  16  Prefactor     62.426        48.347        .50779E-04   -1.4126    
  17  Prefactor     .10000E-03    38.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2446        .22223        .25060E-03   -.85237    
  19  Prefactor     .78394        .14991        .21566E-03   -1.0032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19497e-09
Minuit parameter uncertainties:
  1  1.05014e-06
  2  12.4325
  3  0.00633806
  4  7.70615e-06
  5  7.91805e-06
  6  2.05686e-06
  7  4.0687
  8  1.93894e-06
  9  20.9133
  10  0.000271982
  11  6.12009
  12  3.40665
  13  0.771014
  14  6.56063e-06
  15  8.40137
  16  48.3776
  17  0.000361372
  18  0.222399
  19  0.149987
Done.

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

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  9.530e-01  3.407e+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:  7.839e-01  1.500e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.245e+00  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/447391/likelihoodResults_527040001_527299201_4FGL_J0942.3-0800_daily_bin1110.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) = 6546.7511016
delta logL = 0.546846616677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6546.73663851
delta logL = 0.561309704322

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0205       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2084       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2083       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79492       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=   6546.737     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      253 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0206        3.9880        .85990E-03    .15177E-02
   2  alpha         3.2084        2.0049        .15832E-01    .85134E-04
   3  Normalizat    1.2083        .21680        .25372E-03    .13137E-03
   4  Prefactor     .79496        .15066        .21419E-03    .17239E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.0206
  alpha      = 3.2084
  Normalizat = 1.20825
  Prefactor  = 0.794955
 **********
 **   18 **HESSE 
 **********

 FCN=   6546.737     FROM HESSE     STATUS=OK            27 CALLS      280 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0206        1.9057        .34396E-04   -1.5506    
   2  alpha         3.2084        1.0921        .63327E-03    .28730    
   3  Normalizat    1.2083        .21569        .10149E-04   -.86348    
   4  Prefactor     .79496        .14954        .85677E-05   -.99915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37501e-10
Minuit parameter uncertainties:
  1  1.90586
  2  1.13389
  3  0.215853
  4  0.149615
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447391': 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) = 6546.73663849
delta logL = 0.56130973334

Extracting fit parameters...

4FGL J0942.3-0800
   Spectrum: LogParabola
239         norm:  1.021e+00  1.906e+00  1.000e-04  1.000e+04 ( 1.000e-12)
240        alpha:  3.208e+00  1.134e+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:  7.950e-01  1.496e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.208e+00  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.23
Ra Dec: 145.586 -8.008
Photon Index (Free Index): 3.21 +/- 1.13
Photon Flux (Free Index): 3.86e-08 +/- 4.30e-08
Energy Flux (Free Index): 7.89e-06 +/- 8.30e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/447391/cmap_HighResolution_527040001_527299201_4FGL_J0942.3-0800_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-05', comment='SUCCESS', energy_flux2='7.89e-06', dlogl='5.61e-01', photon_flux2='3.86e-08', job_status='DONE', time_completed='2021-08-31 23:25:10.825714', photon_index_error2='1.13', photon_index2='3.21', ts='0.09', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='6.12e-08', energy_flux_error2='8.30e-06', EG='1.24', time_epoch_completed='1630477510.83', return_code='0', job_id='447391', GAL2='0.79', EG2='1.21', return_code2='0', photon_flux_error2='4.30e-08', ts2='1.23', photon_index='2.01' WHERE bin_id='1110' AND source_name='4FGL J0942.3-0800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 23:25:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 447391: <4FGL_J0942.3-0800_daily_bin1110> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0942.3-0800_daily_bin1110 145.586 -8.0076 527040001 527299201 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 :                                   602.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            816 sec.

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

