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


Performing analysis on: 4FGL_J1045.8-2928_daily_bin1764
RA = 161.468, Dec = -29.4795
tmin = 696556801, tmax = 696816001
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='442352', job_status='RUN', time_executed='2023-01-31 00:39:51.647322', time_epoch_executed='1675154391.65' WHERE source_name='4FGL J1045.8-2928' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/442352

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/442352/ft1_4FGL_J1045.8-2928_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/442352/ft1_4FGL_J1045.8-2928_daily_bin1764.fits outfile=/scratch/kocevski/442352/ft1_filteredMKT_4FGL_J1045.8-2928_daily_bin1764.fits ra=161.468 dec=-29.4795 rad=12.0 tmin=696556801.0 tmax=696816001.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.08
user 2.85
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.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/442352/ft1_filteredMKT_4FGL_J1045.8-2928_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/442352/ft1_filtered_4FGL_J1045.8-2928_daily_bin1764.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.47
user 0.29
sys 0.16

Number of photons that the gtmktime cut: 1079

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/442352/ft1_filtered_4FGL_J1045.8-2928_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/442352/ltcube_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.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/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits
.....................!
real 13.97
user 13.55
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/442352/ft1_filtered_4FGL_J1045.8-2928_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/442352/ltcube_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.fits outfile=/scratch/kocevski/442352/expmap_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.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/442352/ltcube_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.fits
.....................!
real 160.46
user 155.52
sys 4.49

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 181 point sources and 0 extended sources

Setting source of interest to:
4FGL J1045.8-2928 @ 161.468 -29.4795

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/442352/ft1_filtered_4FGL_J1045.8-2928_daily_bin1764.fits scfile=/scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits outfile=/scratch/kocevski/442352/cmap_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.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=161.468 yref=-29.4795 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.49
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/442352/ft1_filtered_4FGL_J1045.8-2928_daily_bin1764.fits scfile=/scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits outfile=/scratch/kocevski/442352/cmap_HighResolution_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.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=161.468 yref=-29.4795 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.50
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/442352/ft1_filtered_4FGL_J1045.8-2928_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/442352/Model_4FGL_J1045.8-2928_daily_bin1764.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/442352/ft1_filtered_4FGL_J1045.8-2928_daily_bin1764.fits.....................!
real 86.26
user 84.89
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/442352/ft1_filtered_4FGL_J1045.8-2928_daily_bin1764.fits', '/scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits', expMap='/scratch/kocevski/442352/expmap_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.fits', expCube='/scratch/kocevski/442352/ltcube_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/442352/Model_4FGL_J1045.8-2928_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1045.8-2928'

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  1.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.544e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.578e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/442352/ft1_filtered_4FGL_J1045.8-2928_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/442352/ft2_4FGL_J1045.8-2928_daily_bin1764.fits
Exposure map: /scratch/kocevski/442352/expmap_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.fits
Exposure cube: /scratch/kocevski/442352/ltcube_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/442352/Model_4FGL_J1045.8-2928_daily_bin1764.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) = 11318.544845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17247E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .10081E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .97037E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .52390E-03   1.0000          .0000       .10000E+07
     5 'norm      '    7.7727       1.0000          .0000       .10000E+07
     6 'norm      '    .45943E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .35286E-02   1.0000          .0000       .10000E+07
     8 'norm      '    6.1825       1.0000          .0000       .10000E+07
     9 'Prefactor '    21.679       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38934E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16576E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2326       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.1989       1.0000          .0000       .10000E+07
    14 'Prefactor '    .15024       1.0000          .0000       .10000E+07
    15 'Prefactor '    .14632E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    35.513       1.0000          .0000       .10000E+07
    17 'Normalizat'    .76371       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11318.54     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1313 TOTAL
                     EDM=   .96E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .38002        .31678E-06** at limit **
   2  norm          .16653E-09    1.7708        .52825E-06** at limit **
   3  Prefactor     .22204E-08    38.085        .23360E-05** at limit **
   4  Prefactor     .13772E-06    6.0617        .31022E-06** at limit **
   5  norm          7.6265        6.2649        .24007E-06   -.17526E-02
   6  norm          .72164E-09    3.5949       -.24460E-06** at limit **
   7  Prefactor     .15543E-05    7.3049        .93323E-06** at limit **
   8  norm          6.1827        3.0275        .22760E-06    .35795E-02
   9  Prefactor     21.701        1.5615        .66242E-08    .12825E-01
  10  Prefactor      .0000        1.4855        .16241E-05** at limit **
  11  Prefactor     .27919E-05    5.6146        .16622E-05** at limit **
  12  Prefactor     2.2273        4.2632        .48288E-06    .33774E-03
  13  Prefactor     6.1474        5.8104        .10561E-06    .54671E-04
  14  Prefactor     .15693E-06    39.140       -.34031E-05** at limit **
  15  Prefactor     .94036E-07    6.8325       -.13870E-05** at limit **
  16  Prefactor     35.581        1.0731       -.29360E-07    .31274E-01
  17  Normalizat    .76401        .19750       -.13740E-04   -.58906E-04
  18  Prefactor     1.0793        .10266        .26575E-05   -.14481E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.66533e-10
  Prefactor  = 2.22045e-09
  Prefactor  = 1.37723e-07
  norm       = 7.62648
  norm       = 7.21645e-10
  Prefactor  = 1.55431e-06
  norm       = 6.18274
  Prefactor  = 21.7014
  Prefactor  = 0
  Prefactor  = 2.79188e-06
  Prefactor  = 2.22733
  Prefactor  = 6.14737
  Prefactor  = 1.5693e-07
  Prefactor  = 9.40359e-08
  Prefactor  = 35.5807
  Normalizat = 0.764008
  Prefactor  = 1.07925
 **********
 **   18 **HESSE 
 **********

 FCN=   11318.54     FROM HESSE     STATUS=OK           276 CALLS     1589 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .37663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    1.7710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .22204E-08    37.989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .13772E-06    6.4182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          7.6265        6.2924        .35943E-03   -1.5653    
   6  norm          .72164E-09    3.5907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .15543E-05    11.229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.1827        3.0416        .40351E-03   -1.5658    
   9  Prefactor     21.701        13.820        .21483E-03   -1.5615    
  10  Prefactor      .0000        1.4785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .27919E-05    12.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2273        4.2858        .68773E-03   -1.5678    
  13  Prefactor     6.1474        5.8198        .40297E-03   -1.5658    
  14  Prefactor     .15693E-06    39.488        .12738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .94036E-07    7.0595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.581        35.575        .16783E-03   -1.5589    
  17  Normalizat    .76401        .17251        .81069E-01   -1.0142    
  18  Prefactor     1.0793        .88111E-01    .38441E-01   -.90132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38206e-07
