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 182 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7463
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1902.9-6748_daily_bin1698
RA = 285.743, Dec = -67.8068
tmin = 679449601, tmax = 679708801
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='924299', job_status='RUN', time_executed='2022-07-17 00:33:31.241681', time_epoch_executed='1658043211.24' WHERE source_name='4FGL J1902.9-6748' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/924299

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/924299/ft1_4FGL_J1902.9-6748_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/924299/ft1_4FGL_J1902.9-6748_daily_bin1698.fits outfile=/scratch/kocevski/924299/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1698.fits ra=285.743 dec=-67.8068 rad=12.0 tmin=679449601.0 tmax=679708801.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.45
user 3.25
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.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/924299/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1698.fits evtable="EVENTS" outfile="/scratch/kocevski/924299/ft1_filtered_4FGL_J1902.9-6748_daily_bin1698.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 931

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/924299/ft1_filtered_4FGL_J1902.9-6748_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/924299/ltcube_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.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/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.fits
.....................!
real 12.38
user 11.99
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/924299/ft1_filtered_4FGL_J1902.9-6748_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/924299/ltcube_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.fits outfile=/scratch/kocevski/924299/expmap_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.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/924299/ltcube_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.fits
.....................!
real 191.97
user 186.95
sys 4.66

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/924299/ft1_filtered_4FGL_J1902.9-6748_daily_bin1698.fits scfile=/scratch/kocevski/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.fits outfile=/scratch/kocevski/924299/cmap_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/924299/ft1_filtered_4FGL_J1902.9-6748_daily_bin1698.fits scfile=/scratch/kocevski/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.fits outfile=/scratch/kocevski/924299/cmap_HighResolution_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/924299/ft1_filtered_4FGL_J1902.9-6748_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/924299/Model_4FGL_J1902.9-6748_daily_bin1698.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/924299/ft1_filtered_4FGL_J1902.9-6748_daily_bin1698.fits.....................!
real 86.37
user 85.04
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/924299/ft1_filtered_4FGL_J1902.9-6748_daily_bin1698.fits', '/scratch/kocevski/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.fits', expMap='/scratch/kocevski/924299/expmap_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.fits', expCube='/scratch/kocevski/924299/ltcube_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/924299/Model_4FGL_J1902.9-6748_daily_bin1698.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  1.000e-04  1.000e+04 ( 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  0.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/924299/ft1_filtered_4FGL_J1902.9-6748_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/924299/ft2_4FGL_J1902.9-6748_daily_bin1698.fits
Exposure map: /scratch/kocevski/924299/expmap_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.fits
Exposure cube: /scratch/kocevski/924299/ltcube_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/924299/Model_4FGL_J1902.9-6748_daily_bin1698.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) = 9571.40711176

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.9081       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .92255       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.538       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.281       1.0000         .10000E-03   10000.    
    12 'norm      '    15.783       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.0624       1.0000         .10000E-03   10000.    
    16 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1519       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96838       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.

 FCN=   9571.312     FROM MIGRAD    STATUS=CONVERGED    403 CALLS     1927 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.927       -.23744E-06** at limit **
   2  norm          4.9084        4.6640       -.55695E-07    .15503E-04
   3  norm          .10000E-03    28.763       -.13723E-06** at limit **
   4  Prefactor     .10000E-03    8.6817       -.13643E-07** at limit **
   5  Prefactor     .10000E-03    80.303        .70469E-06** at limit **
   6  Prefactor     .10000E-03    32.453        .15124E-05** at limit **
   7  norm          .92183        .88571        .56679E-06    .12933E-03
   8  Prefactor     15.612        54.830       -.23391E-05    .16799E-04
   9  Prefactor     .10000E-03    208.06        .10528E-05** at limit **
  10  norm          .10000E-03    5.1426       -.16273E-07** at limit **
  11  Prefactor     14.290        58.715       -.34039E-06   -.69529E-06
  12  norm          15.783        9.2090        .31135E-07   -.23080E-04
  13  Prefactor     .10000E-03    4.2571       -.19778E-07** at limit **
  14  Prefactor     .10000E-03    15.728       -.39057E-07** at limit **
  15  norm          1.0623        1.0122        .17718E-07   -.72994E-04
  16  norm          .10000E-03    87.043        .18410E-06** at limit **
  17  Prefactor     .10000E-03    4.0689       -.17857E-07** at limit **
  18  Normalizat    1.1521        .22976        .23896E-06   -.99607E-04
  19  Prefactor     .96835        .85911E-01   -.79596E-07   -.16673E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.90839
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.921828
  Prefactor  = 15.6122
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.2901
  norm       = 15.7828
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.06233
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.15206
  Prefactor  = 0.968348
 **********
 **   18 **HESSE 
 **********

 FCN=   9571.312     FROM HESSE     STATUS=OK           264 CALLS     2191 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.9084        4.6660        .18155E-03   -1.5265    
   3  norm          .10000E-03    28.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.7226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    82.756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    33.114        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .92183        .88756        .91945E-03   -1.5516    
   8  Prefactor     15.612        54.744        .10161E-03   -1.4918    
   9  Prefactor     .10000E-03    208.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.1472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.290        58.666        .10599E-03   -1.4952    
  12  norm          15.783        9.2121        .10082E-03   -1.4913    
  13  Prefactor     .10000E-03    4.2791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0623        1.0086        .92601E-04   -1.5502    
  16  norm          .10000E-03    87.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.0748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1521        .27045        .38287E-03   -.88097    
  19  Prefactor     .96835        .10173        .15506E-03   -.93792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13112e-11
