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


Performing analysis on: 4FGL_J2044.0+1036_daily_bin1753
RA = 311.002, Dec = 10.6079
tmin = 693705601, tmax = 693964801
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='464444', job_status='RUN', time_executed='2022-12-29 01:31:51.245133', time_epoch_executed='1672306311.25' WHERE source_name='4FGL J2044.0+1036' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/464444

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/464444/ft1_4FGL_J2044.0+1036_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/464444/ft2_4FGL_J2044.0+1036_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/464444/ft1_4FGL_J2044.0+1036_daily_bin1753.fits outfile=/scratch/kocevski/464444/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1753.fits ra=311.002 dec=10.6079 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.68
user 4.38
sys 0.24

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

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

Number of photons that the gtmktime cut: 824

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/464444/ft1_filtered_4FGL_J2044.0+1036_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/464444/ft2_4FGL_J2044.0+1036_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/464444/ltcube_693705601_693964801_4FGL_J2044.0+1036_daily_bin1753.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/464444/ft2_4FGL_J2044.0+1036_daily_bin1753.fits
.....................!
real 14.45
user 14.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/464444/ft1_filtered_4FGL_J2044.0+1036_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/464444/ft2_4FGL_J2044.0+1036_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/464444/ltcube_693705601_693964801_4FGL_J2044.0+1036_daily_bin1753.fits outfile=/scratch/kocevski/464444/expmap_693705601_693964801_4FGL_J2044.0+1036_daily_bin1753.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/464444/ltcube_693705601_693964801_4FGL_J2044.0+1036_daily_bin1753.fits
.....................!
real 191.56
user 185.91
sys 4.91

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/464444/ft1_filtered_4FGL_J2044.0+1036_daily_bin1753.fits scfile=/scratch/kocevski/464444/ft2_4FGL_J2044.0+1036_daily_bin1753.fits outfile=/scratch/kocevski/464444/cmap_693705601_693964801_4FGL_J2044.0+1036_daily_bin1753.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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/464444/ft1_filtered_4FGL_J2044.0+1036_daily_bin1753.fits scfile=/scratch/kocevski/464444/ft2_4FGL_J2044.0+1036_daily_bin1753.fits outfile=/scratch/kocevski/464444/cmap_HighResolution_693705601_693964801_4FGL_J2044.0+1036_daily_bin1753.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7559       1.0000          .0000       .10000E+07
     2 'Prefactor '    .73850E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16266E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .28240       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12806       1.0000          .0000       .10000E+07
     6 'norm      '    .12664E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    34.463       1.0000          .0000       .10000E+07
     8 'Prefactor '    12.429       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.1920       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.937       1.0000          .0000       .10000E+07
    11 'Prefactor '    .71739       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9365       1.0000          .0000       .10000E+07
    13 'Normalizat'    .83598       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .98154       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=   9172.628     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      914 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8486        9.5511       -.35848E-07   -.40807E-03
   2  Prefactor     .83267E-09    18.384        .95203E-06** at limit **
   3  Prefactor      .0000        10.519       -.43491E-06** at limit **
   4  norm          .28264        .43139       -.13553E-07   -.74835E-03
   5  Prefactor      .0000        32.855       -.13731E-05** at limit **
   6  norm          .55511E-10    6.9990       -.42477E-06** at limit **
   7  Prefactor     34.521        2.7079        .36805E-07   -.29705E-01
   8  Prefactor     12.571        4.0751        .84427E-07   -.35137E-01
   9  Prefactor     9.1777        5.2773       -.68164E-07   -.26201E-01
  10  Prefactor     14.915        13.063       -.16573E-06    .30196E-02
  11  Prefactor     .47447        147.31        .19587E-05    .16603E-02
  12  Prefactor     1.9180        7.5808        .14816E-06    .16331E-03
  13  Normalizat    .83589        .30384       -.39276E-05   -.28597E-05
  14  Prefactor     .98152        .92951E-01    .91812E-06    .18384E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.84857
  Prefactor  = 8.32667e-10
  Prefactor  = 0
  norm       = 0.282635
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 34.5211
  Prefactor  = 12.5706
  Prefactor  = 9.17769
  Prefactor  = 14.9152
  Prefactor  = 0.474471
  Prefactor  = 1.91802
  Normalizat = 0.835889
  Prefactor  = 0.981521
 **********
 **   18 **HESSE 
 **********

 FCN=   9172.628     FROM HESSE     STATUS=OK           198 CALLS     1112 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8486        9.6170        .52072E-03   -1.5669    
   2  Prefactor     .83267E-09    18.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        10.352        .17296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .28264        .55057        .18948E-02   -1.5697    
   5  Prefactor      .0000        32.719        .13230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    7.0210        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     34.521        25.760        .17036E-03   -1.5590    
   8  Prefactor     12.571        22.318        .28388E-03   -1.5637    
   9  Prefactor     9.1777        18.160        .33033E-03   -1.5647    
  10  Prefactor     14.915        15.814        .25889E-03   -1.5631    
  11  Prefactor     .47447        145.77        .59308E-03   -1.5694    
  12  Prefactor     1.9180        7.5938        .74589E-03   -1.5680    
  13  Normalizat    .83589        .29264        .11290       -.98751    
  14  Prefactor     .98152        .84202E-01    .32638E-01   -.93348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25492e-07
