aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 87 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 = 17329
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1104.4+0730_weekly_bin362
RA = 166.117, Dec = 7.51
tmin = 457920001, tmax = 458524801
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='686041', job_status='RUN', time_executed='2021-07-17 16:49:14.350391', time_epoch_executed='1626565754.35' WHERE source_name='4FGL J1104.4+0730' and cadence='weekly' and bin_id='362'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/686041

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/686041/ft1_4FGL_J1104.4+0730_weekly_bin362.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/686041/ft1_4FGL_J1104.4+0730_weekly_bin362.fits outfile=/scratch/kocevski/686041/ft1_filteredMKT_4FGL_J1104.4+0730_weekly_bin362.fits ra=166.117 dec=7.51 rad=12.0 tmin=457920001.0 tmax=458524801.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 8.56
user 8.22
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.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/686041/ft1_filteredMKT_4FGL_J1104.4+0730_weekly_bin362.fits evtable="EVENTS" outfile="/scratch/kocevski/686041/ft1_filtered_4FGL_J1104.4+0730_weekly_bin362.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.55
user 0.39
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/686041/ft1_filtered_4FGL_J1104.4+0730_weekly_bin362.fits" evtable="EVENTS" scfile=/scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits sctable="SC_DATA" outfile=/scratch/kocevski/686041/ltcube_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.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/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits
.....................!
real 29.64
user 28.91
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/686041/ft1_filtered_4FGL_J1104.4+0730_weekly_bin362.fits evtable="EVENTS" scfile=/scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits sctable="SC_DATA" expcube=/scratch/kocevski/686041/ltcube_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.fits outfile=/scratch/kocevski/686041/expmap_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.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/686041/ltcube_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.fits
.....................!
real 190.36
user 185.68
sys 4.34

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
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1104.4+0730 @ 166.117 7.51

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/686041/ft1_filtered_4FGL_J1104.4+0730_weekly_bin362.fits scfile=/scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits outfile=/scratch/kocevski/686041/cmap_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.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=166.117 yref=7.51 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/686041/ft1_filtered_4FGL_J1104.4+0730_weekly_bin362.fits scfile=/scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits outfile=/scratch/kocevski/686041/cmap_HighResolution_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.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=166.117 yref=7.51 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.43
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/686041/ft1_filtered_4FGL_J1104.4+0730_weekly_bin362.fits evtable="EVENTS" scfile=/scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/686041/Model_4FGL_J1104.4+0730_weekly_bin362.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 GAL_V02
Working on...
/scratch/kocevski/686041/ft1_filtered_4FGL_J1104.4+0730_weekly_bin362.fits.....................!
real 120.55
user 119.02
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/686041/ft1_filtered_4FGL_J1104.4+0730_weekly_bin362.fits', '/scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits', expMap='/scratch/kocevski/686041/expmap_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.fits', expCube='/scratch/kocevski/686041/ltcube_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/686041/Model_4FGL_J1104.4+0730_weekly_bin362.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1104.4+0730'

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  5.865e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/686041/ft1_filtered_4FGL_J1104.4+0730_weekly_bin362.fits
Spacecraft file(s): /scratch/kocevski/686041/ft2_4FGL_J1104.4+0730_weekly_bin362.fits
Exposure map: /scratch/kocevski/686041/expmap_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.fits
Exposure cube: /scratch/kocevski/686041/ltcube_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/686041/Model_4FGL_J1104.4+0730_weekly_bin362.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) = 14269.8256507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7919       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .86243       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4546       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7325       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .39047       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .91342       1.0000         .10000E-03   10000.    
    11 'norm      '    19.640       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.300       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9095       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .96110       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1351       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14269.16     FROM MIGRAD    STATUS=CONVERGED    285 CALLS     1192 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.950        .72707E-06** at limit **
   2  Prefactor     .10000E-03    16.174       -.40526E-06** at limit **
   3  Prefactor     .10000E-03    8.7594       -.33988E-07** at limit **
   4  Prefactor     5.7908        2.6059       -.32121E-06   -.24325E-03
   5  Prefactor     .85443        2.4837       -.85355E-06   -.14305E-03
   6  Prefactor     6.4533        5.6915        .75657E-06   -.94095E-04
   7  norm          1.7323        .42433       -.60798E-07    .29760E-03
   8  Prefactor     .10000E-03    3.2850       -.56478E-07** at limit **
   9  norm          .39005        .74617       -.62201E-06   -.36335E-02
  10  Prefactor     .90556        4.2263       -.18064E-05    .78841E-04
  11  norm          19.639        8.3623        .86358E-06    .25458E-03
  12  Prefactor     11.288        24.542       -.22674E-04    .87064E-05
  13  Prefactor     1.9092        1.2366       -.15774E-06   -.58015E-03
  14  Normalizat    .96138        .13285        .22248E-05    .53614E-03
  15  Prefactor     1.1349        .11031        .10024E-06    .69931E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.79083
  Prefactor  = 0.85443
  Prefactor  = 6.4533
  norm       = 1.73227
  Prefactor  = 0.0001
  norm       = 0.390047
  Prefactor  = 0.905559
  norm       = 19.6386
  Prefactor  = 11.2878
  Prefactor  = 1.90925
  Normalizat = 0.961378
  Prefactor  = 1.13489
 **********
 **   18 **HESSE 
 **********

 FCN=   14269.16     FROM HESSE     STATUS=OK           190 CALLS     1382 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.0288        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7908        2.6063        .12070E-03   -1.5227    
   5  Prefactor     .85443        6.0654        .29664E-02   -1.5523    
   6  Prefactor     6.4533        5.6573        .15797E-03   -1.5200    
   7  norm          1.7323        .42244        .36491E-04   -1.5445    
   8  Prefactor     .10000E-03    3.3208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .39005        .74516        .13745E-03   -1.5583    
  10  Prefactor     .90556        19.543        .46646E-02   -1.5518    
  11  norm          19.639        8.3717        .90377E-04   -1.4821    
  12  Prefactor     11.288        24.261        .11918E-03   -1.5036    
  13  Prefactor     1.9092        1.2348        .10311E-03   -1.5432    
  14  Normalizat    .96138        .15421        .28346E-03   -.94336    
  15  Prefactor     1.1349        .12893        .23240E-03   -.88359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78584e-08
