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


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1478
RA = 142.12, Dec = -4.2539
tmin = 622425601, tmax = 622684801
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='238123', job_status='RUN', time_executed='2021-08-31 12:11:24.830606', time_epoch_executed='1630437084.83' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1478'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238123

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238123/ft1_4FGL_J0928.4-0415_daily_bin1478.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238123/ft2_4FGL_J0928.4-0415_daily_bin1478.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238123/ft1_4FGL_J0928.4-0415_daily_bin1478.fits outfile=/scratch/kocevski/238123/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1478.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=622425601.0 tmax=622684801.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 4.31
user 4.02
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/238123/ft1_filtered_4FGL_J0928.4-0415_daily_bin1478.fits" evtable="EVENTS" scfile=/scratch/kocevski/238123/ft2_4FGL_J0928.4-0415_daily_bin1478.fits sctable="SC_DATA" outfile=/scratch/kocevski/238123/ltcube_622425601_622684801_4FGL_J0928.4-0415_daily_bin1478.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/238123/ft2_4FGL_J0928.4-0415_daily_bin1478.fits
.....................!
real 12.86
user 12.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238123/ft1_filtered_4FGL_J0928.4-0415_daily_bin1478.fits evtable="EVENTS" scfile=/scratch/kocevski/238123/ft2_4FGL_J0928.4-0415_daily_bin1478.fits sctable="SC_DATA" expcube=/scratch/kocevski/238123/ltcube_622425601_622684801_4FGL_J0928.4-0415_daily_bin1478.fits outfile=/scratch/kocevski/238123/expmap_622425601_622684801_4FGL_J0928.4-0415_daily_bin1478.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/238123/ltcube_622425601_622684801_4FGL_J0928.4-0415_daily_bin1478.fits
.....................!
real 191.31
user 185.24
sys 5.23

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/238123/ft1_filtered_4FGL_J0928.4-0415_daily_bin1478.fits scfile=/scratch/kocevski/238123/ft2_4FGL_J0928.4-0415_daily_bin1478.fits outfile=/scratch/kocevski/238123/cmap_622425601_622684801_4FGL_J0928.4-0415_daily_bin1478.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.78
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/238123/ft1_filtered_4FGL_J0928.4-0415_daily_bin1478.fits scfile=/scratch/kocevski/238123/ft2_4FGL_J0928.4-0415_daily_bin1478.fits outfile=/scratch/kocevski/238123/cmap_HighResolution_622425601_622684801_4FGL_J0928.4-0415_daily_bin1478.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.71
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/238123/ft1_filtered_4FGL_J0928.4-0415_daily_bin1478.fits evtable="EVENTS" scfile=/scratch/kocevski/238123/ft2_4FGL_J0928.4-0415_daily_bin1478.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/238123/Model_4FGL_J0928.4-0415_daily_bin1478.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/238123/ft1_filtered_4FGL_J0928.4-0415_daily_bin1478.fits.....................!
real 61.59
user 57.58
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6636       1.0000         .10000E-03   10000.    
     4 'norm      '    8.0398       1.0000         .10000E-03   10000.    
     5 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.1593       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.5212       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.935       1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.647       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9136       1.0000         .10000E-03   10000.    
    12 'norm      '    .25748E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .42689       1.0000         .10000E-03   10000.    
    15 'norm      '    1.4996       1.0000         .10000E-03   10000.    
    16 'norm      '    9.8832       1.0000         .10000E-03   10000.    
    17 'Prefactor '    40.684       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .66920       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=   5496.468     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     2042 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1848       -.42112E-07** at limit **
   2  Prefactor     .10000E-03    9.6365       -.98604E-07** at limit **
   3  Prefactor     4.6636        7.5809        .34043E-05   -.14094E-02
   4  norm          8.0405        5.4035       -.22320E-06   -.41310E-03
   5  norm          .10000E-03    3.8565        .85570E-08** at limit **
   6  Prefactor     7.1588        16.306        .35805E-06   -.26220E-04
   7  Prefactor     4.5212        3.8573        .71615E-06    .49978E-03
   8  Prefactor     .10000E-03    22.044       -.38122E-07** at limit **
   9  Prefactor     19.934        20.812        .12414E-06   -.49533E-04
  10  Prefactor     32.644        36.970       -.16618E-05   -.13460E-03
  11  Prefactor     2.9217        76.447        .14575E-04    .15202E-03
  12  norm          .10000E-03    5.5362       -.60139E-06** at limit **
  13  norm          .10000E-03    1.8263        .14412E-07** at limit **
  14  norm          .42689        .61417        .94915E-07   -.57252E-03
  15  norm          1.4996        1.4203        .44902E-07    .52341E-04
  16  norm          9.8833        11.895        .99833E-07    .95261E-07
  17  Prefactor     40.696        51.320        .74531E-05    .30481E-03
  18  Prefactor     .10000E-03    16.163        .12599E-06** at limit **
  19  Normalizat    1.3639        .21925       -.11189E-05    .32222E-04
  20  Prefactor     .66921        .15021       -.86719E-06   -.11562E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.66358
  norm       = 8.04055
  norm       = 0.0001
  Prefactor  = 7.1588
  Prefactor  = 4.52122
  Prefactor  = 0.0001
  Prefactor  = 19.9345
  Prefactor  = 32.6437
  Prefactor  = 2.92173
  norm       = 0.000100004
  norm       = 0.0001
  norm       = 0.426894
  norm       = 1.49956
  norm       = 9.88331
  Prefactor  = 40.6963
  Prefactor  = 0.0001
  Normalizat = 1.36385
  Prefactor  = 0.669211
 **********
 **   18 **HESSE 
 **********

 FCN=   5496.468     FROM HESSE     STATUS=OK           299 CALLS     2341 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1921        .78798E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.7103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.6636        9.5389        .93179E-03   -1.5276    
   4  norm          8.0405        5.4413        .13409E-03   -1.5141    
   5  norm          .10000E-03    3.9105        .14215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.1588        16.311        .14992E-03   -1.5173    
   7  Prefactor     4.5212        3.8713        .12834E-03   -1.5283    
   8  Prefactor     .10000E-03    22.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.934        20.888        .89707E-04   -1.4815    
  10  Prefactor     32.644        37.159        .70130E-04   -1.4565    
  11  Prefactor     2.9217        78.097        .23802E-03   -1.5366    
  12  norm          .10000E-03    30.805        .32791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.8395        .97818E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .42689        .58687        .65116E-03   -1.5577    
  15  norm          1.4996        1.4307        .83494E-04   -1.5463    
  16  norm          9.8833        11.891        .12746E-03   -1.5079    
  17  Prefactor     40.696        52.455        .62844E-04   -1.4431    
  18  Prefactor     .10000E-03    16.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3639        .26345        .24500E-03   -.81680    
  20  Prefactor     .66921        .17876        .24091E-03   -1.0475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37054e-09
