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


Performing analysis on: 4FGL_J1844.4+1547_weekly_bin718
RA = 281.117, Dec = 15.7888
tmin = 673228801, tmax = 673833601
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='260635', job_status='RUN', time_executed='2022-05-10 00:54:20.996007', time_epoch_executed='1652169261.0' WHERE source_name='4FGL J1844.4+1547' and cadence='weekly' and bin_id='718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260635

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260635/ft1_4FGL_J1844.4+1547_weekly_bin718.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260635/ft1_4FGL_J1844.4+1547_weekly_bin718.fits outfile=/scratch/kocevski/260635/ft1_filteredMKT_4FGL_J1844.4+1547_weekly_bin718.fits ra=281.117 dec=15.7888 rad=12.0 tmin=673228801.0 tmax=673833601.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 5.61
user 5.23
sys 0.33

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.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/260635/ft1_filteredMKT_4FGL_J1844.4+1547_weekly_bin718.fits evtable="EVENTS" outfile="/scratch/kocevski/260635/ft1_filtered_4FGL_J1844.4+1547_weekly_bin718.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.62
user 0.43
sys 0.18

Number of photons that the gtmktime cut: 15457

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260635/ft1_filtered_4FGL_J1844.4+1547_weekly_bin718.fits" evtable="EVENTS" scfile=/scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits sctable="SC_DATA" outfile=/scratch/kocevski/260635/ltcube_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.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/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits
.....................!
real 38.30
user 37.84
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260635/ft1_filtered_4FGL_J1844.4+1547_weekly_bin718.fits evtable="EVENTS" scfile=/scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits sctable="SC_DATA" expcube=/scratch/kocevski/260635/ltcube_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.fits outfile=/scratch/kocevski/260635/expmap_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.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/260635/ltcube_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.fits
.....................!
real 191.80
user 185.81
sys 5.28

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 G42.8+0.6 in ROI with RadialDisk spatial model.
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 Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Added 286 point sources and 7 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 J1844.4+1547 @ 281.117 15.7888

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/260635/ft1_filtered_4FGL_J1844.4+1547_weekly_bin718.fits scfile=/scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits outfile=/scratch/kocevski/260635/cmap_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.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=281.117 yref=15.7888 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.62
user 0.44
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260635/ft1_filtered_4FGL_J1844.4+1547_weekly_bin718.fits scfile=/scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits outfile=/scratch/kocevski/260635/cmap_HighResolution_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.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=281.117 yref=15.7888 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.68
user 0.47
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/260635/ft1_filtered_4FGL_J1844.4+1547_weekly_bin718.fits evtable="EVENTS" scfile=/scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/260635/Model_4FGL_J1844.4+1547_weekly_bin718.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 EG_v02
adding source G42.8+0.6
adding source GAL_V02
adding source HESS J1841-055
adding source HESS J1857+026
adding source Kes 73
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/scratch/kocevski/260635/ft1_filtered_4FGL_J1844.4+1547_weekly_bin718.fits.....................!
real 4684.83
user 4674.62
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/260635/ft1_filtered_4FGL_J1844.4+1547_weekly_bin718.fits', '/scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits', expMap='/scratch/kocevski/260635/expmap_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.fits', expCube='/scratch/kocevski/260635/ltcube_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/260635/Model_4FGL_J1844.4+1547_weekly_bin718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1844.4+1547'

4FGL J1844.4+1547
   Spectrum: LogParabola
384         norm:  4.741e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
385        alpha:  1.941e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
386         beta:  9.663e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
387           Eb:  2.293e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/260635/ft1_filtered_4FGL_J1844.4+1547_weekly_bin718.fits
Spacecraft file(s): /scratch/kocevski/260635/ft2_4FGL_J1844.4+1547_weekly_bin718.fits
Exposure map: /scratch/kocevski/260635/expmap_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.fits
Exposure cube: /scratch/kocevski/260635/ltcube_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/260635/Model_4FGL_J1844.4+1547_weekly_bin718.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) = 137669.399444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34640E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.7983       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21342       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    10.089       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.820       1.0000         .10000E-03   10000.    
     8 'norm      '    6.7218       1.0000         .10000E-03   10000.    
     9 'Normalizat'    1.2752       1.0000         .10000E-01   10.000    
    10 'Prefactor '    .98963       1.0000          .0000       10.000    
    11 'norm      '    9.0010       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1060E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   137669.4     FROM MIGRAD    STATUS=CONVERGED    203 CALLS      787 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2417       -.10282E-05** at limit **
   2  norm          7.7976        3.6191       -.14462E-05   -.14305E-03
   3  Prefactor     .10000E-03    3.3152        .24050E-06** at limit **
   4  Prefactor     .27968        1.6177       -.86784E-07    .17155E-03
   5  Prefactor     .10000E-03    2.5754        .63914E-07** at limit **
   6  norm          10.070        4.2661        .37939E-06    .23578E-04
   7  Prefactor     12.772        9.3174        .41909E-06   -.11421E-05
   8  norm          6.7186        8.8706        .21759E-06   -.27538E-03
   9  Normalizat    1.2751        .13787        .71006E-07   -.30537E-04
  10  Prefactor     .98963        .12746E-01   -.26112E-08    .16975E-03
  11  norm          9.0015        .51121        .20922E-07   -.98166E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 7.79762
  Prefactor  = 0.0001
  Prefactor  = 0.279683
  Prefactor  = 0.0001
  norm       = 10.0695
  Prefactor  = 12.7725
  norm       = 6.71858
  Normalizat = 1.27514
  Prefactor  = 0.98963
  norm       = 9.00151
 **********
 **   18 **HESSE 
 **********

 FCN=   137669.4     FROM HESSE     STATUS=OK           124 CALLS      911 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2826        .21328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.7976        3.6304        .14359E-03   -1.5149    
   3  Prefactor     .10000E-03    3.3165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27968        1.7146        .14951       -1.5602    
   5  Prefactor     .10000E-03    2.5825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.070        4.2651        .12615E-03   -1.5073    
   7  Prefactor     12.772        9.3322        .11187E-03   -1.4993    
   8  norm          6.7186        8.9799        .77383E-03   -1.5190    
   9  Normalizat    1.2751        .13629        .11424E-02   -.84312    
  10  Prefactor     .98963        .13204E-01    .11788E-03   -.93076    
  11  norm          9.0015        1.1620        .66797E-03   -1.5108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52766e-09
