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


Performing analysis on: 4FGL_J0928.1-2035_daily_bin516
RA = 142.048, Dec = -20.5973
tmin = 373075201, tmax = 373334401
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='226109', job_status='RUN', time_executed='2021-08-31 11:39:33.253519', time_epoch_executed='1630435173.25' WHERE source_name='4FGL J0928.1-2035' and cadence='daily' and bin_id='516'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/226109

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/226109/ft1_4FGL_J0928.1-2035_daily_bin516.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/226109/ft2_4FGL_J0928.1-2035_daily_bin516.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/226109/ft1_4FGL_J0928.1-2035_daily_bin516.fits outfile=/scratch/kocevski/226109/ft1_filteredMKT_4FGL_J0928.1-2035_daily_bin516.fits ra=142.048 dec=-20.5973 rad=12.0 tmin=373075201.0 tmax=373334401.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.71
user 3.45
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/226109/ft1_filtered_4FGL_J0928.1-2035_daily_bin516.fits" evtable="EVENTS" scfile=/scratch/kocevski/226109/ft2_4FGL_J0928.1-2035_daily_bin516.fits sctable="SC_DATA" outfile=/scratch/kocevski/226109/ltcube_373075201_373334401_4FGL_J0928.1-2035_daily_bin516.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/226109/ft2_4FGL_J0928.1-2035_daily_bin516.fits
.....................!
real 13.23
user 12.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/226109/ft1_filtered_4FGL_J0928.1-2035_daily_bin516.fits evtable="EVENTS" scfile=/scratch/kocevski/226109/ft2_4FGL_J0928.1-2035_daily_bin516.fits sctable="SC_DATA" expcube=/scratch/kocevski/226109/ltcube_373075201_373334401_4FGL_J0928.1-2035_daily_bin516.fits outfile=/scratch/kocevski/226109/expmap_373075201_373334401_4FGL_J0928.1-2035_daily_bin516.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/226109/ltcube_373075201_373334401_4FGL_J0928.1-2035_daily_bin516.fits
.....................!
real 191.33
user 186.09
sys 4.55

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/226109/ft1_filtered_4FGL_J0928.1-2035_daily_bin516.fits scfile=/scratch/kocevski/226109/ft2_4FGL_J0928.1-2035_daily_bin516.fits outfile=/scratch/kocevski/226109/cmap_373075201_373334401_4FGL_J0928.1-2035_daily_bin516.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/226109/ft1_filtered_4FGL_J0928.1-2035_daily_bin516.fits scfile=/scratch/kocevski/226109/ft2_4FGL_J0928.1-2035_daily_bin516.fits outfile=/scratch/kocevski/226109/cmap_HighResolution_373075201_373334401_4FGL_J0928.1-2035_daily_bin516.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/226109/ft1_filtered_4FGL_J0928.1-2035_daily_bin516.fits evtable="EVENTS" scfile=/scratch/kocevski/226109/ft2_4FGL_J0928.1-2035_daily_bin516.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/226109/Model_4FGL_J0928.1-2035_daily_bin516.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/226109/ft1_filtered_4FGL_J0928.1-2035_daily_bin516.fits.....................!
real 91.09
user 89.76
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7420       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15069E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16672E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .81777E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12111E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .29372E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.3099       1.0000         .10000E-03   10000.    
    10 'norm      '    .10379E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .43808E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .14028E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .72927       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1792       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .95009       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=   8564.736     FROM MIGRAD    STATUS=CONVERGED    274 CALLS     1106 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9733       -.82439E-07** at limit **
   2  Prefactor     1.7515        4.5114        .12062E-05   -.86840E-03
   3  Prefactor     .10000E-03    8.0098        .12533E-06** at limit **
   4  Prefactor     .10000E-03    23.751        .44792E-05** at limit **
   5  Prefactor     .10000E-03    40.846       -.22691E-04** at limit **
   6  Prefactor     .10000E-03    11.162       -.12483E-05** at limit **
   7  Prefactor     .10000E-03    7.7481        .42716E-06** at limit **
   8  Prefactor     .10000E-03    4.1896       -.46933E-07** at limit **
   9  norm          5.2995        4.9204       -.14889E-05   -.17683E-04
  10  norm          .10000E-03    2.0100       -.53104E-07** at limit **
  11  norm          .10000E-03    5.2275        .48119E-06** at limit **
  12  norm          .10000E-03    7.3707        .59095E-08** at limit **
  13  norm          .72842        1.0010        .48525E-07   -.87828E-04
  14  Normalizat    1.1792        .18135       -.26461E-06    .11993E-03
  15  Prefactor     .95016        .89056E-01    .29614E-06    .17519E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.75154
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.29949
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.728417
  Normalizat = 1.17923
  Prefactor  = 0.950164
 **********
 **   18 **HESSE 
 **********

 FCN=   8564.736     FROM HESSE     STATUS=OK           176 CALLS     1282 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9917        .12692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7515        20.870        .15892E-02   -1.5443    
   3  Prefactor     .10000E-03    8.0607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    40.914        .20889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.7508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.1992        .18499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.2995        4.9171        .17442E-03   -1.5248    
  10  norm          .10000E-03    2.0161        .12812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.2762        .20666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    7.4519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .72842        .87341        .10456E-02   -1.5537    
  14  Normalizat    1.1792        .21267        .31300E-03   -.87247    
  15  Prefactor     .95016        .10409        .16948E-03   -.94410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.78642e-09
