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 238 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 = 7445
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0038.2-2459_daily_bin1673
RA = 9.5652, Dec = -24.9899
tmin = 672969601, tmax = 673228801
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='350795', job_status='RUN', time_executed='2022-05-03 00:10:18.549989', time_epoch_executed='1651561818.55' WHERE source_name='4FGL J0038.2-2459' and cadence='daily' and bin_id='1673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350795

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350795/ft1_4FGL_J0038.2-2459_daily_bin1673.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350795/ft1_4FGL_J0038.2-2459_daily_bin1673.fits outfile=/scratch/kocevski/350795/ft1_filteredMKT_4FGL_J0038.2-2459_daily_bin1673.fits ra=9.5652 dec=-24.9899 rad=12.0 tmin=672969601.0 tmax=673228801.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 2.99
user 2.75
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.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/350795/ft1_filteredMKT_4FGL_J0038.2-2459_daily_bin1673.fits evtable="EVENTS" outfile="/scratch/kocevski/350795/ft1_filtered_4FGL_J0038.2-2459_daily_bin1673.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.17

Number of photons that the gtmktime cut: 538

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350795/ft1_filtered_4FGL_J0038.2-2459_daily_bin1673.fits" evtable="EVENTS" scfile=/scratch/kocevski/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.fits sctable="SC_DATA" outfile=/scratch/kocevski/350795/ltcube_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.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/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.fits
.....................!
real 16.74
user 16.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350795/ft1_filtered_4FGL_J0038.2-2459_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.fits sctable="SC_DATA" expcube=/scratch/kocevski/350795/ltcube_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.fits outfile=/scratch/kocevski/350795/expmap_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.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/350795/ltcube_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.fits
.....................!
real 192.45
user 186.34
sys 5.74

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/350795/ft1_filtered_4FGL_J0038.2-2459_daily_bin1673.fits scfile=/scratch/kocevski/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.fits outfile=/scratch/kocevski/350795/cmap_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.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.59
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350795/ft1_filtered_4FGL_J0038.2-2459_daily_bin1673.fits scfile=/scratch/kocevski/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.fits outfile=/scratch/kocevski/350795/cmap_HighResolution_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/350795/ft1_filtered_4FGL_J0038.2-2459_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/350795/Model_4FGL_J0038.2-2459_daily_bin1673.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/350795/ft1_filtered_4FGL_J0038.2-2459_daily_bin1673.fits.....................!
real 49.81
user 48.43
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/350795/ft1_filtered_4FGL_J0038.2-2459_daily_bin1673.fits', '/scratch/kocevski/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.fits', expMap='/scratch/kocevski/350795/expmap_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.fits', expCube='/scratch/kocevski/350795/ltcube_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/350795/Model_4FGL_J0038.2-2459_daily_bin1673.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/350795/ft1_filtered_4FGL_J0038.2-2459_daily_bin1673.fits
Spacecraft file(s): /scratch/kocevski/350795/ft2_4FGL_J0038.2-2459_daily_bin1673.fits
Exposure map: /scratch/kocevski/350795/expmap_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.fits
Exposure cube: /scratch/kocevski/350795/ltcube_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/350795/Model_4FGL_J0038.2-2459_daily_bin1673.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) = 6075.81898178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.798       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    26.920       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11818E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.0755       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0633       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.247       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.982       1.0000         .10000E-03   10000.    
    14 'norm      '    2.5771       1.0000         .10000E-03   10000.    
    15 'norm      '    5.9516       1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.106       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10833E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .70457E-02   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1015       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0505       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=   6075.773     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     1929 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.9185        .15437E-06** at limit **
   2  Prefactor     .10000E-03    3.3265       -.33075E-07** at limit **
   3  Prefactor     .10000E-03    9.8872       -.32380E-07** at limit **
   4  Prefactor     15.788        11.652       -.14555E-05    .50592E-05
   5  Prefactor     .10000E-03    6.2817       -.11050E-07** at limit **
   6  norm          .10000E-03    6.7323       -.13069E-07** at limit **
   7  norm          26.926        8.6064       -.12366E-06    .59764E-05
   8  Prefactor     .10000E-03    164.57        .63428E-05** at limit **
   9  norm          .10000E-03    8.6223       -.10979E-06** at limit **
  10  norm          1.0750        2.0099       -.26231E-06   -.93960E-03
  11  Prefactor     4.0630        7.2611        .25752E-05   -.19500E-03
  12  Prefactor     15.250        14.350       -.83729E-05   -.40215E-04
  13  Prefactor     10.983        14.449       -.37155E-05   -.52502E-04
  14  norm          2.5768        2.7662        .70329E-06   -.77477E-04
  15  norm          5.9506        2.9859        .15192E-06    .24126E-04
  16  Prefactor     25.138        16.885        .17613E-05    .51219E-05
  17  Prefactor     .10000E-03    3.6518        .11445E-06** at limit **
  18  Prefactor     .10000E-03    15.023        .54796E-07** at limit **
  19  Prefactor     .10084E-03    28.165       -.18884E-05** at limit **
  20  Normalizat    1.1015        .17589        .17578E-05   -.59602E-05
  21  Prefactor     1.0505        .19583       -.50208E-06    .12553E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7883
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 26.9256
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.07498
  Prefactor  = 4.06297
  Prefactor  = 15.2504
  Prefactor  = 10.9827
  norm       = 2.57682
  norm       = 5.95057
  Prefactor  = 25.1383
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100842
  Normalizat = 1.1015
  Prefactor  = 1.05053
 **********
 **   18 **HESSE 
 **********

 FCN=   6075.773     FROM HESSE     STATUS=OK           331 CALLS     2260 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.9203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4662        .27705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.9065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.788        11.656        .10077E-03   -1.4913    
   5  Prefactor     .10000E-03    6.2826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    6.7427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          26.926        8.6137        .77212E-04   -1.4670    
   8  Prefactor     .10000E-03    164.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.6942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0750        1.6543        .14761E-02   -1.5501    
  11  Prefactor     4.0630        7.1717        .20002E-03   -1.5305    
  12  Prefactor     15.250        14.237        .10257E-03   -1.4927    
  13  Prefactor     10.983        14.413        .12090E-03   -1.5045    
  14  norm          2.5768        2.7489        .11420E-03   -1.5387    
  15  norm          5.9506        2.9866        .90863E-04   -1.5220    
  16  Prefactor     25.138        16.889        .79947E-04   -1.4705    
  17  Prefactor     .10000E-03    3.6804        .14530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10084E-03    30.005        .12718       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1015        .21276        .24101E-03   -.89704    
  21  Prefactor     1.0505        .23672        .27961E-03   -.91064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94876e-10
