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


Performing analysis on: 4FGL_J0036.9+1832_daily_bin1742
RA = 9.234, Dec = 18.5424
tmin = 690854401, tmax = 691113601
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='217220', job_status='RUN', time_executed='2022-11-26 00:11:23.149426', time_epoch_executed='1669450283.15' WHERE source_name='4FGL J0036.9+1832' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217220

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217220/ft1_4FGL_J0036.9+1832_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217220/ft1_4FGL_J0036.9+1832_daily_bin1742.fits outfile=/scratch/kocevski/217220/ft1_filteredMKT_4FGL_J0036.9+1832_daily_bin1742.fits ra=9.234 dec=18.5424 rad=12.0 tmin=690854401.0 tmax=691113601.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.98
user 2.70
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.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/217220/ft1_filteredMKT_4FGL_J0036.9+1832_daily_bin1742.fits evtable="EVENTS" outfile="/scratch/kocevski/217220/ft1_filtered_4FGL_J0036.9+1832_daily_bin1742.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.53
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 528

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217220/ft1_filtered_4FGL_J0036.9+1832_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217220/ltcube_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.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/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits
.....................!
real 16.40
user 15.98
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217220/ft1_filtered_4FGL_J0036.9+1832_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217220/ltcube_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.fits outfile=/scratch/kocevski/217220/expmap_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.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/217220/ltcube_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.fits
.....................!
real 192.70
user 186.75
sys 5.56

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

Setting source of interest to:
4FGL J0036.9+1832 @ 9.234 18.5424

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/217220/ft1_filtered_4FGL_J0036.9+1832_daily_bin1742.fits scfile=/scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits outfile=/scratch/kocevski/217220/cmap_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.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.234 yref=18.5424 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217220/ft1_filtered_4FGL_J0036.9+1832_daily_bin1742.fits scfile=/scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits outfile=/scratch/kocevski/217220/cmap_HighResolution_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.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.234 yref=18.5424 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217220/ft1_filtered_4FGL_J0036.9+1832_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217220/Model_4FGL_J0036.9+1832_daily_bin1742.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/217220/ft1_filtered_4FGL_J0036.9+1832_daily_bin1742.fits.....................!
real 64.36
user 62.94
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217220/ft1_filtered_4FGL_J0036.9+1832_daily_bin1742.fits', '/scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits', expMap='/scratch/kocevski/217220/expmap_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.fits', expCube='/scratch/kocevski/217220/ltcube_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217220/Model_4FGL_J0036.9+1832_daily_bin1742.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0036.9+1832'

4FGL J0036.9+1832
   Spectrum: PowerLaw
140    Prefactor:  4.389e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
141        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
142        Scale:  9.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/217220/ft1_filtered_4FGL_J0036.9+1832_daily_bin1742.fits
Spacecraft file(s): /scratch/kocevski/217220/ft2_4FGL_J0036.9+1832_daily_bin1742.fits
Exposure map: /scratch/kocevski/217220/expmap_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.fits
Exposure cube: /scratch/kocevski/217220/ltcube_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217220/Model_4FGL_J0036.9+1832_daily_bin1742.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) = 5804.30794494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .40801E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    83.958       1.0000          .0000       .10000E+07
     3 'Prefactor '    .79537E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.0385       1.0000          .0000       .10000E+07
     5 'norm      '    .27367E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .69944E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .49349E-07   1.0000          .0000       .10000E+07
     8 'norm      '    6.9821       1.0000          .0000       .10000E+07
     9 'Prefactor '    .57000       1.0000          .0000       .10000E+07
    10 'Prefactor '    21.844       1.0000          .0000       .10000E+07
    11 'Prefactor '    .40412E-07   1.0000          .0000       .10000E+07
    12 'norm      '    1.3241       1.0000          .0000       .10000E+07
    13 'Prefactor '    23.593       1.0000          .0000       .10000E+07
    14 'Prefactor '    .64768E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.0541       1.0000          .0000       .10000E+07
    16 'Prefactor '    .64377       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0315       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .95590       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5804.257     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1290 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    3.3361       -.42087E-06** at limit **
   2  Prefactor     83.954        16.518        .16600E-05   -.12939    
   3  Prefactor     .13161E-05    8.2247        .89923E-06** at limit **
   4  Prefactor     3.0382        3.4210        .13769E-05    .17555E-02
   5  norm          .29897E-05    5.5255        .12778E-05** at limit **
   6  Prefactor     .57498E-06    10.759        .61228E-06** at limit **
   7  Prefactor     .13878E-08    6.7562       -.16641E-05** at limit **
   8  norm          6.9821        7.2342       -.54150E-06    .15246E-02
   9  Prefactor     .56966        19.650        .59529E-05    .29850E-01
  10  Prefactor     21.839        3.0191        .41619E-06   -.42283E-01
  11  Prefactor     .27073E-06    107.92        .34703E-05** at limit **
  12  norm          1.3242        .86390       -.42166E-07    .12004E-03
  13  Prefactor     23.594        2.5575       -.40867E-06   -.10464E-01
  14  Prefactor     .64115E-07    76.317       -.84557E-05** at limit **
  15  Prefactor     2.0572        5.2547        .32461E-05   -.18579E-02
  16  Prefactor     .64337        3.9266        .12090E-05    .32968E-03
  17  Normalizat    1.0316        .24744       -.72001E-05   -.59159E-04
  18  Prefactor     .95583        .16918       -.24766E-04   -.95943E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  Prefactor  = 83.954
  Prefactor  = 1.31611e-06
  Prefactor  = 3.03821
  norm       = 2.98972e-06
  Prefactor  = 5.74985e-07
  Prefactor  = 1.38778e-09
  norm       = 6.9821
  Prefactor  = 0.569663
  Prefactor  = 21.8392
  Prefactor  = 2.70728e-07
  norm       = 1.32416
  Prefactor  = 23.5937
  Prefactor  = 6.41154e-08
  Prefactor  = 2.05717
  Prefactor  = 0.643375
  Normalizat = 1.03158
  Prefactor  = 0.955826
 **********
 **   18 **HESSE 
 **********

 FCN=   5804.257     FROM HESSE     STATUS=OK           282 CALLS     1572 TOTAL
                     EDM=   .91E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    3.2524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     83.954        17.727        .10914E-03   -1.5525    
   3  Prefactor     .13161E-05    10.412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.0382        3.4376        .58184E-03   -1.5673    
   5  norm          .29897E-05    10.541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .57498E-06    11.922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13878E-08    6.7666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.9821        7.3081        .37943E-03   -1.5655    
   9  Prefactor     .56966        20.930        .71959E-03   -1.5693    
  10  Prefactor     21.839        16.284        .21402E-03   -1.5614    
  11  Prefactor     .27073E-06    108.58        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3242        .87974        .95518E-03   -1.5685    
  13  Prefactor     23.594        19.148        .20592E-03   -1.5611    
  14  Prefactor     .64115E-07    76.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.0572        5.2837        .72091E-03   -1.5679    
  16  Prefactor     .64337        3.9583        .65395E-03   -1.5692    
  17  Normalizat    1.0316        .21284        .66869E-01   -.91980    
  18  Prefactor     .95583        .14327        .45714E-01   -.94217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.05245e-07
