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


Performing analysis on: 4FGL_J2001.2+4353_daily_bin1724
RA = 300.302, Dec = 43.8862
tmin = 686188801, tmax = 686448001
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='707639', job_status='RUN', time_executed='2022-10-03 01:18:51.707691', time_epoch_executed='1664785131.71' WHERE source_name='4FGL J2001.2+4353' and cadence='daily' and bin_id='1724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707639

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707639/ft1_4FGL_J2001.2+4353_daily_bin1724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707639/ft1_4FGL_J2001.2+4353_daily_bin1724.fits outfile=/scratch/kocevski/707639/ft1_filteredMKT_4FGL_J2001.2+4353_daily_bin1724.fits ra=300.302 dec=43.8862 rad=12.0 tmin=686188801.0 tmax=686448001.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.59
user 4.37
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.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/707639/ft1_filteredMKT_4FGL_J2001.2+4353_daily_bin1724.fits evtable="EVENTS" outfile="/scratch/kocevski/707639/ft1_filtered_4FGL_J2001.2+4353_daily_bin1724.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.59
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 4530

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707639/ft1_filtered_4FGL_J2001.2+4353_daily_bin1724.fits" evtable="EVENTS" scfile=/scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits sctable="SC_DATA" outfile=/scratch/kocevski/707639/ltcube_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.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/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits
.....................!
real 13.71
user 13.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707639/ft1_filtered_4FGL_J2001.2+4353_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits sctable="SC_DATA" expcube=/scratch/kocevski/707639/ltcube_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.fits outfile=/scratch/kocevski/707639/expmap_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.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/707639/ltcube_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.fits
.....................!
real 191.67
user 186.06
sys 4.95

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 gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 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.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Added 200 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 J2001.2+4353 @ 300.302 43.8862

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/707639/ft1_filtered_4FGL_J2001.2+4353_daily_bin1724.fits scfile=/scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits outfile=/scratch/kocevski/707639/cmap_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.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=300.302 yref=43.8862 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/707639/ft1_filtered_4FGL_J2001.2+4353_daily_bin1724.fits scfile=/scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits outfile=/scratch/kocevski/707639/cmap_HighResolution_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.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=300.302 yref=43.8862 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/707639/ft1_filtered_4FGL_J2001.2+4353_daily_bin1724.fits evtable="EVENTS" scfile=/scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/707639/Model_4FGL_J2001.2+4353_daily_bin1724.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 FHES J2129.9+5833
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/scratch/kocevski/707639/ft1_filtered_4FGL_J2001.2+4353_daily_bin1724.fits.....................!
real 863.55
user 860.19
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/707639/ft1_filtered_4FGL_J2001.2+4353_daily_bin1724.fits', '/scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits', expMap='/scratch/kocevski/707639/expmap_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.fits', expCube='/scratch/kocevski/707639/ltcube_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/707639/Model_4FGL_J2001.2+4353_daily_bin1724.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2001.2+4353'

4FGL J2001.2+4353
   Spectrum: LogParabola
