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


Performing analysis on: 4FGL_J0928.1-2035_daily_bin1127
RA = 142.048, Dec = -20.5973
tmin = 531446401, tmax = 531705601
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='229160', job_status='RUN', time_executed='2021-08-31 11:48:37.279789', time_epoch_executed='1630435717.28' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='1127'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/229160

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/229160/ft1_4FGL_J0928.1-2035_daily_bin1127.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/229160/ft1_4FGL_J0928.1-2035_daily_bin1127.fits outfile=/scratch/kocevski/229160/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin1127.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=531446401.0 tmax=531705601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.68
user 3.38
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.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/229160/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin1127.fits evtable="EVENTS" outfile="/scratch/kocevski/229160/ft1_filtered_4FGL_J0928.1-2035_daily_bin1127.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.61
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/229160/ft1_filtered_4FGL_J0928.1-2035_daily_bin1127.fits" evtable="EVENTS" scfile=/scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits sctable="SC_DATA" outfile=/scratch/kocevski/229160/ltcube_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.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/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits
.....................!
real 13.51
user 13.13
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/229160/ft1_filtered_4FGL_J0928.1-2035_daily_bin1127.fits evtable="EVENTS" scfile=/scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits sctable="SC_DATA" expcube=/scratch/kocevski/229160/ltcube_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.fits outfile=/scratch/kocevski/229160/expmap_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.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/229160/ltcube_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.fits
.....................!
real 191.57
user 185.53
sys 5.05

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0928.1-2035 @ 142.048 -20.5973

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/229160/ft1_filtered_4FGL_J0928.1-2035_daily_bin1127.fits scfile=/scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits outfile=/scratch/kocevski/229160/cmap_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.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=142.048 yref=-20.5973 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.74
user 0.37
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/229160/ft1_filtered_4FGL_J0928.1-2035_daily_bin1127.fits scfile=/scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits outfile=/scratch/kocevski/229160/cmap_HighResolution_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.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=142.048 yref=-20.5973 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 2.03
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/229160/ft1_filtered_4FGL_J0928.1-2035_daily_bin1127.fits evtable="EVENTS" scfile=/scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/229160/Model_4FGL_J0928.1-2035_daily_bin1127.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/229160/ft1_filtered_4FGL_J0928.1-2035_daily_bin1127.fits.....................!
real 112.39
user 105.41
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/229160/ft1_filtered_4FGL_J0928.1-2035_daily_bin1127.fits', '/scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits', expMap='/scratch/kocevski/229160/expmap_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.fits', expCube='/scratch/kocevski/229160/ltcube_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/229160/Model_4FGL_J0928.1-2035_daily_bin1127.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0928.1-2035'

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  8.822e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/229160/ft1_filtered_4FGL_J0928.1-2035_daily_bin1127.fits
Spacecraft file(s): /scratch/kocevski/229160/ft2_4FGL_J0928.1-2035_daily_bin1127.fits
Exposure map: /scratch/kocevski/229160/expmap_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.fits
Exposure cube: /scratch/kocevski/229160/ltcube_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/229160/Model_4FGL_J0928.1-2035_daily_bin1127.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) = 10072.9723202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5468       1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.012       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .60077       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.439       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.959       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.0667       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.0701       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .59122E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    8.2312       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2404       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95077       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10072.91     FROM MIGRAD    STATUS=CONVERGED    272 CALLS     1355 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5470        3.7657        .63968E-02    .81543E-03
   2  Prefactor     21.013        13.466        .21845E-02    .64627E-03
   3  Prefactor     .60005        6.3495        .11676        .24728E-03
   4  Prefactor     22.440        21.166        .21139E-02   -.38010E-03
   5  Prefactor     16.958        27.679        .24314E-02    .71712E-03
   6  Prefactor     9.0675        18.334        .33276E-02   -.27858E-04
   7  Prefactor     .10000E-03    15.852        .90712E-02** at limit **
   8  Prefactor     .10000E-03    4.1003        .90712E-02** at limit **
   9  norm          3.0702        3.7277        .57876E-02   -.49447E-03
  10  norm          .10000E-03    1.7890        .90712E-02** at limit **
  11  norm          .10000E-03    6.1918        .90712E-02** at limit **
  12  norm          .10000E-03    4.3677        .94810E-01** at limit **
  13  norm          8.2313        1.7157        .34934E-02    .54663E-04
  14  Normalizat    1.2403        .18066        .73570E-01    .44789E-03
  15  Prefactor     .95079        .88359E-01    .45649E-01   -.27815E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54702
  Prefactor  = 21.0132
  Prefactor  = 0.600053
  Prefactor  = 22.4402
  Prefactor  = 16.9581
  Prefactor  = 9.06745
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.07024
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100002
  norm       = 8.23134
  Normalizat = 1.24032
  Prefactor  = 0.950786
 **********
 **   18 **HESSE 
 **********

 FCN=   10072.91     FROM HESSE     STATUS=OK           186 CALLS     1541 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5470        3.7524        .22755E-03   -1.5389    
   2  Prefactor     21.013        13.496        .87380E-04   -1.4791    
   3  Prefactor     .60005        58.598        .47219E-02   -1.5553    
   4  Prefactor     22.440        21.195        .84558E-04   -1.4760    
   5  Prefactor     16.958        27.619        .97256E-04   -1.4884    
   6  Prefactor     9.0675        18.350        .13311E-03   -1.5106    
   7  Prefactor     .10000E-03    15.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.1083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.0702        3.7161        .20654E-03   -1.5358    
  10  norm          .10000E-03    1.7930        .13108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.2669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    56.198        .40402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.2313        1.7192        .57452E-04   -1.5134    
  14  Normalizat    1.2403        .20734        .16278E-02   -.85366    
  15  Prefactor     .95079        .10305        .18069E-03   -.94388    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60812e-08