Minuit parameter uncertainties:
  1  0.000122031
  2  4.66633
  3  4.36719e-05
  4  2.44146e-06
  5  0.000255246
  6  6.06494e-05
  7  0.887573
  8  54.9213
  9  0.000617358
  10  2.15422e-07
  11  58.0068
  12  9.21296
  13  9.27884e-08
  14  2.44532e-06
  15  1.00865
  16  0.0001364
  17  2.58316e-07
  18  0.270777
  19  0.10175
Done.

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

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  1.578e+01  9.213e+00  1.000e-04  1.000e+04 ( 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  0.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:  9.683e-01  1.017e-01  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.152e+00  2.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.95
Ra Dec: 285.743 -67.807
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 6.37e-08 +/- 3.72e-08
Energy Flux (Fixed Index): 2.15e-05 +/- 1.25e-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) = 9571.28388703
delta logL = 0.0280447286186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9571.28301121
delta logL = 0.0289205519075

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.019       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1715       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1613       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96647       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=   9571.283     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      281 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.021        9.7958        .10007E-03   -.65893E-05
   2  alpha         2.1715        .59533        .91010E-01    .21668E-04
   3  Normalizat    1.1612        .27196        .38159E-03    .61433E-04
   4  Prefactor     .96654        .10174        .15520E-03   -.34722E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 16.0211
  alpha      = 2.17148
  Normalizat = 1.16119
  Prefactor  = 0.966545
 **********
 **   18 **HESSE 
 **********

 FCN=   9571.283     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.021        9.5951        .40028E-05   -1.4907    
   2  alpha         2.1715        .58746        .22244E-02   -.13179    
   3  Normalizat    1.1612        .27204        .15264E-04   -.87811    
   4  Prefactor     .96654        .10176        .62079E-05   -.93853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.931e-11
Minuit parameter uncertainties:
  1  9.59605
  2  0.593104
  3  0.272369
  4  0.101782
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/924299': 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) = 9571.28301092
delta logL = 0.0289208355862

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  1.602e+01  9.596e+00  1.000e-04  1.000e+04 ( 1.000e-12)
436        alpha:  2.171e+00  5.931e-01  0.000e+00  5.000e+00 ( 1.000e+00)
437         beta:  1.311e-01  0.000e+00  0.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:  9.665e-01  1.018e-01  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.161e+00  2.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.00
Ra Dec: 285.743 -67.807
Photon Index (Free Index): 2.17 +/- 0.59
Photon Flux (Free Index): 5.65e-08 +/- 4.58e-08
Energy Flux (Free Index): 2.22e-05 +/- 1.36e-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/924299/cmap_HighResolution_679449601_679708801_4FGL_J1902.9-6748_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.37e-08', energy_flux2='2.22e-05', photon_flux_error='3.72e-08', dlogl='2.89e-02', energy_flux='2.15e-05', photon_flux2='5.65e-08', job_status='DONE', time_completed='2022-07-17 00:46:24.566691', photon_index_error2='0.59', photon_index2='2.17', ts='5.95', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.36e-05', EG='1.15', time_epoch_completed='1658043984.57', return_code='0', job_id='924299', GAL2='0.97', EG2='1.16', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='4.58e-08', ts2='6.00', photon_index='2.31' WHERE bin_id='1698' AND source_name='4FGL J1902.9-6748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:46:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 924299: <4FGL_J1902.9-6748_daily_bin1698> in cluster <slac> Done

Job <4FGL_J1902.9-6748_daily_bin1698> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jul 17 00:30:17 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:30:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:30:19 2022
Terminated at Sun Jul 17 00:46:25 2022
Results reported at Sun Jul 17 00:46:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1902.9-6748_daily_bin1698 285.743 -67.8068 679449601 679708801 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 :                                   775.07 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             288.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   965 sec.
    Turnaround time :                            968 sec.

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

