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


Performing analysis on: 4FGL_J0038.2-2459_daily_bin1702
RA = 9.5652, Dec = -24.9899
tmin = 680486401, tmax = 680745601
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='232909', job_status='RUN', time_executed='2022-07-29 00:08:22.935833', time_epoch_executed='1659078502.94' WHERE source_name='4FGL J0038.2-2459' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/232909

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/232909/ft1_4FGL_J0038.2-2459_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/232909/ft1_4FGL_J0038.2-2459_daily_bin1702.fits outfile=/scratch/kocevski/232909/ft1_filteredMKT_4FGL_J0038.2-2459_daily_bin1702.fits ra=9.5652 dec=-24.9899 rad=12.0 tmin=680486401.0 tmax=680745601.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.02
user 2.76
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.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/232909/ft1_filteredMKT_4FGL_J0038.2-2459_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/232909/ft1_filtered_4FGL_J0038.2-2459_daily_bin1702.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 416

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/232909/ft1_filtered_4FGL_J0038.2-2459_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/232909/ltcube_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.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/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits
.....................!
real 16.41
user 15.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/232909/ft1_filtered_4FGL_J0038.2-2459_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/232909/ltcube_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.fits outfile=/scratch/kocevski/232909/expmap_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.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/232909/ltcube_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.fits
.....................!
real 193.61
user 187.54
sys 5.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
Added 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J0038.2-2459 @ 9.5652 -24.9899

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/232909/ft1_filtered_4FGL_J0038.2-2459_daily_bin1702.fits scfile=/scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits outfile=/scratch/kocevski/232909/cmap_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.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=9.5652 yref=-24.9899 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.64
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/232909/ft1_filtered_4FGL_J0038.2-2459_daily_bin1702.fits scfile=/scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits outfile=/scratch/kocevski/232909/cmap_HighResolution_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.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=9.5652 yref=-24.9899 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.60
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/232909/ft1_filtered_4FGL_J0038.2-2459_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/232909/Model_4FGL_J0038.2-2459_daily_bin1702.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 GAL_V02
Working on...
/scratch/kocevski/232909/ft1_filtered_4FGL_J0038.2-2459_daily_bin1702.fits.....................!
real 43.01
user 40.55
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/232909/ft1_filtered_4FGL_J0038.2-2459_daily_bin1702.fits', '/scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits', expMap='/scratch/kocevski/232909/expmap_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.fits', expCube='/scratch/kocevski/232909/ltcube_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/232909/Model_4FGL_J0038.2-2459_daily_bin1702.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0038.2-2459'

4FGL J0038.2-2459
   Spectrum: LogParabola
137         norm:  4.239e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
138        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
139         beta:  8.909e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
140           Eb:  7.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/232909/ft1_filtered_4FGL_J0038.2-2459_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/232909/ft2_4FGL_J0038.2-2459_daily_bin1702.fits
Exposure map: /scratch/kocevski/232909/expmap_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.fits
Exposure cube: /scratch/kocevski/232909/ltcube_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/232909/Model_4FGL_J0038.2-2459_daily_bin1702.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) = 4619.14295735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.076       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9921       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.792       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.2175       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .24053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2949       1.0000         .10000E-03   10000.    
    14 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.7268       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.998       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2571       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .41317       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4619.140     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2173 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.081        51.546        .15916E-06    .40715E-04
   2  Prefactor     7.9930        4.8196       -.74989E-07   -.80698E-03
   3  Prefactor     .10000E-03    18.070       -.75318E-06** at limit **
   4  Prefactor     10.792        10.373       -.43020E-07   -.71301E-04
   5  Prefactor     .10000E-03    26.241       -.69804E-07** at limit **
   6  norm          .10000E-03    4.4978       -.14261E-07** at limit **
   7  norm          7.2183        5.8500        .19957E-06   -.20154E-03
   8  Prefactor     .10000E-03    143.13        .50232E-07** at limit **
   9  norm          .10000E-03    8.3334       -.67075E-08** at limit **
  10  norm          .10000E-03    .69859       -.13199E-07** at limit **
  11  Prefactor     .10002E-03    14.709        .85878E-05** at limit **
  12  Prefactor     .10000E-03    5.3392        .86289E-07** at limit **
  13  Prefactor     3.2888        5.9363       -.13863E-05   -.88624E-03
  14  norm          .10000E-03    .83696        .16887E-05** at limit **
  15  norm          6.7270        2.7366        .63095E-08   -.52082E-03
  16  Prefactor     13.998        12.612       -.66913E-08   -.19494E-03
  17  Prefactor     .10000E-03    1.0091        .11654E-06** at limit **
  18  Prefactor     .10000E-03    26.236       -.93355E-07** at limit **
  19  Prefactor     .10000E-03    17.763       -.18249E-06** at limit **
  20  Normalizat    1.2570        .17289        .60409E-07   -.10359E-02
  21  Prefactor     .41320        .18666       -.51388E-06   -.49594E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 32.0814
  Prefactor  = 7.99304
  Prefactor  = 0.000100005
  Prefactor  = 10.7924
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.21832
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  Prefactor  = 3.28879
  norm       = 0.000100001
  norm       = 6.72699
  Prefactor  = 13.9978
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.25701
  Prefactor  = 0.413202
 **********
 **   18 **HESSE 
 **********

 FCN=   4619.140     FROM HESSE     STATUS=OK           311 CALLS     2484 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.081        51.546        .70749E-04   -1.4575    
   2  Prefactor     7.9930        4.8134        .11088E-03   -1.5142    
   3  Prefactor     .10000E-03    18.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.792        10.374        .12196E-03   -1.5051    
   5  Prefactor     .10000E-03    26.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.5002        .14078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.2183        5.8643        .14171E-03   -1.5171    
   8  Prefactor     .10000E-03    143.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.3596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .70000        .55473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    16.708        .29222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.3531        .15331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.2888        6.0898        .21987E-03   -1.5345    
  14  norm          .10000E-03    1.2229        .11668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.7270        2.7363        .67585E-04   -1.5189    
  16  Prefactor     13.998        12.609        .10706E-03   -1.4960    
  17  Prefactor     .10000E-03    1.0145        .66676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2570        .19102        .18188E-03   -.84859    
  21  Prefactor     .41320        .20588        .33087E-03   -1.1614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76112e-09
