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 106 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7600
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1104.4+3812_daily_bin1709
RA = 166.119, Dec = 38.207
tmin = 682300801, tmax = 682560001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='100334', job_status='RUN', time_executed='2022-09-16 15:48:08.938837', time_epoch_executed='1663368488.94' WHERE source_name='4FGL J1104.4+3812' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/100334

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/100334/ft1_4FGL_J1104.4+3812_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/100334/ft1_4FGL_J1104.4+3812_daily_bin1709.fits outfile=/scratch/kocevski/100334/ft1_filteredMKT_4FGL_J1104.4+3812_daily_bin1709.fits ra=166.119 dec=38.207 rad=12.0 tmin=682300801.0 tmax=682560001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.76
user 3.52
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/100334/ft1_filteredMKT_4FGL_J1104.4+3812_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/100334/ft1_filtered_4FGL_J1104.4+3812_daily_bin1709.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 532

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/100334/ft1_filtered_4FGL_J1104.4+3812_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/100334/ltcube_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits
.....................!
real 14.32
user 13.91
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/100334/ft1_filtered_4FGL_J1104.4+3812_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/100334/ltcube_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits outfile=/scratch/kocevski/100334/expmap_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/100334/ltcube_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits
.....................!
real 194.08
user 187.99
sys 4.89

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

Setting source of interest to:
4FGL J1104.4+3812 @ 166.119 38.207

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/100334/ft1_filtered_4FGL_J1104.4+3812_daily_bin1709.fits scfile=/scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits outfile=/scratch/kocevski/100334/cmap_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=166.119 yref=38.207 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/100334/ft1_filtered_4FGL_J1104.4+3812_daily_bin1709.fits scfile=/scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits outfile=/scratch/kocevski/100334/cmap_HighResolution_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=166.119 yref=38.207 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/100334/ft1_filtered_4FGL_J1104.4+3812_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/100334/Model_4FGL_J1104.4+3812_daily_bin1709.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/100334/ft1_filtered_4FGL_J1104.4+3812_daily_bin1709.fits.....................!
real 54.86
user 53.39
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/100334/ft1_filtered_4FGL_J1104.4+3812_daily_bin1709.fits', '/scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits', expMap='/scratch/kocevski/100334/expmap_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits', expCube='/scratch/kocevski/100334/ltcube_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/100334/Model_4FGL_J1104.4+3812_daily_bin1709.xml', optimizer='MINUIT')

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

4FGL J1104.4+3812
   Spectrum: LogParabola
