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


Performing analysis on: 4FGL_J1104.4+0730_daily_bin1600
RA = 166.117, Dec = 7.51
tmin = 654048001, tmax = 654307201
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='259175', job_status='RUN', time_executed='2021-09-26 00:24:42.410536', time_epoch_executed='1632641082.41' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='1600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259175

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259175/ft1_4FGL_J1104.4+0730_daily_bin1600.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259175/ft1_4FGL_J1104.4+0730_daily_bin1600.fits outfile=/scratch/kocevski/259175/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1600.fits ra=166.117 dec=7.51 rad=12.0 tmin=654048001.0 tmax=654307201.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.73
user 3.42
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.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/259175/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1600.fits evtable="EVENTS" outfile="/scratch/kocevski/259175/ft1_filtered_4FGL_J1104.4+0730_daily_bin1600.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.54
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259175/ft1_filtered_4FGL_J1104.4+0730_daily_bin1600.fits" evtable="EVENTS" scfile=/scratch/kocevski/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.fits sctable="SC_DATA" outfile=/scratch/kocevski/259175/ltcube_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.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/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.fits
.....................!
real 15.72
user 15.24
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259175/ft1_filtered_4FGL_J1104.4+0730_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.fits sctable="SC_DATA" expcube=/scratch/kocevski/259175/ltcube_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.fits outfile=/scratch/kocevski/259175/expmap_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.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/259175/ltcube_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.fits
.....................!
real 193.70
user 186.15
sys 5.14

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/259175/ft1_filtered_4FGL_J1104.4+0730_daily_bin1600.fits scfile=/scratch/kocevski/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.fits outfile=/scratch/kocevski/259175/cmap_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259175/ft1_filtered_4FGL_J1104.4+0730_daily_bin1600.fits scfile=/scratch/kocevski/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.fits outfile=/scratch/kocevski/259175/cmap_HighResolution_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.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.56
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259175/ft1_filtered_4FGL_J1104.4+0730_daily_bin1600.fits evtable="EVENTS" scfile=/scratch/kocevski/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259175/Model_4FGL_J1104.4+0730_daily_bin1600.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/259175/ft1_filtered_4FGL_J1104.4+0730_daily_bin1600.fits.....................!
real 59.54
user 58.16
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259175/ft1_filtered_4FGL_J1104.4+0730_daily_bin1600.fits', '/scratch/kocevski/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.fits', expMap='/scratch/kocevski/259175/expmap_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.fits', expCube='/scratch/kocevski/259175/ltcube_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259175/Model_4FGL_J1104.4+0730_daily_bin1600.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/259175/ft1_filtered_4FGL_J1104.4+0730_daily_bin1600.fits
Spacecraft file(s): /scratch/kocevski/259175/ft2_4FGL_J1104.4+0730_daily_bin1600.fits
Exposure map: /scratch/kocevski/259175/expmap_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.fits
Exposure cube: /scratch/kocevski/259175/ltcube_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259175/Model_4FGL_J1104.4+0730_daily_bin1600.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) = 5914.88041979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.271       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9622       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.0486       1.0000         .10000E-03   10000.    
     7 'norm      '    1.1672       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.6275       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.506       1.0000         .10000E-03   10000.    
    11 'norm      '    6.5313       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19363E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2651       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1483       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=   5914.880     FROM MIGRAD    STATUS=CONVERGED    287 CALLS     1300 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.255        84.814       -.20127E-04    .45469E-05
   2  Prefactor     .10000E-03    41.089        .62785E-06** at limit **
   3  Prefactor     .10000E-03    8.3308        .85965E-07** at limit **
   4  Prefactor     .10000E-03    .91120        .45029E-07** at limit **
   5  Prefactor     4.9631        6.9470        .12425E-05   -.21650E-03
   6  Prefactor     3.0476        7.9908       -.39654E-05   -.30097E-03
   7  norm          1.1670        .73087        .15063E-07   -.89190E-04
   8  Prefactor     .10000E-03    10.302        .14986E-06** at limit **
   9  norm          1.6273        1.2333       -.72634E-07   -.20955E-03
  10  Prefactor     14.507        13.986       -.33991E-07    .24398E-04
  11  norm          6.5258        10.521       -.17346E-05   -.75421E-04
  12  Prefactor     .10000E-03    113.65       -.63331E-06** at limit **
  13  Prefactor     .10000E-03    2.3284       -.49764E-07** at limit **
  14  Normalizat    1.2651        .21393        .22312E-05   -.46192E-04
  15  Prefactor     1.1482        .18065       -.21368E-06    .10529E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.2545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.96306
  Prefactor  = 3.04756
  norm       = 1.16701
  Prefactor  = 0.0001
  norm       = 1.62734
  Prefactor  = 14.5067
  norm       = 6.52576
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2651
  Prefactor  = 1.14816
 **********
 **   18 **HESSE 
 **********

 FCN=   5914.880     FROM HESSE     STATUS=OK           182 CALLS     1482 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.255        84.099        .54953E-04   -1.4247    
   2  Prefactor     .10000E-03    41.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.3369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .91401        .71690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.9631        6.9099        .18054E-03   -1.5262    
   6  Prefactor     3.0476        8.1933        .23237E-03   -1.5359    
   7  norm          1.1670        .71893        .48672E-04   -1.5492    
   8  Prefactor     .10000E-03    10.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6273        1.2229        .71522E-04   -1.5453    
  10  Prefactor     14.507        13.991        .10516E-03   -1.4946    
  11  norm          6.5258        10.556        .15703E-03   -1.5197    
  12  Prefactor     .10000E-03    115.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.4309        .22893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.2651        .25409        .27381E-03   -.84614    
  15  Prefactor     1.1482        .21509        .25119E-03   -.87942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6814e-10
