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


Performing analysis on: 4FGL_J1104.4+0730_daily_bin1218
RA = 166.117, Dec = 7.51
tmin = 555033601, tmax = 555292801
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='484322', job_status='RUN', time_executed='2021-09-03 06:25:52.157534', time_epoch_executed='1630675552.16' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='1218'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/484322

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/484322/ft1_4FGL_J1104.4+0730_daily_bin1218.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/484322/ft2_4FGL_J1104.4+0730_daily_bin1218.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/484322/ft1_4FGL_J1104.4+0730_daily_bin1218.fits outfile=/scratch/kocevski/484322/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1218.fits ra=166.117 dec=7.51 rad=12.0 tmin=555033601.0 tmax=555292801.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.35
user 3.34
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/484322/ft1_filtered_4FGL_J1104.4+0730_daily_bin1218.fits" evtable="EVENTS" scfile=/scratch/kocevski/484322/ft2_4FGL_J1104.4+0730_daily_bin1218.fits sctable="SC_DATA" outfile=/scratch/kocevski/484322/ltcube_555033601_555292801_4FGL_J1104.4+0730_daily_bin1218.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/484322/ft2_4FGL_J1104.4+0730_daily_bin1218.fits
.....................!
real 12.85
user 11.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/484322/ft1_filtered_4FGL_J1104.4+0730_daily_bin1218.fits evtable="EVENTS" scfile=/scratch/kocevski/484322/ft2_4FGL_J1104.4+0730_daily_bin1218.fits sctable="SC_DATA" expcube=/scratch/kocevski/484322/ltcube_555033601_555292801_4FGL_J1104.4+0730_daily_bin1218.fits outfile=/scratch/kocevski/484322/expmap_555033601_555292801_4FGL_J1104.4+0730_daily_bin1218.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/484322/ltcube_555033601_555292801_4FGL_J1104.4+0730_daily_bin1218.fits
.....................!
real 192.27
user 185.04
sys 4.80

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/484322/ft1_filtered_4FGL_J1104.4+0730_daily_bin1218.fits scfile=/scratch/kocevski/484322/ft2_4FGL_J1104.4+0730_daily_bin1218.fits outfile=/scratch/kocevski/484322/cmap_555033601_555292801_4FGL_J1104.4+0730_daily_bin1218.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.72
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/484322/ft1_filtered_4FGL_J1104.4+0730_daily_bin1218.fits scfile=/scratch/kocevski/484322/ft2_4FGL_J1104.4+0730_daily_bin1218.fits outfile=/scratch/kocevski/484322/cmap_HighResolution_555033601_555292801_4FGL_J1104.4+0730_daily_bin1218.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.62
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.977       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    38.894       1.0000         .10000E-03   10000.    
     9 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.216       1.0000         .10000E-03   10000.    
    12 'Prefactor '    54.099       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    .10043E-01   1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.4747       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=   1365.367     FROM MIGRAD    STATUS=CONVERGED    283 CALLS     1355 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.136        .71816E-05** at limit **
   2  Prefactor     .10000E-03    79.907       -.78708E-05** at limit **
   3  Prefactor     .10000E-03    27.305       -.91653E-06** at limit **
   4  Prefactor     .10000E-03    2.7959       -.98337E-09** at limit **
   5  Prefactor     10.976        12.326        .19911E-05    .22383E-03
   6  Prefactor     .10000E-03    8.7526       -.83539E-08** at limit **
   7  norm          .10000E-03    1.1613        .14520E-08** at limit **
   8  Prefactor     38.896        33.892        .15542E-06    .22694E-04
   9  norm          .10000E-03    .83943        .21381E-07** at limit **
  10  Prefactor     .10000E-03    21.694        .29692E-06** at limit **
  11  norm          10.231        24.195        .42856E-05    .17574E-03
  12  Prefactor     54.021        74.928       -.62176E-05    .88358E-04
  13  Prefactor     .10000E-03    4.5508       -.40171E-08** at limit **
  14  Normalizat    .10000E-01    .48662       -.79267E-04** at limit **
  15  Prefactor     1.4744        .19304        .12460E-04    .18970E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9757
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 38.8959
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.2307
  Prefactor  = 54.0207
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.47443
 **********
 **   18 **HESSE 
 **********

 FCN=   1365.367     FROM HESSE     STATUS=OK           180 CALLS     1535 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    79.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    27.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.7979        .60350E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.976        12.824        .12092E-03   -1.5045    
   6  Prefactor     .10000E-03    8.7549        .10679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.1680        .38829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.896        33.849        .64269E-04   -1.4460    
   9  norm          .10000E-03    .84699        .33016E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.713        .16815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.231        24.231        .12536E-03   -1.5068    
  12  Prefactor     54.021        77.388        .54533E-04   -1.4237    
  13  Prefactor     .10000E-03    4.5509        .76998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .10000E-01    1.5442        .14740       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.4744        .29145        .17402E-03   -.78258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19499e-10
Minuit parameter uncertainties:
  1  5.28812e-05
  2  1.55272e-05
  3  1.24178e-05
  4  7.0709e-06
  5  12.8271
  6  1.25835e-05
  7  6.90469e-06
  8  33.8653
  9  1.59209e-05
  10  6.97233e-05
  11  24.2544
  12  77.5328
  13  1.95706e-06
  14  0.000349312
  15  0.291778
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  6.972e-05  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.474e+00  2.918e-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.000e-02  3.493e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 1.67e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.29e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/484322/likelihoodResults_555033601_555292801_4FGL_J1104.4+0730_daily_bin1218.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): 102
logL (Free Index) = 1365.36730867
delta logL = -0.000219454260559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1365.36709958
delta logL = -1.03561901597e-05

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1365.367     FROM MIGRAD    STATUS=CONVERGED    117 CALLS      300 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10658E-03    28.706        .17665E-01** at limit **
   2  Index         2.1866        5.6438        .50000        .10979E-04
   3  Normalizat    .10000E-01    .10696E-02    .14743    ** at limit **
   4  Prefactor     1.4744        .78829E-02    .17402E-03    .17761E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000106575
  Index      = 2.18663
  Normalizat = 0.01
  Prefactor  = 1.47443
 **********
 **   18 **HESSE 
 **********

 FCN=   1365.367     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      339 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10658E-03    256.00        .18769E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1866        5.9858        .50000       -.59762    
   3  Normalizat    .10000E-01    .70853E-02    .17614       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4744        .23779E-01    .34803E-04   -.78258    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.12817e-09
Minuit parameter uncertainties:
  1  0.0824085
  2  548.194
  3  8.5943e-07
  4  0.0237796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/484322': 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): 102
logL (Free Index) = 1365.36708888
delta logL = 3.41639406543e-07

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.066e-04  8.241e-02  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.187e+00  5.482e+02  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.474e+00  2.378e-02  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.000e-02  8.594e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.117 7.510

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/484322/cmap_HighResolution_555033601_555292801_4FGL_J1104.4+0730_daily_bin1218.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', job_status='DONE', photon_flux_upper_limit='1.67e-07', time_completed='2021-09-03 06:32:11.467013', job_id='484322', GAL2='1.47', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630675931.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.47', dlogl='3.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1218' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 06:32:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 484322: <4FGL_J1104.4+0730_daily_bin1218> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin1218> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 06:21:05 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 06:21:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 06:21:42 2021
Terminated at Fri Sep  3 06:32:12 2021
Results reported at Fri Sep  3 06:32:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin1218 166.117 7.51 555033601 555292801 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 :                                   361.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            667 sec.

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

