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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1451
RA = 142.12, Dec = -4.2539
tmin = 615427201, tmax = 615686401
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='238096', job_status='RUN', time_executed='2021-08-31 12:11:23.491419', time_epoch_executed='1630437083.49' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1451'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238096

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238096/ft1_4FGL_J0928.4-0415_daily_bin1451.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238096/ft2_4FGL_J0928.4-0415_daily_bin1451.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238096/ft1_4FGL_J0928.4-0415_daily_bin1451.fits outfile=/scratch/kocevski/238096/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1451.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=615427201.0 tmax=615686401.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.48
user 3.27
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/238096/ft1_filtered_4FGL_J0928.4-0415_daily_bin1451.fits" evtable="EVENTS" scfile=/scratch/kocevski/238096/ft2_4FGL_J0928.4-0415_daily_bin1451.fits sctable="SC_DATA" outfile=/scratch/kocevski/238096/ltcube_615427201_615686401_4FGL_J0928.4-0415_daily_bin1451.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/238096/ft2_4FGL_J0928.4-0415_daily_bin1451.fits
.....................!
real 11.80
user 11.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238096/ft1_filtered_4FGL_J0928.4-0415_daily_bin1451.fits evtable="EVENTS" scfile=/scratch/kocevski/238096/ft2_4FGL_J0928.4-0415_daily_bin1451.fits sctable="SC_DATA" expcube=/scratch/kocevski/238096/ltcube_615427201_615686401_4FGL_J0928.4-0415_daily_bin1451.fits outfile=/scratch/kocevski/238096/expmap_615427201_615686401_4FGL_J0928.4-0415_daily_bin1451.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/238096/ltcube_615427201_615686401_4FGL_J0928.4-0415_daily_bin1451.fits
.....................!
real 194.55
user 186.69
sys 6.19

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/238096/ft1_filtered_4FGL_J0928.4-0415_daily_bin1451.fits scfile=/scratch/kocevski/238096/ft2_4FGL_J0928.4-0415_daily_bin1451.fits outfile=/scratch/kocevski/238096/cmap_615427201_615686401_4FGL_J0928.4-0415_daily_bin1451.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.90
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/238096/ft1_filtered_4FGL_J0928.4-0415_daily_bin1451.fits scfile=/scratch/kocevski/238096/ft2_4FGL_J0928.4-0415_daily_bin1451.fits outfile=/scratch/kocevski/238096/cmap_HighResolution_615427201_615686401_4FGL_J0928.4-0415_daily_bin1451.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.59
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/238096/ft1_filtered_4FGL_J0928.4-0415_daily_bin1451.fits evtable="EVENTS" scfile=/scratch/kocevski/238096/ft2_4FGL_J0928.4-0415_daily_bin1451.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/238096/Model_4FGL_J0928.4-0415_daily_bin1451.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/238096/ft1_filtered_4FGL_J0928.4-0415_daily_bin1451.fits.....................!
real 64.37
user 57.72
sys 1.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0610       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.3073       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3646       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.9019       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    51.356       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.217       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10399E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .45554E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1085       1.0000         .10000E-03   10000.    
    16 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.648       1.0000         .10000E-03   10000.    
    18 'Prefactor '    57.284       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .89848       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95680       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=   5771.862     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     2072 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0609        2.2642        .38576E-07    .21165E-04
   2  Prefactor     .10000E-03    9.4462        .36960E-09** at limit **
   3  Prefactor     .10000E-03    2.7956        .56269E-07** at limit **
   4  norm          .10000E-03    1.4889       -.50331E-07** at limit **
   5  norm          1.3192        10.409        .10527E-04   -.45197E-03
   6  Prefactor     2.3112        42.932       -.46164E-04   -.18623E-03
   7  Prefactor     7.8997        4.2359        .17354E-06   -.98186E-04
   8  Prefactor     .10001E-03    52.663        .14057E-04** at limit **
   9  Prefactor     51.354        21.374        .10468E-05   -.34924E-05
  10  Prefactor     14.223        18.069        .13058E-05   -.14434E-04
  11  Prefactor     .10000E-03    13.557       -.74364E-07** at limit **
  12  norm          .10001E-03    4.8561        .11097E-05** at limit **
  13  norm          .10000E-03    2.8422        .17793E-07** at limit **
  14  norm          .10000E-03    .27179        .50804E-07** at limit **
  15  norm          2.1084        1.6781       -.93177E-07   -.60798E-04
  16  norm          .10000E-03    20.568       -.12005E-05** at limit **
  17  Prefactor     16.628        46.377       -.42155E-04   -.23636E-04
  18  Prefactor     57.319        47.946        .36337E-04    .19414E-04
  19  Normalizat    .89848        .20165        .18910E-06   -.11272E-03
  20  Prefactor     .95695        .14325       -.33601E-06   -.10615E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.06095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.31923
  Prefactor  = 2.3112
  Prefactor  = 7.89974
  Prefactor  = 0.000100008
  Prefactor  = 51.3543
  Prefactor  = 14.2235
  Prefactor  = 0.0001
  norm       = 0.00010001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.10838
  norm       = 0.0001
  Prefactor  = 16.6283
  Prefactor  = 57.3191
  Normalizat = 0.89848
  Prefactor  = 0.956946
 **********
 **   18 **HESSE 
 **********

 FCN=   5771.862     FROM HESSE     STATUS=OK           295 CALLS     2367 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0609        2.2640        .95616E-04   -1.5358    
   2  Prefactor     .10000E-03    9.6483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.8084        .12404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5089        .90489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3192        10.004        .38589E-03   -1.5478    
   6  Prefactor     2.3112        42.527        .26649E-03   -1.5404    
   7  Prefactor     7.8997        4.2334        .10966E-03   -1.5146    
   8  Prefactor     .10001E-03    53.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     51.354        21.337        .55964E-04   -1.4273    
  10  Prefactor     14.223        18.058        .10623E-03   -1.4954    
  11  Prefactor     .10000E-03    13.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10001E-03    13.376        .32265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.9199        .25000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .47807        .75545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1084        1.6821        .85113E-04   -1.5418    
  16  norm          .10000E-03    20.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.628        46.393        .98162E-04   -1.4892    
  18  Prefactor     57.319        47.701        .53004E-04   -1.4192    
  19  Normalizat    .89848        .23459        .27748E-03   -.96514    
  20  Prefactor     .95695        .16838        .20331E-03   -.94179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9653e-09
