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


Performing analysis on: 4FGL_J0036.9+1832_daily_bin1743
RA = 9.234, Dec = 18.5424
tmin = 691113601, tmax = 691372801
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='445480', job_status='RUN', time_executed='2022-11-29 00:14:49.224547', time_epoch_executed='1669709689.22' WHERE source_name='4FGL J0036.9+1832' and cadence='daily' and bin_id='1743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445480

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445480/ft1_4FGL_J0036.9+1832_daily_bin1743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445480/ft2_4FGL_J0036.9+1832_daily_bin1743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445480/ft1_4FGL_J0036.9+1832_daily_bin1743.fits outfile=/scratch/kocevski/445480/ft1_filteredMKT_4FGL_J0036.9+1832_daily_bin1743.fits ra=9.234 dec=18.5424 rad=12.0 tmin=691113601.0 tmax=691372801.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.75
user 2.52
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/445480/ft2_4FGL_J0036.9+1832_daily_bin1743.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/445480/ft1_filteredMKT_4FGL_J0036.9+1832_daily_bin1743.fits evtable="EVENTS" outfile="/scratch/kocevski/445480/ft1_filtered_4FGL_J0036.9+1832_daily_bin1743.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 462

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445480/ft1_filtered_4FGL_J0036.9+1832_daily_bin1743.fits" evtable="EVENTS" scfile=/scratch/kocevski/445480/ft2_4FGL_J0036.9+1832_daily_bin1743.fits sctable="SC_DATA" outfile=/scratch/kocevski/445480/ltcube_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.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/445480/ft2_4FGL_J0036.9+1832_daily_bin1743.fits
.....................!
real 16.53
user 16.10
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445480/ft1_filtered_4FGL_J0036.9+1832_daily_bin1743.fits evtable="EVENTS" scfile=/scratch/kocevski/445480/ft2_4FGL_J0036.9+1832_daily_bin1743.fits sctable="SC_DATA" expcube=/scratch/kocevski/445480/ltcube_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.fits outfile=/scratch/kocevski/445480/expmap_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.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/445480/ltcube_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.fits
.....................!
real 190.75
user 185.48
sys 4.88

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/445480/ft1_filtered_4FGL_J0036.9+1832_daily_bin1743.fits scfile=/scratch/kocevski/445480/ft2_4FGL_J0036.9+1832_daily_bin1743.fits outfile=/scratch/kocevski/445480/cmap_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445480/ft1_filtered_4FGL_J0036.9+1832_daily_bin1743.fits scfile=/scratch/kocevski/445480/ft2_4FGL_J0036.9+1832_daily_bin1743.fits outfile=/scratch/kocevski/445480/cmap_HighResolution_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.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.56
user 0.38
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/445480/ft1_filtered_4FGL_J0036.9+1832_daily_bin1743.fits', '/scratch/kocevski/445480/ft2_4FGL_J0036.9+1832_daily_bin1743.fits', expMap='/scratch/kocevski/445480/expmap_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.fits', expCube='/scratch/kocevski/445480/ltcube_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/445480/Model_4FGL_J0036.9+1832_daily_bin1743.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/445480/ft1_filtered_4FGL_J0036.9+1832_daily_bin1743.fits
Spacecraft file(s): /scratch/kocevski/445480/ft2_4FGL_J0036.9+1832_daily_bin1743.fits
Exposure map: /scratch/kocevski/445480/expmap_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.fits
Exposure cube: /scratch/kocevski/445480/ltcube_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/445480/Model_4FGL_J0036.9+1832_daily_bin1743.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) = 5143.52431229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .30809E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    42.480       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.2650       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.5007       1.0000          .0000       .10000E+07
     5 'norm      '    1.7858       1.0000          .0000       .10000E+07
     6 'Prefactor '    .80604E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    15.368       1.0000          .0000       .10000E+07
     8 'norm      '    6.8853       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.9590       1.0000          .0000       .10000E+07
    10 'Prefactor '    .26059E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .55572E-03   1.0000          .0000       .10000E+07
    12 'norm      '    4.8276       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.9747       1.0000          .0000       .10000E+07
    14 'Prefactor '    .86332E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.1729       1.0000          .0000       .10000E+07
    16 'Prefactor '    .23456E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    .84632       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94753       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=   5143.473     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1040 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.7973       -.12847E-06** at limit **
   2  Prefactor     42.489        2.6687        .94302E-07    .39946E-02
   3  Prefactor     4.2366        8.8180        .10415E-05    .54206E-03
   4  Prefactor     2.4981        3.6431       -.23914E-06    .29950E-02
   5  norm          1.7832        6.3877        .32284E-06   -.10745E-02
   6  Prefactor      .0000        12.364        .10583E-05** at limit **
   7  Prefactor     15.197        2.6745       -.65310E-07   -.21946E-01
   8  norm          6.9496        6.6443       -.12166E-05   -.11254E-03
   9  Prefactor     1.9634        3.1761        .22696E-06    .33352E-02
  10  Prefactor     .16653E-09    5.9988       -.69554E-07** at limit **
  11  Prefactor     .22204E-09    20.478       -.47280E-06** at limit **
  12  norm          4.8287        1.4236        .87770E-09    .42946E-03
  13  Prefactor     7.9634        1.1196        .39089E-07   -.21555E-02
  14  Prefactor     .44409E-09    30.371        .12058E-05** at limit **
  15  Prefactor     1.1259        14.200       -.22735E-05   -.35203E-03
  16  Prefactor     .37192E-08    13.379       -.15254E-05** at limit **
  17  Normalizat    .84632        .23636        .38174E-06    .12939E-03
  18  Prefactor     .94778        .16348       -.99858E-07    .14008E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 42.4893
  Prefactor  = 4.23663
  Prefactor  = 2.49813
  norm       = 1.78319
  Prefactor  = 0
  Prefactor  = 15.1966
  norm       = 6.94956
  Prefactor  = 1.96344
  Prefactor  = 1.66533e-10
  Prefactor  = 2.22045e-10
  norm       = 4.82871
  Prefactor  = 7.96338
  Prefactor  = 4.44089e-10
  Prefactor  = 1.12593
  Prefactor  = 3.71925e-09
  Normalizat = 0.84632
  Prefactor  = 0.947776
 **********
 **   18 **HESSE 
 **********

 FCN=   5143.473     FROM HESSE     STATUS=OK           286 CALLS     1326 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.8007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     42.489        15.026        .15344E-03   -1.5578    
   3  Prefactor     4.2366        9.6753        .48763E-03   -1.5667    
   4  Prefactor     2.4981        3.6684        .64599E-03   -1.5676    
   5  norm          1.7832        6.4417        .78261E-03   -1.5681    
   6  Prefactor      .0000        12.425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.197        14.493        .25523E-03   -1.5630    
   8  norm          6.9496        6.6492        .38212E-03   -1.5655    
   9  Prefactor     1.9634        3.2055        .74088E-03   -1.5680    
  10  Prefactor     .16653E-09    6.0228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22204E-09    20.505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8287        1.4340        .45762E-03   -1.5664    
  13  Prefactor     7.9634        22.529        .35482E-03   -1.5652    
  14  Prefactor     .44409E-09    30.440        .14312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1259        14.101        .10582E-02   -1.5687    
  16  Prefactor     .37192E-08    13.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .84632        .20487        .67077E-01   -.98373    
  18  Prefactor     .94778        .14019        .45608E-01   -.94491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18522e-06