334         norm:  1.879e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
335        alpha:  1.736e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
336         beta:  2.035e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
337           Eb:  1.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/100334/ft1_filtered_4FGL_J1104.4+3812_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/100334/ft2_4FGL_J1104.4+3812_daily_bin1709.fits
Exposure map: /scratch/kocevski/100334/expmap_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits
Exposure cube: /scratch/kocevski/100334/ltcube_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/100334/Model_4FGL_J1104.4+3812_daily_bin1709.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3140       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.3758       1.0000          .0000       .10000E+07
     3 'norm      '    1.8521       1.0000          .0000       .10000E+07
     4 'Prefactor '    51.166       1.0000          .0000       .10000E+07
     5 'Prefactor '    .39724E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .47309       1.0000          .0000       .10000E+07
     7 'Prefactor '    .39329       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82452       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.696       1.0000          .0000       .10000E+07
    10 'norm      '    1.5566       1.0000          .0000       .10000E+07
    11 'Prefactor '    .79770E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32156E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    38.292       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.0032       1.0000          .0000       .10000E+07
    15 'norm      '    5.3083       1.0000          .0000       .10000E+07
    16 'norm      '    .11063E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .23315E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    .18619E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    16.964       1.0000          .0000       .10000E+07
    20 'norm      '    .13539E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .35904       1.0000          .0000       .10000E+07
    22 'Prefactor '    .11140       1.0000          .0000       .10000E+07
    23 'Prefactor '    .52807E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .17342E-06   1.0000          .0000       .10000E+07
    25 'norm      '    .52633E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    .69525E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1169       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .97260       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5988.403     FROM MIGRAD    STATUS=CONVERGED    241 CALLS     2721 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3115        3.3277        .24488E-07   -.78110E-03
   2  Prefactor     1.3784        2.6287       -.64510E-07   -.14212E-03
   3  norm          1.7920        10.375       -.63898E-06   -.39641E-03
   4  Prefactor     51.940        64.091        .31085E-06   -.68717E-01
   5  Prefactor     .55511E-10    11.277        .51701E-06** at limit **
   6  Prefactor     .47298        9.8751        .86848E-06   -.65499E-04
   7  Prefactor     .44779E-05    128.95        .12737E-04** at limit **
   8  Prefactor     .15088E-03    685.80       -.25783E-04** at limit **
   9  Prefactor     16.647        12.999        .39394E-06   -.28116E-02
  10  norm          1.5564        .39445       -.17113E-07   -.94698E-02
  11  Prefactor      .0000        .97866        .94101E-07** at limit **
  12  Prefactor     .11657E-08    42.650       -.44620E-06** at limit **
  13  Prefactor     38.381        6.4336        .44470E-06    .20516E-01
  14  Prefactor     4.9894        7.8186       -.66572E-06    .12428E-01
  15  norm          5.2539        14.814       -.37070E-05   -.91536E-02
  16  norm          .43743E-07    26.742       -.16124E-05** at limit **
  17  Prefactor      .0000        .83577       -.41027E-07** at limit **
  18  Prefactor      .0000        10.762        .26360E-06** at limit **
  19  Prefactor     17.439        24.491        .18487E-05    .19958E-02
  20  norm           .0000        .66402       -.41552E-07** at limit **
  21  Prefactor     .69379E-02    494.30       -.53588E-05** at limit **
  22  Prefactor     .11788        51.737        .76655E-06** at limit **
  23  Prefactor     .33862E-08    15.108       -.11650E-05** at limit **
  24  norm           .0000        .44116       -.56209E-07** at limit **
  25  norm          .55511E-10    4.0045        .26004E-07** at limit **
  26  Prefactor     .79381E-08    16.436        .11201E-05** at limit **
  27  Normalizat    1.1176        .20565        .33881E-05   -.74178E-04
  28  Prefactor     .97230        .23478       -.48756E-05   -.99680E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.31153
  Prefactor  = 1.3784
  norm       = 1.79199
  Prefactor  = 51.9403
  Prefactor  = 5.55112e-11
  Prefactor  = 0.472983
  Prefactor  = 4.47792e-06
  Prefactor  = 0.000150879
  Prefactor  = 16.6467
  norm       = 1.55637
  Prefactor  = 0
  Prefactor  = 1.16573e-09
  Prefactor  = 38.3812
  Prefactor  = 4.98939
  norm       = 5.2539
  norm       = 4.37428e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 17.4394
  norm       = 0
  Prefactor  = 0.00693792
  Prefactor  = 0.117882
  Prefactor  = 3.38618e-09
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 7.93809e-09
  Normalizat = 1.11765
  Prefactor  = 0.972296
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.403     FROM HESSE     STATUS=OK           593 CALLS     3314 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3115        3.3423        .43575E-03   -1.5662    
   2  Prefactor     1.3784        2.6752        .92833E-03   -1.5684    
   3  norm          1.7920        10.919        .76572E-03   -1.5681    
   4  Prefactor     51.940        69.667        .13981E-03   -1.5564    
   5  Prefactor     .55511E-10    11.311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .47298        4.1180        .46320E-02   -1.5694    
   7  Prefactor     .44779E-05    134.57        .90268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .15088E-03    726.37        .51125E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.647        13.019        .24485E-03   -1.5626    
  10  norm          1.5564        .41850        .52768E-03   -1.5683    
  11  Prefactor      .0000        .98019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11657E-08    20.652        .97463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     38.381        24.723        .16162E-03   -1.5584    
  14  Prefactor     4.9894        194.43        .44935E-03   -1.5663    
  15  norm          5.2539        15.833        .43599E-03   -1.5662    
  16  norm          .43743E-07    26.950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .83534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        10.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.439        31.120        .24290E-03   -1.5624    
  20  norm           .0000        .66490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .69379E-02    25.854        .94394E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .11788        2.7850        .84970E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .33862E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        .43716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .55511E-10    4.0048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .79381E-08    16.489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1176        .18010        .37351E-01   -.89187    
  28  Prefactor     .97230        .20284        .66110E-01   -.93659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21068e-06
