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


Performing analysis on: 4FGL_J2044.0+1036_daily_bin1736
RA = 311.002, Dec = 10.6079
tmin = 689299201, tmax = 689558401
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='962058', job_status='RUN', time_executed='2022-11-08 00:36:18.628063', time_epoch_executed='1667896578.63' WHERE source_name='4FGL J2044.0+1036' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/962058

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/962058/ft1_4FGL_J2044.0+1036_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/962058/ft1_4FGL_J2044.0+1036_daily_bin1736.fits outfile=/scratch/kocevski/962058/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1736.fits ra=311.002 dec=10.6079 rad=12.0 tmin=689299201.0 tmax=689558401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.58
user 3.34
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.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/962058/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/962058/ft1_filtered_4FGL_J2044.0+1036_daily_bin1736.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.49
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 962

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/962058/ft1_filtered_4FGL_J2044.0+1036_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/962058/ltcube_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.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/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits
.....................!
real 12.26
user 11.93
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/962058/ft1_filtered_4FGL_J2044.0+1036_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/962058/ltcube_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.fits outfile=/scratch/kocevski/962058/expmap_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.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/962058/ltcube_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.fits
.....................!
real 190.79
user 186.05
sys 4.36

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
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template.
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 213 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2044.0+1036 @ 311.002 10.6079

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/962058/ft1_filtered_4FGL_J2044.0+1036_daily_bin1736.fits scfile=/scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits outfile=/scratch/kocevski/962058/cmap_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.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=311.002 yref=10.6079 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/962058/ft1_filtered_4FGL_J2044.0+1036_daily_bin1736.fits scfile=/scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits outfile=/scratch/kocevski/962058/cmap_HighResolution_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.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=311.002 yref=10.6079 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/962058/ft1_filtered_4FGL_J2044.0+1036_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/962058/Model_4FGL_J2044.0+1036_daily_bin1736.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source W 51C
Working on...
/scratch/kocevski/962058/ft1_filtered_4FGL_J2044.0+1036_daily_bin1736.fits.....................!
real 221.19
user 219.48
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/962058/ft1_filtered_4FGL_J2044.0+1036_daily_bin1736.fits', '/scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits', expMap='/scratch/kocevski/962058/expmap_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.fits', expCube='/scratch/kocevski/962058/ltcube_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/962058/Model_4FGL_J2044.0+1036_daily_bin1736.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2044.0+1036'

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  2.180e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  2.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/962058/ft1_filtered_4FGL_J2044.0+1036_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/962058/ft2_4FGL_J2044.0+1036_daily_bin1736.fits
Exposure map: /scratch/kocevski/962058/expmap_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.fits
Exposure cube: /scratch/kocevski/962058/ltcube_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/962058/Model_4FGL_J2044.0+1036_daily_bin1736.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) = 10615.1191101

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54956E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    .97572E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .37836E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .60740       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10381E-07   1.0000          .0000       .10000E+07
     6 'norm      '    4.2863       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10064E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.9159       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.271       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10692E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .99920E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    .55830       1.0000          .0000       .10000E+07
    13 'Normalizat'    .67383       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10615.04     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      889 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    4.8068       -.19275E-05** at limit **
   2  Prefactor     .38802E-07    12.341       -.33146E-05** at limit **
   3  Prefactor     .14517E-04    40.879       -.13862E-04** at limit **
   4  norm          .60802        .57428       -.27485E-06   -.15077E-01
   5  Prefactor     .11994E-05    7.4875       -.23577E-05** at limit **
   6  norm          4.2854        8.6222        .19434E-05   -.13336E-02
   7  Prefactor     .84533E-05    12.648        .17182E-05** at limit **
   8  Prefactor     8.9131        1.7633       -.34037E-06   -.13183E-01
   9  Prefactor     10.303        15.736        .48007E-05    .83741E-01
  10  Prefactor     .79338E-05    34.155        .59710E-05** at limit **
  11  Prefactor     .12917E-05    7.3864       -.24186E-05** at limit **
  12  Prefactor     .55855        16.535       -.40015E-05    .22076E-03
  13  Normalizat    .67388        .27533       -.28495E-04    .18361E-04
  14  Prefactor     1.0654        .85444E-01    .14847E-04    .58092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 3.88023e-08
  Prefactor  = 1.45175e-05
  norm       = 0.608024
  Prefactor  = 1.19943e-06
  norm       = 4.28544
  Prefactor  = 8.45335e-06
  Prefactor  = 8.91315
  Prefactor  = 10.3033
  Prefactor  = 7.93382e-06
  Prefactor  = 1.29174e-06
  Prefactor  = 0.558554
  Normalizat = 0.673876
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********

 FCN=   10615.04     FROM HESSE     STATUS=OK           188 CALLS     1077 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    4.8184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .38802E-07    12.297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .14517E-04    50.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .60802        .58000        .68568E-03   -1.5692    
   5  Prefactor     .11994E-05    16.739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.2854        8.6930        .48638E-03   -1.5667    
   7  Prefactor     .84533E-05    19.184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.9131        17.652        .33543E-03   -1.5648    
   9  Prefactor     10.303        17.201        .31240E-03   -1.5644    
  10  Prefactor     .79338E-05    39.947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12917E-05    16.818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55855        16.140        .73049E-03   -1.5693    
  13  Normalizat    .67388        .26938        .12404       -1.0493    
  14  Prefactor     1.0654        .79228E-01    .39082E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34798e-06
