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


Performing analysis on: 4FGL_J1104.4+3812_daily_bin1712
RA = 166.119, Dec = 38.207
tmin = 683078401, tmax = 683337601
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='100339', job_status='RUN', time_executed='2022-09-16 15:48:17.692243', time_epoch_executed='1663368497.69' WHERE source_name='4FGL J1104.4+3812' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/100339

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/100339/ft1_4FGL_J1104.4+3812_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.fits


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

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

Done.
real 4.78
user 4.48
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.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/100339/ft1_filteredMKT_4FGL_J1104.4+3812_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/100339/ft1_filtered_4FGL_J1104.4+3812_daily_bin1712.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.53
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 543

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/100339/ft1_filtered_4FGL_J1104.4+3812_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/100339/ltcube_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.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/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.fits
.....................!
real 14.74
user 14.32
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/100339/ft1_filtered_4FGL_J1104.4+3812_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/100339/ltcube_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.fits outfile=/scratch/kocevski/100339/expmap_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.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/100339/ltcube_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.fits
.....................!
real 192.17
user 186.54
sys 5.26

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/100339/ft1_filtered_4FGL_J1104.4+3812_daily_bin1712.fits scfile=/scratch/kocevski/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.fits outfile=/scratch/kocevski/100339/cmap_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/100339/ft1_filtered_4FGL_J1104.4+3812_daily_bin1712.fits scfile=/scratch/kocevski/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.fits outfile=/scratch/kocevski/100339/cmap_HighResolution_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/100339/ft1_filtered_4FGL_J1104.4+3812_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/100339/Model_4FGL_J1104.4+3812_daily_bin1712.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/100339/ft1_filtered_4FGL_J1104.4+3812_daily_bin1712.fits.....................!
real 54.36
user 53.04
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/100339/ft1_filtered_4FGL_J1104.4+3812_daily_bin1712.fits', '/scratch/kocevski/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.fits', expMap='/scratch/kocevski/100339/expmap_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.fits', expCube='/scratch/kocevski/100339/ltcube_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/100339/Model_4FGL_J1104.4+3812_daily_bin1712.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/100339/ft1_filtered_4FGL_J1104.4+3812_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/100339/ft2_4FGL_J1104.4+3812_daily_bin1712.fits
Exposure map: /scratch/kocevski/100339/expmap_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.fits
Exposure cube: /scratch/kocevski/100339/ltcube_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/100339/Model_4FGL_J1104.4+3812_daily_bin1712.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) = 5994.15809921

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19102E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.7935       1.0000          .0000       .10000E+07
     3 'norm      '    4.8526       1.0000          .0000       .10000E+07
     4 'Prefactor '    132.64       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10715E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    13.189       1.0000          .0000       .10000E+07
     7 'Prefactor '    .33518E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .27672E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    22.900       1.0000          .0000       .10000E+07
    10 'norm      '    1.8797       1.0000          .0000       .10000E+07
    11 'Prefactor '    .33307E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    18.561       1.0000          .0000       .10000E+07
    13 'Prefactor '    .93374E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.5823       1.0000          .0000       .10000E+07
    15 'norm      '    .16201E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .61606E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .18512E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    87.042       1.0000          .0000       .10000E+07
    19 'Prefactor '    .11323E-03   1.0000          .0000       .10000E+07
    20 'norm      '    2.0836       1.0000          .0000       .10000E+07
    21 'Prefactor '    .17963E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .36115E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .51339E-02   1.0000          .0000       .10000E+07
    24 'norm      '    1.4745       1.0000          .0000       .10000E+07
    25 'norm      '    .18230E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    9.0513       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.4302       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .63652       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=   5994.144     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     2590 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54483E-04    30.778        .60754E-06** at limit **
   2  Prefactor     5.7820        5.4256        .65958E-07   -.44187E-02
   3  norm          4.8634        11.135       -.31678E-07   -.11676E-02
   4  Prefactor     133.81        86.316       -.18389E-06   -.10533    
   5  Prefactor     .57132E-06    32.507        .76658E-06** at limit **
   6  Prefactor     13.174        6.4057        .43381E-07    .17129E-02
   7  Prefactor     .60768E-06    17.091        .40346E-06** at limit **
   8  Prefactor     .12733E-05    20.018        .54337E-07** at limit **
   9  Prefactor     22.902        15.615       -.36179E-07   -.19830E-02
  10  norm          1.8800        .42412       -.11420E-07   -.93940E-02
  11  Prefactor      .0000        1.7645       -.30504E-07** at limit **
  12  Prefactor     18.587        12.120       -.28921E-07   -.15569    
  13  Prefactor     .80763E-05    62.168        .95371E-06** at limit **
  14  Prefactor     2.1916        96.821       -.36908E-06   -.58680E-02
  15  norm          .16653E-09    5.8062       -.15210E-06** at limit **
  16  norm          .48889E-05    15.720        .23014E-06** at limit **
  17  Prefactor     .88096E-07    8.3567        .19135E-06** at limit **
  18  Prefactor     87.153        23.706       -.46505E-07   -.35157E-01
  19  Prefactor      .0000        5.9651        .86575E-07** at limit **
  20  norm          2.0836        2.2089        .75896E-07    .28426E-02
  21  Prefactor      .0000        3.9949        .44709E-07** at limit **
  22  Prefactor     .16653E-09    2.6767        .20340E-06** at limit **
  23  Prefactor     .15543E-08    11.948        .10479E-06** at limit **
  24  norm          1.4646        1.1710       -.52776E-07   -.61015E-02
  25  norm          .55511E-10    4.4791       -.38147E-07** at limit **
  26  Prefactor     10.295        64.825       -.52070E-06    .47555E-01
  27  Normalizat    1.4300        .22522       -.33813E-05    .38199E-04
  28  Prefactor     .63582        .25465        .75923E-05    .74842E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44828e-05
  Prefactor  = 5.78201
  norm       = 4.86342
  Prefactor  = 133.813
  Prefactor  = 5.71321e-07
  Prefactor  = 13.1741
  Prefactor  = 6.07681e-07
  Prefactor  = 1.27331e-06
  Prefactor  = 22.902
  norm       = 1.87997
  Prefactor  = 0
  Prefactor  = 18.5867
  Prefactor  = 8.07632e-06
  Prefactor  = 2.1916
  norm       = 1.66533e-10
  norm       = 4.88887e-06
  Prefactor  = 8.80962e-08
  Prefactor  = 87.153
  Prefactor  = 0
  norm       = 2.08365
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 1.55431e-09
  norm       = 1.46456
  norm       = 5.55112e-11
  Prefactor  = 10.2955
  Normalizat = 1.43
  Prefactor  = 0.635818
 **********
 **   18 **HESSE 
 **********

 FCN=   5994.144     FROM HESSE     STATUS=OK           581 CALLS     3171 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54483E-04    8.3225        .52397E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.7820        6.4730        .41703E-03   -1.5660    
   3  norm          4.8634        11.166        .45641E-03   -1.5664    
   4  Prefactor     133.81        99.655        .86835E-04   -1.5477    
   5  Prefactor     .57132E-06    32.993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.174        6.3996        .27556E-03   -1.5635    
   7  Prefactor     .60768E-06    19.307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12733E-05    25.064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.902        15.618        .20902E-03   -1.5612    
  10  norm          1.8800        .43374        .51228E-03   -1.5681    
  11  Prefactor      .0000        1.7619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.587        20.221        .23220E-03   -1.5622    
  13  Prefactor     .80763E-05    70.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1916        474.17        .84388E-03   -1.5678    
  15  norm          .16653E-09    5.8164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .48889E-05    22.680        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .88096E-07    3.3816        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     87.153        60.399        .10719E-03   -1.5521    
  19  Prefactor      .0000        5.9750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.0836        2.3131        .71505E-03   -1.5679    
  21  Prefactor      .0000        3.9920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .16653E-09    2.6811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .15543E-08    11.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.4646        1.2455        .88422E-04   -1.5684    
  25  norm          .55511E-10    4.4672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     10.295        110.77        .33290E-03   -1.5644    
  27  Normalizat    1.4300        .19491        .51532E-01   -.79765    
  28  Prefactor     .63582        .22526        .85179E-01   -1.0610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92698e-06