Minuit parameter uncertainties:
  1  3.34226
  2  2.67523
  3  8.84707
  4  69.6682
  5  5.66858e-05
  6  2.79123
  7  0.0490968
  8  0.662177
  9  13.019
  10  0.418499
  11  7.229e-07
  12  0.000312994
  13  24.7233
  14  62.2953
  15  15.8328
  16  0.00217172
  17  4.14067e-08
  18  9.06393e-06
  19  31.1203
  20  3.49647e-06
  21  0.847049
  22  1.14595
  23  0.000453042
  24  1.41059e-06
  25  3.40038e-05
  26  0.000723301
  27  0.180196
  28  0.203002
Done.

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

Extracting fit parameters...

4FGL J1104.4+3812
   Spectrum: LogParabola
334         norm:  1.556e+00  4.185e-01  0.000e+00  1.000e+06 ( 1.000e-11)
335        alpha:  1.736e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
336         beta:  2.035e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
337           Eb:  1.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
655    Prefactor:  9.723e-01  2.030e-01  0.000e+00  1.000e+01 ( 1.000e+00)
656        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
657        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
654   Normalization:  1.118e+00  1.802e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 58.09
Ra Dec: 166.119 38.207
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 1.62e-07 +/- 4.34e-08
Energy Flux (Fixed Index): 2.19e-04 +/- 5.88e-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) = 5987.70259776
delta logL = 0.700306242787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5987.70210104
delta logL = 0.700802960749

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5987.702     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      235 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5022        4.7749        .47894E-03   -.11202E-01
   2  alpha         1.9773        3.4123        .12570       -.41412E-04
   3  Normalizat    1.0657        .26708        .39607E-01   -.59651E-04
   4  Prefactor     1.0014        .18810        .65128E-01   -.81935E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.50221
  alpha      = 1.97733
  Normalizat = 1.06574
  Prefactor  = 1.00135
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.702     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5022        .37885        .21176E-05   -1.5683    
   2  alpha         1.9773        .20585        .53226E-02   -.21062    
   3  Normalizat    1.0657        .20310        .23685E-03   -.90859    
   4  Prefactor     1.0014        .23487        .28805E-03   -.92684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.03453e-11
Minuit parameter uncertainties:
  1  0.37885
  2  0.206093
  3  0.203249
  4  0.235111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/100334': 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) = 5987.70210104
delta logL = 0.700802960962

Extracting fit parameters...

4FGL J1104.4+3812
   Spectrum: LogParabola
334         norm:  1.502e+00  3.788e-01  0.000e+00  1.000e+06 ( 1.000e-11)
335        alpha:  1.977e+00  2.061e-01  0.000e+00  5.000e+00 ( 1.000e+00)
336         beta:  2.035e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
337           Eb:  1.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
655    Prefactor:  1.001e+00  2.351e-01  0.000e+00  1.000e+01 ( 1.000e+00)
656        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
657        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
654   Normalization:  1.066e+00  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 60.20
Ra Dec: 166.119 38.207
Photon Index (Free Index): 1.98 +/- 0.21
Photon Flux (Free Index): 2.17e-07 +/- 6.86e-08
Energy Flux (Free Index): 1.54e-04 +/- 5.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/100334/cmap_HighResolution_682300801_682560001_4FGL_J1104.4+3812_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.62e-07', energy_flux2='1.54e-04', photon_flux_error='4.34e-08', dlogl='7.01e-01', energy_flux='2.19e-04', photon_flux2='2.17e-07', job_status='DONE', time_completed='2022-09-16 15:59:51.260394', photon_index_error2='0.21', photon_index2='1.98', ts='58.09', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='5.52e-05', EG='1.12', time_epoch_completed='1663369191.26', return_code='0', job_id='100334', GAL2='1.00', EG2='1.07', return_code2='0', energy_flux_error='5.88e-05', photon_flux_error2='6.86e-08', ts2='60.20', photon_index='1.74' WHERE bin_id='1709' AND source_name='4FGL J1104.4+3812' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:59:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 100334: <4FGL_J1104.4+3812_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1104.4+3812_daily_bin1709> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 15:45:24 2022
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:46:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:46:14 2022
Terminated at Fri Sep 16 15:59:52 2022
Results reported at Fri Sep 16 15:59:52 2022

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   703.12 sec.
    Max Memory :                                 1106 MB
    Average Memory :                             309.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            868 sec.

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

