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


Performing analysis on: 4FGL_J2044.0+1036_daily_bin1761
RA = 311.002, Dec = 10.6079
tmin = 695779201, tmax = 696038401
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='931995', job_status='RUN', time_executed='2023-01-22 01:32:33.570352', time_epoch_executed='1674379953.57' WHERE source_name='4FGL J2044.0+1036' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931995

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931995/ft1_4FGL_J2044.0+1036_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931995/ft2_4FGL_J2044.0+1036_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931995/ft1_4FGL_J2044.0+1036_daily_bin1761.fits outfile=/scratch/kocevski/931995/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1761.fits ra=311.002 dec=10.6079 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.16
user 4.80
sys 0.29

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

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

Number of photons that the gtmktime cut: 854

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931995/ft1_filtered_4FGL_J2044.0+1036_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/931995/ft2_4FGL_J2044.0+1036_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/931995/ltcube_695779201_696038401_4FGL_J2044.0+1036_daily_bin1761.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/931995/ft2_4FGL_J2044.0+1036_daily_bin1761.fits
.....................!
real 17.66
user 17.19
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931995/ft1_filtered_4FGL_J2044.0+1036_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/931995/ft2_4FGL_J2044.0+1036_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/931995/ltcube_695779201_696038401_4FGL_J2044.0+1036_daily_bin1761.fits outfile=/scratch/kocevski/931995/expmap_695779201_696038401_4FGL_J2044.0+1036_daily_bin1761.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/931995/ltcube_695779201_696038401_4FGL_J2044.0+1036_daily_bin1761.fits
.....................!
real 193.23
user 186.39
sys 6.15

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/931995/ft1_filtered_4FGL_J2044.0+1036_daily_bin1761.fits scfile=/scratch/kocevski/931995/ft2_4FGL_J2044.0+1036_daily_bin1761.fits outfile=/scratch/kocevski/931995/cmap_695779201_696038401_4FGL_J2044.0+1036_daily_bin1761.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931995/ft1_filtered_4FGL_J2044.0+1036_daily_bin1761.fits scfile=/scratch/kocevski/931995/ft2_4FGL_J2044.0+1036_daily_bin1761.fits outfile=/scratch/kocevski/931995/cmap_HighResolution_695779201_696038401_4FGL_J2044.0+1036_daily_bin1761.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.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38990E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.3054       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12080E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .59269E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    43.158       1.0000          .0000       .10000E+07
     6 'norm      '    2.7442       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10712E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.6941       1.0000          .0000       .10000E+07
     9 'Prefactor '    41.889       1.0000          .0000       .10000E+07
    10 'Prefactor '    .40707E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    65.247       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.8294       1.0000          .0000       .10000E+07
    13 'Normalizat'    .34793       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1294       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=   9207.509     FROM MIGRAD    STATUS=CONVERGED    138 CALLS     1038 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.368        .63305E-06** at limit **
   2  Prefactor     3.4511        11.469        .35080E-09    .33851E-03
   3  Prefactor     .55511E-10    19.092        .39004E-06** at limit **
   4  norm           .0000        .72483        .20852E-07** at limit **
   5  Prefactor     49.160        69.883       -.22753E-06    .23480E-03
   6  norm          1.9679        18.573        .52993E-06    .19752E-03
   7  Prefactor      .0000        4.3865        .32688E-06** at limit **
   8  Prefactor     1.6243        25.397       -.11407E-05    .44338E-03
   9  Prefactor     41.437        28.911       -.13463E-06    .41859E-02
  10  Prefactor     .32196E-08    51.355        .98392E-06** at limit **
  11  Prefactor     65.747        8.3673       -.61567E-07   -.18194E-01
  12  Prefactor     8.8770        7.7209       -.40189E-07    .31993E-03
  13  Normalizat    .34629        .31495       -.10081E-04    .67537E-04
  14  Prefactor     1.1295        .94467E-01   -.97205E-06    .35421E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.45112
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 49.1601
  norm       = 1.96791
  Prefactor  = 0
  Prefactor  = 1.62434
  Prefactor  = 41.4374
  Prefactor  = 3.21965e-09
  Prefactor  = 65.7472
  Prefactor  = 8.87699
  Normalizat = 0.346292
  Prefactor  = 1.1295
 **********
 **   18 **HESSE 
 **********

 FCN=   9207.509     FROM HESSE     STATUS=OK           198 CALLS     1236 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        10.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4511        11.924        .55659E-03   -1.5671    
   3  Prefactor     .55511E-10    18.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .33756        .19273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     49.160        74.723        .15223E-03   -1.5568    
   6  norm          1.9679        21.374        .61431E-03   -1.5680    
   7  Prefactor      .0000        4.3939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6243        28.043        .80826E-03   -1.5682    
   9  Prefactor     41.437        31.391        .15452E-03   -1.5579    
  10  Prefactor     .32196E-08    51.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     65.747        35.724        .12381E-03   -1.5546    
  12  Prefactor     8.8770        8.1329        .33708E-03   -1.5648    
  13  Normalizat    .34629        .44253        .16775       -1.2018    
  14  Prefactor     1.1295        .12536        .36563E-01   -.88529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.42107e-09
