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


Performing analysis on: 4FGL_J1552.0+0850_daily_bin1765
RA = 238.01, Dec = 8.8419
tmin = 696816001, tmax = 697075201
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='638368', job_status='RUN', time_executed='2023-02-03 01:13:01.956786', time_epoch_executed='1675415581.96' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638368

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638368/ft1_4FGL_J1552.0+0850_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638368/ft1_4FGL_J1552.0+0850_daily_bin1765.fits outfile=/scratch/kocevski/638368/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1765.fits ra=238.01 dec=8.8419 rad=12.0 tmin=696816001.0 tmax=697075201.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.70
user 3.46
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.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/638368/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/638368/ft1_filtered_4FGL_J1552.0+0850_daily_bin1765.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.56
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 852

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638368/ft1_filtered_4FGL_J1552.0+0850_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/638368/ltcube_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.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/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits
.....................!
real 17.07
user 16.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638368/ft1_filtered_4FGL_J1552.0+0850_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/638368/ltcube_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.fits outfile=/scratch/kocevski/638368/expmap_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.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/638368/ltcube_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.fits
.....................!
real 193.61
user 188.51
sys 4.71

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

Setting source of interest to:
4FGL J1552.0+0850 @ 238.01 8.8419

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/638368/ft1_filtered_4FGL_J1552.0+0850_daily_bin1765.fits scfile=/scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits outfile=/scratch/kocevski/638368/cmap_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.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=238.01 yref=8.8419 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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638368/ft1_filtered_4FGL_J1552.0+0850_daily_bin1765.fits scfile=/scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits outfile=/scratch/kocevski/638368/cmap_HighResolution_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.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=238.01 yref=8.8419 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.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/638368/ft1_filtered_4FGL_J1552.0+0850_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638368/Model_4FGL_J1552.0+0850_daily_bin1765.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/638368/ft1_filtered_4FGL_J1552.0+0850_daily_bin1765.fits.....................!
real 71.31
user 69.90
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638368/ft1_filtered_4FGL_J1552.0+0850_daily_bin1765.fits', '/scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits', expMap='/scratch/kocevski/638368/expmap_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.fits', expCube='/scratch/kocevski/638368/ltcube_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638368/Model_4FGL_J1552.0+0850_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1552.0+0850'

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  7.420e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/638368/ft1_filtered_4FGL_J1552.0+0850_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/638368/ft2_4FGL_J1552.0+0850_daily_bin1765.fits
Exposure map: /scratch/kocevski/638368/expmap_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.fits
Exposure cube: /scratch/kocevski/638368/ltcube_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638368/Model_4FGL_J1552.0+0850_daily_bin1765.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) = 9262.24069242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64462       1.0000          .0000       .10000E+07
     2 'norm      '    .10064E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0315       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.1411       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14939E-03   1.0000          .0000       .10000E+07
     6 'norm      '    1.6260       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9874       1.0000          .0000       .10000E+07
     8 'norm      '    .98449E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10516E-01   1.0000          .0000       .10000E+07
    10 'norm      '    5.6371       1.0000          .0000       .10000E+07
    11 'norm      '    8.5738       1.0000          .0000       .10000E+07
    12 'norm      '    33.677       1.0000          .0000       .10000E+07
    13 'Prefactor '    .67097E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20252E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0335       1.0000          .0000       .10000E+07
    16 'Prefactor '    .81787E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1259       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0795       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9262.100     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1040 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .64432        .30307        .53910E-08    .19728E-02
   2  norm          .16653E-08    2.9437       -.14941E-06** at limit **
   3  Prefactor     4.0527        3.6175       -.46853E-07   -.16491E-02
   4  Prefactor     3.9041        13.947        .47931E-07   -.33031E-01
   5  Prefactor     .46851E-07    7.6765       -.35801E-06** at limit **
   6  norm          1.6258        1.5131       -.14499E-07   -.10973E-02
   7  Prefactor     1.9844        5.0518        .58294E-08   -.17275E-02
   8  norm          .15382E-06    6.0810        .13081E-06** at limit **
   9  Prefactor     .11213E-07    33.528       -.17873E-06** at limit **
  10  norm          5.6732        7.3878       -.42555E-07   -.23424E-02
  11  norm          8.5736        2.5253       -.34017E-07   -.54354E-02
  12  norm          33.522        9.8188        .52411E-08    .30930E-01
  13  Prefactor     .11124E-06    36.205        .61236E-07** at limit **
  14  Prefactor      .0000        16.293        .23374E-06** at limit **
  15  Prefactor     4.9928        10.022        .10492E-06   -.39512E-01
  16  Prefactor     .28838E-06    5.2358       -.13997E-06** at limit **
  17  Normalizat    1.1265        .27473       -.19970E-05   -.49885E-04
  18  Prefactor     1.0794        .12098        .65762E-06   -.47291E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.644318
  norm       = 1.66533e-09
  Prefactor  = 4.05269
  Prefactor  = 3.90414
  Prefactor  = 4.68514e-08
  norm       = 1.62581
  Prefactor  = 1.98443
  norm       = 1.53821e-07
  Prefactor  = 1.12133e-08
  norm       = 5.67324
  norm       = 8.57359
  norm       = 33.5221
  Prefactor  = 1.11244e-07
  Prefactor  = 0
  Prefactor  = 4.99278
  Prefactor  = 2.8838e-07
  Normalizat = 1.12646
  Prefactor  = 1.07944
 **********
 **   18 **HESSE 
 **********

 FCN=   9262.100     FROM HESSE     STATUS=OK           282 CALLS     1322 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .64432        .30655        .65323E-03   -1.5692    
   2  norm          .16653E-08    2.9515        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0527        3.6354        .50198E-03   -1.5668    
   4  Prefactor     3.9041        31.850        .49508E-03   -1.5668    
   5  Prefactor     .46851E-07    8.1017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6258        1.5172        .82931E-03   -1.5682    
   7  Prefactor     1.9844        5.1087        .73473E-03   -1.5680    
   8  norm          .15382E-06    6.9690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11213E-07    33.535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.6732        7.3848        .42286E-03   -1.5660    
  11  norm          8.5736        2.5292        .34210E-03   -1.5649    
  12  norm          33.522        16.676        .17234E-03   -1.5592    
  13  Prefactor     .11124E-06    36.650        .14915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        16.208        .17020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.9928        11.495        .44796E-03   -1.5663    
  16  Prefactor     .28838E-06    7.1643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1265        .23842        .88437E-01   -.88907    
  18  Prefactor     1.0794        .10358        .38424E-01   -.90126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26808e-06
