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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin804
RA = 142.12, Dec = -4.2539
tmin = 447724801, tmax = 447984001
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='236028', job_status='RUN', time_executed='2021-08-31 12:09:03.417437', time_epoch_executed='1630436943.42' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='804'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236028

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236028/ft1_4FGL_J0928.4-0415_daily_bin804.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236028/ft2_4FGL_J0928.4-0415_daily_bin804.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236028/ft1_4FGL_J0928.4-0415_daily_bin804.fits outfile=/scratch/kocevski/236028/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin804.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=447724801.0 tmax=447984001.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.41
user 3.22
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/236028/ft2_4FGL_J0928.4-0415_daily_bin804.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/236028/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin804.fits evtable="EVENTS" outfile="/scratch/kocevski/236028/ft1_filtered_4FGL_J0928.4-0415_daily_bin804.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.52
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/236028/ft1_filtered_4FGL_J0928.4-0415_daily_bin804.fits" evtable="EVENTS" scfile=/scratch/kocevski/236028/ft2_4FGL_J0928.4-0415_daily_bin804.fits sctable="SC_DATA" outfile=/scratch/kocevski/236028/ltcube_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.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/236028/ft2_4FGL_J0928.4-0415_daily_bin804.fits
.....................!
real 12.16
user 11.74
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236028/ft1_filtered_4FGL_J0928.4-0415_daily_bin804.fits evtable="EVENTS" scfile=/scratch/kocevski/236028/ft2_4FGL_J0928.4-0415_daily_bin804.fits sctable="SC_DATA" expcube=/scratch/kocevski/236028/ltcube_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.fits outfile=/scratch/kocevski/236028/expmap_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.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/236028/ltcube_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.fits
.....................!
real 190.28
user 185.98
sys 3.94

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/236028/ft1_filtered_4FGL_J0928.4-0415_daily_bin804.fits scfile=/scratch/kocevski/236028/ft2_4FGL_J0928.4-0415_daily_bin804.fits outfile=/scratch/kocevski/236028/cmap_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236028/ft1_filtered_4FGL_J0928.4-0415_daily_bin804.fits scfile=/scratch/kocevski/236028/ft2_4FGL_J0928.4-0415_daily_bin804.fits outfile=/scratch/kocevski/236028/cmap_HighResolution_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/236028/ft1_filtered_4FGL_J0928.4-0415_daily_bin804.fits evtable="EVENTS" scfile=/scratch/kocevski/236028/ft2_4FGL_J0928.4-0415_daily_bin804.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236028/Model_4FGL_J0928.4-0415_daily_bin804.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/236028/ft1_filtered_4FGL_J0928.4-0415_daily_bin804.fits.....................!
real 48.10
user 46.96
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/236028/ft1_filtered_4FGL_J0928.4-0415_daily_bin804.fits', '/scratch/kocevski/236028/ft2_4FGL_J0928.4-0415_daily_bin804.fits', expMap='/scratch/kocevski/236028/expmap_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.fits', expCube='/scratch/kocevski/236028/ltcube_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/236028/Model_4FGL_J0928.4-0415_daily_bin804.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/236028/ft1_filtered_4FGL_J0928.4-0415_daily_bin804.fits
Spacecraft file(s): /scratch/kocevski/236028/ft2_4FGL_J0928.4-0415_daily_bin804.fits
Exposure map: /scratch/kocevski/236028/expmap_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.fits
Exposure cube: /scratch/kocevski/236028/ltcube_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/236028/Model_4FGL_J0928.4-0415_daily_bin804.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) = 4337.33631849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22537       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5965       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .55242       1.0000         .10000E-03   10000.    
     5 'norm      '    .10212E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10396E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9586       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13721E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.850       1.0000         .10000E-03   10000.    
    12 'norm      '    .13848E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.2378       1.0000         .10000E-03   10000.    
    15 'norm      '    1.0841       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15926E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    35.204       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .62356       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0809       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=   4337.289     FROM MIGRAD    STATUS=CONVERGED    747 CALLS     2396 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21136        19.370        .19692E-02   -.32545E-03
   2  Prefactor     2.5969        14.720        .25320E-03    .72244E-04
   3  Prefactor     .10000E-03    7.4416        .17483E-02** at limit **
   4  norm          .55441        8.3346        .24799E-02    .16149E-03
   5  norm          .10000E-03    4.1919        .13098E-02** at limit **
   6  Prefactor     .10000E-03    15.793        .18142E-02** at limit **
   7  Prefactor     4.9576        3.9922        .11163E-03    .27049E-03
   8  Prefactor     .10000E-03    17.034        .18142E-02** at limit **
   9  Prefactor     .10000E-03    4.3797        .13450E-02** at limit **
  10  Prefactor     .10000E-03    41.635        .18142E-02** at limit **
  11  Prefactor     42.879        43.959        .61242E-04   -.61260E-05
  12  norm          .10000E-03    18.451        .36285E-03** at limit **
  13  norm          .10000E-03    2.5857        .10284E-02** at limit **
  14  norm          2.2377        .78888        .32874E-04    .26559E-03
  15  norm          1.0843        1.1181        .67169E-03   -.29440E-03
  16  norm          .10000E-03    8.6831        .18142E-02** at limit **
  17  Prefactor     .10026E-03    470.37        .87815E-02** at limit **
  18  Prefactor     35.163        32.176        .33771E-03    .54199E-05
  19  Normalizat    .62326        .24807        .30364E-03    .12131E-03
  20  Prefactor     1.0811        .18964        .18464E-03    .11621E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.211364
  Prefactor  = 2.59694
  Prefactor  = 0.0001
  norm       = 0.554411
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.95755
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.8793
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.23769
  norm       = 1.08427
  norm       = 0.0001
  Prefactor  = 0.000100259
  Prefactor  = 35.163
  Normalizat = 0.62326
  Prefactor  = 1.08106
 **********
 **   18 **HESSE 
 **********

 FCN=   4337.289     FROM HESSE     STATUS=OK           279 CALLS     2675 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21136        19.194        .78767E-04   -1.5616    
   2  Prefactor     2.5969        14.576        .10128E-04   -1.5386    
   3  Prefactor     .10000E-03    7.4433        .34967E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55441        8.2622        .99197E-04   -1.5559    
   5  norm          .10000E-03    4.1928        .26195E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.799        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.9576        3.9913        .44652E-05   -1.5263    
   8  Prefactor     .10000E-03    17.034        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.3799        .26900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    41.642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     42.879        43.922        .24497E-05   -1.4397    
  12  norm          .10000E-03    18.452        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5860        .20568E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.2377        .78860        .13150E-05   -1.5409    
  15  norm          1.0843        1.1182        .26867E-04   -1.5500    
  16  norm          .10000E-03    8.6840        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10026E-03    488.52        .35126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     35.163        32.139        .13508E-04   -1.4521    
  19  Normalizat    .62326        .24744        .12146E-04   -1.0701    
  20  Prefactor     1.0811        .18949        .36928E-04   -.90074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88571e-09