Minuit parameter uncertainties:
  1  0.0425879
  2  6.47297
  3  11.1663
  4  99.6559
  5  0.00868318
  6  6.39963
  7  0.00685056
  8  0.0112984
  9  15.6181
  10  0.433742
  11  1.33669e-05
  12  20.2214
  13  0.0477165
  14  64.4784
  15  5.91499e-05
  16  0.0210599
  17  0.00109161
  18  60.3997
  19  1.22882e-05
  20  2.31306
  21  4.79815e-06
  22  4.12213e-05
  23  0.000272904
  24  1.24553
  25  2.53119e-05
  26  67.5426
  27  0.195015
  28  0.22558
Done.

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

Extracting fit parameters...

4FGL J1104.4+3812
   Spectrum: LogParabola
334         norm:  1.880e+00  4.337e-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:  6.358e-01  2.256e-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.430e+00  1.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 93.68
Ra Dec: 166.119 38.207
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 1.95e-07 +/- 4.50e-08
Energy Flux (Fixed Index): 2.64e-04 +/- 6.09e-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) = 5993.34981794
delta logL = 0.79410464856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5993.34121529
delta logL = 0.802707298892

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7462       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9415       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3971       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65215       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=   5993.341     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7461        .96627        .47051E-03    .17064E-03
   2  alpha         1.9417        .38290        .10239        .49431E-04
   3  Normalizat    1.3969        .19283        .51911E-01    .34814E-05
   4  Prefactor     .65238        .22039        .84024E-01    .27269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74608
  alpha      = 1.94168
  Normalizat = 1.39694
  Prefactor  = 0.652375
 **********
 **   18 **HESSE 
 **********

 FCN=   5993.341     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .11E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7461        .40745        .20787E-05   -1.5682    
   2  alpha         1.9417        .16507        .44435E-03   -.22523    
   3  Normalizat    1.3969        .22028        .22951E-03   -.80717    
   4  Prefactor     .65238        .25251        .37216E-03   -1.0542    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05166e-13