336         norm:  9.913e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
337        alpha:  1.811e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
338         beta:  9.675e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
339           Eb:  2.071e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/707639/ft1_filtered_4FGL_J2001.2+4353_daily_bin1724.fits
Spacecraft file(s): /scratch/kocevski/707639/ft2_4FGL_J2001.2+4353_daily_bin1724.fits
Exposure map: /scratch/kocevski/707639/expmap_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.fits
Exposure cube: /scratch/kocevski/707639/ltcube_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/707639/Model_4FGL_J2001.2+4353_daily_bin1724.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) = 40606.3836408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85126E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .37022E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    43.767       1.0000          .0000       .10000E+07
     4 'norm      '    .61895E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14335E-03   1.0000          .0000       .10000E+07
     6 'norm      '    22.236       1.0000          .0000       .10000E+07
     7 'Prefactor '    .24336E-02   1.0000          .0000       .10000E+07
     8 'norm      '    4.0762       1.0000          .0000       .10000E+07
     9 'norm      '    .67519       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.8787       1.0000         .10000E-03   10000.    
    11 'norm      '    .30241       1.0000          .0000       .10000E+07
    12 'norm      '    .39790E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .62240E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .85370       1.0000          .0000       .10000E+07
    15 'Prefactor '    .54933E-05   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3544       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0114       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   40606.17     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1042 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14988E-08    4.2500       -.15203E-07** at limit **
   2  norm          .13389E-06    5.5231        .21598E-06** at limit **
   3  Prefactor     43.487        2.3204        .24227E-07    .78623E-03
   4  norm          .26201E-07    6.0724       -.47751E-07** at limit **
   5  Prefactor     .79936E-08    22.117        .19344E-06** at limit **
   6  norm          22.212        1.2484        .56261E-08   -.17004E-03
   7  Prefactor     .22204E-08    29.508        .86529E-06** at limit **
   8  norm          4.0784        2.1881        .47069E-07   -.74582E-03
   9  norm          .66331        5.2751       -.40581E-06    .11837E-03
  10  Prefactor     1.8788        .23565       -.18016E-06    .34398E-03
  11  norm          .28770        13.146        .35046E-06   -.99583E-04
  12  norm          .39302E-07    5.0839        .10978E-06** at limit **
  13  norm          .45464E-06    3.2581        .21395E-06** at limit **
  14  norm          .85168        2.6047        .24600E-06   -.14733E-03
  15  Prefactor     .97700E-08    9.7972       -.97224E-07** at limit **
  16  Normalizat    1.3547        .23069        .21294E-05   -.94009E-05
  17  Prefactor     1.0114        .26294E-01   -.64524E-06   -.15824E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.4988e-09
  norm       = 1.33893e-07
  Prefactor  = 43.4865
  norm       = 2.62013e-08
  Prefactor  = 7.99361e-09
  norm       = 22.212
  Prefactor  = 2.22045e-09
  norm       = 4.07844
  norm       = 0.663311
  Prefactor  = 1.87877
  norm       = 0.287697
  norm       = 3.93019e-08
  norm       = 4.54636e-07
  norm       = 0.851676
  Prefactor  = 9.76996e-09
  Normalizat = 1.35466
  Prefactor  = 1.01142
 **********
 **   18 **HESSE 
 **********

 FCN=   40606.17     FROM HESSE     STATUS=OK           259 CALLS     1301 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14988E-08    4.2790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13389E-06    7.1177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     43.487        25.522        .15117E-03   -1.5576    
   4  norm          .26201E-07    6.3198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .79936E-08    22.134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.212        13.156        .21212E-03   -1.5614    
   7  Prefactor     .22204E-08    29.759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.0784        2.1933        .49913E-03   -1.5668    
   9  norm          .66331        5.2244        .62745E-03   -1.5692    
  10  Prefactor     1.8788        .23662        .74343E-02   -1.5434    
  11  norm          .28770        1.0508        .10180E-01   -1.5697    
  12  norm          .39302E-07    5.5200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .45464E-06    8.4460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .85168        2.6149        .49015E-03   -1.5690    
  15  Prefactor     .97700E-08    9.9186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3547        .23849        .23824       -.81949    
  17  Prefactor     1.0114        .26082E-01    .29241E-01   -.92350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54057e-07
Minuit parameter uncertainties:
  1  0.00015985
  2  0.0019525
  3  25.5224
  4  0.000813956
  5  0.000841789
  6  13.1558
  7  0.00051508
  8  2.19326
  9  3.72311
  10  0.236623
  11  1.05075
  12  0.000931411
  13  0.00391904
  14  2.61491
  15  0.000623346
  16  0.238681
  17  0.0260821
Done.

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

Extracting fit parameters...