Minuit parameter uncertainties:
  1  1.69592e-06
  2  6.20834e-06
  3  3.82419e-06
  4  11.6577
  5  1.68161e-06
  6  3.08909e-06
  7  8.61413
  8  5.73398e-05
  9  3.69446e-06
  10  1.65437
  11  7.17322
  12  14.2398
  13  14.4177
  14  2.74905
  15  2.98669
  16  16.8923
  17  2.16165e-05
  18  1.22112e-06
  19  0.0100574
  20  0.212926
  21  0.236958
Done.

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

Extracting fit parameters...

4FGL J0038.2-2459
   Spectrum: LogParabola
137         norm:  2.693e+01  8.614e+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:  1.051e+00  2.370e-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.102e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.70
Ra Dec: 9.565 -24.990
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.34e-07 +/- 4.28e-08
Energy Flux (Fixed Index): 5.64e-05 +/- 1.80e-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) = 6075.7713183
delta logL = 0.00200562411646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6075.77091671
delta logL = 0.00240721730825

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.716       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1871       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0986       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0528       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=   6075.771     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      232 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.716        55.969        .19376E-02   -.52559E-03
   2  alpha         2.1871        1.7159        .20401        .29401E-04
   3  Normalizat    1.0987        .22473        .54565E-01    .74319E-05
   4  Prefactor     1.0527        .24277        .63162E-01    .10114E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 26.7162
  alpha      = 2.18708
  Normalizat = 1.09867
  Prefactor  = 1.05272
 **********
 **   18 **HESSE 
 **********

 FCN=   6075.771     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.716        9.1617        .77505E-04   -1.4674    
   2  alpha         2.1871        .32697        .84975E-02   -.12550    
   3  Normalizat    1.0987        .21122        .24127E-03   -.89794    
   4  Prefactor     1.0527        .23741        .27936E-03   -.90992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69688e-11
Minuit parameter uncertainties:
  1  9.16215
  2  0.327928
  3  0.211387
  4  0.237646
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350795': 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) = 6075.77091669
delta logL = 0.00240723093702

Extracting fit parameters...

4FGL J0038.2-2459
   Spectrum: LogParabola
137         norm:  2.672e+01  9.162e+00  1.000e-04  1.000e+04 ( 1.000e-12)
138        alpha:  2.187e+00  3.279e-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:  1.053e+00  2.376e-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.099e+00  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.62
Ra Dec: 9.565 -24.990
Photon Index (Free Index): 2.19 +/- 0.33
Photon Flux (Free Index): 1.36e-07 +/- 5.27e-08
Energy Flux (Free Index): 5.56e-05 +/- 2.13e-05

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/350795/cmap_HighResolution_672969601_673228801_4FGL_J0038.2-2459_daily_bin1673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.34e-07', energy_flux2='5.56e-05', photon_flux_error='4.28e-08', dlogl='2.41e-03', energy_flux='5.64e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2022-05-03 00:19:18.373887', photon_index_error2='0.33', photon_index2='2.19', ts='23.70', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='2.13e-05', EG='1.10', time_epoch_completed='1651562358.37', return_code='0', job_id='350795', GAL2='1.05', EG2='1.10', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='5.27e-08', ts2='23.62', photon_index='2.16' WHERE bin_id='1673' AND source_name='4FGL J0038.2-2459' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May  3 00:19:18 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 350796: <4FGL_J0038.2-2459_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0038.2-2459_daily_bin1673> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue May  3 00:05:21 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:06:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:06:03 2022
Terminated at Tue May  3 00:15:51 2022
Results reported at Tue May  3 00:15:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0038.2-2459_daily_bin1673 9.5652 -24.9899 672969601 673228801 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 :                                   536.30 sec.
    Max Memory :                                 618 MB
    Average Memory :                             275.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   587 sec.
    Turnaround time :                            630 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 350795: <4FGL_J0038.2-2459_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0038.2-2459_daily_bin1673> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue May  3 00:05:21 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:06:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:06:03 2022
Terminated at Tue May  3 00:19:19 2022
Results reported at Tue May  3 00:19:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0038.2-2459_daily_bin1673 9.5652 -24.9899 672969601 673228801 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 :                                   542.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            838 sec.

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

