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


Performing analysis on: 4FGL_J2216.9+2421_daily_bin1709
RA = 334.238, Dec = 24.3575
tmin = 682300801, tmax = 682560001
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='242156', job_status='RUN', time_executed='2022-09-16 23:48:16.975347', time_epoch_executed='1663397296.98' WHERE source_name='4FGL J2216.9+2421' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/242156

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/242156/ft1_4FGL_J2216.9+2421_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/242156/ft1_4FGL_J2216.9+2421_daily_bin1709.fits outfile=/scratch/kocevski/242156/ft1_filteredMKT_4FGL_J2216.9+2421_daily_bin1709.fits ra=334.238 dec=24.3575 rad=12.0 tmin=682300801.0 tmax=682560001.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 3.79
user 3.53
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.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/242156/ft1_filteredMKT_4FGL_J2216.9+2421_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/242156/ft1_filtered_4FGL_J2216.9+2421_daily_bin1709.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 1.08
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 865

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/242156/ft1_filtered_4FGL_J2216.9+2421_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/242156/ltcube_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.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/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits
.....................!
real 15.46
user 15.02
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/242156/ft1_filtered_4FGL_J2216.9+2421_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/242156/ltcube_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.fits outfile=/scratch/kocevski/242156/expmap_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.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/242156/ltcube_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.fits
.....................!
real 192.76
user 186.53
sys 5.77

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 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 159 point sources and 1 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 J2216.9+2421 @ 334.238 24.3575

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/242156/ft1_filtered_4FGL_J2216.9+2421_daily_bin1709.fits scfile=/scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits outfile=/scratch/kocevski/242156/cmap_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.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=334.238 yref=24.3575 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/242156/ft1_filtered_4FGL_J2216.9+2421_daily_bin1709.fits scfile=/scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits outfile=/scratch/kocevski/242156/cmap_HighResolution_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.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=334.238 yref=24.3575 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/242156/ft1_filtered_4FGL_J2216.9+2421_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/242156/Model_4FGL_J2216.9+2421_daily_bin1709.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
Working on...
/scratch/kocevski/242156/ft1_filtered_4FGL_J2216.9+2421_daily_bin1709.fits.....................!
real 131.48
user 129.86
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/242156/ft1_filtered_4FGL_J2216.9+2421_daily_bin1709.fits', '/scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits', expMap='/scratch/kocevski/242156/expmap_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.fits', expCube='/scratch/kocevski/242156/ltcube_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/242156/Model_4FGL_J2216.9+2421_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2216.9+2421'

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  5.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/242156/ft1_filtered_4FGL_J2216.9+2421_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/242156/ft2_4FGL_J2216.9+2421_daily_bin1709.fits
Exposure map: /scratch/kocevski/242156/expmap_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.fits
Exposure cube: /scratch/kocevski/242156/ltcube_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/242156/Model_4FGL_J2216.9+2421_daily_bin1709.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) = 8978.98762462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64659       1.0000          .0000       .10000E+07
     2 'norm      '    2.3539       1.0000          .0000       .10000E+07
     3 'Prefactor '    .31170E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21899E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .14189       1.0000          .0000       .10000E+07
     6 'Prefactor '    38.456       1.0000          .0000       .10000E+07
     7 'norm      '    .83282       1.0000          .0000       .10000E+07
     8 'Prefactor '    25.633       1.0000          .0000       .10000E+07
     9 'norm      '    .46685E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.4609       1.0000          .0000       .10000E+07
    11 'norm      '    .76175       1.0000          .0000       .10000E+07
    12 'norm      '    1.5997       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23303E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    19.849       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.5511       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2134       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88100       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8978.979     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1196 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13572E-06    106.50        .36834E-06** at limit **
   2  norm          2.3548        2.1929       -.24937E-06   -.69739E-03
   3  Prefactor      .0000        3.1086        .12077E-05** at limit **
   4  Prefactor     .21705E-07    49.695       -.33230E-05** at limit **
   5  norm          .14203        .52047       -.12666E-06** at limit **
   6  Prefactor     38.889        49.941        .41263E-05   -.62317E-02
   7  norm          .83254        .81129       -.10662E-06   -.11314E-02
   8  Prefactor     25.576        3.5716       -.22068E-06   -.95840E-01
   9  norm           .0000        1.2679       -.77146E-06** at limit **
  10  Prefactor     2.5509        7.8773       -.28563E-06    .12952E-02
  11  norm          .76202        .92508        .61110E-07   -.22021E-03
  12  norm          1.6001        1.2779        .29773E-07    .64876E-03
  13  Prefactor     .55511E-10    14.441        .14371E-05** at limit **
  14  Prefactor     19.831        12.137        .28895E-06   -.28971E-02
  15  Prefactor     1.5512        .31021        .69714E-06    .10875E-02
  16  Normalizat    1.2130        .24212       -.12509E-04    .62107E-04
  17  Prefactor     .88111        .11030        .36180E-05    .53006E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.35725e-07
  norm       = 2.35481
  Prefactor  = 0
  Prefactor  = 2.17049e-08
  norm       = 0.14203
  Prefactor  = 38.8895
  norm       = 0.832538
  Prefactor  = 25.5757
  norm       = 0
  Prefactor  = 2.55088
  norm       = 0.76202
  norm       = 1.60011
  Prefactor  = 5.55112e-11
  Prefactor  = 19.8315
  Prefactor  = 1.55121
  Normalizat = 1.21302
  Prefactor  = 0.881105
 **********
 **   18 **HESSE 
 **********

 FCN=   8978.979     FROM HESSE     STATUS=OK           263 CALLS     1459 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13572E-06    107.72        .65154E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3548        2.2036        .66780E-03   -1.5677    
   3  Prefactor      .0000        3.0978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .21705E-07    49.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .14203        .40221        .27369E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.889        50.414        .16127E-03   -1.5583    
   7  norm          .83254        .81511        .50520E-03   -1.5690    
   8  Prefactor     25.576        16.800        .19756E-03   -1.5607    
   9  norm           .0000        1.2762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5509        7.9222        .65167E-03   -1.5676    
  11  norm          .76202        .93354        .55831E-03   -1.5691    
  12  norm          1.6001        1.2797        .83794E-03   -1.5683    
  13  Prefactor     .55511E-10    14.445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.831        12.146        .22453E-03   -1.5619    
  15  Prefactor     1.5512        .30950        .51301E-02   -1.5459    
  16  Normalizat    1.2130        .20759        .75834E-01   -.86201    
  17  Prefactor     .88111        .93414E-01    .44762E-01   -.96805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07227e-07
