/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 6 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 = 7424
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1104.4+0730_daily_bin31
RA = 166.117, Dec = 7.51
tmin = 247363201, tmax = 247622401
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='474864', job_status='RUN', time_executed='2021-09-03 05:51:56.156189', time_epoch_executed='1630673516.16' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='31'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474864

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474864/ft1_4FGL_J1104.4+0730_daily_bin31.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474864/ft2_4FGL_J1104.4+0730_daily_bin31.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474864/ft1_4FGL_J1104.4+0730_daily_bin31.fits outfile=/scratch/kocevski/474864/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin31.fits ra=166.117 dec=7.51 rad=12.0 tmin=247363201.0 tmax=247622401.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 1.49
user 1.30
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474864/ft1_filtered_4FGL_J1104.4+0730_daily_bin31.fits" evtable="EVENTS" scfile=/scratch/kocevski/474864/ft2_4FGL_J1104.4+0730_daily_bin31.fits sctable="SC_DATA" outfile=/scratch/kocevski/474864/ltcube_247363201_247622401_4FGL_J1104.4+0730_daily_bin31.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/474864/ft2_4FGL_J1104.4+0730_daily_bin31.fits
.....................!
real 19.28
user 18.83
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474864/ft1_filtered_4FGL_J1104.4+0730_daily_bin31.fits evtable="EVENTS" scfile=/scratch/kocevski/474864/ft2_4FGL_J1104.4+0730_daily_bin31.fits sctable="SC_DATA" expcube=/scratch/kocevski/474864/ltcube_247363201_247622401_4FGL_J1104.4+0730_daily_bin31.fits outfile=/scratch/kocevski/474864/expmap_247363201_247622401_4FGL_J1104.4+0730_daily_bin31.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/474864/ltcube_247363201_247622401_4FGL_J1104.4+0730_daily_bin31.fits
.....................!
real 192.73
user 187.53
sys 4.77

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/474864/ft1_filtered_4FGL_J1104.4+0730_daily_bin31.fits scfile=/scratch/kocevski/474864/ft2_4FGL_J1104.4+0730_daily_bin31.fits outfile=/scratch/kocevski/474864/cmap_247363201_247622401_4FGL_J1104.4+0730_daily_bin31.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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474864/ft1_filtered_4FGL_J1104.4+0730_daily_bin31.fits scfile=/scratch/kocevski/474864/ft2_4FGL_J1104.4+0730_daily_bin31.fits outfile=/scratch/kocevski/474864/cmap_HighResolution_247363201_247622401_4FGL_J1104.4+0730_daily_bin31.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.57
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.144       1.0000         .10000E-03   10000.    
     2 'Prefactor '    48.202       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.153       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.8685       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5340       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7243       1.0000         .10000E-03   10000.    
     7 'norm      '    .21586       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7632       1.0000         .10000E-03   10000.    
     9 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11051E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    16.269       1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.560       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .99501       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1120       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0248       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=   9107.104     FROM MIGRAD    STATUS=CONVERGED    276 CALLS     1398 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.135        51.288       -.97948E-05    .13106E-03
   2  Prefactor     48.207        77.585        .74053E-05   -.17327E-04
   3  Prefactor     15.152        21.595       -.18438E-05   -.19914E-06
   4  Prefactor     8.8690        3.1864        .27438E-06   -.13688E-03
   5  Prefactor     4.5348        4.5215       -.15506E-05   -.17826E-03
   6  Prefactor     3.7244        4.1018       -.25016E-05    .21805E-04
   7  norm          .21575        .31794        .11865E-06   -.15204E-02
   8  Prefactor     2.7637        4.4336       -.17726E-05   -.28642E-03
   9  norm          .10000E-03    .42961        .20398E-06** at limit **
  10  Prefactor     .10000E-03    39.480       -.11358E-05** at limit **
  11  norm          16.272        11.133       -.43694E-05    .20217E-03
  12  Prefactor     51.564        36.573        .38424E-05   -.63866E-04
  13  Prefactor     .99456        1.4448       -.23505E-06   -.12369E-02
  14  Normalizat    1.1118        .16389        .12838E-05   -.96846E-04
  15  Prefactor     1.0249        .14049        .19202E-06    .18985E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.1354
  Prefactor  = 48.2069
  Prefactor  = 15.1524
  Prefactor  = 8.86903
  Prefactor  = 4.53483
  Prefactor  = 3.72437
  norm       = 0.21575
  Prefactor  = 2.76374
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 16.2716
  Prefactor  = 51.5644
  Prefactor  = 0.994561
  Normalizat = 1.11179
  Prefactor  = 1.02494
 **********
 **   18 **HESSE 
 **********

 FCN=   9107.104     FROM HESSE     STATUS=OK           192 CALLS     1590 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.135        51.006        .50106E-04   -1.4105    
   2  Prefactor     48.207        77.784        .57757E-04   -1.4318    
   3  Prefactor     15.152        21.665        .10289E-03   -1.4929    
   4  Prefactor     8.8690        3.1885        .96932E-04   -1.5112    
   5  Prefactor     4.5348        4.5461        .18907E-03   -1.5282    
   6  Prefactor     3.7244        4.1116        .19578E-03   -1.5322    
   7  norm          .21575        .28118        .56916E-03   -1.5615    
   8  Prefactor     2.7637        4.3870        .22405E-03   -1.5375    
   9  norm          .10000E-03    4.3979        .11875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    40.850        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          16.272        11.112        .99297E-04   -1.4901    
  12  Prefactor     51.564        36.591        .55853E-04   -1.4271    
  13  Prefactor     .99456        1.2137        .13381E-02   -1.5509    
  14  Normalizat    1.1118        .19256        .26369E-03   -.89374    
  15  Prefactor     1.0249        .16612        .24426E-03   -.91903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6312e-10
