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


Performing analysis on: 4FGL_J1902.9-6748_daily_bin1777
RA = 285.743, Dec = -67.8068
tmin = 699926401, tmax = 700185601
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='921860', job_status='RUN', time_executed='2023-03-11 01:11:57.816902', time_epoch_executed='1678525917.82' WHERE source_name='4FGL J1902.9-6748' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/921860

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/921860/ft1_4FGL_J1902.9-6748_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/921860/ft2_4FGL_J1902.9-6748_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/921860/ft1_4FGL_J1902.9-6748_daily_bin1777.fits outfile=/scratch/kocevski/921860/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1777.fits ra=285.743 dec=-67.8068 rad=12.0 tmin=699926401.0 tmax=700185601.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.07
user 2.84
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/921860/ft2_4FGL_J1902.9-6748_daily_bin1777.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/921860/ft1_filteredMKT_4FGL_J1902.9-6748_daily_bin1777.fits evtable="EVENTS" outfile="/scratch/kocevski/921860/ft1_filtered_4FGL_J1902.9-6748_daily_bin1777.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.43
user 0.29
sys 0.14

Number of photons that the gtmktime cut: 1015

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/921860/ft1_filtered_4FGL_J1902.9-6748_daily_bin1777.fits" evtable="EVENTS" scfile=/scratch/kocevski/921860/ft2_4FGL_J1902.9-6748_daily_bin1777.fits sctable="SC_DATA" outfile=/scratch/kocevski/921860/ltcube_699926401_700185601_4FGL_J1902.9-6748_daily_bin1777.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/921860/ft2_4FGL_J1902.9-6748_daily_bin1777.fits
.....................!
real 10.60
user 10.29
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/921860/ft1_filtered_4FGL_J1902.9-6748_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/921860/ft2_4FGL_J1902.9-6748_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/921860/ltcube_699926401_700185601_4FGL_J1902.9-6748_daily_bin1777.fits outfile=/scratch/kocevski/921860/expmap_699926401_700185601_4FGL_J1902.9-6748_daily_bin1777.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/921860/ltcube_699926401_700185601_4FGL_J1902.9-6748_daily_bin1777.fits
.....................!
real 155.28
user 151.42
sys 3.40

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/921860/ft1_filtered_4FGL_J1902.9-6748_daily_bin1777.fits scfile=/scratch/kocevski/921860/ft2_4FGL_J1902.9-6748_daily_bin1777.fits outfile=/scratch/kocevski/921860/cmap_699926401_700185601_4FGL_J1902.9-6748_daily_bin1777.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.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/921860/ft1_filtered_4FGL_J1902.9-6748_daily_bin1777.fits scfile=/scratch/kocevski/921860/ft2_4FGL_J1902.9-6748_daily_bin1777.fits outfile=/scratch/kocevski/921860/cmap_HighResolution_699926401_700185601_4FGL_J1902.9-6748_daily_bin1777.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.47
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/921860/ft1_filtered_4FGL_J1902.9-6748_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/921860/ft2_4FGL_J1902.9-6748_daily_bin1777.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/921860/Model_4FGL_J1902.9-6748_daily_bin1777.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/921860/ft1_filtered_4FGL_J1902.9-6748_daily_bin1777.fits.....................!
real 74.77
user 73.61
sys 0.98

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11657E-08   1.0000          .0000       .10000E+07
     2 'norm      '    67.988       1.0000          .0000       .10000E+07
     3 'Prefactor '    .22315E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.1455       1.0000          .0000       .10000E+07
     5 'Prefactor '    .69944E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .71609E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .22338E-06   1.0000          .0000       .10000E+07
     8 'norm      '    15.516       1.0000          .0000       .10000E+07
     9 'Prefactor '    72.394       1.0000          .0000       .10000E+07
    10 'norm      '    5.2747       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17123E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    21.291       1.0000          .0000       .10000E+07
    13 'norm      '    .24672       1.0000          .0000       .10000E+07
    14 'norm      '    21.033       1.0000          .0000       .10000E+07
    15 'Prefactor '    .19737       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2241       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .87630       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=   10533.05     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1438 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    1.6431       -.89389E-07** at limit **
   2  norm          67.984        1.8305       -.87138E-07   -.30617E-03
   3  Prefactor     .16653E-09    6.1704       -.26285E-07** at limit **
   4  Prefactor     4.1408        14.788        .90761E-06   -.44386E-02
   5  Prefactor     .27756E-09    6.1768        .17788E-07** at limit **
   6  norm           .0000        .22516        .16571E-07** at limit **
   7  Prefactor     .53291E-08    26.631       -.49442E-06** at limit **
   8  norm          15.500        2.6411       -.27546E-06   -.95398E-01
   9  Prefactor     72.381        1.1979        .35206E-07    .10641E-02
  10  norm          5.2509        9.4675        .18844E-06    .43388E-02
  11  Prefactor     .38858E-08    21.171        .84619E-08** at limit **
  12  Prefactor     21.289        1.0969       -.14749E-07    .73929E-02
  13  norm          .24607        1.6316       -.30626E-07** at limit **
  14  norm          21.029        1.3579       -.95794E-07   -.16372E-01
  15  Prefactor     .63443E-05    1482.1       -.35915E-04** at limit **
  16  Normalizat    1.2250        .25849       -.16186E-04   -.61196E-04
  17  Prefactor     .87604        .93965E-01    .34730E-05   -.79157E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  norm       = 67.9839
  Prefactor  = 1.66533e-10
  Prefactor  = 4.14085
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 5.32907e-09
  norm       = 15.5001
  Prefactor  = 72.3806
  norm       = 5.25093
  Prefactor  = 3.88578e-09
  Prefactor  = 21.2887
  norm       = 0.246068
  norm       = 21.0292
  Prefactor  = 6.34431e-06
  Normalizat = 1.225
  Prefactor  = 0.876042
 **********
 **   18 **HESSE 
 **********

 FCN=   10533.05     FROM HESSE     STATUS=OK           265 CALLS     1703 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    1.6528        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          67.984        48.263        .12129E-03   -1.5543    
   3  Prefactor     .16653E-09    6.1854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1408        14.961        .49482E-03   -1.5667    
   5  Prefactor     .27756E-09    6.1837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .22486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .53291E-08    26.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.500        16.484        .25401E-03   -1.5629    
   9  Prefactor     72.381        63.044        .11754E-03   -1.5538    
  10  norm          5.2509        9.5223        .43740E-03   -1.5662    
  11  Prefactor     .38858E-08    21.229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.289        20.525        .21678E-03   -1.5616    
  13  norm          .24607        .90122        .28429E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          21.029        25.796        .21811E-03   -1.5616    
  15  Prefactor     .63443E-05    7.8539        .11823E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2250        .21500        .80718E-01   -.85834    
  17  Prefactor     .87604        .76227E-01    .44702E-01   -.96983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73045e-07
