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


Performing analysis on: 4FGL_J1902.9-6748_daily_bin1780
RA = 285.743, Dec = -67.8068
tmin = 700704001, tmax = 700963201
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='73062', job_status='RUN', time_executed='2023-03-20 01:32:51.596002', time_epoch_executed='1679301171.6' WHERE source_name='4FGL J1902.9-6748' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73062

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73062/ft1_4FGL_J1902.9-6748_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73062/ft2_4FGL_J1902.9-6748_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73062/ft1_4FGL_J1902.9-6748_daily_bin1780.fits outfile=/scratch/kocevski/73062/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1780.fits ra=285.743 dec=-67.8068 rad=12.0 tmin=700704001.0 tmax=700963201.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.11
user 3.89
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73062/ft2_4FGL_J1902.9-6748_daily_bin1780.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/73062/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/73062/ft1_filtered_4FGL_J1902.9-6748_daily_bin1780.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.34
sys 0.15

Number of photons that the gtmktime cut: 1288

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73062/ft1_filtered_4FGL_J1902.9-6748_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/73062/ft2_4FGL_J1902.9-6748_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/73062/ltcube_700704001_700963201_4FGL_J1902.9-6748_daily_bin1780.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/73062/ft2_4FGL_J1902.9-6748_daily_bin1780.fits
.....................!
real 12.29
user 11.95
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73062/ft1_filtered_4FGL_J1902.9-6748_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/73062/ft2_4FGL_J1902.9-6748_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/73062/ltcube_700704001_700963201_4FGL_J1902.9-6748_daily_bin1780.fits outfile=/scratch/kocevski/73062/expmap_700704001_700963201_4FGL_J1902.9-6748_daily_bin1780.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/73062/ltcube_700704001_700963201_4FGL_J1902.9-6748_daily_bin1780.fits
.....................!
real 190.10
user 184.43
sys 5.35

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/73062/ft1_filtered_4FGL_J1902.9-6748_daily_bin1780.fits scfile=/scratch/kocevski/73062/ft2_4FGL_J1902.9-6748_daily_bin1780.fits outfile=/scratch/kocevski/73062/cmap_700704001_700963201_4FGL_J1902.9-6748_daily_bin1780.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73062/ft1_filtered_4FGL_J1902.9-6748_daily_bin1780.fits scfile=/scratch/kocevski/73062/ft2_4FGL_J1902.9-6748_daily_bin1780.fits outfile=/scratch/kocevski/73062/cmap_HighResolution_700704001_700963201_4FGL_J1902.9-6748_daily_bin1780.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/73062/ft1_filtered_4FGL_J1902.9-6748_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/73062/ft2_4FGL_J1902.9-6748_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/73062/Model_4FGL_J1902.9-6748_daily_bin1780.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/73062/ft1_filtered_4FGL_J1902.9-6748_daily_bin1780.fits.....................!
real 114.64
user 113.27
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6595       1.0000          .0000       .10000E+07
     2 'norm      '    .40300       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4888       1.0000          .0000       .10000E+07
     4 'Prefactor '    18.312       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.2287       1.0000          .0000       .10000E+07
     6 'norm      '    .66132       1.0000          .0000       .10000E+07
     7 'Prefactor '    .49066       1.0000          .0000       .10000E+07
     8 'norm      '    63.393       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15857E-01   1.0000          .0000       .10000E+07
    10 'norm      '    6.8100       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17017E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .51741E-02   1.0000          .0000       .10000E+07
    13 'norm      '    1.1136       1.0000          .0000       .10000E+07
    14 'norm      '    .23104E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .18063E-05   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1570       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0741       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=   13205.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      968 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5937        6.7324        .91994E-07   -.10677E-03
   2  norm          .21499E-04    43.892        .93622E-06** at limit **
   3  Prefactor     5.5717        7.3922       -.36184E-07    .61130E-04
   4  Prefactor     17.930        16.459        .15893E-06    .24850E-01
   5  Prefactor     5.4488        13.816       -.13441E-06   -.97410E-02
   6  norm          .66434        .68018        .27145E-07   -.46002E-03
   7  Prefactor     .26806E-05    161.80        .12228E-05** at limit **
   8  norm          63.896        3.7062       -.14493E-07    .65218E-02
   9  Prefactor      .0000        21.982       -.47081E-06** at limit **
  10  norm          6.8041        5.3130       -.70644E-07    .95529E-04
  11  Prefactor      .0000        7.2469        .33448E-07** at limit **
  12  Prefactor     .37170E-06    24.500        .39232E-07** at limit **
  13  norm          1.1132        1.0802        .10865E-07    .53356E-04
  14  norm          .71110E-07    20.223       -.31550E-06** at limit **
  15  Prefactor      .0000        3.3436       -.81674E-07** at limit **
  16  Normalizat    1.1569        .25338        .99420E-06   -.50930E-05
  17  Prefactor     1.0741        .95554E-01   -.31813E-06   -.79901E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.59367
  norm       = 2.1499e-05
  Prefactor  = 5.5717
  Prefactor  = 17.9303
  Prefactor  = 5.44877
  norm       = 0.664339
  Prefactor  = 2.68063e-06
  norm       = 63.8964
  Prefactor  = 0
  norm       = 6.80409
  Prefactor  = 0
  Prefactor  = 3.71703e-07
  norm       = 1.11323
  norm       = 7.11098e-08
  Prefactor  = 0
  Normalizat = 1.15686
  Prefactor  = 1.07412
 **********
 **   18 **HESSE 
 **********

 FCN=   13205.27     FROM HESSE     STATUS=OK           257 CALLS     1225 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5937        6.7350        .34039E-03   -1.5649    
   2  norm          .21499E-04    157.62        .89140E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5717        7.3865        .42864E-03   -1.5661    
   4  Prefactor     17.930        17.462        .23377E-03   -1.5623    
   5  Prefactor     5.4488        14.455        .43936E-03   -1.5661    
   6  norm          .66434        .68905        .63905E-03   -1.5692    
   7  Prefactor     .26806E-05    175.10        .79655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          63.896        25.288        .12560E-03   -1.5548    
   9  Prefactor      .0000        22.014        .17326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.8041        5.3210        .38424E-03   -1.5656    
  11  Prefactor      .0000        7.2437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37170E-06    26.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1132        1.1111        .11167E-02   -1.5687    
  14  norm          .71110E-07    20.634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        3.3477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1569        .21724        .94434E-01   -.87946    
  17  Prefactor     1.0741        .80461E-01    .38667E-01   -.90298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92605e-07
