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


Performing analysis on: 4FGL_J1902.9-6748_daily_bin1712
RA = 285.743, Dec = -67.8068
tmin = 683078401, tmax = 683337601
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='206506', job_status='RUN', time_executed='2022-09-16 21:46:55.528961', time_epoch_executed='1663390015.53' WHERE source_name='4FGL J1902.9-6748' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/206506

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/206506/ft1_4FGL_J1902.9-6748_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/206506/ft1_4FGL_J1902.9-6748_daily_bin1712.fits outfile=/scratch/kocevski/206506/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1712.fits ra=285.743 dec=-67.8068 rad=12.0 tmin=683078401.0 tmax=683337601.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.97
user 3.71
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.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/206506/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/206506/ft1_filtered_4FGL_J1902.9-6748_daily_bin1712.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.45
user 0.28
sys 0.17

Number of photons that the gtmktime cut: 947

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/206506/ft1_filtered_4FGL_J1902.9-6748_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/206506/ltcube_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.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/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits
.....................!
real 11.13
user 10.77
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/206506/ft1_filtered_4FGL_J1902.9-6748_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/206506/ltcube_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.fits outfile=/scratch/kocevski/206506/expmap_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.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/206506/ltcube_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.fits
.....................!
real 156.18
user 151.34
sys 4.55

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
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Added 217 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1902.9-6748 @ 285.743 -67.8068

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/206506/ft1_filtered_4FGL_J1902.9-6748_daily_bin1712.fits scfile=/scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits outfile=/scratch/kocevski/206506/cmap_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.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=285.743 yref=-67.8068 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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/206506/ft1_filtered_4FGL_J1902.9-6748_daily_bin1712.fits scfile=/scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits outfile=/scratch/kocevski/206506/cmap_HighResolution_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.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=285.743 yref=-67.8068 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.32
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/206506/ft1_filtered_4FGL_J1902.9-6748_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/206506/Model_4FGL_J1902.9-6748_daily_bin1712.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 FHES J1642.1-5428
adding source GAL_V02
Working on...
/scratch/kocevski/206506/ft1_filtered_4FGL_J1902.9-6748_daily_bin1712.fits.....................!
real 74.96
user 73.53
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/206506/ft1_filtered_4FGL_J1902.9-6748_daily_bin1712.fits', '/scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits', expMap='/scratch/kocevski/206506/expmap_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.fits', expCube='/scratch/kocevski/206506/ltcube_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/206506/Model_4FGL_J1902.9-6748_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1902.9-6748'

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  6.756e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
436        alpha:  2.313e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
437         beta:  1.311e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
438           Eb:  6.088e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/206506/ft1_filtered_4FGL_J1902.9-6748_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/206506/ft2_4FGL_J1902.9-6748_daily_bin1712.fits
Exposure map: /scratch/kocevski/206506/expmap_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.fits
Exposure cube: /scratch/kocevski/206506/ltcube_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/206506/Model_4FGL_J1902.9-6748_daily_bin1712.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) = 9640.9468158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.416       1.0000          .0000       .10000E+07
     2 'norm      '    .15995E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    21.167       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.7461       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.5455       1.0000          .0000       .10000E+07
     6 'norm      '    .17339       1.0000          .0000       .10000E+07
     7 'Prefactor '    .62116E-02   1.0000          .0000       .10000E+07
     8 'norm      '    23.218       1.0000          .0000       .10000E+07
     9 'Prefactor '    .81693E-01   1.0000          .0000       .10000E+07
    10 'norm      '    17.975       1.0000          .0000       .10000E+07
    11 'Prefactor '    .18193E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .27132E-05   1.0000          .0000       .10000E+07
    13 'norm      '    2.9989       1.0000          .0000       .10000E+07
    14 'norm      '    15.335       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.6826       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.6763       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .74761       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9640.943     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     1163 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.306        8.4181        .31302E-07   -.41608E-02
   2  norm           .0000        15.809       -.49520E-07** at limit **
   3  Prefactor     21.119        1.5987       -.18401E-07   -.68550E-01
   4  Prefactor     6.8827        1.6292       -.29218E-07   -.15350E-01
   5  Prefactor     3.3646        2.0428       -.50971E-07   -.58291E-01
   6  norm          .17331        .68755       -.10345E-06** at limit **
   7  Prefactor     .67946E-07    53.735        .74507E-07** at limit **
   8  norm          23.365        2.1985       -.50322E-08    .98892E-01
   9  Prefactor     .19984E-08    29.673       -.61578E-06** at limit **
  10  norm          17.967        10.205        .89665E-07   -.80721E-02
  11  Prefactor     .11213E-07    23.130        .27332E-06** at limit **
  12  Prefactor     .99920E-09    16.247       -.22097E-06** at limit **
  13  norm          2.9952        1.6283       -.16133E-07   -.26974E-02
  14  norm          15.492        1.5379       -.38871E-09   -.14788E-02
  15  Prefactor     4.4899        12.970       -.38175E-06    .14324E-01
  16  Normalizat    1.6765        .28298        .15444E-05   -.82817E-04
  17  Prefactor     .74775        .99625E-01   -.11305E-05   -.22402E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3059
  norm       = 0
  Prefactor  = 21.1189
  Prefactor  = 6.88269
  Prefactor  = 3.36462
  norm       = 0.173314
  Prefactor  = 6.79456e-08
  norm       = 23.3646
  Prefactor  = 1.9984e-09
  norm       = 17.9672
  Prefactor  = 1.12133e-08
  Prefactor  = 9.99201e-10
  norm       = 2.99515
  norm       = 15.4922
  Prefactor  = 4.48988
  Normalizat = 1.67649
  Prefactor  = 0.747749
 **********
 **   18 **HESSE 
 **********

 FCN=   9640.943     FROM HESSE     STATUS=OK           265 CALLS     1428 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.306        8.4276        .25483E-03   -1.5630    
   2  norm           .0000        15.837        .17316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.119        13.763        .21742E-03   -1.5616    
   4  Prefactor     6.8827        33.096        .38608E-03   -1.5655    
   5  Prefactor     3.3646        28.547        .53656E-03   -1.5671    
   6  norm          .17331        .54697        .24445E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .67946E-07    53.883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          23.365        25.853        .20759E-03   -1.5611    
   9  Prefactor     .19984E-08    29.663        .14450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          17.967        10.261        .23596E-03   -1.5623    
  11  Prefactor     .11213E-07    23.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .99920E-09    16.341        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9952        1.6350        .58590E-03   -1.5673    
  14  norm          15.492        35.157        .25550E-03   -1.5629    
  15  Prefactor     4.4899        13.054        .46481E-03   -1.5666    
  16  Normalizat    1.6765        .23796        .76427E-01   -.72933    
  17  Prefactor     .74775        .82788E-01    .43032E-01   -1.0168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66521e-07
