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


Performing analysis on: 4FGL_J0037.8+1239_daily_bin1774
RA = 9.4695, Dec = 12.6527
tmin = 699148801, tmax = 699408001
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='672294', job_status='RUN', time_executed='2023-03-02 00:05:33.859620', time_epoch_executed='1677744333.86' WHERE source_name='4FGL J0037.8+1239' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/672294

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/672294/ft1_4FGL_J0037.8+1239_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/672294/ft1_4FGL_J0037.8+1239_daily_bin1774.fits outfile=/scratch/kocevski/672294/ft1_filteredMKT_4FGL_J0037.8+1239_daily_bin1774.fits ra=9.4695 dec=12.6527 rad=12.0 tmin=699148801.0 tmax=699408001.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.90
user 2.66
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.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/672294/ft1_filteredMKT_4FGL_J0037.8+1239_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/672294/ft1_filtered_4FGL_J0037.8+1239_daily_bin1774.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.54
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 906

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/672294/ft1_filtered_4FGL_J0037.8+1239_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/672294/ltcube_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.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/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits
.....................!
real 13.80
user 13.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/672294/ft1_filtered_4FGL_J0037.8+1239_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/672294/ltcube_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.fits outfile=/scratch/kocevski/672294/expmap_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.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/672294/ltcube_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.fits
.....................!
real 192.58
user 186.18
sys 4.93

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J0037.8+1239 @ 9.4695 12.6527

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/672294/ft1_filtered_4FGL_J0037.8+1239_daily_bin1774.fits scfile=/scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits outfile=/scratch/kocevski/672294/cmap_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.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.4695 yref=12.6527 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/672294/ft1_filtered_4FGL_J0037.8+1239_daily_bin1774.fits scfile=/scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits outfile=/scratch/kocevski/672294/cmap_HighResolution_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.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.4695 yref=12.6527 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/672294/ft1_filtered_4FGL_J0037.8+1239_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/672294/Model_4FGL_J0037.8+1239_daily_bin1774.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/672294/ft1_filtered_4FGL_J0037.8+1239_daily_bin1774.fits.....................!
real 101.58
user 98.57
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/672294/ft1_filtered_4FGL_J0037.8+1239_daily_bin1774.fits', '/scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits', expMap='/scratch/kocevski/672294/expmap_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.fits', expCube='/scratch/kocevski/672294/ltcube_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/672294/Model_4FGL_J0037.8+1239_daily_bin1774.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0037.8+1239'

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  4.891e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/672294/ft1_filtered_4FGL_J0037.8+1239_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/672294/ft2_4FGL_J0037.8+1239_daily_bin1774.fits
Exposure map: /scratch/kocevski/672294/expmap_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.fits
Exposure cube: /scratch/kocevski/672294/ltcube_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/672294/Model_4FGL_J0037.8+1239_daily_bin1774.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) = 9957.40502001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1500       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27834E-02   1.0000          .0000       .10000E+07
     3 'norm      '    1.5759       1.0000          .0000       .10000E+07
     4 'Prefactor '    .54257E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.610       1.0000          .0000       .10000E+07
     6 'norm      '    8.7057       1.0000          .0000       .10000E+07
     7 'Prefactor '    .41446E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.9897       1.0000          .0000       .10000E+07
     9 'norm      '    4.9341       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.1051       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.5340       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.0881       1.0000          .0000       .10000E+07
    13 'norm      '    .81529E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17755E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    34.744       1.0000          .0000       .10000E+07
    16 'Prefactor '    13.899       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2845       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0179       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9957.404     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1306 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2431        8.3160        .78943E-07    .19917E-01
   2  Prefactor     .27756E-09    21.001        .18476E-06** at limit **
   3  norm          1.5754        3.3894        .12813E-06    .28791E-02
   4  Prefactor      .0000        6.3090       -.89991E-07** at limit **
   5  Prefactor     14.610        3.9737       -.48526E-08   -.60205E-03
   6  norm          8.7004        6.8686       -.23195E-07   -.88658E-02
   7  Prefactor     .51070E-08    14.434        .96195E-07** at limit **
   8  Prefactor     2.9826        2.1211       -.49977E-07    .73279E-01
   9  norm          4.8947        6.2045        .36089E-07    .52942E-03
  10  Prefactor     5.1393        4.5634       -.46541E-07   -.93807E-02
  11  Prefactor     4.5380        11.914       -.40281E-06    .39364E-02
  12  Prefactor     6.0895        3.4197        .92661E-08    .11957E-02
  13  norm          .55511E-10    3.5432        .11362E-06** at limit **
  14  Prefactor     .23315E-08    13.219       -.92854E-07** at limit **
  15  Prefactor     35.714        94.983       -.95036E-06   -.22735E-02
  16  Prefactor     13.889        9.4158        .54625E-07   -.20460E-03
  17  Normalizat    1.2843        .21223       -.57686E-06   -.61552E-04
  18  Prefactor     1.0178        .14762        .72170E-06   -.26983E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.24312
  Prefactor  = 2.77556e-10
  norm       = 1.57543
  Prefactor  = 0
  Prefactor  = 14.6097
  norm       = 8.70042
  Prefactor  = 5.10703e-09
  Prefactor  = 2.98259
  norm       = 4.89468
  Prefactor  = 5.13931
  Prefactor  = 4.53798
  Prefactor  = 6.08952
  norm       = 5.55112e-11
  Prefactor  = 2.33147e-09
  Prefactor  = 35.7137
  Prefactor  = 13.8889
  Normalizat = 1.28434
  Prefactor  = 1.01777
 **********
 **   18 **HESSE 
 **********

 FCN=   9957.404     FROM HESSE     STATUS=OK           286 CALLS     1592 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2431        8.4424        .35095E-03   -1.5651    
   2  Prefactor     .27756E-09    20.567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5754        3.4219        .84610E-03   -1.5683    
   4  Prefactor      .0000        6.3089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.610        3.9724        .26178E-03   -1.5632    
   6  norm          8.7004        6.8928        .33949E-03   -1.5649    
   7  Prefactor     .51070E-08    14.421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.9826        8.8734        .58686E-03   -1.5673    
   9  norm          4.8947        6.2290        .45255E-03   -1.5664    
  10  Prefactor     5.1393        4.6321        .44475E-03   -1.5663    
  11  Prefactor     4.5380        11.973        .47256E-03   -1.5665    
  12  Prefactor     6.0895        3.4191        .40667E-03   -1.5659    
  13  norm          .55511E-10    3.5404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23315E-08    13.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     35.714        94.841        .16967E-03   -1.5588    
  16  Prefactor     13.889        9.4054        .26840E-03   -1.5633    
  17  Normalizat    1.2843        .18106        .67025E-01   -.84035    
  18  Prefactor     1.0178        .12629        .42354E-01   -.92140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64179e-07
