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


Performing analysis on: 4FGL_J1902.9-6748_daily_bin1746
RA = 285.743, Dec = -67.8068
tmin = 691891201, tmax = 692150401
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='735321', job_status='RUN', time_executed='2022-12-08 01:25:44.560203', time_epoch_executed='1670491544.56' WHERE source_name='4FGL J1902.9-6748' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/735321

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/735321/ft1_4FGL_J1902.9-6748_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/735321/ft1_4FGL_J1902.9-6748_daily_bin1746.fits outfile=/scratch/kocevski/735321/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1746.fits ra=285.743 dec=-67.8068 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.73
user 4.47
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.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/735321/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/735321/ft1_filtered_4FGL_J1902.9-6748_daily_bin1746.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.51
user 0.35
sys 0.13

Number of photons that the gtmktime cut: 913

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/735321/ft1_filtered_4FGL_J1902.9-6748_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/735321/ltcube_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.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/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.fits
.....................!
real 11.96
user 11.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/735321/ft1_filtered_4FGL_J1902.9-6748_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/735321/ltcube_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.fits outfile=/scratch/kocevski/735321/expmap_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.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/735321/ltcube_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.fits
.....................!
real 189.69
user 185.12
sys 4.27

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/735321/ft1_filtered_4FGL_J1902.9-6748_daily_bin1746.fits scfile=/scratch/kocevski/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.fits outfile=/scratch/kocevski/735321/cmap_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/735321/ft1_filtered_4FGL_J1902.9-6748_daily_bin1746.fits scfile=/scratch/kocevski/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.fits outfile=/scratch/kocevski/735321/cmap_HighResolution_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/735321/ft1_filtered_4FGL_J1902.9-6748_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/735321/Model_4FGL_J1902.9-6748_daily_bin1746.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/735321/ft1_filtered_4FGL_J1902.9-6748_daily_bin1746.fits.....................!
real 86.98
user 85.60
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/735321/ft1_filtered_4FGL_J1902.9-6748_daily_bin1746.fits', '/scratch/kocevski/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.fits', expMap='/scratch/kocevski/735321/expmap_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.fits', expCube='/scratch/kocevski/735321/ltcube_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/735321/Model_4FGL_J1902.9-6748_daily_bin1746.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/735321/ft1_filtered_4FGL_J1902.9-6748_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/735321/ft2_4FGL_J1902.9-6748_daily_bin1746.fits
Exposure map: /scratch/kocevski/735321/expmap_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.fits
Exposure cube: /scratch/kocevski/735321/ltcube_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/735321/Model_4FGL_J1902.9-6748_daily_bin1746.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) = 9416.36658832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.104       1.0000          .0000       .10000E+07
     2 'norm      '    .48000E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    9.8360       1.0000          .0000       .10000E+07
     4 'Prefactor '    62.488       1.0000          .0000       .10000E+07
     5 'Prefactor '    .93152E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .68221       1.0000          .0000       .10000E+07
     7 'Prefactor '    71.083       1.0000          .0000       .10000E+07
     8 'norm      '    .50638       1.0000          .0000       .10000E+07
     9 'Prefactor '    .46917E-03   1.0000          .0000       .10000E+07
    10 'norm      '    29.459       1.0000          .0000       .10000E+07
    11 'Prefactor '    .26205E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10338E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .29027E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .36186E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.135       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1585       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96516       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=   9416.284     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     1258 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.068        7.5466        .51635E-07   -.89117E-04
   2  norm          .55511E-10    11.635        .40034E-06** at limit **
   3  Prefactor     9.8349        11.695       -.17902E-06   -.12117E-03
   4  Prefactor     64.224        25.744        .48398E-05    .20558E-03
   5  Prefactor     .32752E-08    43.299        .47399E-05** at limit **
   6  norm          .68924        .94094       -.46426E-07   -.27636E-02
   7  Prefactor     69.634        89.867       -.31394E-05   -.32791E-03
   8  norm          .52960        4.0612       -.59875E-05    .38535E-02
   9  Prefactor      .0000        35.553        .43471E-05** at limit **
  10  norm          29.658        11.540        .25052E-06    .11470E-02
  11  Prefactor     .49960E-09    17.734       -.16858E-05** at limit **
  12  Prefactor      .0000        12.866       -.31880E-06** at limit **
  13  norm          .55511E-10    2.5617       -.49483E-06** at limit **
  14  norm          .27756E-09    42.422        .92714E-06** at limit **
  15  Prefactor     14.164        3.2488        .10395E-05    .11691E-01
  16  Normalizat    1.1571        .28513       -.27600E-04   -.14453E-03
  17  Prefactor     .96482        .10604        .28761E-05   -.23611E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.0675
  norm       = 5.55112e-11
  Prefactor  = 9.8349
  Prefactor  = 64.2237
  Prefactor  = 3.27516e-09
  norm       = 0.689242
  Prefactor  = 69.6337
  norm       = 0.529603
  Prefactor  = 0
  norm       = 29.6583
  Prefactor  = 4.996e-10
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 2.77556e-10
  Prefactor  = 14.1638
  Normalizat = 1.1571
  Prefactor  = 0.964825
 **********
 **   18 **HESSE 
 **********

 FCN=   9416.284     FROM HESSE     STATUS=OK           265 CALLS     1523 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.068        7.5441        .24190E-03   -1.5625    
   2  norm          .55511E-10    11.653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.8349        11.691        .31927E-03   -1.5645    
   4  Prefactor     64.224        26.209        .12651E-03   -1.5548    
   5  Prefactor     .32752E-08    43.556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .68924        .96704        .62164E-03   -1.5691    
   7  Prefactor     69.634        91.433        .11862E-03   -1.5541    
   8  norm          .52960        16.109        .11062E-01   -1.5693    
   9  Prefactor      .0000        35.629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          29.658        11.578        .18427E-03   -1.5599    
  11  Prefactor     .49960E-09    17.686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        12.879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    2.4668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27756E-09    41.870        .16140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.164        18.735        .26615E-03   -1.5633    
  16  Normalizat    1.1571        .24490        .90749E-01   -.87939    
  17  Prefactor     .96482        .88032E-01    .45830E-01   -.93911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.31363e-09