Minuit parameter uncertainties:
  1  8.42764
  2  2.76432e-05
  3  13.763
  4  30.1855
  5  19.601
  6  0.54697
  7  0.00382624
  8  25.8534
  9  0.000485543
  10  10.2613
  11  0.00101914
  12  0.000258522
  13  1.63499
  14  35.1573
  15  13.0543
  16  0.23812
  17  0.0828017
Done.

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

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  1.797e+01  1.026e+01  0.000e+00  1.000e+06 ( 1.000e-12)
436        alpha:  2.313e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
437         beta:  1.311e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
438           Eb:  6.088e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  7.477e-01  8.280e-02  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
732   Normalization:  1.676e+00  2.381e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.35
Ra Dec: 285.743 -67.807
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 7.26e-08 +/- 4.14e-08
Energy Flux (Fixed Index): 2.45e-05 +/- 1.40e-05

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) = 9640.88205887
delta logL = 0.0605972803169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9640.88063497
delta logL = 0.0620211765709

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.967       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1114       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6922       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74474       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+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=   9640.881     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      245 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.959        10.653        .94404E-05   -.94173E-03
   2  alpha         2.1114        .57037        .18081E-01   -.88852E-05
   3  Normalizat    1.6923        .28081        .33696E-03    .50777E-03
   4  Prefactor     .74473        .99535E-01    .17192E-03    .10433E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 17.9586
  alpha      = 2.11136
  Normalizat = 1.69228
  Prefactor  = 0.744735
 **********
 **   18 **HESSE 
 **********

 FCN=   9640.881     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.959        10.696        .37762E-06   -1.5623    
   2  alpha         2.1114        .57244        .36163E-02   -.15609    
   3  Normalizat    1.6923        .28105        .67393E-04   -.72510    
   4  Prefactor     .74473        .99616E-01    .34385E-04   -1.0180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9559e-10
Minuit parameter uncertainties:
  1  10.6963
  2  0.577696
  3  0.281318
  4  0.0996395
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/206506': 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) = 9640.88063466
delta logL = 0.0620214909941

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  1.796e+01  1.070e+01  0.000e+00  1.000e+06 ( 1.000e-12)
436        alpha:  2.111e+00  5.777e-01  0.000e+00  5.000e+00 ( 1.000e+00)
437         beta:  1.311e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
438           Eb:  6.088e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  7.447e-01  9.964e-02  0.000e+00  1.000e+01 ( 1.000e+00)
737        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
738        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
732   Normalization:  1.692e+00  2.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.47
Ra Dec: 285.743 -67.807
Photon Index (Free Index): 2.11 +/- 0.58
Photon Flux (Free Index): 6.01e-08 +/- 5.02e-08
Energy Flux (Free Index): 2.53e-05 +/- 1.52e-05

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/206506/cmap_HighResolution_683078401_683337601_4FGL_J1902.9-6748_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.26e-08', energy_flux2='2.53e-05', photon_flux_error='4.14e-08', dlogl='6.20e-02', energy_flux='2.45e-05', photon_flux2='6.01e-08', job_status='DONE', time_completed='2022-09-16 21:56:09.538107', photon_index_error2='0.58', photon_index2='2.11', ts='7.35', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='1.68', time_epoch_completed='1663390569.54', return_code='0', job_id='206506', GAL2='0.74', EG2='1.69', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='5.02e-08', ts2='7.47', photon_index='2.31' WHERE bin_id='1712' AND source_name='4FGL J1902.9-6748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 21:56:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 206506: <4FGL_J1902.9-6748_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1902.9-6748_daily_bin1712> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 21:45:16 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 21:45:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 21:45:50 2022
Terminated at Fri Sep 16 21:56:10 2022
Results reported at Fri Sep 16 21:56:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1902.9-6748_daily_bin1712 285.743 -67.8068 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1902.9-6748 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   554.56 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             351.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            654 sec.

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