Minuit parameter uncertainties:
  1  3.00929e-06
  2  3.44624e-05
  3  0.000582313
  4  0.00188027
  5  6.29237
  6  0.000103207
  7  0.00835529
  8  3.04163
  9  13.8202
  10  1.0651e-05
  11  0.0118448
  12  4.2858
  13  5.81985
  14  0.00497838
  15  0.0016295
  16  35.5756
  17  0.172632
  18  0.0881227
Done.

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

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  0.000e+00  1.065e-05  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.544e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.578e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  1.079e+00  8.812e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
585   Normalization:  7.640e-01  1.726e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 161.468 -29.480
Photon Flux Upper Limit: 5.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/442352/likelihoodResults_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.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) = 11318.5461677
delta logL = -0.00355517140088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11318.5426135
delta logL = -9.74057911662e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20733E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.7561       1.0000          .0000       10.000    
     3 'Normalizat'    .76420       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0792       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11318.54     FROM MIGRAD    STATUS=CONVERGED     25 CALLS      226 TOTAL
                     EDM=   .54E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3798       -.14887E-06** at limit **
   2  Index         2.8449        1.4249        .92109E-05     .0000    
   3  Normalizat    .76401        .19076        .36953E-05   -.17327E-04
   4  Prefactor     1.0793        .10247       -.21583E-05   -.52002E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.84489
  Normalizat = 0.764008
  Prefactor  = 1.07925
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11318.54     FROM HESSE     STATUS=FAILED        11 CALLS      237 TOTAL
                     EDM=   .54E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .91663        2.0087        .92109E-05   -.44563    
   3  Normalizat    .76401        1.1035        .36953E-05   -1.0142    
   4  Prefactor     1.0793        1.1635       -.21583E-05   -.90132    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.42322e-13
Minuit parameter uncertainties:
  1  1.18941e-06
  2  1.23681
  3  1.13847
  4  1.19262
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/442352': 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): 101
logL (Free Index) = 11318.5426125
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1045.8-2928
   Spectrum: PowerLaw
294    Prefactor:  0.000e+00  1.189e-06  0.000e+00  1.000e+06 ( 1.000e-12)
295        Index:  2.845e+00  1.237e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.578e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  1.079e+00  1.193e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
585   Normalization:  7.640e-01  1.138e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 161.468 -29.480

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/442352/cmap_HighResolution_696556801_696816001_4FGL_J1045.8-2928_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-03', job_status='DONE', photon_flux_upper_limit='5.42e-08', time_completed='2023-01-31 00:50:06.418924', job_id='442352', GAL2='1.08', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1675155006.42', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1764' AND source_name='4FGL J1045.8-2928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:50:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 442352: <4FGL_J1045.8-2928_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1045.8-2928_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 00:35:26 2023
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:38:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:38:25 2023
Terminated at Tue Jan 31 00:50:07 2023
Results reported at Tue Jan 31 00:50:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1045.8-2928_daily_bin1764 161.468 -29.4795 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1045.8-2928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   615.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            881 sec.

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