Minuit parameter uncertainties:
  1  7.54409
  2  5.5286e-05
  3  11.6907
  4  26.2091
  5  0.00075841
  6  0.967037
  7  91.4352
  8  5.84169
  9  3.12326e-05
  10  11.5779
  11  0.000190283
  12  3.2773e-05
  13  2.54321e-05
  14  0.000210814
  15  18.7349
  16  0.24514
  17  0.0880447
Done.

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

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  2.966e+01  1.158e+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:  9.648e-01  8.804e-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.157e+00  2.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.39
Ra Dec: 285.743 -67.807
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.20e-07 +/- 4.67e-08
Energy Flux (Fixed Index): 4.04e-05 +/- 1.58e-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) = 9415.47893717
delta logL = 0.805117121357

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9415.4289458
delta logL = 0.855108488242

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.926       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7279       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2180       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95249       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.

 FCN=   9415.429     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.926        12.167        .18596E-03    .44248E-02
   2  alpha         1.7278        .34833        .34336       -.46947E-04
   3  Normalizat    1.2180        .23623        .88793E-01    .24179E-04
   4  Prefactor     .95249        .86937E-01    .45671E-01   -.25329E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 28.926
  alpha      = 1.72783
  Normalizat = 1.21804
  Prefactor  = 0.952488
 **********
 **   18 **HESSE 
 **********

 FCN=   9415.429     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.926        13.246        .74385E-05   -1.5600    
   2  alpha         1.7278        .42224        .13547E-01   -.31400    
   3  Normalizat    1.2180        .28483        .39322E-03   -.86047    
   4  Prefactor     .95249        .10499        .16158E-03   -.94330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32657e-10
Minuit parameter uncertainties:
  1  13.2459
  2  0.424489
  3  0.28519
  4  0.105012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/735321': 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) = 9415.4289458
delta logL = 0.855108491767

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  2.893e+01  1.325e+01  0.000e+00  1.000e+06 ( 1.000e-12)
436        alpha:  1.728e+00  4.245e-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:  9.525e-01  1.050e-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.218e+00  2.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.06
Ra Dec: 285.743 -67.807
Photon Index (Free Index): 1.73 +/- 0.42
Photon Flux (Free Index): 7.33e-08 +/- 4.38e-08
Energy Flux (Free Index): 5.49e-05 +/- 2.91e-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/735321/cmap_HighResolution_691891201_692150401_4FGL_J1902.9-6748_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.20e-07', energy_flux2='5.49e-05', photon_flux_error='4.67e-08', dlogl='8.55e-01', energy_flux='4.04e-05', photon_flux2='7.33e-08', job_status='DONE', time_completed='2022-12-08 01:36:45.692639', photon_index_error2='0.42', photon_index2='1.73', ts='17.39', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='2.91e-05', EG='1.16', time_epoch_completed='1670492205.69', return_code='0', job_id='735321', GAL2='0.95', EG2='1.22', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='4.38e-08', ts2='19.06', photon_index='2.31' WHERE bin_id='1746' AND source_name='4FGL J1902.9-6748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:36:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 735321: <4FGL_J1902.9-6748_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1902.9-6748_daily_bin1746> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Dec  8 01:25:27 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:25:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:25:28 2022
Terminated at Thu Dec  8 01:36:46 2022
Results reported at Thu Dec  8 01:36:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1902.9-6748_daily_bin1746 285.743 -67.8068 691891201 692150401 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 :                                   663.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             353.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   677 sec.
    Turnaround time :                            679 sec.

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

