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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin999
RA = 142.12, Dec = -4.2539
tmin = 498268801, tmax = 498528001
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='236299', job_status='RUN', time_executed='2021-08-31 12:08:34.275445', time_epoch_executed='1630436914.28' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='999'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236299

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236299/ft1_4FGL_J0928.4-0415_daily_bin999.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236299/ft1_4FGL_J0928.4-0415_daily_bin999.fits outfile=/scratch/kocevski/236299/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin999.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=498268801.0 tmax=498528001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.86
user 4.67
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.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/236299/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin999.fits evtable="EVENTS" outfile="/scratch/kocevski/236299/ft1_filtered_4FGL_J0928.4-0415_daily_bin999.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 5.41
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/236299/ft1_filtered_4FGL_J0928.4-0415_daily_bin999.fits" evtable="EVENTS" scfile=/scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits sctable="SC_DATA" outfile=/scratch/kocevski/236299/ltcube_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.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/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits
.....................!
real 13.49
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236299/ft1_filtered_4FGL_J0928.4-0415_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits sctable="SC_DATA" expcube=/scratch/kocevski/236299/ltcube_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.fits outfile=/scratch/kocevski/236299/expmap_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.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/236299/ltcube_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.fits
.....................!
real 195.91
user 185.61
sys 4.08

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

Setting source of interest to:
4FGL J0928.4-0415 @ 142.12 -4.2539

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/236299/ft1_filtered_4FGL_J0928.4-0415_daily_bin999.fits scfile=/scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits outfile=/scratch/kocevski/236299/cmap_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.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.12 yref=-4.2539 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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236299/ft1_filtered_4FGL_J0928.4-0415_daily_bin999.fits scfile=/scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits outfile=/scratch/kocevski/236299/cmap_HighResolution_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.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.12 yref=-4.2539 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/236299/ft1_filtered_4FGL_J0928.4-0415_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236299/Model_4FGL_J0928.4-0415_daily_bin999.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/236299/ft1_filtered_4FGL_J0928.4-0415_daily_bin999.fits.....................!
real 60.53
user 58.32
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/236299/ft1_filtered_4FGL_J0928.4-0415_daily_bin999.fits', '/scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits', expMap='/scratch/kocevski/236299/expmap_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.fits', expCube='/scratch/kocevski/236299/ltcube_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/236299/Model_4FGL_J0928.4-0415_daily_bin999.xml', optimizer='MINUIT')

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

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  5.926e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.566e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/236299/ft1_filtered_4FGL_J0928.4-0415_daily_bin999.fits
Spacecraft file(s): /scratch/kocevski/236299/ft2_4FGL_J0928.4-0415_daily_bin999.fits
Exposure map: /scratch/kocevski/236299/expmap_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.fits
Exposure cube: /scratch/kocevski/236299/ltcube_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/236299/Model_4FGL_J0928.4-0415_daily_bin999.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) = 5349.68209298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2391       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9000       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    84.557       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7547       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13827E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    115.87       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.4357       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.0876       1.0000         .10000E-03   10000.    
    15 'norm      '    .48801E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    22.880       1.0000         .10000E-03   10000.    
    17 'Prefactor '    61.309       1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.892       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0416       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88753       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5349.665     FROM MIGRAD    STATUS=CONVERGED    418 CALLS     2052 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2389        2.6126        .23759E-06    .14045E-03
   2  Prefactor     2.9000        11.585        .58033E-06    .32959E-04
   3  Prefactor     .10000E-03    3.1073        .86427E-09** at limit **
   4  norm          .10000E-03    2.2314        .16215E-06** at limit **
   5  norm          84.559        14.176        .18534E-06    .71161E-04
   6  Prefactor     .10000E-03    6.1399       -.18314E-07** at limit **
   7  Prefactor     2.7560        4.4332       -.56991E-06   -.14184E-03
   8  Prefactor     .10000E-03    11.387       -.36825E-06** at limit **
   9  Prefactor     .10000E-03    57.424        .14920E-05** at limit **
  10  Prefactor     115.86        54.289        .80135E-06    .11818E-03
  11  Prefactor     .10000E-03    19.341       -.25819E-06** at limit **
  12  norm          3.4374        8.3587        .46223E-05    .88054E-03
  13  norm          .10000E-03    2.6796       -.55629E-07** at limit **
  14  norm          2.0880        .97258        .25590E-07    .77961E-04
  15  norm          .10029E-03    3.8141       -.32003E-05** at limit **
  16  norm          22.872        31.095        .14517E-05    .14978E-03
  17  Prefactor     61.306        59.644        .61294E-06    .39519E-04
  18  Prefactor     25.879        46.025        .50874E-05    .12026E-03
  19  Normalizat    1.0415        .23527       -.30684E-06    .17139E-03
  20  Prefactor     .88761        .16919       -.86289E-06    .23759E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.23893
  Prefactor  = 2.90001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 84.5586
  Prefactor  = 0.0001
  Prefactor  = 2.75599
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 115.863
  Prefactor  = 0.0001
  norm       = 3.43737
  norm       = 0.0001
  norm       = 2.08797
  norm       = 0.000100294
  norm       = 22.8725
  Prefactor  = 61.3063
  Prefactor  = 25.8787
  Normalizat = 1.04151
  Prefactor  = 0.887611
 **********
 **   18 **HESSE 
 **********

 FCN=   5349.665     FROM HESSE     STATUS=OK           285 CALLS     2337 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2389        2.5605        .16305E-03   -1.5485    
   2  Prefactor     2.9000        11.510        .23861E-03   -1.5367    
   3  Prefactor     .10000E-03    3.1126        .12590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.2611        .10667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          84.559        14.213        .43686E-04   -1.3866    
   6  Prefactor     .10000E-03    6.1441        .17700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7560        4.4300        .18383E-03   -1.5376    
   8  Prefactor     .10000E-03    11.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    59.144        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     115.86        54.305        .37378E-04   -1.3551    
  11  Prefactor     .10000E-03    19.353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.4374        8.6763        .10911E-02   -1.5337    
  13  norm          .10000E-03    2.6939        .11687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0880        .97139        .46394E-04   -1.5419    
  15  norm          .10029E-03    17.120        .17360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          22.872        31.082        .83740E-04   -1.4751    
  17  Prefactor     61.306        59.651        .51245E-04   -1.4140    
  18  Prefactor     25.879        46.127        .78726E-04   -1.4690    
  19  Normalizat    1.0415        .27896        .30008E-03   -.91653    
  20  Prefactor     .88761        .19960        .23701E-03   -.96575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85238e-08