Minuit parameter uncertainties:
  1  3.75278
  2  13.4981
  3  11.8705
  4  21.2016
  5  27.6398
  6  18.3612
  7  4.88484e-05
  8  1.68318e-05
  9  3.71639
  10  1.77743e-06
  11  3.64821e-06
  12  0.000741286
  13  1.71917
  14  0.207478
  15  0.103069
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  2.244e+01  2.120e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  2.455e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.508e-01  1.031e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.240e+00  2.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.01
Ra Dec: 142.048 -20.597
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 2.51e-08
Energy Flux (Fixed Index): 8.15e-06 +/- 7.70e-06

TS (Fixed Index): 3.01
Ra Dec: 142.048 -20.597
Photon Flux Upper Limit: 9.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/229160/likelihoodResults_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.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) = 10072.7172863
delta logL = 0.191328211087

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10072.7120191
delta logL = 0.196595401618

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.871       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8513       1.0000          .0000       10.000    
     3 'Normalizat'    1.2578       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94614       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+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=   10072.71     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      261 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.875        24.005        .83757E-04   -.31512E-03
   2  Index         1.8516        .81686        .15032E-01   -.16811E-04
   3  Normalizat    1.2579        .20023        .32356E-03   -.75406E-03
   4  Prefactor     .94617        .99023E-01    .18107E-03   -.10474E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.8752
  Index      = 1.85163
  Normalizat = 1.25795
  Prefactor  = 0.946172
 **********
 **   18 **HESSE 
 **********

 FCN=   10072.71     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.875        24.370        .16751E-04   -1.4751    
   2  Index         1.8516        .82953        .60127E-03   -.68113    
   3  Normalizat    1.2579        .20034        .64712E-04   -.84830    
   4  Prefactor     .94617        .99078E-01    .36214E-04   -.94546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17929e-10
Minuit parameter uncertainties:
  1  24.3805
  2  0.83597
  3  0.200464
  4  0.0990969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/229160': 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) = 10072.712017
delta logL = 0.196597567965

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  2.288e+01  2.438e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  1.852e+00  8.360e-01  0.000e+00  1.000e+01 (-1.000e+00)
228        Scale:  8.152e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.462e-01  9.910e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.258e+00  2.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.40
Ra Dec: 142.048 -20.597
Photon Index (Free Index): 1.85 +/- 0.84
Photon Flux (Free Index): 1.30e-08 +/- 2.00e-08
Energy Flux (Free Index): 1.34e-05 +/- 2.14e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/229160/cmap_HighResolution_531446401_531705601_4FGL_J0928.1-2035_daily_bin1127.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='1.34e-05', photon_flux_error='2.51e-08', dlogl='1.97e-01', energy_flux='8.15e-06', photon_flux2='1.30e-08', job_status='DONE', time_completed='2021-08-31 11:59:47.863766', photon_index_error2='0.84', photon_index2='1.85', ts='3.01', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='9.17e-08', energy_flux_error2='2.14e-05', EG='1.24', time_epoch_completed='1630436387.86', return_code='0', job_id='229160', GAL2='0.95', EG2='1.26', return_code2='0', energy_flux_error='7.70e-06', photon_flux_error2='2.00e-08', ts2='3.40', photon_index='2.45' WHERE bin_id='1127' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:59:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 229160: <4FGL_J0928.1-2035_daily_bin1127> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin1127> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:45:52 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:45:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 11:45:54 2021
Terminated at Tue Aug 31 11:59:52 2021
Results reported at Tue Aug 31 11:59:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin1127 142.048 -20.5973 531446401 531705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0928.1-2035 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   650.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            840 sec.

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

