/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 66 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 = 7258
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0928.1-2035_daily_bin170
RA = 142.048, Dec = -20.5973
tmin = 283392001, tmax = 283651201
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='224372', job_status='RUN', time_executed='2021-08-31 11:35:09.411456', time_epoch_executed='1630434909.41' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/224372

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/224372/ft1_4FGL_J0928.1-2035_daily_bin170.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/224372/ft2_4FGL_J0928.1-2035_daily_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/224372/ft1_4FGL_J0928.1-2035_daily_bin170.fits outfile=/scratch/kocevski/224372/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin170.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=283392001.0 tmax=283651201.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.86
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/224372/ft2_4FGL_J0928.1-2035_daily_bin170.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/224372/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/224372/ft1_filtered_4FGL_J0928.1-2035_daily_bin170.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/224372/ft1_filtered_4FGL_J0928.1-2035_daily_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/224372/ft2_4FGL_J0928.1-2035_daily_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/224372/ltcube_283392001_283651201_4FGL_J0928.1-2035_daily_bin170.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/224372/ft2_4FGL_J0928.1-2035_daily_bin170.fits
.....................!
real 14.41
user 11.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/224372/ft1_filtered_4FGL_J0928.1-2035_daily_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/224372/ft2_4FGL_J0928.1-2035_daily_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/224372/ltcube_283392001_283651201_4FGL_J0928.1-2035_daily_bin170.fits outfile=/scratch/kocevski/224372/expmap_283392001_283651201_4FGL_J0928.1-2035_daily_bin170.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/224372/ltcube_283392001_283651201_4FGL_J0928.1-2035_daily_bin170.fits
.....................!
real 194.10
user 185.57
sys 3.89

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/224372/ft1_filtered_4FGL_J0928.1-2035_daily_bin170.fits scfile=/scratch/kocevski/224372/ft2_4FGL_J0928.1-2035_daily_bin170.fits outfile=/scratch/kocevski/224372/cmap_283392001_283651201_4FGL_J0928.1-2035_daily_bin170.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/224372/ft1_filtered_4FGL_J0928.1-2035_daily_bin170.fits scfile=/scratch/kocevski/224372/ft2_4FGL_J0928.1-2035_daily_bin170.fits outfile=/scratch/kocevski/224372/cmap_HighResolution_283392001_283651201_4FGL_J0928.1-2035_daily_bin170.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.57
user 0.42
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/224372/ft1_filtered_4FGL_J0928.1-2035_daily_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/224372/ft2_4FGL_J0928.1-2035_daily_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/224372/Model_4FGL_J0928.1-2035_daily_bin170.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/224372/ft1_filtered_4FGL_J0928.1-2035_daily_bin170.fits.....................!
real 73.54
user 71.92
sys 1.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9345       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .53791E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.984       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .65087       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15792E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.914       1.0000         .10000E-03   10000.    
     9 'norm      '    2.4512       1.0000         .10000E-03   10000.    
    10 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.971       1.0000         .10000E-03   10000.    
    13 'norm      '    .90125       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .65845       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0675       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=   7145.815     FROM MIGRAD    STATUS=CONVERGED    306 CALLS     1361 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3557       -.61026E-07** at limit **
   2  Prefactor     .10000E-03    7.2497        .28038E-07** at limit **
   3  Prefactor     6.9363        13.450        .14060E-04   -.17655E-04
   4  Prefactor     .10000E-03    79.491       -.71797E-07** at limit **
   5  Prefactor     29.004        29.660       -.21278E-04   -.41769E-04
   6  Prefactor     .43033        29.959       -.38618E-05    .16680E-03
   7  Prefactor     .10000E-03    12.203        .17137E-06** at limit **
   8  Prefactor     33.894        17.308        .12545E-07    .25916E-04
   9  norm          2.4508        3.0807        .40221E-06    .39261E-04
  10  norm          .10000E-03    2.8427        .21826E-07** at limit **
  11  norm          .10000E-03    2.9722       -.11314E-07** at limit **
  12  norm          12.958        11.267        .14766E-05   -.10716E-04
  13  norm          .90171        1.0067       -.10665E-06   -.10245E-02
  14  Normalizat    .65858        .20217        .14158E-05    .97045E-04
  15  Prefactor     1.0674        .99924E-01   -.21366E-06    .23899E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.93626
  Prefactor  = 0.0001
  Prefactor  = 29.0041
  Prefactor  = 0.430328
  Prefactor  = 0.0001
  Prefactor  = 33.8939
  norm       = 2.45085
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.9577
  norm       = 0.901712
  Normalizat = 0.658582
  Prefactor  = 1.06743
 **********
 **   18 **HESSE 
 **********

 FCN=   7145.815     FROM HESSE     STATUS=OK           192 CALLS     1553 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4317        .17216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.2818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.9363        13.429        .15235E-03   -1.5181    
   4  Prefactor     .10000E-03    82.152        .42242E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.004        29.762        .74418E-04   -1.4630    
   6  Prefactor     .43033        37.496        .12515       -1.5577    
   7  Prefactor     .10000E-03    12.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.894        17.322        .68811E-04   -1.4543    
   9  norm          2.4508        3.0731        .16155E-03   -1.5395    
  10  norm          .10000E-03    2.8538        .13915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.9788        .14233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.958        11.269        .11122E-03   -1.4988    
  13  norm          .90171        .91274        .85840E-03   -1.5518    
  14  Normalizat    .65858        .22566        .37976E-03   -1.0555    
  15  Prefactor     1.0674        .11276        .15590E-03   -.90514    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38769e-09
