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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1118
RA = 142.12, Dec = -4.2539
tmin = 529113601, tmax = 529372801
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='236558', job_status='RUN', time_executed='2021-08-31 12:08:45.922612', time_epoch_executed='1630436925.92' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236558

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236558/ft1_4FGL_J0928.4-0415_daily_bin1118.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236558/ft2_4FGL_J0928.4-0415_daily_bin1118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236558/ft1_4FGL_J0928.4-0415_daily_bin1118.fits outfile=/scratch/kocevski/236558/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1118.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=529113601.0 tmax=529372801.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 8.26
user 3.67
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/236558/ft1_filtered_4FGL_J0928.4-0415_daily_bin1118.fits" evtable="EVENTS" scfile=/scratch/kocevski/236558/ft2_4FGL_J0928.4-0415_daily_bin1118.fits sctable="SC_DATA" outfile=/scratch/kocevski/236558/ltcube_529113601_529372801_4FGL_J0928.4-0415_daily_bin1118.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/236558/ft2_4FGL_J0928.4-0415_daily_bin1118.fits
.....................!
real 12.98
user 11.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236558/ft1_filtered_4FGL_J0928.4-0415_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/236558/ft2_4FGL_J0928.4-0415_daily_bin1118.fits sctable="SC_DATA" expcube=/scratch/kocevski/236558/ltcube_529113601_529372801_4FGL_J0928.4-0415_daily_bin1118.fits outfile=/scratch/kocevski/236558/expmap_529113601_529372801_4FGL_J0928.4-0415_daily_bin1118.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/236558/ltcube_529113601_529372801_4FGL_J0928.4-0415_daily_bin1118.fits
.....................!
real 196.73
user 185.43
sys 4.34

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/236558/ft1_filtered_4FGL_J0928.4-0415_daily_bin1118.fits scfile=/scratch/kocevski/236558/ft2_4FGL_J0928.4-0415_daily_bin1118.fits outfile=/scratch/kocevski/236558/cmap_529113601_529372801_4FGL_J0928.4-0415_daily_bin1118.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236558/ft1_filtered_4FGL_J0928.4-0415_daily_bin1118.fits scfile=/scratch/kocevski/236558/ft2_4FGL_J0928.4-0415_daily_bin1118.fits outfile=/scratch/kocevski/236558/cmap_HighResolution_529113601_529372801_4FGL_J0928.4-0415_daily_bin1118.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/236558/ft1_filtered_4FGL_J0928.4-0415_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/236558/ft2_4FGL_J0928.4-0415_daily_bin1118.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236558/Model_4FGL_J0928.4-0415_daily_bin1118.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/236558/ft1_filtered_4FGL_J0928.4-0415_daily_bin1118.fits.....................!
real 64.99
user 63.24
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5410       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3992       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .11147E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    7.4191       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7837       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.296       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.6960       1.0000         .10000E-03   10000.    
    13 'norm      '    1.6144       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0253       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    57.137       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0667       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95590       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=   6010.185     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2043 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5407        3.6301       -.14839E-06    .16280E-03
   2  Prefactor     1.4040        33.480       -.53469E-05   -.19055E-03
   3  Prefactor     .10000E-03    7.3413       -.59980E-06** at limit **
   4  norm          .10000E-03    2.1664       -.26712E-06** at limit **
   5  norm          7.4199        5.7253       -.90113E-07   -.84650E-04
   6  Prefactor     .10000E-03    12.820        .26965E-05** at limit **
   7  Prefactor     2.7846        4.1584       -.21396E-05   -.20866E-03
   8  Prefactor     .10000E-03    19.275       -.20245E-05** at limit **
   9  Prefactor     10.298        13.379       -.38461E-06    .35340E-04
  10  Prefactor     .10000E-03    13.143        .20411E-05** at limit **
  11  Prefactor     .10000E-03    54.137       -.54192E-05** at limit **
  12  norm          6.6862        7.7918       -.68995E-07    .82600E-05
  13  norm          1.6142        4.5643       -.85835E-05   -.23933E-03
  14  norm          1.0252        .61275       -.12916E-06   -.29240E-04
  15  norm          .10000E-03    1.2476        .44783E-06** at limit **
  16  norm          .10000E-03    16.139       -.87426E-05** at limit **
  17  Prefactor     .10000E-03    21.183        .92024E-05** at limit **
  18  Prefactor     57.130        45.625       -.67501E-05    .22194E-03
  19  Normalizat    1.0667        .19910        .25371E-05    .25924E-03
  20  Prefactor     .95593        .14755        .15349E-05    .34996E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.54065
  Prefactor  = 1.404
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.41989
  Prefactor  = 0.000100001
  Prefactor  = 2.78461
  Prefactor  = 0.0001
  Prefactor  = 10.2979
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.68623
  norm       = 1.61418
  norm       = 1.02525
  norm       = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.000100003
  Prefactor  = 57.1297
  Normalizat = 1.06667
  Prefactor  = 0.955928
 **********
 **   18 **HESSE 
 **********

 FCN=   6010.185     FROM HESSE     STATUS=OK           289 CALLS     2332 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5407        3.5875        .11079E-03   -1.5237    
   2  Prefactor     1.4040        34.150        .36689E-03   -1.5471    
   3  Prefactor     .10000E-03    7.4760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.0832        .22015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.4199        5.7260        .14725E-03   -1.5163    
   6  Prefactor     .10000E-03    12.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7846        4.1942        .18237E-03   -1.5374    
   8  Prefactor     .10000E-03    19.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.298        13.383        .12487E-03   -1.5066    
  10  Prefactor     .10000E-03    13.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    54.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.6862        7.7766        .15507E-03   -1.5191    
  13  norm          1.6142        4.8354        .27824E-03   -1.5454    
  14  norm          1.0252        .59981        .44680E-04   -1.5505    
  15  norm          .10000E-03    1.3089        .16913E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    16.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     57.130        45.508        .53072E-04   -1.4195    
  19  Normalizat    1.0667        .23735        .27122E-03   -.90829    
  20  Prefactor     .95593        .17651        .21552E-03   -.94213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56122e-09
