aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 33 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0928.4-0415_daily_bin1754
RA = 142.12, Dec = -4.2539
tmin = 693964801, tmax = 694224001
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='639354', job_status='RUN', time_executed='2023-01-01 00:58:01.987058', time_epoch_executed='1672563481.99' WHERE source_name='4FGL J0928.4-0415' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639354

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639354/ft1_4FGL_J0928.4-0415_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639354/ft2_4FGL_J0928.4-0415_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639354/ft1_4FGL_J0928.4-0415_daily_bin1754.fits outfile=/scratch/kocevski/639354/ft1_filteredMKT_4FGL_J0928.4-0415_daily_bin1754.fits ra=142.12 dec=-4.2539 rad=12.0 tmin=693964801.0 tmax=694224001.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.96
user 3.74
sys 0.17

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

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

Number of photons that the gtmktime cut: 297

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639354/ft1_filtered_4FGL_J0928.4-0415_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/639354/ft2_4FGL_J0928.4-0415_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/639354/ltcube_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.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/639354/ft2_4FGL_J0928.4-0415_daily_bin1754.fits
.....................!
real 15.13
user 14.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639354/ft1_filtered_4FGL_J0928.4-0415_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/639354/ft2_4FGL_J0928.4-0415_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/639354/ltcube_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.fits outfile=/scratch/kocevski/639354/expmap_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.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/639354/ltcube_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.fits
.....................!
real 192.22
user 186.17
sys 4.85

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/639354/ft1_filtered_4FGL_J0928.4-0415_daily_bin1754.fits scfile=/scratch/kocevski/639354/ft2_4FGL_J0928.4-0415_daily_bin1754.fits outfile=/scratch/kocevski/639354/cmap_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639354/ft1_filtered_4FGL_J0928.4-0415_daily_bin1754.fits scfile=/scratch/kocevski/639354/ft2_4FGL_J0928.4-0415_daily_bin1754.fits outfile=/scratch/kocevski/639354/cmap_HighResolution_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.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.58
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/639354/ft1_filtered_4FGL_J0928.4-0415_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/639354/ft2_4FGL_J0928.4-0415_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/639354/Model_4FGL_J0928.4-0415_daily_bin1754.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/639354/ft1_filtered_4FGL_J0928.4-0415_daily_bin1754.fits......................!
real 42.64
user 41.15
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639354/ft1_filtered_4FGL_J0928.4-0415_daily_bin1754.fits', '/scratch/kocevski/639354/ft2_4FGL_J0928.4-0415_daily_bin1754.fits', expMap='/scratch/kocevski/639354/expmap_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.fits', expCube='/scratch/kocevski/639354/ltcube_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639354/Model_4FGL_J0928.4-0415_daily_bin1754.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  0.000e+00  1.000e+06 ( 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/639354/ft1_filtered_4FGL_J0928.4-0415_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/639354/ft2_4FGL_J0928.4-0415_daily_bin1754.fits
Exposure map: /scratch/kocevski/639354/expmap_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.fits
Exposure cube: /scratch/kocevski/639354/ltcube_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639354/Model_4FGL_J0928.4-0415_daily_bin1754.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) = 3399.32491219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39255E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .76994E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .93830E-03   1.0000          .0000       .10000E+07
     4 'norm      '    12.969       1.0000          .0000       .10000E+07
     5 'norm      '    .28229E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16329E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .57520E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    87.321       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.1148       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88092E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .35194E-07   1.0000          .0000       .10000E+07
    12 'norm      '    .99669       1.0000          .0000       .10000E+07
    13 'norm      '    .38886E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .14509       1.0000          .0000       .10000E+07
    15 'norm      '    .50632E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    100.76       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.8478       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3065       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74264       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3399.232     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     1568 TOTAL
                     EDM=   .42E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.4699       -.65237E-07** at limit **
   2  Prefactor      .0000        5.9550        .51757E-06** at limit **
   3  Prefactor      .0000        5.1660       -.18380E-06** at limit **
   4  norm          13.023        8.6921        .12755E-07   -.40130E-03
   5  norm           .0000        2.7919       -.16563E-07** at limit **
   6  Prefactor      .0000        21.075        .10893E-06** at limit **
   7  Prefactor      .0000        2.7338        .15767E-06** at limit **
   8  Prefactor     89.948        65.029       -.11193E-05    .14941E-03
   9  Prefactor     2.5362        116.08        .11554E-05    .33785E-04
  10  Prefactor     .55511E-10    13.345        .64802E-06** at limit **
  11  norm          .55511E-10    11.066       -.11030E-05** at limit **
  12  norm          .99572        3.7506        .51973E-06    .14100E-03
  13  norm           .0000        1.0643       -.11000E-06** at limit **
  14  norm          .14947        5.7176        .91024E-06** at limit **
  15  norm           .0000        9.3931       -.39285E-06** at limit **
  16  Prefactor     103.20        85.568       -.78531E-06   -.14921E-03
  17  Prefactor     6.4638        48.956        .33703E-05   -.56117E-03
  18  Normalizat    1.3013        .32156        .47033E-05    .17373E-05
  19  Prefactor     .74321        .22099       -.11424E-05   -.28425E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 13.023
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 89.9483
  Prefactor  = 2.53618
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  norm       = 0.995724
  norm       = 0
  norm       = 0.149465
  norm       = 0
  Prefactor  = 103.196
  Prefactor  = 6.46377
  Normalizat = 1.3013
  Prefactor  = 0.743206
 **********
 **   18 **HESSE 
 **********

 FCN=   3399.232     FROM HESSE     STATUS=OK           312 CALLS     1880 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.4643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        5.9606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        5.1589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          13.023        8.6669        .27789E-03   -1.5636    
   5  norm           .0000        2.7876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        20.497        .17291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.7281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     89.948        64.866        .10702E-03   -1.5518    
   9  Prefactor     2.5362        114.63        .11154E-02   -1.5676    
  10  Prefactor     .55511E-10    13.371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    11.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .99572        3.7710        .43648E-03   -1.5688    
  13  norm           .0000        .63011        .16937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .14947        2.2767        .28750E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        9.4205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     103.20        85.383        .99628E-04   -1.5505    
  17  Prefactor     6.4638        49.785        .41506E-03   -1.5657    
  18  Normalizat    1.3013        .27014        .56976E-01   -.83528    
  19  Prefactor     .74321        .18516        .42966E-01   -1.0186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60008e-09