Minuit parameter uncertainties:
  1  5.84682e-06
  2  4.08457e-06
  3  13.4347
  4  7.38118e-05
  5  29.7769
  6  8.03805
  7  3.6737e-06
  8  17.3248
  9  3.07333
  10  2.79401e-06
  11  5.78599e-07
  12  11.271
  13  0.912754
  14  0.225975
  15  0.112781
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  7.381e-05  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.067e+00  1.128e-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:  6.586e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/224372/likelihoodResults_283392001_283651201_4FGL_J0928.1-2035_daily_bin170.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) = 7145.81548698
delta logL = -5.79473635298e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7145.81548697
delta logL = -5.79444931645e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96360E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4546       1.0000          .0000       10.000    
     3 'Normalizat'    .65858       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0674       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7145.813     FROM MIGRAD    STATUS=FAILED       169 CALLS      316 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6902        7687.6        .36285E-02    .27942E-04
   2  Index         1.8163        9.0565        .50000       -.29171E-04
   3  Normalizat    .65848        .53437E-01    .37976E-03    .16693E-03
   4  Prefactor     1.0671        .27532E-01    .15590E-03    .46623E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7145.813     FROM SIMPLEX   STATUS=UNCHANGED     95 CALLS      411 TOTAL
                     EDM=   .98E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6902        7687.6        .14933E-02    .27942E-04
   2  Index         1.8163        9.0565        .12456E-02   -.29171E-04
   3  Normalizat    .65848        .53437E-01    .45602E-04    .16693E-03
   4  Prefactor     1.0671        .27532E-01    .11861E-04    .46623E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7145.813     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      446 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6901        83.921        .14514E-03   -.74413E-05
   2  Index         1.8163        2.7555        .34054E-01   -.67647E-05
   3  Normalizat    .65848        .21271        .15190E-04    .15971E-03
   4  Prefactor     1.0671        .11005        .31181E-04    .44686E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.69008
  Index      = 1.81632
  Normalizat = 0.658478
  Prefactor  = 1.06709
 **********
 **   18 **HESSE 
 **********

 FCN=   7145.813     FROM HESSE     STATUS=OK            25 CALLS      471 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6901        80.996        .58056E-05   -1.5448    
   2  Index         1.8163        2.7283        .13622E-02   -.69026    
   3  Normalizat    .65848        .21271        .30381E-05   -1.0556    
   4  Prefactor     1.0671        .11004        .62362E-05   -.90525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27709e-11
Minuit parameter uncertainties:
  1  23.433
  2  3.03095
  3  0.212975
  4  0.110061
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/224372': 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) = 7145.81269326
delta logL = 0.0027357732979

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  1.690e+00  2.343e+01  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  1.816e+00  3.031e+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.067e+00  1.101e-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:  6.585e-01  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.048 -20.597

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/224372/cmap_HighResolution_283392001_283651201_4FGL_J0928.1-2035_daily_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.42e-03', job_status='DONE', photon_flux_upper_limit='8.28e-08', time_completed='2021-08-31 11:44:32.656360', job_id='224372', GAL2='1.07', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1630435472.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.74e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='170' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:44:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 224372: <4FGL_J0928.1-2035_daily_bin170> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin170> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 11:32:28 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:32: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:32:54 2021
Terminated at Tue Aug 31 11:44:33 2021
Results reported at Tue Aug 31 11:44:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin170 142.048 -20.5973 283392001 283651201 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 :                                   548.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            725 sec.

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

