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


Performing analysis on: 4FGL_J2034.6+1154_daily_bin1769
RA = 308.65, Dec = 11.9035
tmin = 697852801, tmax = 698112001
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='443422', job_status='RUN', time_executed='2023-02-15 01:21:28.306824', time_epoch_executed='1676452888.31' WHERE source_name='4FGL J2034.6+1154' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443422

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443422/ft1_4FGL_J2034.6+1154_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443422/ft1_4FGL_J2034.6+1154_daily_bin1769.fits outfile=/scratch/kocevski/443422/ft1_filteredMKT_4FGL_J2034.6+1154_daily_bin1769.fits ra=308.65 dec=11.9035 rad=12.0 tmin=697852801.0 tmax=698112001.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.38
user 4.15
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.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/443422/ft1_filteredMKT_4FGL_J2034.6+1154_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/443422/ft1_filtered_4FGL_J2034.6+1154_daily_bin1769.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.34
sys 0.13

Number of photons that the gtmktime cut: 985

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443422/ft1_filtered_4FGL_J2034.6+1154_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/443422/ltcube_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.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/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits
.....................!
real 11.90
user 11.56
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443422/ft1_filtered_4FGL_J2034.6+1154_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/443422/ltcube_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.fits outfile=/scratch/kocevski/443422/expmap_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.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/443422/ltcube_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.fits
.....................!
real 189.56
user 185.13
sys 4.11

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 G42.8+0.6 in ROI with RadialDisk spatial model.
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 225 point sources and 3 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 J2034.6+1154 @ 308.65 11.9035

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/443422/ft1_filtered_4FGL_J2034.6+1154_daily_bin1769.fits scfile=/scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits outfile=/scratch/kocevski/443422/cmap_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.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=308.65 yref=11.9035 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443422/ft1_filtered_4FGL_J2034.6+1154_daily_bin1769.fits scfile=/scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits outfile=/scratch/kocevski/443422/cmap_HighResolution_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.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=308.65 yref=11.9035 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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443422/ft1_filtered_4FGL_J2034.6+1154_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443422/Model_4FGL_J2034.6+1154_daily_bin1769.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 G42.8+0.6
adding source GAL_V02
adding source W 51C
Working on...
/scratch/kocevski/443422/ft1_filtered_4FGL_J2034.6+1154_daily_bin1769.fits.....................!
real 229.30
user 227.59
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/443422/ft1_filtered_4FGL_J2034.6+1154_daily_bin1769.fits', '/scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits', expMap='/scratch/kocevski/443422/expmap_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.fits', expCube='/scratch/kocevski/443422/ltcube_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/443422/Model_4FGL_J2034.6+1154_daily_bin1769.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2034.6+1154'

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  5.807e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
495        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
496        Scale:  1.227e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/443422/ft1_filtered_4FGL_J2034.6+1154_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/443422/ft2_4FGL_J2034.6+1154_daily_bin1769.fits
Exposure map: /scratch/kocevski/443422/expmap_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.fits
Exposure cube: /scratch/kocevski/443422/ltcube_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/443422/Model_4FGL_J2034.6+1154_daily_bin1769.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) = 10292.8494065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69056E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21406E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .92726E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .35249E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    9.3809       1.0000          .0000       .10000E+07
     6 'Prefactor '    .20782E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .83487E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .50687E-01   1.0000          .0000       .10000E+07
     9 'norm      '    11.477       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17124E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    11.627       1.0000          .0000       .10000E+07
    12 'Prefactor '    30.010       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38413E-02   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1537       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .89732       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10292.81     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1068 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    42.255        .28010E-06** at limit **
   2  Prefactor     .11990E-07    27.228        .22657E-05** at limit **
   3  norm           .0000        1.7898        .27772E-06** at limit **
   4  Prefactor     .16653E-09    7.0009        .64404E-06** at limit **
   5  Prefactor     9.1335        9.4582        .23869E-06   -.18037E-02
   6  Prefactor     .99920E-09    10.325        .12682E-05** at limit **
   7  norm          .86272E-01    1.0425       -.11335E-06** at limit **
   8  Prefactor     .22204E-09    38.545        .25343E-05** at limit **
   9  norm          11.499        11.342       -.90086E-06   -.11219E-01
  10  Prefactor     .55511E-10    10.719       -.41434E-06** at limit **
  11  Prefactor     11.492        4.3917       -.11370E-06   -.49972E-01
  12  Prefactor     30.513        29.411        .17920E-05   -.80489E-02
  13  Prefactor     .11324E-07    20.615        .11007E-05** at limit **
  14  Normalizat    1.1537        .28979       -.23314E-04    .28702E-05
  15  Prefactor     .89741        .74325E-01    .84977E-06   -.46244E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 1.19904e-08
  norm       = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 9.13354
  Prefactor  = 9.99201e-10
  norm       = 0.086272
  Prefactor  = 2.22045e-10
  norm       = 11.4985
  Prefactor  = 5.55112e-11
  Prefactor  = 11.4922
  Prefactor  = 30.5134
  Prefactor  = 1.13243e-08
  Normalizat = 1.15372
  Prefactor  = 0.89741
 **********
 **   18 **HESSE 
 **********

 FCN=   10292.81     FROM HESSE     STATUS=OK           214 CALLS     1282 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    41.923        .14849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11990E-07    27.433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.8006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    7.0183        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.1335        9.3040        .32696E-03   -1.5648    
   6  Prefactor     .99920E-09    10.330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .86272E-01    .38792        .22424E-02   -1.5714    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    38.388        .15513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.499        11.493        .29546E-03   -1.5640    
  10  Prefactor     .55511E-10    10.578        .17234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.492        15.665        .29355E-03   -1.5640    
  12  Prefactor     30.513        29.827        .18257E-03   -1.5597    
  13  Prefactor     .11324E-07    20.736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1537        .27022        .10683       -.88045    
  15  Prefactor     .89741        .66996E-01    .31461E-01   -.96232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.93096e-08