Minuit parameter uncertainties:
  1  2.7221e-05
  2  1.43752e-05
  3  1.78959e-05
  4  2.6064
  5  4.55341
  6  5.6578
  7  0.422439
  8  9.43778e-06
  9  0.745174
  10  8.41625
  11  8.3722
  12  24.2824
  13  1.23484
  14  0.154282
  15  0.128962
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  9.056e-01  8.416e+00  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.342e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.135e+00  1.290e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  9.614e-01  1.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 4.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/686041/likelihoodResults_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.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) = 14269.1296587
delta logL = 0.0308870687441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14269.1251739
delta logL = 0.0353718199749

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3848       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9447       1.0000          .0000       10.000    
     3 'Normalizat'    .95617       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .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=   14269.13     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      288 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3787        9.9025        .18481E-02   -.22242E-03
   2  Index         2.9481        2.4200        .61090E-02   -.61293E-04
   3  Normalizat    .95618        .14698        .28415E-03   -.20861E-03
   4  Prefactor     1.1366        .12886        .23225E-03   -.44768E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37873
  Index      = 2.94811
  Normalizat = 0.956177
  Prefactor  = 1.13655
 **********
 **   18 **HESSE 
 **********

 FCN=   14269.13     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3787        6.6197        .73925E-04   -1.5473    
   2  Index         2.9481        2.0156        .24436E-03   -.42287    
   3  Normalizat    .95618        .14719        .11366E-04   -.94513    
   4  Prefactor     1.1366        .12893        .46450E-04   -.88307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59064e-10
Minuit parameter uncertainties:
  1  6.04296
  2  2.08777
  3  0.147253
  4  0.128963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/686041': 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) = 14269.1251723
delta logL = 0.0353734948003

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.379e+00  6.043e+00  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.948e+00  2.088e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  1.054e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  1.137e+00  1.290e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  9.562e-01  1.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 166.117 7.510

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/686041/cmap_HighResolution_457920001_458524801_4FGL_J1104.4+0730_weekly_bin362.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.57e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2021-07-17 17:03:33.525690', job_id='686041', GAL2='1.14', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1626566613.53', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='3.54e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='362' AND source_name='4FGL J1104.4+0730' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul 17 17:03:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 686041: <4FGL_J1104.4+0730_weekly_bin362> in cluster <slac> Done

Job <4FGL_J1104.4+0730_weekly_bin362> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Jul 17 16:47:03 2021
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 17 16:47:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 17 16:47:38 2021
Terminated at Sat Jul 17 17:03:34 2021
Results reported at Sat Jul 17 17:03:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_weekly_bin362 166.117 7.51 457920001 458524801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1104.4+0730 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   848.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            991 sec.

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