Minuit parameter uncertainties:
  1  51.6178
  2  4.81361
  3  0.00058457
  4  10.376
  5  0.00011033
  6  3.27397e-06
  7  5.86475
  8  0.000683566
  9  1.82723e-05
  10  5.20349e-07
  11  0.00117288
  12  5.82273e-06
  13  6.0909
  14  6.48979e-05
  15  2.73635
  16  12.6117
  17  4.72825e-06
  18  2.0528e-05
  19  0.000232131
  20  0.191124
  21  0.206252
Done.

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

Extracting fit parameters...

4FGL J0038.2-2459
   Spectrum: LogParabola
137         norm:  7.218e+00  5.865e+00  1.000e-04  1.000e+04 ( 1.000e-12)
138        alpha:  2.165e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
139         beta:  8.909e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
140           Eb:  7.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  4.132e-01  2.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.257e+00  1.911e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.60
Ra Dec: 9.565 -24.990
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 3.59e-08 +/- 2.91e-08
Energy Flux (Fixed Index): 1.51e-05 +/- 1.23e-05

TS (Fixed Index): 2.60
Ra Dec: 9.565 -24.990
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/232909/likelihoodResults_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.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) = 4616.59649989
delta logL = 2.54366223244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4616.53061747
delta logL = 2.60954465592

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9287       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.0712       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1223       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51141       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4616.531     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      242 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9305        13.458        .74774E-02    .25573E-03
   2  alpha         4.0708        4.4108        .22048        .31288E-04
   3  Normalizat    1.1224        .67921E-01    .37156E-01   -.39930E-06
   4  Prefactor     .51130        .72513E-01    .67558E-01    .22351E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9305
  alpha      = 4.07084
  Normalizat = 1.12241
  Prefactor  = 0.511304
 **********
 **   18 **HESSE 
 **********

 FCN=   4616.531     FROM HESSE     STATUS=OK            31 CALLS      273 TOTAL
                     EDM=   .93E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9305        2.7232        .39953E-04   -1.5430    
   2  alpha         4.0708        .90759        .97805E-03    .67941    
   3  Normalizat    1.1224        .19871        .19019E-03   -.89035    
   4  Prefactor     .51130        .21091        .29904E-03   -1.1146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.28682e-14
Minuit parameter uncertainties:
  1  2.72335
  2  0.944254
  3  0.198844
  4  0.211236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/232909': 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) = 4616.53061677
delta logL = 2.60954535142

Extracting fit parameters...

4FGL J0038.2-2459
   Spectrum: LogParabola
137         norm:  1.931e+00  2.723e+00  1.000e-04  1.000e+04 ( 1.000e-12)
138        alpha:  4.071e+00  9.443e-01  0.000e+00  5.000e+00 ( 1.000e+00)
139         beta:  8.909e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
140           Eb:  7.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  5.113e-01  2.112e-01  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.122e+00  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.24
Ra Dec: 9.565 -24.990
Photon Index (Free Index): 4.07 +/- 0.94
Photon Flux (Free Index): 1.39e-07 +/- 6.82e-08
Energy Flux (Free Index): 2.13e-05 +/- 9.77e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/232909/cmap_HighResolution_680486401_680745601_4FGL_J0038.2-2459_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-05', comment='SUCCESS', photon_flux='3.59e-08', energy_flux2='2.13e-05', photon_flux_error='2.91e-08', dlogl='2.61e+00', energy_flux='1.51e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2022-07-29 00:17:31.566613', photon_index_error2='0.94', photon_index2='4.07', ts='2.60', fit_tolerance='1e-08', GAL='0.41', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='9.77e-06', EG='1.26', time_epoch_completed='1659079051.57', return_code='0', job_id='232909', GAL2='0.51', EG2='1.12', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='6.82e-08', ts2='8.24', photon_index='2.16' WHERE bin_id='1702' AND source_name='4FGL J0038.2-2459' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 00:17:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 232909: <4FGL_J0038.2-2459_daily_bin1702> in cluster <slac> Done

Job <4FGL_J0038.2-2459_daily_bin1702> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Jul 29 00:05:08 2022
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 00:06:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 00:06:24 2022
Terminated at Fri Jul 29 00:17:32 2022
Results reported at Fri Jul 29 00:17:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0038.2-2459_daily_bin1702 9.5652 -24.9899 680486401 680745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0038.2-2459 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   546.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            744 sec.

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