Minuit parameter uncertainties:
  1  0.40745
  2  0.165192
  3  0.220428
  4  0.25295
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/100339': 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) = 5993.34121439
delta logL = 0.802708202188

Extracting fit parameters...

4FGL J1104.4+3812
   Spectrum: LogParabola
334         norm:  1.746e+00  4.074e-01  0.000e+00  1.000e+06 ( 1.000e-11)
335        alpha:  1.942e+00  1.652e-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:  6.524e-01  2.529e-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.397e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 95.18
Ra Dec: 166.119 38.207
Photon Index (Free Index): 1.94 +/- 0.17
Photon Flux (Free Index): 2.39e-07 +/- 6.08e-08
Energy Flux (Free Index): 1.85e-04 +/- 6.25e-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/100339/cmap_HighResolution_683078401_683337601_4FGL_J1104.4+3812_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.95e-07', energy_flux2='1.85e-04', photon_flux_error='4.50e-08', dlogl='8.03e-01', energy_flux='2.64e-04', photon_flux2='2.39e-07', job_status='DONE', time_completed='2022-09-16 15:59:48.023045', photon_index_error2='0.17', photon_index2='1.94', ts='93.68', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='6.25e-05', EG='1.43', time_epoch_completed='1663369188.02', return_code='0', job_id='100339', GAL2='0.65', EG2='1.40', return_code2='0', energy_flux_error='6.09e-05', photon_flux_error2='6.08e-08', ts2='95.18', photon_index='1.74' WHERE bin_id='1712' AND source_name='4FGL J1104.4+3812' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:59:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 100339: <4FGL_J1104.4+3812_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1104.4+3812_daily_bin1712> 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) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:46:18 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:18 2022
Terminated at Fri Sep 16 15:59:48 2022
Results reported at Fri Sep 16 15:59:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+3812_daily_bin1712 166.119 38.207 683078401 683337601 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 :                                   692.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            864 sec.

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