Minuit parameter uncertainties:
  1  51.0409
  2  77.9482
  3  21.6767
  4  3.18852
  5  4.5464
  6  4.11191
  7  0.281186
  8  4.38756
  9  4.8158e-05
  10  9.69848e-05
  11  11.1132
  12  36.6074
  13  1.2137
  14  0.192686
  15  0.166203
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  9.698e-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.025e+00  1.662e-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.112e+00  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/474864/likelihoodResults_247363201_247622401_4FGL_J1104.4+0730_daily_bin31.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) = 9107.10426723
delta logL = -0.000116749872177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9107.10415038
delta logL = 9.72759153228e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4036       1.0000          .0000       10.000    
     3 'Normalizat'    1.1118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0249       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=   9107.104     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      251 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    6.5283        .90712E-01** at limit **
   2  Index         2.4716        3.2426        .50000       -.16009E-04
   3  Normalizat    1.1118        .33669E-02    .59622E-01    .33533E-04
   4  Prefactor     1.0249        .30229E-02    .41681E-01    .25015E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100023
  Index      = 2.47158
  Normalizat = 1.11179
  Prefactor  = 1.02494
 **********
 **   18 **HESSE 
 **********

 FCN=   9107.104     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      288 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    6229.3        .56094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4716        5.9901        .50000       -.53017    
   3  Normalizat    1.1118        .28771E-01    .26369E-03   -.89374    
   4  Prefactor     1.0249        .25811E-01    .24426E-03   -.91903    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.79447e-08
Minuit parameter uncertainties:
  1  0.0156557
  2  29.6637
  3  0.0287712
  4  0.0258112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474864': 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) = 9107.10415009
delta logL = 3.8752114051e-07

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  1.566e-02  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  2.472e+00  2.966e+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.025e+00  2.581e-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.112e+00  2.877e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/474864/cmap_HighResolution_247363201_247622401_4FGL_J1104.4+0730_daily_bin31.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', job_status='DONE', photon_flux_upper_limit='6.49e-08', time_completed='2021-09-03 06:02:44.901444', job_id='474864', GAL2='1.02', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630674164.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.88e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='31' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 06:02:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 474864: <4FGL_J1104.4+0730_daily_bin31> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin31> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 05:51:04 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 05:51:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 05:51:39 2021
Terminated at Fri Sep  3 06:02:45 2021
Results reported at Fri Sep  3 06:02:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin31 166.117 7.51 247363201 247622401 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 :                                   645.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             369.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            701 sec.

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