Minuit parameter uncertainties:
  1  84.2875
  2  0.000247944
  3  4.31922e-05
  4  4.77086e-06
  5  6.91096
  6  8.19632
  7  0.718935
  8  2.64816e-05
  9  1.22292
  10  13.9939
  11  10.5589
  12  0.000144712
  13  1.23416e-05
  14  0.254336
  15  0.215256
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.451e+01  1.399e+01  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.148e+00  2.153e-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:  1.265e+00  2.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.43
Ra Dec: 166.117 7.510
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 2.69e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 9.56e-06 +/- 9.22e-06

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) = 5911.784768
delta logL = 3.09487287077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5911.33095298
delta logL = 3.54868789424

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1223       1.0000         .10000E-03   10000.    
     2 'Index     '    .52940       1.0000          .0000       10.000    
     3 'Normalizat'    1.2802       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1467       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.

 FCN=   5911.331     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      225 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1225        2.5049        .70771E-02   -.17064E-02
   2  Index         .52837        .37750        .23037        .24651E-04
   3  Normalizat    1.2803        .20363        .61574E-01    .80606E-04
   4  Prefactor     1.1467        .17990        .56827E-01    .96678E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.12246
  Index      = 0.528366
  Normalizat = 1.28026
  Prefactor  = 1.1467
 **********
 **   18 **HESSE 
 **********

 FCN=   5911.331     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1225        4.8740        .10856E-03   -1.5417    
   2  Index         .52837        .68472        .10705E-01   -1.1069    
   3  Normalizat    1.2803        .24162        .27234E-03   -.84158    
   4  Prefactor     1.1467        .21351        .25129E-03   -.87988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19379e-09
Minuit parameter uncertainties:
  1  4.87487
  2  0.69589
  3  0.241828
  4  0.213666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259175': 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) = 5911.33094679
delta logL = 3.54869408201

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.122e+00  4.875e+00  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  5.284e-01  6.959e-01  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.147e+00  2.137e-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:  1.280e+00  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.52
Ra Dec: 166.117 7.510
Photon Index (Free Index): 0.53 +/- 0.70
Photon Flux (Free Index): 3.91e-09 +/- 3.97e-09
Energy Flux (Free Index): 1.30e-04 +/- 1.54e-04

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/259175/cmap_HighResolution_654048001_654307201_4FGL_J1104.4+0730_daily_bin1600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.69e-08', energy_flux2='1.30e-04', photon_flux_error='2.59e-08', dlogl='3.55e+00', energy_flux='9.56e-06', photon_flux2='3.91e-09', job_status='DONE', time_completed='2021-09-26 00:32:58.242134', photon_index_error2='0.70', photon_index2='0.53', ts='6.43', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.54e-04', EG='1.27', time_epoch_completed='1632641578.24', return_code='0', job_id='259175', GAL2='1.15', EG2='1.28', return_code2='0', energy_flux_error='9.22e-06', photon_flux_error2='3.97e-09', ts2='13.52', photon_index='2.34' WHERE bin_id='1600' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 00:32:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 259175: <4FGL_J1104.4+0730_daily_bin1600> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin1600> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 00:20:20 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 00:21:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 00:21:00 2021
Terminated at Sun Sep 26 00:32:59 2021
Results reported at Sun Sep 26 00:32:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin1600 166.117 7.51 654048001 654307201 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 :                                   496.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            759 sec.

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