Minuit parameter uncertainties:
  1  2.01615e-05
  2  11.9239
  3  5.09344e-05
  4  6.51176e-07
  5  74.7242
  6  12.9713
  7  8.94791e-06
  8  13.4984
  9  31.3915
  10  0.00081614
  11  35.7241
  12  8.13287
  13  0.447105
  14  0.125391
Done.

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

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  4.916e+01  7.472e+01  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.129e+00  1.254e-01  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:  3.463e-01  4.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.91
Ra Dec: 311.002 10.608
Photon Flux Upper Limit: 1.51e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931995/likelihoodResults_695779201_696038401_4FGL_J2044.0+1036_daily_bin1761.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) = 9205.76300307
delta logL = 1.74587387934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9205.60851899
delta logL = 1.90035796559

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1813       1.0000          .0000       .10000E+07
     2 'Index     '    4.0483       1.0000          .0000       10.000    
     3 'Normalizat'    .18452       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1615       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=   9205.609     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      278 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1780        7.4300        .10511E-02    .14061E-02
   2  Index         4.0494        1.4712        .77340E-01    .21208E-03
   3  Normalizat    .18459        .69963E-01    .23023        .12540E-03
   4  Prefactor     1.1615        .23025E-01    .35611E-01   -.98496E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.17798
  Index      = 4.04936
  Normalizat = 0.184587
  Prefactor  = 1.16148
 **********
 **   18 **HESSE 
 **********

 FCN=   9205.609     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      313 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1780        15.372        .53027E-05   -1.5686    
   2  Index         4.0494        2.4586        .29570E-02   -.19129    
   3  Normalizat    .18459        .27457        .97667E-02   -1.3056    
   4  Prefactor     1.1615        .86643E-01    .13506E-03   -.87525    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.30197e-08
Minuit parameter uncertainties:
  1  8.51061
  2  2.57507
  3  0.276627
  4  0.0866533
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931995': 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) = 9205.60851817
delta logL = 1.90035878522

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  1.178e+00  8.511e+00  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  4.049e+00  2.575e+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.161e+00  8.665e-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:  1.846e-01  2.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.22
Ra Dec: 311.002 10.608
Photon Index (Free Index): 4.05 +/- 2.58
Photon Flux (Free Index): 1.64e-07 +/- 9.23e-08
Energy Flux (Free Index): 2.44e-05 +/- 1.40e-05

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/931995/cmap_HighResolution_695779201_696038401_4FGL_J2044.0+1036_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', comment='SUCCESS', energy_flux2='2.44e-05', dlogl='1.90e+00', photon_flux2='1.64e-07', job_status='DONE', time_completed='2023-01-22 01:45:40.294577', photon_index_error2='2.58', photon_index2='4.05', ts='0.91', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.40e-05', EG='0.35', time_epoch_completed='1674380740.29', return_code='0', job_id='931995', GAL2='1.16', EG2='0.18', return_code2='102', photon_flux_error2='9.23e-08', ts2='5.22', photon_index='2.18' WHERE bin_id='1761' AND source_name='4FGL J2044.0+1036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:45:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 931995: <4FGL_J2044.0+1036_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2044.0+1036_daily_bin1761> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jan 22 01:30:28 2023
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:31:50 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:31:50 2023
Terminated at Sun Jan 22 01:45:41 2023
Results reported at Sun Jan 22 01:45:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2044.0+1036_daily_bin1761 311.002 10.6079 695779201 696038401 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 :                                   789.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             377.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            913 sec.

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