Minuit parameter uncertainties:
  1  8.44238
  2  0.000149705
  3  3.42194
  4  1.79669e-05
  5  3.97241
  6  6.89278
  7  0.0005435
  8  8.87347
  9  6.22902
  10  4.63214
  11  11.973
  12  3.4191
  13  2.43257e-05
  14  0.000349307
  15  94.8452
  16  9.40544
  17  0.181151
  18  0.126324
Done.

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

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  2.983e+00  8.873e+00  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.216e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  1.018e+00  1.263e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.284e+00  1.812e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 9.470 12.653
Photon Flux Upper Limit: 6.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/672294/likelihoodResults_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.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) = 9957.3979409
delta logL = 0.00566171801256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9957.39730292
delta logL = 0.00629969587317

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3067       1.0000          .0000       .10000E+07
     2 'Index     '    2.0647       1.0000          .0000       10.000    
     3 'Normalizat'    1.2856       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0173       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5090E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9957.397     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      255 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3056        9.5767        .22259E-04   -.11665E-02
   2  Index         2.0644        1.3054        .71438E-02    .24797E-04
   3  Normalizat    1.2856        .20245        .29639E-03   -.38896E-03
   4  Prefactor     1.0173        .14613        .23521E-03   -.56762E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.30559
  Index      = 2.06436
  Normalizat = 1.28559
  Prefactor  = 1.01727
 **********
 **   18 **HESSE 
 **********

 FCN=   9957.397     FROM HESSE     STATUS=OK            23 CALLS      278 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3056        9.5191        .89037E-06   -1.5672    
   2  Index         2.0644        1.2980        .28575E-03   -.62751    
   3  Normalizat    1.2856        .20258        .59278E-04   -.83998    
   4  Prefactor     1.0173        .14624        .47042E-04   -.92156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93897e-10
Minuit parameter uncertainties:
  1  9.51913
  2  1.32135
  3  0.20271
  4  0.146298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/672294': 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) = 9957.39730288
delta logL = 0.00629973544346

Extracting fit parameters...

4FGL J0037.8+1239
   Spectrum: PowerLaw
160    Prefactor:  3.306e+00  9.519e+00  0.000e+00  1.000e+06 ( 1.000e-13)
161        Index:  2.064e+00  1.321e+00  0.000e+00  1.000e+01 (-1.000e+00)
162        Scale:  1.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
506    Prefactor:  1.017e+00  1.463e-01  0.000e+00  1.000e+01 ( 1.000e+00)
507        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
508        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
505   Normalization:  1.286e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 9.470 12.653

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/672294/cmap_HighResolution_699148801_699408001_4FGL_J0037.8+1239_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2023-03-02 00:16:19.953692', job_id='672294', GAL2='1.02', fit_tolerance='1e-08', EG2='1.29', EG='1.28', time_epoch_completed='1677744979.95', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='6.30e-03', ts2='0.15', photon_index_error='0.00', photon_index='2.22' WHERE bin_id='1774' AND source_name='4FGL J0037.8+1239' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:16:19 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0010>
Subject: Job 672294: <4FGL_J0037.8+1239_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0037.8+1239_daily_bin1774> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Mar  2 00:04:47 2023
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:04:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:04:48 2023
Terminated at Thu Mar  2 00:16:20 2023
Results reported at Thu Mar  2 00:16:20 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0037.8+1239_daily_bin1774 9.4695 12.6527 699148801 699408001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0037.8+1239 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   639.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             384.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   692 sec.
    Turnaround time :                            693 sec.

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

