/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0928.1-2035_daily_bin1360
RA = 142.048, Dec = -20.5973
tmin = 591840001, tmax = 592099201
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='230810', job_status='RUN', time_executed='2021-08-31 11:51:47.419196', time_epoch_executed='1630435907.42' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='1360'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/230810

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/230810/ft1_4FGL_J0928.1-2035_daily_bin1360.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/230810/ft1_4FGL_J0928.1-2035_daily_bin1360.fits outfile=/scratch/kocevski/230810/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin1360.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=591840001.0 tmax=592099201.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 11.86
user 5.00
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.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/230810/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin1360.fits evtable="EVENTS" outfile="/scratch/kocevski/230810/ft1_filtered_4FGL_J0928.1-2035_daily_bin1360.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 3.96
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/230810/ft1_filtered_4FGL_J0928.1-2035_daily_bin1360.fits" evtable="EVENTS" scfile=/scratch/kocevski/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.fits sctable="SC_DATA" outfile=/scratch/kocevski/230810/ltcube_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.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/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.fits
.....................!
real 14.03
user 11.67
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/230810/ft1_filtered_4FGL_J0928.1-2035_daily_bin1360.fits evtable="EVENTS" scfile=/scratch/kocevski/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.fits sctable="SC_DATA" expcube=/scratch/kocevski/230810/ltcube_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.fits outfile=/scratch/kocevski/230810/expmap_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.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/230810/ltcube_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.fits
.....................!
real 199.44
user 186.35
sys 4.91

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/230810/ft1_filtered_4FGL_J0928.1-2035_daily_bin1360.fits scfile=/scratch/kocevski/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.fits outfile=/scratch/kocevski/230810/cmap_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.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.62
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/230810/ft1_filtered_4FGL_J0928.1-2035_daily_bin1360.fits scfile=/scratch/kocevski/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.fits outfile=/scratch/kocevski/230810/cmap_HighResolution_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.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 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/230810/ft1_filtered_4FGL_J0928.1-2035_daily_bin1360.fits evtable="EVENTS" scfile=/scratch/kocevski/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/230810/Model_4FGL_J0928.1-2035_daily_bin1360.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/230810/ft1_filtered_4FGL_J0928.1-2035_daily_bin1360.fits.....................!
real 102.67
user 101.14
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/230810/ft1_filtered_4FGL_J0928.1-2035_daily_bin1360.fits', '/scratch/kocevski/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.fits', expMap='/scratch/kocevski/230810/expmap_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.fits', expCube='/scratch/kocevski/230810/ltcube_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/230810/Model_4FGL_J0928.1-2035_daily_bin1360.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/230810/ft1_filtered_4FGL_J0928.1-2035_daily_bin1360.fits
Spacecraft file(s): /scratch/kocevski/230810/ft2_4FGL_J0928.1-2035_daily_bin1360.fits
Exposure map: /scratch/kocevski/230810/expmap_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.fits
Exposure cube: /scratch/kocevski/230810/ltcube_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/230810/Model_4FGL_J0928.1-2035_daily_bin1360.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) = 10328.5978956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8095       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6530       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.087       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.393       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.0149       1.0000         .10000E-03   10000.    
    12 'norm      '    .28484E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .98736       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .80058       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0347       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.

 FCN=   10328.59     FROM MIGRAD    STATUS=CONVERGED    282 CALLS     1360 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8086        4.3770       -.14554E-05   -.40260E-03
   2  Prefactor     .10000E-03    3.5671        .10222E-07** at limit **
   3  Prefactor     4.6511        10.337        .27411E-05   -.16154E-03
   4  Prefactor     39.086        33.359       -.40620E-05    .82756E-05
   5  Prefactor     .10000E-03    10.343       -.25182E-06** at limit **
   6  Prefactor     15.395        18.902       -.45345E-05   -.57375E-05
   7  Prefactor     .10000E-03    14.892        .33136E-07** at limit **
   8  Prefactor     .10000E-03    4.8285        .10969E-06** at limit **
   9  norm          .10000E-03    1.8978       -.78802E-07** at limit **
  10  norm          .10000E-03    2.4993        .20699E-07** at limit **
  11  norm          4.0148        3.9583        .17517E-06    .35905E-03
  12  norm          .10000E-03    4.0525       -.14977E-06** at limit **
  13  norm          .98729        1.0418       -.25084E-06   -.20486E-02
  14  Normalizat    .80043        .16164        .18697E-05   -.46352E-04
  15  Prefactor     1.0348        .80033E-01   -.14412E-06    .16191E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.80861
  Prefactor  = 0.0001
  Prefactor  = 4.65113
  Prefactor  = 39.086
  Prefactor  = 0.0001
  Prefactor  = 15.3955
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.01482
  norm       = 0.000100003
  norm       = 0.987293
  Normalizat = 0.800432
  Prefactor  = 1.03485
 **********
 **   18 **HESSE 
 **********

 FCN=   10328.59     FROM HESSE     STATUS=OK           192 CALLS     1552 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8086        4.4677        .15376E-03   -1.5186    
   2  Prefactor     .10000E-03    3.5792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.6511        10.148        .18657E-03   -1.5277    
   4  Prefactor     39.086        33.354        .64111E-04   -1.4457    
   5  Prefactor     .10000E-03    10.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.395        18.826        .10208E-03   -1.4923    
   7  Prefactor     .10000E-03    14.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.8474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.9131        .13671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.5186        .15685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0148        3.9778        .19656E-03   -1.5307    
  12  norm          .10000E-03    5.8545        .68041E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .98729        1.0033        .10372E-02   -1.5509    
  14  Normalizat    .80043        .18136        .34624E-03   -1.0005    
  15  Prefactor     1.0348        .90996E-01    .15843E-03   -.91577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54191e-10