Minuit parameter uncertainties:
  1  5.8576e-05
  2  0.00138117
  3  0.0543854
  4  0.579996
  5  0.00896161
  6  8.69304
  7  0.0254692
  8  17.6516
  9  17.2011
  10  0.0356054
  11  0.00932182
  12  6.005
  13  0.269914
  14  0.0792368
Done.

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

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  1.199e-06  8.962e-03  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  2.180e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  2.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  1.065e+00  7.924e-02  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  6.739e-01  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 311.002 10.608
Photon Flux Upper Limit: 6.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/962058/likelihoodResults_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.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): 102
logL (Free Index) = 10615.0681665
delta logL = -0.0285599802064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10615.0396066
delta logL = -5.58356987312e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10614.45     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      285 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15443E-01    .20909E-01    .26221E-03** at limit **
   2  Index         5.3602        .38859        .84159E-01    .36199E-03
   3  Normalizat    .56111        .29226        .13518       -.50597E-05
   4  Prefactor     1.0856        .85272E-01    .39082E-01   -.12353E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0154429
  Index      = 5.3602
  Normalizat = 0.561106
  Prefactor  = 1.0856
 **********
 **   18 **HESSE 
 **********

 FCN=   10614.45     FROM HESSE     STATUS=OK            35 CALLS      320 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15443E-01    .11519        .11911E-04   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.3602        1.7885        .48844E-02    .72102E-01
   3  Normalizat    .56111        .28464        .59966E-03   -1.0966    
   4  Prefactor     1.0856        .87077E-01    .13994E-03   -.89928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49468e-08
Minuit parameter uncertainties:
  1  0.0843529
  2  1.82926
  3  0.285379
  4  0.0870881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/962058': 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) = 10614.4459767
delta logL = 0.593629860354

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  1.544e-02  8.435e-02  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  5.360e+00  1.829e+00  0.000e+00  1.000e+01 (-1.000e+00)
462        Scale:  2.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  1.086e+00  8.709e-02  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  5.611e-01  2.854e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 311.002 10.608
Photon Index (Free Index): 5.36 +/- 1.83
Photon Flux (Free Index): 1.00e-07 +/- 1.08e-06
Energy Flux (Free Index): 1.30e-05 +/- 1.39e-04

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/962058/cmap_HighResolution_689299201_689558401_4FGL_J2044.0+1036_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.31e-03', comment='SUCCESS', energy_flux2='1.30e-05', dlogl='5.94e-01', photon_flux2='1.00e-07', job_status='DONE', time_completed='2022-11-08 00:49:54.470366', photon_index_error2='1.83', photon_index2='5.36', ts='-0.00', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='6.98e-08', energy_flux_error2='1.39e-04', EG='0.67', time_epoch_completed='1667897394.47', return_code='0', job_id='962058', GAL2='1.09', EG2='0.56', return_code2='0', photon_flux_error2='1.08e-06', ts2='1.36', photon_index='2.18' WHERE bin_id='1736' AND source_name='4FGL J2044.0+1036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:49:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 962058: <4FGL_J2044.0+1036_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2044.0+1036_daily_bin1736> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Nov  8 00:35:31 2022
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:35:33 2022
Terminated at Tue Nov  8 00:49:55 2022
Results reported at Tue Nov  8 00:49:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2044.0+1036_daily_bin1736 311.002 10.6079 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2044.0+1036 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   817.39 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             352.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            864 sec.

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