Minuit parameter uncertainties:
  1  2.56072
  2  11.5189
  3  1.1714e-06
  4  1.46392e-05
  5  14.2135
  6  8.59704e-07
  7  4.43048
  8  1.98106e-05
  9  0.000722594
  10  54.3284
  11  2.94731e-05
  12  8.67944
  13  5.9465e-07
  14  0.971399
  15  0.00448907
  16  31.1041
  17  59.709
  18  46.1907
  19  0.279349
  20  0.19976
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  1.981e-05  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.566e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.876e-01  1.998e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.042e+00  2.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.120 -4.254
Photon Flux Upper Limit: 6.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/236299/likelihoodResults_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.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) = 5349.66531206
delta logL = -0.000417198973082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5349.66489603
delta logL = -1.17159197544e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11422E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5482       1.0000          .0000       10.000    
     3 'Normalizat'    1.0418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88741       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+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=   5349.665     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      261 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    55.562        .18142E-01** at limit **
   2  Index         1.9823        7.2440        .50000        .10805E-06
   3  Normalizat    1.0415        .11260E-01    .30008E-03   -.53797E-04
   4  Prefactor     .88761        .83283E-02    .23701E-03   -.66146E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.98229
  Normalizat = 1.04151
  Prefactor  = 0.887611
 **********
 **   18 **HESSE 
 **********

 FCN=   5349.665     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      290 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    359.47        .27071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9823        8.9948        .50000       -.64794    
   3  Normalizat    1.0415        .29458E-01    .12003E-04   -.91653    
   4  Prefactor     .88761        .21789E-01    .94805E-05   -.96575    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.01181e-10
Minuit parameter uncertainties:
  1  0.000129646
  2  1142.98
  3  0.0294589
  4  0.0217887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236299': 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) = 5349.66489395
delta logL = 9.08335096028e-07

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  1.296e-04  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  1.982e+00  1.143e+03  0.000e+00  1.000e+01 (-1.000e+00)
248        Scale:  7.468e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  8.876e-01  2.179e-02  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  1.042e+00  2.946e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.120 -4.254

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/236299/cmap_HighResolution_498268801_498528001_4FGL_J0928.4-0415_daily_bin999.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='6.99e-08', time_completed='2021-08-31 12:17:45.333896', job_id='236299', GAL2='0.89', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630437465.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='9.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='999' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:17:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 236299: <4FGL_J0928.4-0415_daily_bin999> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin999> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 12:06:08 2021
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:06:12 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 12:06:12 2021
Terminated at Tue Aug 31 12:17:46 2021
Results reported at Tue Aug 31 12:17:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin999 142.12 -4.2539 498268801 498528001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0928.4-0415 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   529.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            698 sec.

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