Minuit parameter uncertainties:
  1  4.4679
  2  1.98788e-06
  3  10.1515
  4  33.3698
  5  2.14431e-05
  6  18.8335
  7  4.43538e-07
  8  3.64358e-06
  9  3.32422e-06
  10  5.63747e-07
  11  3.97806
  12  0.000270592
  13  1.00333
  14  0.181492
  15  0.0910099
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  3.909e+01  3.337e+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:  1.035e+00  9.101e-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:  8.004e-01  1.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.81
Ra Dec: 142.048 -20.597
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 4.64e-08 +/- 3.96e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.21e-05

TS (Fixed Index): 1.81
Ra Dec: 142.048 -20.597
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/230810/likelihoodResults_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.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) = 10325.1924838
delta logL = 3.39907760188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10325.021699
delta logL = 3.5698623708

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6745       1.0000         .10000E-03   10000.    
     2 'Index     '    4.9415       1.0000          .0000       10.000    
     3 'Normalizat'    .67601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0749       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=   10325.02     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      254 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6677        7.9524        .81422E-02    .25037E-03
   2  Index         4.9441        2.0611        .93735E-01    .22265E-03
   3  Normalizat    .67605        .57460E-01    .84354E-01    .21873E-04
   4  Prefactor     1.0750        .29241E-01    .38630E-01   -.69237E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.6677
  Index      = 4.9441
  Normalizat = 0.676049
  Prefactor  = 1.07498
 **********
 **   18 **HESSE 
 **********

 FCN=   10325.02     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      287 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6677        13.271        .50588E-04   -1.5450    
   2  Index         4.9441        2.8392        .38065E-02   -.11180E-01
   3  Normalizat    .67605        .16614        .37360E-03   -1.0485    
   4  Prefactor     1.0750        .84024E-01    .15563E-03   -.90270    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.26301e-07
Minuit parameter uncertainties:
  1  9.41147
  2  3.01945
  3  0.166266
  4  0.0840345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/230810': 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): 102
logL (Free Index) = 10325.021693
delta logL = 3.56986836764

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  1.668e+00  9.411e+00  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  4.944e+00  3.019e+00  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:  1.075e+00  8.403e-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:  6.760e-01  1.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.82
Ra Dec: 142.048 -20.597
Photon Index (Free Index): 4.94 +/- 3.02
Photon Flux (Free Index): 1.36e-07 +/- 5.57e-08
Energy Flux (Free Index): 1.82e-05 +/- 9.38e-06

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/230810/cmap_HighResolution_591840001_592099201_4FGL_J0928.1-2035_daily_bin1360.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.58e-03', comment='SUCCESS', photon_flux='4.64e-08', energy_flux2='1.82e-05', photon_flux_error='3.96e-08', dlogl='3.57e+00', energy_flux='1.42e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-08-31 12:03:27.038939', photon_index_error2='3.02', photon_index2='4.94', ts='1.81', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='9.38e-06', EG='0.80', time_epoch_completed='1630436607.04', return_code='0', job_id='230810', GAL2='1.07', EG2='0.68', return_code2='102', energy_flux_error='1.21e-05', photon_flux_error2='5.57e-08', ts2='9.82', photon_index='2.45' WHERE bin_id='1360' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:03:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 230810: <4FGL_J0928.1-2035_daily_bin1360> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin1360> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 11:50:44 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:50:48 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:50:48 2021
Terminated at Tue Aug 31 12:03:27 2021
Results reported at Tue Aug 31 12:03:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin1360 142.048 -20.5973 591840001 592099201 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 :                                   662.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             307.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            763 sec.

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