Minuit parameter uncertainties:
  1  6.73497
  2  0.116427
  3  7.38649
  4  17.4625
  5  14.4552
  6  0.689052
  7  0.0433314
  8  25.2884
  9  2.37776e-05
  10  5.32105
  11  4.759e-06
  12  0.00631266
  13  1.11106
  14  0.00242286
  15  1.26649e-06
  16  0.217411
  17  0.0804699
Done.

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

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  6.804e+00  5.321e+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

GAL_V02
   Spectrum: PowerLaw
736    Prefactor:  1.074e+00  8.047e-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.174e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.40
Ra Dec: 285.743 -67.807
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 2.75e-08 +/- 2.15e-08
Energy Flux (Fixed Index): 9.26e-06 +/- 7.24e-06

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) = 13203.0685534
delta logL = 2.19776938888

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13202.9619115
delta logL = 2.30441128181

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4288       1.0000          .0000       .10000E+07
     2 'alpha     '    1.0424       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0686       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=   13202.96     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      216 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4304        3.3683        .47828E-03   -.39690E-01
   2  alpha         1.0424        .34477        .45531       -.72657E-04
   3  Normalizat    1.1810        .21202        .93589E-01    .50679E-04
   4  Prefactor     1.0686        .79651E-01    .38926E-01    .31032E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.43038
  alpha      = 1.04239
  Normalizat = 1.18102
  Prefactor  = 1.06858
 **********
 **   18 **HESSE 
 **********

 FCN=   13202.96     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4304        4.4695        .88067E-04   -1.5666    
   2  alpha         1.0424        .48812        .18784E-01   -.62247    
   3  Normalizat    1.1810        .25127        .41456E-03   -.87191    
   4  Prefactor     1.0686        .94661E-01    .16187E-03   -.90477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94588e-09
Minuit parameter uncertainties:
  1  4.46955
  2  0.492947
  3  0.251525
  4  0.0946755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73062': 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) = 13202.9619113
delta logL = 2.30441143571

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  4.430e+00  4.470e+00  0.000e+00  1.000e+06 ( 1.000e-12)
436        alpha:  1.042e+00  4.929e-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:  1.069e+00  9.468e-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.181e+00  2.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.01
Ra Dec: 285.743 -67.807
Photon Index (Free Index): 1.04 +/- 0.49
Photon Flux (Free Index): 1.06e-08 +/- 9.11e-09
Energy Flux (Free Index): 3.55e-05 +/- 3.76e-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/73062/cmap_HighResolution_700704001_700963201_4FGL_J1902.9-6748_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.75e-08', energy_flux2='3.55e-05', photon_flux_error='2.15e-08', dlogl='2.30e+00', energy_flux='9.26e-06', photon_flux2='1.06e-08', job_status='DONE', time_completed='2023-03-20 01:45:13.879813', photon_index_error2='0.49', photon_index2='1.04', ts='5.40', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='3.76e-05', EG='1.16', time_epoch_completed='1679301913.88', return_code='0', job_id='73062', GAL2='1.07', EG2='1.18', return_code2='0', energy_flux_error='7.24e-06', photon_flux_error2='9.11e-09', ts2='10.01', photon_index='2.31' WHERE bin_id='1780' AND source_name='4FGL J1902.9-6748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:45:13 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 73062: <4FGL_J1902.9-6748_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1902.9-6748_daily_bin1780> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 20 01:30:13 2023
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:30:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:30:14 2023
Terminated at Mon Mar 20 01:45:14 2023
Results reported at Mon Mar 20 01:45:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1902.9-6748_daily_bin1780 285.743 -67.8068 700704001 700963201 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 :                                   744.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            901 sec.

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