Minuit parameter uncertainties:
  1  9.61705
  2  0.000251185
  3  1.30395e-05
  4  0.550574
  5  7.93598e-06
  6  2.98753e-05
  7  25.76
  8  22.318
  9  18.1599
  10  15.814
  11  16.6334
  12  7.59379
  13  0.293198
  14  0.0842134
Done.

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

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  0.000e+00  7.936e-06  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.815e-01  8.421e-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:  8.359e-01  2.932e-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: 8.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/464444/likelihoodResults_693705601_693964801_4FGL_J2044.0+1036_daily_bin1753.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) = 9172.64293674
delta logL = -0.0147016136743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9172.62823536
delta logL = -2.39975634031e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42202E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.0988       1.0000          .0000       10.000    
     3 'Normalizat'    .83587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98155       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=   9172.628     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      244 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38913E-07    4.8045        .42118E-03** at limit **
   2  Index         2.0251        5.8834        .37633        .11479E-08
   3  Normalizat    .83589        .23738E-02    .11290       -.17545E-03
   4  Prefactor     .98152        .73958E-03    .32638E-01   -.81720E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.89133e-08
  Index      = 2.02507
  Normalizat = 0.835889
  Prefactor  = 0.98152
 **********
 **   18 **HESSE 
 **********

 FCN=   9172.628     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      275 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38913E-07    9.9075        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0251        6.6797        .50000       -.63725    
   3  Normalizat    .83589        .33948E-02    .50060E-03   -.98751    
   4  Prefactor     .98152        .10618E-02    .14422E-03   -.93348    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.49494e-10
Minuit parameter uncertainties:
  1  0.00124197
  2  3595.89
  3  0.00339484
  4  0.00106176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/464444': 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) = 9172.62823512
delta logL = -6.05723471381e-10

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  3.891e-08  1.242e-03  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  2.025e+00  3.596e+03  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.815e-01  1.062e-03  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:  8.359e-01  3.395e-03  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/464444/cmap_HighResolution_693705601_693964801_4FGL_J2044.0+1036_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='8.11e-08', time_completed='2022-12-29 01:44:25.001818', job_id='464444', GAL2='0.98', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1672307065.0', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-6.06e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1753' AND source_name='4FGL J2044.0+1036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:44:25 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 464444: <4FGL_J2044.0+1036_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2044.0+1036_daily_bin1753> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Dec 29 01:30:17 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:30:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:30:54 2022
Terminated at Thu Dec 29 01:44:25 2022
Results reported at Thu Dec 29 01:44:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2044.0+1036_daily_bin1753 311.002 10.6079 693705601 693964801 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 :                                   753.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             395.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            848 sec.

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