Minuit parameter uncertainties:
  1  0.00764772
  2  2.20365
  3  1.75017e-05
  4  0.00207939
  5  0.402211
  6  50.4142
  7  0.815106
  8  16.7996
  9  9.21042e-07
  10  7.92224
  11  0.933539
  12  1.27969
  13  6.31661e-05
  14  12.1465
  15  0.309504
  16  0.20773
  17  0.0934312
Done.

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

Extracting fit parameters...

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  2.558e+01  1.680e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  8.811e-01  9.343e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.213e+00  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.32
Ra Dec: 334.238 24.358
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 6.08e-08 +/- 3.99e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.55e-05

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) = 8978.86837961
delta logL = 0.11030833776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8978.8581897
delta logL = 0.120498244072

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8978.858     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      269 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.088        235.87        .22888E-03    .56897E-02
   2  Index         2.5921        3.2938        .12092        .18751E-03
   3  Normalizat    1.1866        .11987        .76553E-01    .22091E-04
   4  Prefactor     .88866        .38953E-01    .44856E-01    .79501E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.088
  Index      = 2.5921
  Normalizat = 1.18662
  Prefactor  = 0.888665
 **********
 **   18 **HESSE 
 **********

 FCN=   8978.858     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.088        22.150        .45776E-04   -1.5621    
   2  Index         2.5921        .76203        .65417E-02   -.50246    
   3  Normalizat    1.1866        .24415        .33883E-03   -.87017    
   4  Prefactor     .88866        .11115        .17984E-03   -.96538    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69477e-08
Minuit parameter uncertainties:
  1  22.15
  2  0.765929
  3  0.24438
  4  0.111176
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/242156': 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) = 8978.8581746
delta logL = 0.120513347236

Extracting fit parameters...

4FGL J2216.9+2421
   Spectrum: PowerLaw
286    Prefactor:  1.909e+01  2.215e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.592e+00  7.659e-01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  8.887e-01  1.112e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  2.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.59
Ra Dec: 334.238 24.358
Photon Index (Free Index): 2.59 +/- 0.77
Photon Flux (Free Index): 7.91e-08 +/- 5.98e-08
Energy Flux (Free Index): 2.09e-05 +/- 1.39e-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/242156/cmap_HighResolution_682300801_682560001_4FGL_J2216.9+2421_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.08e-08', energy_flux2='2.09e-05', photon_flux_error='3.99e-08', dlogl='1.21e-01', energy_flux='2.36e-05', photon_flux2='7.91e-08', job_status='DONE', time_completed='2022-09-16 23:58:36.576452', photon_index_error2='0.77', photon_index2='2.59', ts='5.32', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.39e-05', EG='1.21', time_epoch_completed='1663397916.58', return_code='0', job_id='242156', GAL2='0.89', EG2='1.19', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='5.98e-08', ts2='5.59', photon_index='2.28' WHERE bin_id='1709' AND source_name='4FGL J2216.9+2421' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:58:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 242156: <4FGL_J2216.9+2421_daily_bin1709> in cluster <slac> Done

Job <4FGL_J2216.9+2421_daily_bin1709> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 23:45:24 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:46:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:46:05 2022
Terminated at Fri Sep 16 23:58:37 2022
Results reported at Fri Sep 16 23:58:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2216.9+2421_daily_bin1709 334.238 24.3575 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2216.9+2421 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   621.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            793 sec.

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