Minuit parameter uncertainties:
  1  0.306545
  2  0.000139636
  3  3.6354
  4  22.3023
  5  0.00123202
  6  1.5172
  7  5.10874
  8  0.00207088
  9  0.00122776
  10  7.38479
  11  2.52923
  12  16.676
  13  0.00403867
  14  3.18139e-05
  15  11.4952
  16  0.00287482
  17  0.238652
  18  0.103596
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.121e-08  1.228e-03  0.000e+00  1.000e+06 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.079e+00  1.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.126e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 238.010 8.842
Photon Flux Upper Limit: 7.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638368/likelihoodResults_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.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) = 9262.11405157
delta logL = -0.0142569362633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9261.47106335
delta logL = 0.62873128946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22149E-07   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.0438       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1044       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9262.100     FROM MIGRAD    STATUS=CONVERGED    113 CALLS      491 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36082E-08    1.5797        .42118E-03** at limit **
   2  Index         1.4078        5.1078        .50000       -.19138E-09
   3  Normalizat    1.1265        .14768E-02    .88445E-01   -.28050E-03
   4  Prefactor     1.0794        .66646E-03    .37422E-01    .15020E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.60822e-09
  Index      = 1.40783
  Normalizat = 1.12646
  Prefactor  = 1.07944
 **********
 **   18 **HESSE 
 **********

 FCN=   9262.100     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      522 TOTAL
                     EDM=   .40E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36082E-08    .28297E-01    .77077E-02   -32329.    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4078        5.3626        .50000       -.49831E+06
   3  Normalizat    1.1265        .19748E-03    .39166E-03   -65.084    
   4  Prefactor     1.0794        .89315E-04    .17927E-03   -95.149    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.99573e-13
Minuit parameter uncertainties:
  1  2.02485e-05
  2  4043.6
  3  0.000197475
  4  8.93149e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638368': 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) = 9262.09979464
delta logL = -3.81987774745e-11

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  3.608e-09  2.025e-05  0.000e+00  1.000e+06 ( 1.000e-14)
250        Index:  1.408e+00  4.044e+03  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.079e+00  8.931e-05  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.126e+00  1.975e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 238.010 8.842

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/638368/cmap_HighResolution_696816001_697075201_4FGL_J1552.0+0850_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-03', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2023-02-03 01:23:16.508867', job_id='638368', GAL2='1.08', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1675416196.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-3.82e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1765' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:23:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 638368: <4FGL_J1552.0+0850_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:10:23 2023
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:11:27 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:11:27 2023
Terminated at Fri Feb  3 01:23:17 2023
Results reported at Fri Feb  3 01:23:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin1765 238.01 8.8419 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1552.0+0850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   617.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            774 sec.

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