Minuit parameter uncertainties:
  1  1.30223e-06
  2  3.6305
  3  1.13304e-06
  4  1.3848
  5  1.57162e-06
  6  4.26519
  7  9.33322
  8  8.98175
  9  0.13633
  10  0.0132036
  11  1.16204
Done.

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

Extracting fit parameters...

4FGL J1844.4+1547
   Spectrum: LogParabola
384         norm:  1.007e+01  4.265e+00  1.000e-04  1.000e+04 ( 1.000e-13)
385        alpha:  1.941e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
386         beta:  9.663e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
387           Eb:  2.293e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1035    Prefactor:  9.896e-01  1.320e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1031   Normalization:  1.275e+00  1.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.30
Ra Dec: 281.117 15.789
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 2.90e-08 +/- 1.23e-08
Energy Flux (Fixed Index): 2.65e-05 +/- 1.12e-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) = 137668.91549
delta logL = 0.46648018749

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 137668.905858
delta logL = 0.476112516248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.170       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5778       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2825       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98977       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1060E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   137668.9     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      291 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.172        4.6967        .12564E-03    .17083E-03
   2  alpha         1.5780        .36523        .43694E-01   -.48883E-04
   3  Normalizat    1.2825        .13473        .11399E-02    .12766E-04
   4  Prefactor     .98977        .12668E-01    .11788E-03    .43207E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1723
  alpha      = 1.57805
  Normalizat = 1.28253
  Prefactor  = 0.989772
 **********
 **   18 **HESSE 
 **********

 FCN=   137668.9     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.172        4.7838        .50258E-05   -1.5070    
   2  alpha         1.5780        .37247        .17477E-02   -.37770    
   3  Normalizat    1.2825        .13471        .45595E-04   -.84089    
   4  Prefactor     .98977        .12668E-01    .47151E-05   -.93071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64005e-11
Minuit parameter uncertainties:
  1  4.78399
  2  0.374084
  3  0.134745
  4  0.0126684
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260635': 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) = 137668.905858
delta logL = 0.476112822158

Extracting fit parameters...

4FGL J1844.4+1547
   Spectrum: LogParabola
384         norm:  1.017e+01  4.784e+00  1.000e-04  1.000e+04 ( 1.000e-13)
385        alpha:  1.578e+00  3.741e-01  0.000e+00  5.000e+00 ( 1.000e+00)
386         beta:  9.663e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
387           Eb:  2.293e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1035    Prefactor:  9.898e-01  1.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1036        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1037        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1031   Normalization:  1.283e+00  1.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.25
Ra Dec: 281.117 15.789
Photon Index (Free Index): 1.58 +/- 0.37
Photon Flux (Free Index): 1.65e-08 +/- 1.25e-08
Energy Flux (Free Index): 3.62e-05 +/- 2.11e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /scratch/kocevski/260635/cmap_HighResolution_673228801_673833601_4FGL_J1844.4+1547_weekly_bin718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.90e-08', energy_flux2='3.62e-05', photon_flux_error='1.23e-08', dlogl='4.76e-01', energy_flux='2.65e-05', photon_flux2='1.65e-08', job_status='DONE', time_completed='2022-05-10 03:31:16.599524', photon_index_error2='0.37', photon_index2='1.58', ts='19.30', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.11e-05', EG='1.28', time_epoch_completed='1652178676.6', return_code='0', job_id='260635', GAL2='0.99', EG2='1.28', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='1.25e-08', ts2='20.25', photon_index='1.94' WHERE bin_id='718' AND source_name='4FGL J1844.4+1547' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 10 03:31:16 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 260635: <4FGL_J1844.4+1547_weekly_bin718> in cluster <slac> Done

Job <4FGL_J1844.4+1547_weekly_bin718> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue May 10 00:07:09 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 10 00:52:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 10 00:52:59 2022
Terminated at Tue May 10 03:31:18 2022
Results reported at Tue May 10 03:31:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1844.4+1547_weekly_bin718 281.117 15.7888 673228801 673833601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1844.4+1547 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9406.00 sec.
    Max Memory :                                 1280 MB
    Average Memory :                             651.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9499 sec.
    Turnaround time :                            12249 sec.

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

