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


Performing analysis on: 4FGL_J2044.0+1036_daily_bin1773
RA = 311.002, Dec = 10.6079
tmin = 698889601, tmax = 699148801
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='803278', job_status='RUN', time_executed='2023-02-27 10:26:30.772366', time_epoch_executed='1677522390.77' WHERE source_name='4FGL J2044.0+1036' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/803278

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/803278/ft1_4FGL_J2044.0+1036_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/803278/ft1_4FGL_J2044.0+1036_daily_bin1773.fits outfile=/scratch/kocevski/803278/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1773.fits ra=311.002 dec=10.6079 rad=12.0 tmin=698889601.0 tmax=699148801.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.45
user 2.24
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.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/803278/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/803278/ft1_filtered_4FGL_J2044.0+1036_daily_bin1773.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.44
user 0.28
sys 0.14

Number of photons that the gtmktime cut: 961

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/803278/ft1_filtered_4FGL_J2044.0+1036_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/803278/ltcube_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.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/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.fits
.....................!
real 12.74
user 12.40
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/803278/ft1_filtered_4FGL_J2044.0+1036_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/803278/ltcube_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.fits outfile=/scratch/kocevski/803278/expmap_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.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/803278/ltcube_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.fits
.....................!
real 156.05
user 151.54
sys 4.08

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/803278/ft1_filtered_4FGL_J2044.0+1036_daily_bin1773.fits scfile=/scratch/kocevski/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.fits outfile=/scratch/kocevski/803278/cmap_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.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.48
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/803278/ft1_filtered_4FGL_J2044.0+1036_daily_bin1773.fits scfile=/scratch/kocevski/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.fits outfile=/scratch/kocevski/803278/cmap_HighResolution_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.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.47
user 0.33
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/803278/ft1_filtered_4FGL_J2044.0+1036_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/803278/Model_4FGL_J2044.0+1036_daily_bin1773.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/803278/ft1_filtered_4FGL_J2044.0+1036_daily_bin1773.fits.....................!
real 183.06
user 181.36
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/803278/ft1_filtered_4FGL_J2044.0+1036_daily_bin1773.fits', '/scratch/kocevski/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.fits', expMap='/scratch/kocevski/803278/expmap_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.fits', expCube='/scratch/kocevski/803278/ltcube_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/803278/Model_4FGL_J2044.0+1036_daily_bin1773.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/803278/ft1_filtered_4FGL_J2044.0+1036_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/803278/ft2_4FGL_J2044.0+1036_daily_bin1773.fits
Exposure map: /scratch/kocevski/803278/expmap_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.fits
Exposure cube: /scratch/kocevski/803278/ltcube_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/803278/Model_4FGL_J2044.0+1036_daily_bin1773.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) = 10516.414038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93742E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.226       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16054E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .18946E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12906E-02   1.0000          .0000       .10000E+07
     6 'norm      '    35.151       1.0000          .0000       .10000E+07
     7 'Prefactor '    .41196E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.9563       1.0000          .0000       .10000E+07
     9 'Prefactor '    14.768       1.0000          .0000       .10000E+07
    10 'Prefactor '    .52072E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .27723E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.1023       1.0000          .0000       .10000E+07
    13 'Normalizat'    .91652       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .92873       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=   10516.38     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      734 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5130        .81032E-06** at limit **
   2  Prefactor     10.417        8.8263        .46120E-06    .64594E-02
   3  Prefactor     .14988E-08    4.3968        .83723E-06** at limit **
   4  norm           .0000        .21271       -.17137E-06** at limit **
   5  Prefactor     .35405E-06    17.369        .62554E-05** at limit **
   6  norm          35.186        5.9466        .13632E-05    .16671    
   7  Prefactor     .38858E-09    8.8235        .22325E-06** at limit **
   8  Prefactor     2.9505        1.7594        .11233E-05    .14036E-02
   9  Prefactor     15.259        23.603        .64116E-05   -.30043E-01
  10  Prefactor     .13306E-06    6.7546        .11396E-05** at limit **
  11  Prefactor     .73719E-07    10.489       -.22582E-05** at limit **
  12  Prefactor     6.0568        2.6001        .11646E-05    .47701E-01
  13  Normalizat    .91557        .30068       -.42913E-04    .19472E-04
  14  Prefactor     .92872        .85346E-01    .68949E-05    .21513E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 10.4165
  Prefactor  = 1.4988e-09
  norm       = 0
  Prefactor  = 3.5405e-07
  norm       = 35.1857
  Prefactor  = 3.88578e-10
  Prefactor  = 2.95051
  Prefactor  = 15.2589
  Prefactor  = 1.3306e-07
  Prefactor  = 7.37188e-08
  Prefactor  = 6.05685
  Normalizat = 0.915569
  Prefactor  = 0.928719
 **********
 **   18 **HESSE 
 **********

 FCN=   10516.38     FROM HESSE     STATUS=OK           190 CALLS      924 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.5162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.417        8.9243        .31308E-03   -1.5643    
   3  Prefactor     .14988E-08    4.4070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .21038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .35405E-06    19.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          35.186        13.565        .16869E-03   -1.5589    
   7  Prefactor     .38858E-09    8.8263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.9505        29.768        .59037E-03   -1.5674    
   9  Prefactor     15.259        25.522        .26037E-03   -1.5630    
  10  Prefactor     .13306E-06    17.136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73719E-07    16.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.0568        10.654        .40619E-03   -1.5659    
  13  Normalizat    .91557        .28739        .11211       -.95915    
  14  Prefactor     .92872        .76783E-01    .32274E-01   -.95145    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73033e-07
