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


Performing analysis on: 4FGL_J1910.8+2856_daily_bin1701
RA = 287.716, Dec = 28.9432
tmin = 680227201, tmax = 680486401
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='160532', job_status='RUN', time_executed='2022-07-26 02:05:27.597723', time_epoch_executed='1658826327.6' WHERE source_name='4FGL J1910.8+2856' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/160532

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/160532/ft1_4FGL_J1910.8+2856_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/160532/ft1_4FGL_J1910.8+2856_daily_bin1701.fits outfile=/scratch/kocevski/160532/ft1_filteredMKT_4FGL_J1910.8+2856_daily_bin1701.fits ra=287.716 dec=28.9432 rad=12.0 tmin=680227201.0 tmax=680486401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.90
user 2.67
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.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/160532/ft1_filteredMKT_4FGL_J1910.8+2856_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/160532/ft1_filtered_4FGL_J1910.8+2856_daily_bin1701.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 4955

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/160532/ft1_filtered_4FGL_J1910.8+2856_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/160532/ltcube_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.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/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits
.....................!
real 14.34
user 13.94
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/160532/ft1_filtered_4FGL_J1910.8+2856_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/160532/ltcube_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.fits outfile=/scratch/kocevski/160532/expmap_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.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/160532/ltcube_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.fits
.....................!
real 192.76
user 186.65
sys 5.76

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 gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian 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 257 point sources and 5 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 J1910.8+2856 @ 287.716 28.9432

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/160532/ft1_filtered_4FGL_J1910.8+2856_daily_bin1701.fits scfile=/scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits outfile=/scratch/kocevski/160532/cmap_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.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=287.716 yref=28.9432 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/160532/ft1_filtered_4FGL_J1910.8+2856_daily_bin1701.fits scfile=/scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits outfile=/scratch/kocevski/160532/cmap_HighResolution_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.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=287.716 yref=28.9432 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/160532/ft1_filtered_4FGL_J1910.8+2856_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/160532/Model_4FGL_J1910.8+2856_daily_bin1701.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 Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source G42.8+0.6
adding source GAL_V02
adding source W 51C
adding source gamma Cygni
Working on...
/scratch/kocevski/160532/ft1_filtered_4FGL_J1910.8+2856_daily_bin1701.fits.....................!
real 1289.77
user 1284.27
sys 1.63

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/160532/ft1_filtered_4FGL_J1910.8+2856_daily_bin1701.fits', '/scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits', expMap='/scratch/kocevski/160532/expmap_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.fits', expCube='/scratch/kocevski/160532/ltcube_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/160532/Model_4FGL_J1910.8+2856_daily_bin1701.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1910.8+2856'

4FGL J1910.8+2856
   Spectrum: PowerLaw
386    Prefactor:  8.737e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-15)
387        Index:  1.808e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.211e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/160532/ft1_filtered_4FGL_J1910.8+2856_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/160532/ft2_4FGL_J1910.8+2856_daily_bin1701.fits
Exposure map: /scratch/kocevski/160532/expmap_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.fits
Exposure cube: /scratch/kocevski/160532/ltcube_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/160532/Model_4FGL_J1910.8+2856_daily_bin1701.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) = 46719.4468896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.882       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .86850       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.4192       1.0000         .10000E-03   10000.    
     5 'norm      '    .12089E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.070       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.5167       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.961       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28738       1.0000         .10000E-03   10000.    
    13 'norm      '    12.879       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.9960       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .91552       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   46719.40     FROM MIGRAD    STATUS=CONVERGED    281 CALLS     1420 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.878        22.182       -.11996E-05   -.76824E-04
   2  Prefactor     .87090        5.2945        .41316E-05   -.36350E-03
   3  norm          .10000E-03    8.6979       -.99762E-06** at limit **
   4  norm          1.4215        2.0622        .13288E-05    .71275E-03
   5  norm          .10000E-03    .41573       -.67748E-06** at limit **
   6  Prefactor     .10000E-03    7.6496        .13248E-05** at limit **
   7  Prefactor     17.082        45.555        .77117E-06    .21110E-03
   8  Prefactor     .10000E-03    4.8825       -.25115E-06** at limit **
   9  Prefactor     9.5203        190.00        .20198E-05    .52872E-05
  10  Prefactor     .10000E-03    3.5718        .15670E-06** at limit **
  11  Prefactor     33.862        130.69       -.16909E-04   -.47846E-04
  12  Prefactor     .28841        .79258        .14231E-07    .38146E-04
  13  norm          12.874        12.171       -.58156E-06   -.93469E-04
  14  Normalizat    1.9958        .17629       -.82731E-06    .32358E-03
  15  Prefactor     .91553        .22173E-01   -.54150E-08    .61453E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 24.8777
  Prefactor  = 0.870901
  norm       = 0.0001
  norm       = 1.42149
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 17.082
  Prefactor  = 0.0001
  Prefactor  = 9.52027
  Prefactor  = 0.0001
  Prefactor  = 33.8625
  Prefactor  = 0.288408
  norm       = 12.874
  Normalizat = 1.99585
  Prefactor  = 0.915529
 **********
 **   18 **HESSE 
 **********

 FCN=   46719.40     FROM HESSE     STATUS=OK           184 CALLS     1604 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.878        22.188        .80305E-04   -1.4710    
   2  Prefactor     .87090        5.3524        .50771E-03   -1.5521    
   3  norm          .10000E-03    8.7197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.4215        2.0014        .34136E-03   -1.5470    
   5  norm          .10000E-03    3.4352        .23350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.8748        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.082        45.048        .96938E-04   -1.4881    
   8  Prefactor     .10000E-03    4.8988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.5203        189.96        .12991E-03   -1.5091    
  10  Prefactor     .10000E-03    3.5824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.862        135.10        .68763E-04   -1.4543    
  12  Prefactor     .28841        5.6536        .29539E-02   -1.5601    
  13  norm          12.874        12.202        .11162E-03   -1.4990    
  14  Normalizat    1.9958        .18194        .68883E-03   -.64655    
  15  Prefactor     .91553        .23346E-01    .12221E-03   -.95601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79796e-09
