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 65 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2034.6+1154_daily_bin1707
RA = 308.65, Dec = 11.9035
tmin = 681782401, tmax = 682041601
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='550127', job_status='RUN', time_executed='2022-08-13 00:31:40.490053', time_epoch_executed='1660375900.49' WHERE source_name='4FGL J2034.6+1154' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550127

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550127/ft1_4FGL_J2034.6+1154_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550127/ft1_4FGL_J2034.6+1154_daily_bin1707.fits outfile=/scratch/kocevski/550127/ft1_filteredMKT_4FGL_J2034.6+1154_daily_bin1707.fits ra=308.65 dec=11.9035 rad=12.0 tmin=681782401.0 tmax=682041601.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.07
user 3.81
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.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/550127/ft1_filteredMKT_4FGL_J2034.6+1154_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/550127/ft1_filtered_4FGL_J2034.6+1154_daily_bin1707.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.42
user 0.25
sys 0.15

Number of photons that the gtmktime cut: 942

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550127/ft1_filtered_4FGL_J2034.6+1154_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/550127/ltcube_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.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/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.fits
.....................!
real 8.77
user 8.45
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550127/ft1_filtered_4FGL_J2034.6+1154_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/550127/ltcube_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.fits outfile=/scratch/kocevski/550127/expmap_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.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/550127/ltcube_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.fits
.....................!
real 141.71
user 138.18
sys 3.23

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_archive_v18/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_archive_v18/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/550127/ft1_filtered_4FGL_J2034.6+1154_daily_bin1707.fits scfile=/scratch/kocevski/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.fits outfile=/scratch/kocevski/550127/cmap_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.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.44
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550127/ft1_filtered_4FGL_J2034.6+1154_daily_bin1707.fits scfile=/scratch/kocevski/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.fits outfile=/scratch/kocevski/550127/cmap_HighResolution_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.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.46
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550127/ft1_filtered_4FGL_J2034.6+1154_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550127/Model_4FGL_J2034.6+1154_daily_bin1707.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/550127/ft1_filtered_4FGL_J2034.6+1154_daily_bin1707.fits.....................!
real 180.01
user 178.57
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/550127/ft1_filtered_4FGL_J2034.6+1154_daily_bin1707.fits', '/scratch/kocevski/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.fits', expMap='/scratch/kocevski/550127/expmap_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.fits', expCube='/scratch/kocevski/550127/ltcube_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/550127/Model_4FGL_J2034.6+1154_daily_bin1707.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  1.000e-04  1.000e+04 ( 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/550127/ft1_filtered_4FGL_J2034.6+1154_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/550127/ft2_4FGL_J2034.6+1154_daily_bin1707.fits
Exposure map: /scratch/kocevski/550127/expmap_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.fits
Exposure cube: /scratch/kocevski/550127/ltcube_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/550127/Model_4FGL_J2034.6+1154_daily_bin1707.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) = 10347.2252079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.406       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.9740       1.0000         .10000E-03   10000.    
     3 'norm      '    7.5830       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.969       1.0000         .10000E-03   10000.    
     5 'norm      '    .46196E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.821       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10883E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10873E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    42.471       1.0000         .10000E-03   10000.    
    10 'norm      '    .10165E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4428       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1906       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.156       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .49310       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0605       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99016       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10347.21     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     1934 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.396        35.219        .12774E-05   -.13394E-03
   2  Prefactor     7.9708        24.369        .75743E-06   -.23480E-04
   3  norm          7.5818        5.0139        .19979E-06   -.18526E-03
   4  Prefactor     16.970        15.293        .31052E-06    .13101E-04
   5  norm          .10000E-03    17.340       -.77051E-05** at limit **
   6  Prefactor     22.809        16.699       -.88896E-06   -.12629E-03
   7  Prefactor     .10000E-03    24.081        .14290E-05** at limit **
   8  norm          .10000E-03    .30267        .39088E-06** at limit **
   9  Prefactor     42.467        38.553       -.12273E-06   -.67197E-04
  10  norm          .10000E-03    4.5169        .15418E-06** at limit **
  11  norm          .10000E-03    23.073       -.21089E-06** at limit **
  12  Prefactor     6.4454        14.052        .31785E-05    .12739E-03
  13  Prefactor     2.1853        94.126        .71331E-05   -.12173E-04
  14  Prefactor     10.167        22.531       -.10270E-05    .70004E-04
  15  Prefactor     .10000E-03    17.164        .11038E-05** at limit **
  16  Prefactor     .46185        203.47       -.97687E-05    .22850E-05
  17  Prefactor     .10000E-03    22.443        .28509E-06** at limit **
  18  Normalizat    1.0600        .33381       -.45972E-05   -.71301E-04
  19  Prefactor     .99026        .78926E-01    .34835E-06   -.77258E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.3964
  Prefactor  = 7.97082
  norm       = 7.58183
  Prefactor  = 16.9699
  norm       = 0.000100002
  Prefactor  = 22.8091
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 42.4666
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.44541
  Prefactor  = 2.18529
  Prefactor  = 10.1673
  Prefactor  = 0.0001
  Prefactor  = 0.461853
  Prefactor  = 0.0001
  Normalizat = 1.06001
  Prefactor  = 0.990259
 **********
 **   18 **HESSE 
 **********

 FCN=   10347.21     FROM HESSE     STATUS=OK           278 CALLS     2212 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.396        35.164        .68318E-04   -1.4534    
   2  Prefactor     7.9708        24.393        .14199E-03   -1.5143    
   3  norm          7.5818        5.0225        .14563E-03   -1.5157    
   4  Prefactor     16.970        15.290        .97229E-04   -1.4884    
   5  norm          .10000E-03    17.372        .42093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.809        16.796        .83849E-04   -1.4752    
   7  Prefactor     .10000E-03    24.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .48934        .10654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     42.467        38.505        .61513E-04   -1.4404    
  10  norm          .10000E-03    4.5378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    23.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.4454        14.141        .79059E-03   -1.5200    
  13  Prefactor     2.1853        94.331        .27807E-03   -1.5412    
  14  Prefactor     10.167        22.683        .12573E-03   -1.5070    
  15  Prefactor     .10000E-03    17.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .46185        16.084        .13366       -1.5572    
  17  Prefactor     .10000E-03    22.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0600        .35768        .55203E-03   -.91046    
  19  Prefactor     .99026        .86409E-01    .14630E-03   -.93055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69077e-09