Minuit parameter uncertainties:
  1  4.82191e-06
  2  7.8723e-06
  3  1.94307e-06
  4  8.66692
  5  8.11456e-07
  6  8.06726e-06
  7  6.26149e-07
  8  64.8661
  9  34.1019
  10  4.50726e-05
  11  5.59793e-05
  12  3.77101
  13  9.21757e-07
  14  1.16669
  15  1.20931e-05
  16  85.3843
  17  35.8778
  18  0.270437
  19  0.185311
Done.

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

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  8.995e+01  6.487e+01  0.000e+00  1.000e+06 ( 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:  7.432e-01  1.853e-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.301e+00  2.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.87
Ra Dec: 142.120 -4.254
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 1.00e-07 +/- 7.21e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.95e-05

TS (Fixed Index): 2.87
Ra Dec: 142.120 -4.254
Photon Flux Upper Limit: 2.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.97e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639354/likelihoodResults_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.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) = 3399.08883437
delta logL = 0.143145421779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3399.08840022
delta logL = 0.143579572438

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    113.06       1.0000          .0000       .10000E+07
     2 'Index     '    2.2047       1.0000          .0000       10.000    
     3 'Normalizat'    1.3288       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72798       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=   3399.088     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      307 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     112.89        83.559        .18811E-04    .21153E-05
   2  Index         2.2028        .62744        .67403E-02    .65136E-04
   3  Normalizat    1.3290        .31245        .24973E-03   -.91048E-07
   4  Prefactor     .72798        .21818        .23034E-03   -.24678E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 112.891
  Index      = 2.20281
  Normalizat = 1.32904
  Prefactor  = 0.727983
 **********
 **   18 **HESSE 
 **********

 FCN=   3399.088     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     112.89        83.021        .75242E-06   -1.5495    
   2  Index         2.2028        .62320        .13481E-02   -.59371    
   3  Normalizat    1.3290        .31276        .99892E-05   -.82704    
   4  Prefactor     .72798        .21838        .92136E-05   -1.0244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44213e-13
Minuit parameter uncertainties:
  1  83.0221
  2  0.625569
  3  0.313204
  4  0.21864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639354': 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) = 3399.08839181
delta logL = 0.143587981989

Extracting fit parameters...

4FGL J0928.4-0415
   Spectrum: PowerLaw
246    Prefactor:  1.129e+02  8.302e+01  0.000e+00  1.000e+06 ( 1.000e-13)
247        Index:  2.203e+00  6.256e-01  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:  7.280e-01  2.186e-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.329e+00  3.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.13
Ra Dec: 142.120 -4.254
Photon Index (Free Index): 2.20 +/- 0.63
Photon Flux (Free Index): 7.87e-08 +/- 7.31e-08
Energy Flux (Free Index): 3.52e-05 +/- 3.22e-05

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/639354/cmap_HighResolution_693964801_694224001_4FGL_J0928.4-0415_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.97e-02', comment='SUCCESS', photon_flux='1.00e-07', energy_flux2='3.52e-05', photon_flux_error='7.21e-08', dlogl='1.44e-01', energy_flux='2.71e-05', photon_flux2='7.87e-08', job_status='DONE', time_completed='2023-01-01 01:05:17.260820', photon_index_error2='0.63', photon_index2='2.20', ts='2.87', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='2.53e-07', energy_flux_error2='3.22e-05', EG='1.30', time_epoch_completed='1672563917.26', return_code='0', job_id='639354', GAL2='0.73', EG2='1.33', return_code2='0', energy_flux_error='1.95e-05', photon_flux_error2='7.31e-08', ts2='3.13', photon_index='2.57' WHERE bin_id='1754' AND source_name='4FGL J0928.4-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:05:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 639354: <4FGL_J0928.4-0415_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0928.4-0415_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 00:55:22 2023
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:57:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:57:20 2023
Terminated at Sun Jan  1 01:05:18 2023
Results reported at Sun Jan  1 01:05:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0928.4-0415_daily_bin1754 142.12 -4.2539 693964801 694224001 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 :                                   436.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   477 sec.
    Turnaround time :                            596 sec.

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