Minuit parameter uncertainties:
  1  1.60744e-05
  2  8.9243
  3  0.000161438
  4  4.78128e-06
  5  0.00524939
  6  13.5647
  7  0.000119714
  8  18.7437
  9  25.5219
  10  0.00302029
  11  0.00222032
  12  10.6543
  13  0.287877
  14  0.0767918
Done.

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

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  3.541e-07  5.249e-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:  9.287e-01  7.679e-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:  9.156e-01  2.879e-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: 7.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/803278/likelihoodResults_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.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) = 10516.4056293
delta logL = -0.0245623133433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10516.381067
delta logL = -7.48696038499e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15499E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94336       1.0000          .0000       10.000    
     3 'Normalizat'    .91558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92872       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10516.38     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      217 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.5024        .42118E-03** at limit **
   2  Index         2.8756        1.9914        .45583E-03     .0000    
   3  Normalizat    .91557        1.2502        .16397E-05   -.40899E-04
   4  Prefactor     .92872        1.2722       -.13331E-05   -.33368E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.87556
  Normalizat = 0.915569
  Prefactor  = 0.928719
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10516.38     FROM HESSE     STATUS=FAILED         9 CALLS      226 TOTAL
                     EDM=   .80E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.5024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .93630        2.1559        .45583E-03   -.43884    
   3  Normalizat    .91557        1.2502        .16397E-05   -.95915    
   4  Prefactor     .92872        1.2722       -.13331E-05   -.95145    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.98687e-12
Minuit parameter uncertainties:
  1  9.33469e-06
  2  2.06194
  3  1.29357
  4  1.31688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/803278': 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): 101
logL (Free Index) = 10516.381067
delta logL = 9.10222297534e-09

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  0.000e+00  9.335e-06  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  2.876e+00  2.062e+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:  9.287e-01  1.317e+00  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:  9.156e-01  1.294e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 311.002 10.608

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/803278/cmap_HighResolution_698889601_699148801_4FGL_J2044.0+1036_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.08e-03', job_status='DONE', photon_flux_upper_limit='7.99e-08', time_completed='2023-02-27 10:37:10.650328', job_id='803278', GAL2='0.93', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1677523030.65', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='9.10e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1773' AND source_name='4FGL J2044.0+1036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:37:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 803278: <4FGL_J2044.0+1036_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2044.0+1036_daily_bin1773> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Feb 27 10:25:15 2023
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:25:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:25:24 2023
Terminated at Mon Feb 27 10:37:43 2023
Results reported at Mon Feb 27 10:37:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2044.0+1036_daily_bin1773 311.002 10.6079 698889601 699148801 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 :                                   640.15 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             346.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            752 sec.

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