Minuit parameter uncertainties:
  1  3.5876
  2  13.8571
  3  1.23683e-05
  4  2.12106e-05
  5  5.72645
  6  0.000165238
  7  4.19459
  8  0.000105295
  9  13.3872
  10  8.19354e-05
  11  0.000478812
  12  7.77781
  13  4.8366
  14  0.59981
  15  1.94648e-05
  16  0.000449804
  17  0.000526458
  18  45.536
  19  0.237582
  20  0.176619
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  1.053e-04  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:  9.559e-01  1.766e-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.067e+00  2.376e-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.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/236558/likelihoodResults_529113601_529372801_4FGL_J0928.4-0415_daily_bin1118.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) = 6010.18530047
delta logL = -0.000246926909313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6010.1850536
delta logL = -4.93737388751e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4689       1.0000          .0000       10.000    
     3 'Normalizat'    1.0667       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95592       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.

 FCN=   6010.185     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      232 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    289.59        .90712E-02** at limit **
   2  Index         2.4729        8.6873        .50000       -.18837E-05
   3  Normalizat    1.0667        .19046        .61322E-01    .11705E-04
   4  Prefactor     .95593        .14485        .45714E-01    .73323E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.47294
  Normalizat = 1.06667
  Prefactor  = 0.955927
 **********
 **   18 **HESSE 
 **********

 FCN=   6010.185     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4729        6.2365        .50000       -.52986    
   3  Normalizat    1.0667        .22647        .27122E-03   -.90829    
   4  Prefactor     .95593        .17243        .21552E-03   -.94213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79655e-12
Minuit parameter uncertainties:
  1  1.41671e-06
  2  4.48498
  3  0.226674
  4  0.172528
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236558': 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) = 6010.18505358
delta logL = -3.46035449184e-08

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  1.417e-06  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.473e+00  4.485e+00  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:  9.559e-01  1.725e-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.067e+00  2.267e-01  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/236558/cmap_HighResolution_529113601_529372801_4FGL_J0928.4-0415_daily_bin1118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.82e-03', job_status='DONE', photon_flux_upper_limit='7.46e-08', time_completed='2021-08-31 12:18:11.451617', job_id='236558', GAL2='0.96', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630437491.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-3.46e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1118' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:18:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 236558: <4FGL_J0928.4-0415_daily_bin1118> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1118> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 12:06:37 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:06:38 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:38 2021
Terminated at Tue Aug 31 12:18:12 2021
Results reported at Tue Aug 31 12:18:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1118 142.12 -4.2539 529113601 529372801 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 :                                   543.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            695 sec.

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