Minuit parameter uncertainties:
  1  4.20994e-05
  2  17.7271
  3  0.00740372
  4  3.43764
  5  0.0112278
  6  0.00523631
  7  0.000192896
  8  7.30808
  9  6.90591
  10  16.2844
  11  0.0108435
  12  0.879741
  13  19.1479
  14  0.00442573
  15  5.28375
  16  3.19168
  17  0.21302
  18  0.143331
Done.

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

Extracting fit parameters...

4FGL J0036.9+1832
   Spectrum: PowerLaw
140    Prefactor:  5.750e-07  5.236e-03  0.000e+00  1.000e+06 ( 1.000e-13)
141        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
142        Scale:  9.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.558e-01  1.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.032e+00  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 9.234 18.542
Photon Flux Upper Limit: 8.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217220/likelihoodResults_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.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) = 5804.25734425
delta logL = -0.000133330042445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5804.22101513
delta logL = 0.0361957901905

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5804.257     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      446 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88818E-09    10.896        .74394E-06** at limit **
   2  Index         1.6992        .52695E-01    .23375E-05   -.65257E-10
   3  Normalizat    1.0316        .24214        .19787E-04   -.97924E-04
   4  Prefactor     .95583        .16734        .91814E-05    .82084E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88178e-10
  Index      = 1.69917
  Normalizat = 1.03158
  Prefactor  = 0.955826
 **********
 **   18 **HESSE 
 **********

 FCN=   5804.257     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      483 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88818E-09    5.6240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6992        6.8858        .50000       -459.39    
   3  Normalizat    1.0316        .36539E-02    .66878E-01    110.88    
   4  Prefactor     .95583        .25099E-02    .45846E-01    36.757    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.44058e-11
Minuit parameter uncertainties:
  1  0.000142212
  2  45811.5
  3  0.00365386
  4  0.00250986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217220': 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): 102
logL (Free Index) = 5804.25721089
delta logL = 2.40688677877e-08

Extracting fit parameters...

4FGL J0036.9+1832
   Spectrum: PowerLaw
140    Prefactor:  8.882e-10  1.422e-04  0.000e+00  1.000e+06 ( 1.000e-13)
141        Index:  1.699e+00  4.581e+04  0.000e+00  1.000e+01 (-1.000e+00)
142        Scale:  9.446e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.558e-01  2.510e-03  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.032e+00  3.654e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 9.234 18.542

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/217220/cmap_HighResolution_690854401_691113601_4FGL_J0036.9+1832_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', job_status='DONE', photon_flux_upper_limit='8.44e-08', time_completed='2022-11-26 00:20:10.830127', job_id='217220', GAL2='0.96', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1669450810.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.41e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1742' AND source_name='4FGL J0036.9+1832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:20:10 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 217220: <4FGL_J0036.9+1832_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0036.9+1832_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:04:40 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:08:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:08:24 2022
Terminated at Sat Nov 26 00:20:11 2022
Results reported at Sat Nov 26 00:20:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0036.9+1832_daily_bin1742 9.234 18.5424 690854401 691113601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0036.9+1832 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   530.00 sec.
    Max Memory :                                 1030 MB
    Average Memory :                             280.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            931 sec.

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