Minuit parameter uncertainties:
  1  1.21359e-07
  2  3.54211e-06
  3  9.54204
  4  5.44162
  5  8.09852e-06
  6  16.3215
  7  3.87146
  8  8.98286e-06
  9  20.8956
  10  37.1854
  11  30.2545
  12  0.000707062
  13  4.72828e-06
  14  0.586881
  15  1.43078
  16  11.894
  17  52.5144
  18  3.63718e-05
  19  0.26371
  20  0.178917
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  8.983e-06  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:  6.692e-01  1.789e-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.364e+00  2.637e-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: 8.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/238123/likelihoodResults_622425601_622684801_4FGL_J0928.4-0415_daily_bin1478.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): 0
logL (Free Index) = 5496.46792459
delta logL = -0.000215797915189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5496.46770887
delta logL = -7.81910785008e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4802       1.0000          .0000       10.000    
     3 'Normalizat'    1.3639       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66920       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=   5496.468     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      230 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.557        .90712E-02** at limit **
   2  Index         2.4876        5.8288        .50000       -.30801E-05
   3  Normalizat    1.3639        .20405        .55407E-01    .62458E-05
   4  Prefactor     .66921        .14663        .41990E-01    .18885E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.48761
  Normalizat = 1.36385
  Prefactor  = 0.669211
 **********
 **   18 **HESSE 
 **********

 FCN=   5496.468     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .99E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4876        6.2434        .50000       -.52646    
   3  Normalizat    1.3639        .24076        .24500E-03   -.81680    
   4  Prefactor     .66921        .17301        .24091E-03   -1.0475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.89218e-12
Minuit parameter uncertainties:
  1  3.7134e-06
  2  4.43575
  3  0.240961
  4  0.17315
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238123': 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) = 5496.46770885
delta logL = -5.46142473468e-08

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.000e-04  3.713e-06  1.000e-04  1.000e+04 ( 1.000e-13)
247        Index:  2.488e+00  4.436e+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:  6.692e-01  1.732e-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.364e+00  2.410e-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/238123/cmap_HighResolution_622425601_622684801_4FGL_J0928.4-0415_daily_bin1478.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.63e-03', job_status='DONE', photon_flux_upper_limit='8.48e-08', time_completed='2021-08-31 12:20:44.758329', job_id='238123', GAL2='0.67', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1630437644.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='-5.46e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1478' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:20:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 238123: <4FGL_J0928.4-0415_daily_bin1478> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1478> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 12:11:01 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:11:05 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:05 2021
Terminated at Tue Aug 31 12:20:45 2021
Results reported at Tue Aug 31 12:20:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1478 142.12 -4.2539 622425601 622684801 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 :                                   532.51 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             353.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   580 sec.
    Turnaround time :                            584 sec.

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