Minuit parameter uncertainties:
  1  1.23047e-06
  2  12.097
  3  8.98093e-06
  4  4.74118e-05
  5  4.16998e-05
  6  1.08585e-05
  7  2.44447e-06
  8  1.08837e-06
  9  4.91751
  10  5.47671e-07
  11  5.3459e-06
  12  2.36341e-06
  13  0.873424
  14  0.212826
  15  0.104112
Done.

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

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  4.741e-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:  9.502e-01  1.041e-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.179e+00  2.128e-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.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/226109/likelihoodResults_373075201_373334401_4FGL_J0928.1-2035_daily_bin516.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) = 8564.73634324
delta logL = -0.000199981072001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8564.7361446
delta logL = -1.34771835292e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10408E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0122       1.0000          .0000       10.000    
     3 'Normalizat'    1.1792       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95013       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=   8564.673     FROM MIGRAD    STATUS=FAILED       180 CALLS      369 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .75942E-02    .45618E-03** at limit **
   2  Index         8.7830        8.9580        .50000        .11727E-03
   3  Normalizat    1.1619        .28650E-01    .31300E-03   -.11986E-03
   4  Prefactor     .95558        .14149E-01    .16948E-03   -.17797E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8564.673     FROM SIMPLEX   STATUS=UNCHANGED    143 CALLS      512 TOTAL
                     EDM=   .59E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .75942E-02    .17809E-04** at limit **
   2  Index         8.7830        8.9580        .15048E-02    .11727E-03
   3  Normalizat    1.1619        .28650E-01    .97159E-05   -.11986E-03
   4  Prefactor     .95558        .14149E-01    .21942E-05   -.17797E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8564.673     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      553 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .24146E-01    .42817E-03** at limit **
   2  Index         8.7830        6.4591        .29728E-01    .18365E-04
   3  Normalizat    1.1619        .53284E-01    .12520E-04   -.14202E-03
   4  Prefactor     .95558        .26294E-01    .33896E-04   -.19614E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.78301
  Normalizat = 1.1619
  Prefactor  = 0.955577
 **********
 **   18 **HESSE 
 **********

 FCN=   8564.673     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      588 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .25896E-01    .43545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.7830        5.9414        .11891E-02    .85810    
   3  Normalizat    1.1619        .56669E-01    .25040E-05   -.87789    
   4  Prefactor     .95558        .28007E-01    .67793E-05   -.94225    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.32366e-12
Minuit parameter uncertainties:
  1  4.03108e-07
  2  14.3511
  3  0.0566719
  4  0.0280071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/226109': 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) = 8564.67349299
delta logL = 0.0626502621217

Extracting fit parameters...

4FGL J0928.1-2035
   Spectrum: PowerLaw
226    Prefactor:  1.000e-04  4.031e-07  1.000e-04  1.000e+04 ( 1.000e-13)
227        Index:  8.783e+00  1.435e+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.556e-01  2.801e-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.162e+00  5.667e-02  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/226109/cmap_HighResolution_373075201_373334401_4FGL_J0928.1-2035_daily_bin516.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.21e-08', time_completed='2021-08-31 11:49:33.075269', job_id='226109', GAL2='0.96', fit_tolerance='1e-08', EG2='1.16', EG='1.18', time_epoch_completed='1630435773.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='6.27e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='516' AND source_name='4FGL J0928.1-2035' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 11:49:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 226109: <4FGL_J0928.1-2035_daily_bin516> in cluster <slac> Done

Job <4FGL_J0928.1-2035_daily_bin516> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 11:36:36 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 11:36:58 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:36:58 2021
Terminated at Tue Aug 31 11:49:34 2021
Results reported at Tue Aug 31 11:49:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.1-2035_daily_bin516 142.048 -20.5973 373075201 373334401 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 :                                   594.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            778 sec.

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