Minuit parameter uncertainties:
  1  22.1957
  2  4.31839
  3  4.86164e-05
  4  2.00151
  5  0.000150559
  6  1.75951e-05
  7  45.1381
  8  6.83877e-06
  9  85.3642
  10  2.08483e-05
  11  135.814
  12  2.55368
  13  12.2044
  14  0.181999
  15  0.0233465
Done.

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

Extracting fit parameters...

4FGL J1910.8+2856
   Spectrum: PowerLaw
386    Prefactor:  9.520e+00  8.536e+01  1.000e-04  1.000e+04 ( 1.000e-15)
387        Index:  1.808e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.211e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
926    Prefactor:  9.155e-01  2.335e-02  0.000e+00  1.000e+01 ( 1.000e+00)
927        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
928        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
922   Normalization:  1.996e+00  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 287.716 28.943
Photon Flux Upper Limit: 5.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/160532/likelihoodResults_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.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) = 46718.1048606
delta logL = 1.29841181047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 46718.086194
delta logL = 1.31707844401

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3162       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0180       1.0000          .0000       10.000    
     3 'Normalizat'    1.9345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91654       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   46718.09     FROM MIGRAD    STATUS=FAILED        90 CALLS      294 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3173        141.88        .15972E-03    .28939E-02
   2  Index         3.0180        2.6541        .67637E-02    .17335E-02
   3  Normalizat    1.9345        .17012        .69636E-03    .65029E-03
   4  Prefactor     .91654        .19720E-01    .12213E-03    .27630E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   46718.09     FROM SIMPLEX   STATUS=UNCHANGED     87 CALLS      381 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3173        141.88        .43084E-03    .28939E-02
   2  Index         3.0180        2.6541        .92280E-03    .17335E-02
   3  Normalizat    1.9345        .17012        .13584E-03    .65029E-03
   4  Prefactor     .91654        .19720E-01    .18516E-04    .27630E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   46718.09     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      410 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3180        14.991        .63886E-05    .31889E-02
   2  Index         3.0180        .70469        .27055E-03    .12287E-02
   3  Normalizat    1.9345        .17374        .27854E-04    .66479E-03
   4  Prefactor     .91654        .21751E-01    .24426E-04    .28485E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.31795
  Index      = 3.01798
  Normalizat = 1.93452
  Prefactor  = 0.916541
 **********
 **   18 **HESSE 
 **********

 FCN=   46718.09     FROM HESSE     STATUS=OK            23 CALLS      433 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3180        13.902        .12777E-05   -1.5205    
   2  Index         3.0180        .65424        .10822E-04   -.40760    
   3  Normalizat    1.9345        .17358        .55709E-05   -.66202    
   4  Prefactor     .91654        .21746E-01    .48852E-05   -.95565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8795e-09
Minuit parameter uncertainties:
  1  13.9088
  2  0.656474
  3  0.17364
  4  0.0217463
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/160532': 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): 0
logL (Free Index) = 46718.086194
delta logL = 1.31707845245

Extracting fit parameters...

4FGL J1910.8+2856
   Spectrum: PowerLaw
386    Prefactor:  6.318e+00  1.391e+01  1.000e-04  1.000e+04 ( 1.000e-15)
387        Index:  3.018e+00  6.565e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.211e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
926    Prefactor:  9.165e-01  2.175e-02  0.000e+00  1.000e+01 ( 1.000e+00)
927        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
928        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
922   Normalization:  1.935e+00  1.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.77
Ra Dec: 287.716 28.943
Photon Index (Free Index): 3.02 +/- 0.66
Photon Flux (Free Index): 8.09e-08 +/- 5.99e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.09e-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/160532/cmap_HighResolution_680227201_680486401_4FGL_J1910.8+2856_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.76e-03', comment='SUCCESS', energy_flux2='1.60e-05', dlogl='1.32e+00', photon_flux2='8.09e-08', job_status='DONE', time_completed='2022-07-26 03:14:14.523864', photon_index_error2='0.66', photon_index2='3.02', ts='0.01', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='5.09e-08', energy_flux_error2='1.09e-05', EG='2.00', time_epoch_completed='1658830454.52', return_code='0', job_id='160532', GAL2='0.92', EG2='1.93', return_code2='0', photon_flux_error2='5.99e-08', ts2='2.77', photon_index='1.81' WHERE bin_id='1701' AND source_name='4FGL J1910.8+2856' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 03:14:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 160532: <4FGL_J1910.8+2856_daily_bin1701> in cluster <slac> Done

Job <4FGL_J1910.8+2856_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 00:07:07 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:04:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:04:14 2022
Terminated at Tue Jul 26 03:14:15 2022
Results reported at Tue Jul 26 03:14:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1910.8+2856_daily_bin1701 287.716 28.9432 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1910.8+2856 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4123.00 sec.
    Max Memory :                                 1265 MB
    Average Memory :                             468.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4201 sec.
    Turnaround time :                            11228 sec.

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