Minuit parameter uncertainties:
  1  35.1849
  2  24.4235
  3  5.02273
  4  15.2936
  5  0.00035964
  6  16.7999
  7  0.000336456
  8  2.46237e-05
  9  38.5272
  10  2.10691e-05
  11  5.58793e-05
  12  14.148
  13  28.763
  14  22.7021
  15  0.000134025
  16  5.45199
  17  0.00016644
  18  0.358494
  19  0.0864207
Done.

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

Extracting fit parameters...

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  1.000e-04  3.365e-04  1.000e-04  1.000e+04 ( 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:  9.903e-01  8.642e-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.060e+00  3.585e-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.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/550127/likelihoodResults_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.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) = 10347.2115912
delta logL = -0.000193721456526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10347.2113975
delta logL = -2.19952198677e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5197       1.0000          .0000       10.000    
     3 'Normalizat'    1.0600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99026       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.

 FCN=   10347.21     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      216 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.291        .90712E-02** at limit **
   2  Index         2.5011        6.1168        .50000        .59874E-05
   3  Normalizat    1.0600        .66862E-02    .12442        .66515E-04
   4  Prefactor     .99026        .17275E-02    .33107E-01    .68640E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.50114
  Normalizat = 1.06001
  Prefactor  = 0.990261
 **********
 **   18 **HESSE 
 **********

 FCN=   10347.21     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      249 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    126.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5011        6.1429        .50000       -.52333    
   3  Normalizat    1.0600        .17008E-01    .55203E-03   -.91046    
   4  Prefactor     .99026        .44131E-02    .14629E-03   -.93055    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.36033e-08
Minuit parameter uncertainties:
  1  0.000454145
  2  215.607
  3  0.0170081
  4  0.00441313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550127': 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) = 10347.2113974
delta logL = 5.95864548814e-08

Extracting fit parameters...

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  1.000e-04  4.541e-04  1.000e-04  1.000e+04 ( 1.000e-13)
495        Index:  2.501e+00  2.156e+02  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:  9.903e-01  4.413e-03  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.060e+00  1.701e-02  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/550127/cmap_HighResolution_681782401_682041601_4FGL_J2034.6+1154_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', job_status='DONE', photon_flux_upper_limit='1.48e-07', time_completed='2022-08-13 00:44:48.456449', job_id='550127', GAL2='0.99', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1660376688.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.96e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1707' AND source_name='4FGL J2034.6+1154' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:44:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 550127: <4FGL_J2034.6+1154_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2034.6+1154_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:30:26 2022
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:30:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:30:27 2022
Terminated at Sat Aug 13 00:44:49 2022
Results reported at Sat Aug 13 00:44:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2034.6+1154_daily_bin1707 308.65 11.9035 681782401 682041601 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 :                                   788.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             391.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