Minuit parameter uncertainties:
  1  0.000225681
  2  0.00114808
  3  7.0526e-06
  4  6.70066e-05
  5  9.30397
  6  0.000200913
  7  0.365876
  8  0.000186334
  9  11.4927
  10  5.07191e-05
  11  15.665
  12  29.8273
  13  0.000970222
  14  0.270547
  15  0.0670024
Done.

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

Extracting fit parameters...

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  9.992e-10  2.009e-04  0.000e+00  1.000e+06 ( 1.000e-13)
495        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
496        Scale:  1.227e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
796    Prefactor:  8.974e-01  6.700e-02  0.000e+00  1.000e+01 ( 1.000e+00)
797        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
798        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
792   Normalization:  1.154e+00  2.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 308.650 11.903
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443422/likelihoodResults_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.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) = 10292.8585724
delta logL = -0.0477264838719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10292.8108465
delta logL = -5.50080585526e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10292.81     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      226 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.7186        .42118E-03** at limit **
   2  Index         2.9940        2.0280        .23194E-04     .0000    
   3  Normalizat    1.1537        1.1246        .43798E-06    .12863E-04
   4  Prefactor     .89741        1.2424       -.68273E-06    .58446E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.99397
  Normalizat = 1.15372
  Prefactor  = 0.89741
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10292.81     FROM HESSE     STATUS=FAILED         9 CALLS      235 TOTAL
                     EDM=   .51E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.7186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0134        2.1879        .23194E-04   -.41283    
   3  Normalizat    1.1537        1.1246        .43798E-06   -.88045    
   4  Prefactor     .89741        1.2424       -.68273E-06   -.96232    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.09387e-13
Minuit parameter uncertainties:
  1  6.0573e-06
  2  2.10086
  3  1.14943
  4  1.28533
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443422': 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) = 10292.8108459
delta logL = 4.72937244922e-11

Extracting fit parameters...

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  0.000e+00  6.057e-06  0.000e+00  1.000e+06 ( 1.000e-13)
495        Index:  2.994e+00  2.101e+00  0.000e+00  1.000e+01 (-1.000e+00)
496        Scale:  1.227e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
796    Prefactor:  8.974e-01  1.285e+00  0.000e+00  1.000e+01 ( 1.000e+00)
797        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
798        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
792   Normalization:  1.154e+00  1.149e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 308.650 11.903

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/443422/cmap_HighResolution_697852801_698112001_4FGL_J2034.6+1154_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.35e-03', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2023-02-15 01:36:14.536713', job_id='443422', GAL2='0.90', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1676453774.54', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1769' AND source_name='4FGL J2034.6+1154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:36:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 443422: <4FGL_J2034.6+1154_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2034.6+1154_daily_bin1769> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Feb 15 01:20:40 2023
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:20:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:20:42 2023
Terminated at Wed Feb 15 01:36:15 2023
Results reported at Wed Feb 15 01:36:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2034.6+1154_daily_bin1769 308.65 11.9035 697852801 698112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2034.6+1154 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   888.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             350.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   932 sec.
    Turnaround time :                            935 sec.

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