4FGL J2001.2+4353
   Spectrum: LogParabola
336         norm:  2.221e+01  1.316e+01  0.000e+00  1.000e+06 ( 1.000e-13)
337        alpha:  1.811e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
338         beta:  9.675e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
339           Eb:  2.071e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.011e+00  2.608e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
728   Normalization:  1.355e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.10
Ra Dec: 300.302 43.886
Photon Index (Fixed Index): 1.81 +/- 0.00
Photon Flux (Fixed Index): 4.37e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 5.12e-05 +/- 3.03e-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) = 40605.8882529
delta logL = 0.277525514335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 40605.8755811
delta logL = 0.290197343318

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.223       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4280       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3614       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0120       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   40605.88     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      216 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.223        16.867        .22244E-03    .28892E-01
   2  alpha         1.4280        .51498        .47408       -.13020E-03
   3  Normalizat    1.3615        .23467        .23784        .15758E-03
   4  Prefactor     1.0120        .24906E-01    .29234E-01   -.50492E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.2232
  alpha      = 1.42799
  Normalizat = 1.36147
  Prefactor  = 1.01202
 **********
 **   18 **HESSE 
 **********

 FCN=   40605.88     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.223        13.681        .88976E-05   -1.5618    
   2  alpha         1.4280        .48345        .33365E-01   -.44317    
   3  Normalizat    1.3615        .23088        .10654E-02   -.81750    
   4  Prefactor     1.0120        .25086E-01    .12919E-03   -.92330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43447e-09
Minuit parameter uncertainties:
  1  13.6811
  2  0.487223
  3  0.231056
  4  0.0250863
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707639': 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) = 40605.8755811
delta logL = 0.290197352399

Extracting fit parameters...

4FGL J2001.2+4353
   Spectrum: LogParabola
336         norm:  2.022e+01  1.368e+01  0.000e+00  1.000e+06 ( 1.000e-13)
337        alpha:  1.428e+00  4.872e-01  0.000e+00  5.000e+00 ( 1.000e+00)
338         beta:  9.675e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
339           Eb:  2.071e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  1.012e+00  2.509e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
728   Normalization:  1.361e+00  2.311e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.68
Ra Dec: 300.302 43.886
Photon Index (Free Index): 1.43 +/- 0.49
Photon Flux (Free Index): 2.44e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.52e-05 +/- 6.36e-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/707639/cmap_HighResolution_686188801_686448001_4FGL_J2001.2+4353_daily_bin1724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.37e-08', energy_flux2='7.52e-05', photon_flux_error='2.59e-08', dlogl='2.90e-01', energy_flux='5.12e-05', photon_flux2='2.44e-08', job_status='DONE', time_completed='2022-10-03 01:57:39.546134', photon_index_error2='0.49', photon_index2='1.43', ts='11.10', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='6.36e-05', EG='1.35', time_epoch_completed='1664787459.55', return_code='0', job_id='707639', GAL2='1.01', EG2='1.36', return_code2='0', energy_flux_error='3.03e-05', photon_flux_error2='2.31e-08', ts2='11.68', photon_index='1.81' WHERE bin_id='1724' AND source_name='4FGL J2001.2+4353' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct  3 01:57:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0063>
Subject: Job 707639: <4FGL_J2001.2+4353_daily_bin1724> in cluster <slac> Done

Job <4FGL_J2001.2+4353_daily_bin1724> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Oct  3 01:15:26 2022
Job was executed on host(s) <bullet0063>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct  3 01:16:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct  3 01:16:27 2022
Terminated at Mon Oct  3 01:57:40 2022
Results reported at Mon Oct  3 01:57:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2001.2+4353_daily_bin1724 300.302 43.8862 686188801 686448001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2001.2+4353 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2325.61 sec.
    Max Memory :                                 1274 MB
    Average Memory :                             466.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   3408 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   2473 sec.
    Turnaround time :                            2534 sec.

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

