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


Performing analysis on: 4FGL_J2001.2+4353_weekly_bin716
RA = 300.302, Dec = 43.8862
tmin = 672019201, tmax = 672624001
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='659280', job_status='RUN', time_executed='2022-04-26 01:19:52.124347', time_epoch_executed='1650961192.12' WHERE source_name='4FGL J2001.2+4353' and cadence='weekly' and bin_id='716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659280

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659280/ft1_4FGL_J2001.2+4353_weekly_bin716.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659280/ft2_4FGL_J2001.2+4353_weekly_bin716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659280/ft1_4FGL_J2001.2+4353_weekly_bin716.fits outfile=/scratch/kocevski/659280/ft1_filteredMKT_4FGL_J2001.2+4353_weekly_bin716.fits ra=300.302 dec=43.8862 rad=12.0 tmin=672019201.0 tmax=672624001.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 9.08
user 8.70
sys 0.33

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

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

Number of photons that the gtmktime cut: 13503

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659280/ft1_filtered_4FGL_J2001.2+4353_weekly_bin716.fits" evtable="EVENTS" scfile=/scratch/kocevski/659280/ft2_4FGL_J2001.2+4353_weekly_bin716.fits sctable="SC_DATA" outfile=/scratch/kocevski/659280/ltcube_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.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/659280/ft2_4FGL_J2001.2+4353_weekly_bin716.fits
.....................!
real 28.34
user 27.95
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659280/ft1_filtered_4FGL_J2001.2+4353_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659280/ft2_4FGL_J2001.2+4353_weekly_bin716.fits sctable="SC_DATA" expcube=/scratch/kocevski/659280/ltcube_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.fits outfile=/scratch/kocevski/659280/expmap_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.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/659280/ltcube_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.fits
.....................!
real 192.61
user 186.23
sys 5.86

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_archive_v18/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/659280/ft1_filtered_4FGL_J2001.2+4353_weekly_bin716.fits scfile=/scratch/kocevski/659280/ft2_4FGL_J2001.2+4353_weekly_bin716.fits outfile=/scratch/kocevski/659280/cmap_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.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.63
user 0.46
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659280/ft1_filtered_4FGL_J2001.2+4353_weekly_bin716.fits scfile=/scratch/kocevski/659280/ft2_4FGL_J2001.2+4353_weekly_bin716.fits outfile=/scratch/kocevski/659280/cmap_HighResolution_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.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.64
user 0.47
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/659280/ft1_filtered_4FGL_J2001.2+4353_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659280/ft2_4FGL_J2001.2+4353_weekly_bin716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/659280/Model_4FGL_J2001.2+4353_weekly_bin716.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/659280/ft1_filtered_4FGL_J2001.2+4353_weekly_bin716.fits.....................!
real 2800.17
user 2793.56
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659280/ft1_filtered_4FGL_J2001.2+4353_weekly_bin716.fits', '/scratch/kocevski/659280/ft2_4FGL_J2001.2+4353_weekly_bin716.fits', expMap='/scratch/kocevski/659280/expmap_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.fits', expCube='/scratch/kocevski/659280/ltcube_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659280/Model_4FGL_J2001.2+4353_weekly_bin716.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  1.000e-04  1.000e+04 ( 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  0.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/659280/ft1_filtered_4FGL_J2001.2+4353_weekly_bin716.fits
Spacecraft file(s): /scratch/kocevski/659280/ft2_4FGL_J2001.2+4353_weekly_bin716.fits
Exposure map: /scratch/kocevski/659280/expmap_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.fits
Exposure cube: /scratch/kocevski/659280/ltcube_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659280/Model_4FGL_J2001.2+4353_weekly_bin716.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) = 122014.232564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.029       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .72216E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.3151       1.0000         .10000E-03   10000.    
     4 'norm      '    7.9194       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1110       1.0000         .10000E-03   10000.    
     6 'norm      '    .10257E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.646       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0033       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1248       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2648       1.0000         .10000E-03   10000.    
    11 'norm      '    .10153E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.3041       1.0000         .10000E-03   10000.    
    13 'norm      '    .10158E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .18904       1.0000         .10000E-03   10000.    
    15 'norm      '    1.5129       1.0000         .10000E-03   10000.    
    16 'norm      '    5.6111       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2576       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1964       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0310       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122014.1     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     1722 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.041        11.954         .0000       -.13330E-02
   2  Prefactor     .10001E-03    69.433         .0000    ** at limit **
   3  Prefactor     6.3017        3.8978         .0000        .22216E-03
   4  norm          7.9179        6.4762         .0000       -.22964E-02
   5  Prefactor     4.0321        12.729         .0000       -.77205E-03
   6  norm          .10000E-03    .67490         .0000    ** at limit **
   7  Prefactor     13.657        8.6063         .0000        .25277E-02
   8  norm          3.0016        4.8855         .0000        .13131E-01
   9  Prefactor     2.1510        14.529         .0000       -.10719E-02
  10  norm          3.2632        1.2622         .0000        .10755    
  11  norm          .10000E-03    .50734         .0000    ** at limit **
  12  Prefactor     2.3042        .14720         .0000        .37055E-02
  13  norm          .10000E-03    .26406         .0000    ** at limit **
  14  norm          .16056        .69173         .0000        .40028E-02
  15  norm          1.5190        3.2339         .0000        .96476E-01
  16  norm          5.6177        3.3195         .0000        .21085E-01
  17  Prefactor     3.2558        3.3777         .0000       -.10862E-01
  18  Normalizat    1.1965        .14121         .0000        .43532E-03
  19  Prefactor     1.0310        .16134E-01     .0000       -.17884E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.0412
  Prefactor  = 0.000100011
  Prefactor  = 6.30167
  norm       = 7.91793
  Prefactor  = 4.03208
  norm       = 0.0001
  Prefactor  = 13.6565
  norm       = 3.00159
  Prefactor  = 2.15096
  norm       = 3.26316
  norm       = 0.0001
  Prefactor  = 2.30417
  norm       = 0.0001
  norm       = 0.160561
  norm       = 1.51903
  norm       = 5.61772
  Prefactor  = 3.25581
  Normalizat = 1.19653
  Prefactor  = 1.03097
 **********
 **   18 **HESSE 
 **********

 FCN=   122014.1     FROM HESSE     STATUS=OK           288 CALLS     2010 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.041        11.950        .11550E-03   -1.5014    
   2  Prefactor     .10001E-03    69.539        .18649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.3017        3.8933        .15973E-03   -1.5206    
   4  norm          7.9179        6.4755        .14248E-03   -1.5145    
   5  Prefactor     4.0321        12.710        .19882E-03   -1.5306    
   6  norm          .10000E-03    2.2497        .55612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.657        8.5842        .10843E-03   -1.4969    
   8  norm          3.0016        4.8725        .11711E-02   -1.5361    
   9  Prefactor     2.1510        14.438        .28290E-03   -1.5415    
  10  norm          3.2632        1.2604        .11206E-02   -1.5347    
  11  norm          .10000E-03    2.1818        .47669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.3042        .14612        .31373E-04   -1.5404    
  13  norm          .10000E-03    2.1612        .34704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .16056        .72076        .95658E-01   -1.5628    
  15  norm          1.5190        3.2254        .17383E-02   -1.5461    
  16  norm          5.6177        3.3171        .84796E-03   -1.5234    
  17  Prefactor     3.2558        3.3836        .11219E-02   -1.5347    
  18  Normalizat    1.1965        .13847        .11244E-02   -.86710    
  19  Prefactor     1.0310        .16000E-01    .13080E-03   -.91704    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67035e-08