Minuit parameter uncertainties:
  1  2.26403
  2  9.88902e-06
  3  1.02111e-05
  4  4.97242e-06
  5  7.26702
  6  19.8439
  7  4.23361
  8  0.00128668
  9  21.3406
  10  18.065
  11  1.19185e-05
  12  0.000721721
  13  5.23767e-06
  14  4.19033e-06
  15  1.68213
  16  2.37522e-05
  17  46.4939
  18  47.733
  19  0.234859
  20  0.168468
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  1.287e-03  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.569e-01  1.685e-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:  8.985e-01  2.349e-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: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/238096/likelihoodResults_615427201_615686401_4FGL_J0928.4-0415_daily_bin1451.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) = 5771.86236686
delta logL = -8.97103755051e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5771.86227779
delta logL = -6.46116859571e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10705E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9827       1.0000          .0000       10.000    
     3 'Normalizat'    .89848       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95695       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=   5771.862     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      273 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10767E-03    21.497        .18142E-01** at limit **
   2  Index         2.8307        6.4725        .50000        .71337E-05
   3  Normalizat    .89848        .34833E-02    .27748E-03   -.14467E-03
   4  Prefactor     .95695        .26407E-02    .20331E-03   -.97824E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010767
  Index      = 2.83072
  Normalizat = 0.89848
  Prefactor  = 0.956946
 **********
 **   18 **HESSE 
 **********

 FCN=   5771.862     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      302 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10767E-03    232.92        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8307        7.7312        .50000       -.44877    
   3  Normalizat    .89848        .11434E-01    .11099E-04   -.96514    
   4  Prefactor     .95695        .86682E-02    .40662E-04   -.94179    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.71888e-09
Minuit parameter uncertainties:
  1  0.0848645
  2  638.084
  3  0.0114344
  4  0.00866821
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238096': 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) = 5771.86227752
delta logL = -3.72461727238e-07

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.077e-04  8.486e-02  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.831e+00  6.381e+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:  9.569e-01  8.668e-03  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:  8.985e-01  1.143e-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/238096/cmap_HighResolution_615427201_615686401_4FGL_J0928.4-0415_daily_bin1451.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.34e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-08-31 12:21:02.305137', job_id='238096', GAL2='0.96', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630437662.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-3.72e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1451' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:21:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 238096: <4FGL_J0928.4-0415_daily_bin1451> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1451> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 12:10:58 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:11:02 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:11:02 2021
Terminated at Tue Aug 31 12:21:03 2021
Results reported at Tue Aug 31 12:21:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1451 142.12 -4.2539 615427201 615686401 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 :                                   547.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            605 sec.

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