Minuit parameter uncertainties:
  1  7.28172e-07
  2  15.0263
  3  9.6753
  4  3.66843
  5  6.4417
  6  7.20181e-06
  7  14.4929
  8  6.64916
  9  3.20549
  10  6.44109e-05
  11  0.000141609
  12  1.43398
  13  22.5294
  14  0.000227115
  15  7.96911
  16  0.000444008
  17  0.20506
  18  0.14024
Done.

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

Extracting fit parameters...

4FGL J0036.9+1832
   Spectrum: PowerLaw
140    Prefactor:  0.000e+00  7.202e-06  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.478e-01  1.402e-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:  8.463e-01  2.051e-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: 7.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/445480/likelihoodResults_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.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) = 5143.51202218
delta logL = -0.0387703135029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5143.47325188
delta logL = -7.0303940447e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5143.473     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      243 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    8.4888        .42118E-03** at limit **
   2  Index         3.1040        6.5142        .40508        .22452E-10
   3  Normalizat    .84632        .19746        .67077E-01   -.13874E-03
   4  Prefactor     .94778        .13812        .45611E-01   -.21403E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 3.10401
  Normalizat = 0.846318
  Prefactor  = 0.947776
 **********
 **   18 **HESSE 
 **********

 FCN=   5143.473     FROM HESSE     STATUS=OK            29 CALLS      272 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    10.471        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1040        6.5469        .51000       -.38893    
   3  Normalizat    .84632        .22968        .29675E-03   -.98373    
   4  Prefactor     .94778        .16089        .19590E-03   -.94491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.09185e-11
Minuit parameter uncertainties:
  1  6.96637e-05
  2  5.1721
  3  0.22994
  4  0.160974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445480': 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) = 5143.47325187
delta logL = -1.27329258248e-11

Extracting fit parameters...

4FGL J0036.9+1832
   Spectrum: PowerLaw
140    Prefactor:  1.110e-10  6.966e-05  0.000e+00  1.000e+06 ( 1.000e-13)
141        Index:  3.104e+00  5.172e+00  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.478e-01  1.610e-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:  8.463e-01  2.299e-01  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/445480/cmap_HighResolution_691113601_691372801_4FGL_J0036.9+1832_daily_bin1743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', job_status='DONE', photon_flux_upper_limit='7.29e-08', time_completed='2022-11-29 00:22:32.277784', job_id='445480', GAL2='0.95', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1669710152.28', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-1.27e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1743' AND source_name='4FGL J0036.9+1832' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov 29 00:22:32 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 445064: <4FGL_J0036.9+1832_daily_bin1743> in cluster <slac> Done

Job <4FGL_J0036.9+1832_daily_bin1743> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Nov 29 00:05:50 2022
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 00:06:01 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 00:06:01 2022
Terminated at Tue Nov 29 00:14:49 2022
Results reported at Tue Nov 29 00:14:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0036.9+1832_daily_bin1743 9.234 18.5424 691113601 691372801 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 :                                   461.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             346.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   527 sec.
    Turnaround time :                            539 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 445480: <4FGL_J0036.9+1832_daily_bin1743> in cluster <slac> Done

Job <4FGL_J0036.9+1832_daily_bin1743> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov 29 00:06:23 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 29 00:13:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 29 00:13:24 2022
Terminated at Tue Nov 29 00:22:32 2022
Results reported at Tue Nov 29 00:22:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0036.9+1832_daily_bin1743 9.234 18.5424 691113601 691372801 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 :                                   464.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             323.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            969 sec.

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