Minuit parameter uncertainties:
  1  11.9525
  2  0.00175477
  3  3.89343
  4  6.4761
  5  12.7187
  6  5.84301e-06
  7  8.58496
  8  4.8731
  9  11.1491
  10  1.2604
  11  1.60163e-05
  12  0.146118
  13  2.3303e-05
  14  0.680171
  15  3.22574
  16  3.31721
  17  3.38381
  18  0.138516
  19  0.0160004
Done.

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

Extracting fit parameters...

4FGL J2001.2+4353
   Spectrum: LogParabola
336         norm:  3.002e+00  4.873e+00  1.000e-04  1.000e+04 ( 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  0.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.031e+00  1.600e-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.197e+00  1.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 300.302 43.886
Photon Flux Upper Limit: 3.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.67e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659280/likelihoodResults_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122013.961308
delta logL = 0.157168360805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 122013.960104
delta logL = 0.158373014128

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7738       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3427       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0311       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   122014.0     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      223 TOTAL
                     EDM=   .49E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7715        3.6503       -.80920E-07   -.19710E-03
   2  alpha         1.3416        .14076        .13423E-05    .30148E-05
   3  Normalizat    1.1972        .13362       -.24614E-07    .16719E-03
   4  Prefactor     1.0311        .14707E-01    .14776E-08   -.87570E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77148
  alpha      = 1.34165
  Normalizat = 1.19718
  Prefactor  = 1.03107
 **********
 **   18 **HESSE 
 **********

 FCN=   122014.0     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7715        4.0983        .24435E-03   -1.5375    
   2  alpha         1.3416        .73432        .93412E-01   -.48176    
   3  Normalizat    1.1972        .13232        .11242E-02   -.86690    
   4  Prefactor     1.0311        .14714E-01    .13080E-03   -.91701    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.4763e-07
Minuit parameter uncertainties:
  1  4.09871
  2  0.748482
  3  0.132356
  4  0.0147143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659280': 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) = 122013.960103
delta logL = 0.15837373682

Extracting fit parameters...

4FGL J2001.2+4353
   Spectrum: LogParabola
336         norm:  2.771e+00  4.099e+00  1.000e-04  1.000e+04 ( 1.000e-13)
337        alpha:  1.342e+00  7.485e-01  0.000e+00  5.000e+00 ( 1.000e+00)
338         beta:  9.675e-02  0.000e+00  0.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.031e+00  1.471e-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.197e+00  1.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
Ra Dec: 300.302 43.886

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/659280/cmap_HighResolution_672019201_672624001_4FGL_J2001.2+4353_weekly_bin716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-05', job_status='DONE', photon_flux_upper_limit='3.13e-08', time_completed='2022-04-26 03:55:17.761358', job_id='659280', GAL2='1.03', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1650970517.76', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.58e-01', ts2='0.82', photon_index_error='0.00', photon_index='1.81' WHERE bin_id='716' AND source_name='4FGL J2001.2+4353' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 26 03:55:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 659280: <4FGL_J2001.2+4353_weekly_bin716> in cluster <slac> Done

Job <4FGL_J2001.2+4353_weekly_bin716> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 26 00:50:26 2022
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 26 01:19:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 26 01:19:04 2022
Terminated at Tue Apr 26 03:55:19 2022
Results reported at Tue Apr 26 03:55:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2001.2+4353_weekly_bin716 300.302 43.8862 672019201 672624001 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 :                                   9317.00 sec.
    Max Memory :                                 1097 MB
    Average Memory :                             560.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9374 sec.
    Turnaround time :                            11093 sec.

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