Minuit parameter uncertainties:
  1  4.0287
  2  12.3094
  3  7.37232e-05
  4  4.28082
  5  4.47717e-05
  6  0.000174849
  7  3.99154
  8  2.5341e-05
  9  1.79559e-05
  10  0.000256363
  11  43.9554
  12  2.62946e-05
  13  2.58406e-05
  14  0.788605
  15  1.11821
  16  2.17246e-05
  17  0.0226757
  18  32.1543
  19  0.247879
  20  0.189611
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  2.534e-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:  1.081e+00  1.896e-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:  6.233e-01  2.479e-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: 7.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/236028/likelihoodResults_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.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) = 4337.28887971
delta logL = -0.000279603607851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4337.28860233
delta logL = -2.22266862693e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9398       1.0000          .0000       10.000    
     3 'Normalizat'    .62326       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0811       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=   4337.289     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      277 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10928E-03    11.194        .18142E-01** at limit **
   2  Index         2.7901        6.1254        .50000        .30698E-04
   3  Normalizat    .62326        .48154E-02    .30364E-03   -.86115E-06
   4  Prefactor     1.0811        .37990E-02    .18464E-03   -.23348E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000109283
  Index      = 2.79012
  Normalizat = 0.623259
  Prefactor  = 1.08106
 **********
 **   18 **HESSE 
 **********

 FCN=   4337.289     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      306 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10928E-03    87.770        .22582E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7901        6.8006        .50000       -.45780    
   3  Normalizat    .62326        .13551E-01    .12146E-04   -1.0701    
   4  Prefactor     1.0811        .10690E-01    .36928E-04   -.90074    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.91619e-08
Minuit parameter uncertainties:
  1  0.0571732
  2  323.292
  3  0.0135506
  4  0.0106905
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236028': 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) = 4337.28860158
delta logL = -1.47538594319e-06

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.093e-04  5.717e-02  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.790e+00  3.233e+02  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:  1.081e+00  1.069e-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:  6.233e-01  1.355e-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/236028/cmap_HighResolution_447724801_447984001_4FGL_J0928.4-0415_daily_bin804.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.05e-03', job_status='DONE', photon_flux_upper_limit='7.74e-08', time_completed='2021-08-31 12:17:21.339917', job_id='236028', GAL2='1.08', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1630437441.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.48e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='804' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:17:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 236028: <4FGL_J0928.4-0415_daily_bin804> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin804> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 12:05:46 2021
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:05:47 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:05:47 2021
Terminated at Tue Aug 31 12:17:22 2021
Results reported at Tue Aug 31 12:17:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin804 142.12 -4.2539 447724801 447984001 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 :                                   496.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            696 sec.

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