Minuit parameter uncertainties:
  1  3.50645e-05
  2  48.2637
  3  6.20407e-05
  4  14.9616
  5  8.59675e-05
  6  2.33493e-06
  7  0.000754862
  8  16.4842
  9  63.0446
  10  9.52236
  11  0.00057396
  12  20.5249
  13  0.901217
  14  25.7965
  15  0.0141177
  16  0.21516
  17  0.0762361
Done.

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

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  5.251e+00  9.522e+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:  8.760e-01  7.624e-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.225e+00  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 285.743 -67.807
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/921860/likelihoodResults_699926401_700185601_4FGL_J1902.9-6748_daily_bin1777.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10531.5870287
delta logL = 1.46174942957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10531.5360769
delta logL = 1.51270126754

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .65042       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90836       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=   10531.54     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      327 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65041        11.104        .64828E-03    .17689E-01
   2  alpha         5.0000        4.8259        .46360    ** at limit **
   3  Normalizat    1.0950        .13786        .84665E-01    .22405E-04
   4  Prefactor     .90829        .48566E-01    .34228E-01   -.51177E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.650412
  alpha      = 5
  Normalizat = 1.09501
  Prefactor  = 0.908293
 **********
 **   18 **HESSE 
 **********

 FCN=   10531.54     FROM HESSE     STATUS=OK            35 CALLS      362 TOTAL
                     EDM=   .45E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65041        .49713        .48023E-05   -1.5692    
   2  alpha         5.0000        .93826        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0950        .26398        .37487E-03   -.89912    
   4  Prefactor     .90829        .95574E-01    .15124E-03   -.95852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5439e-13
Minuit parameter uncertainties:
  1  0.49713
  2  1.35293e-06
  3  0.264302
  4  0.0955913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/921860': 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) = 10531.5360764
delta logL = 1.51270171986

Extracting fit parameters...

4FGL J1902.9-6748
   Spectrum: LogParabola
435         norm:  6.504e-01  4.971e-01  0.000e+00  1.000e+06 ( 1.000e-12)
436        alpha:  5.000e+00  1.353e-06  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.083e-01  9.559e-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.095e+00  2.643e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.68
Ra Dec: 285.743 -67.807
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 9.91e-08 +/- 7.53e-08
Energy Flux (Free Index): 1.36e-05 +/- 1.03e-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/921860/cmap_HighResolution_699926401_700185601_4FGL_J1902.9-6748_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-05', comment='SUCCESS', energy_flux2='1.36e-05', dlogl='1.51e+00', photon_flux2='9.91e-08', job_status='DONE', time_completed='2023-03-11 01:22:41.650719', photon_index_error2='0.00', photon_index2='5.00', ts='0.37', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.03e-05', EG='1.22', time_epoch_completed='1678526561.65', return_code='0', job_id='921860', GAL2='0.91', EG2='1.10', return_code2='0', photon_flux_error2='7.53e-08', ts2='3.68', photon_index='2.31' WHERE bin_id='1777' AND source_name='4FGL J1902.9-6748' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:22:41 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 921860: <4FGL_J1902.9-6748_daily_bin1777> in cluster <slac> Done

Job <4FGL_J1902.9-6748_daily_bin1777> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Mar 11 01:10:14 2023
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:10:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:10:15 2023
Terminated at Sat Mar 11 01:22:42 2023
Results reported at Sat Mar 11 01:22:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1902.9-6748_daily_bin1777 285.743 -67.8068 699926401 700185601 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 :                                   645.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             333.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            748 sec.

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

