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


Performing analysis on: 4FGL_J1104.4+0730_daily_bin1605
RA = 166.117, Dec = 7.51
tmin = 655344001, tmax = 655603201
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='302815', job_status='RUN', time_executed='2021-12-07 21:33:51.082574', time_epoch_executed='1638941631.08' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='1605'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/302815

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/302815/ft1_4FGL_J1104.4+0730_daily_bin1605.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/302815/ft2_4FGL_J1104.4+0730_daily_bin1605.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/302815/ft1_4FGL_J1104.4+0730_daily_bin1605.fits outfile=/scratch/kocevski/302815/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1605.fits ra=166.117 dec=7.51 rad=12.0 tmin=655344001.0 tmax=655603201.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 2.32
user 2.08
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/302815/ft2_4FGL_J1104.4+0730_daily_bin1605.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/302815/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1605.fits evtable="EVENTS" outfile="/scratch/kocevski/302815/ft1_filtered_4FGL_J1104.4+0730_daily_bin1605.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.45
user 0.31
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/302815/ft1_filtered_4FGL_J1104.4+0730_daily_bin1605.fits" evtable="EVENTS" scfile=/scratch/kocevski/302815/ft2_4FGL_J1104.4+0730_daily_bin1605.fits sctable="SC_DATA" outfile=/scratch/kocevski/302815/ltcube_655344001_655603201_4FGL_J1104.4+0730_daily_bin1605.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/302815/ft2_4FGL_J1104.4+0730_daily_bin1605.fits
.....................!
real 14.93
user 14.46
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/302815/ft1_filtered_4FGL_J1104.4+0730_daily_bin1605.fits evtable="EVENTS" scfile=/scratch/kocevski/302815/ft2_4FGL_J1104.4+0730_daily_bin1605.fits sctable="SC_DATA" expcube=/scratch/kocevski/302815/ltcube_655344001_655603201_4FGL_J1104.4+0730_daily_bin1605.fits outfile=/scratch/kocevski/302815/expmap_655344001_655603201_4FGL_J1104.4+0730_daily_bin1605.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/302815/ltcube_655344001_655603201_4FGL_J1104.4+0730_daily_bin1605.fits
.....................!
real 160.55
user 154.40
sys 4.37

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/302815/ft1_filtered_4FGL_J1104.4+0730_daily_bin1605.fits scfile=/scratch/kocevski/302815/ft2_4FGL_J1104.4+0730_daily_bin1605.fits outfile=/scratch/kocevski/302815/cmap_655344001_655603201_4FGL_J1104.4+0730_daily_bin1605.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.50
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/302815/ft1_filtered_4FGL_J1104.4+0730_daily_bin1605.fits scfile=/scratch/kocevski/302815/ft2_4FGL_J1104.4+0730_daily_bin1605.fits outfile=/scratch/kocevski/302815/cmap_HighResolution_655344001_655603201_4FGL_J1104.4+0730_daily_bin1605.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.49
user 0.34
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.270       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .96979E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1046       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .87930E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .27566       1.0000         .10000E-03   10000.    
     7 'norm      '    1.0872       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22735E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .92609       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .36368E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .22710E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.7306       1.0000         .10000E-03   10000.    
    14 'Normalizat'    .78382       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.3216       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=   5508.508     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1383 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    54.259       -.30039E-06** at limit **
   2  Prefactor     23.537        71.565        .10704E-04    .69280E-04
   3  Prefactor     .10000E-03    50.769       -.37557E-05** at limit **
   4  Prefactor     1.1022        3.1586       -.18924E-06    .47149E-04
   5  Prefactor     .10000E-03    10.475        .50617E-06** at limit **
   6  Prefactor     .29651        5.2013        .27746E-06   -.53338E-05
   7  norm          1.0873        .73073       -.10341E-07   -.77319E-05
   8  Prefactor     .10000E-03    8.7802        .12893E-06** at limit **
   9  norm          .92592        1.3127       -.27940E-06    .40413E-03
  10  Prefactor     .10000E-03    8.3641        .79768E-07** at limit **
  11  norm          .10000E-03    37.505        .88408E-05** at limit **
  12  Prefactor     .10000E-03    27.851        .56378E-07** at limit **
  13  Prefactor     6.7348        5.2054       -.56854E-06    .41725E-03
  14  Normalizat    .78364        .19968        .37635E-06    .49330E-04
  15  Prefactor     1.3215        .17785       -.70559E-07    .61638E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 23.5366
  Prefactor  = 0.000100003
  Prefactor  = 1.10223
  Prefactor  = 0.0001
  Prefactor  = 0.296515
  norm       = 1.08727
  Prefactor  = 0.0001
  norm       = 0.92592
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.73481
  Normalizat = 0.783639
  Prefactor  = 1.32155
 **********
 **   18 **HESSE 
 **********

 FCN=   5508.508     FROM HESSE     STATUS=OK           182 CALLS     1565 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.537        74.122        .83036E-04   -1.4737    
   3  Prefactor     .10000E-03    53.239        .41565E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1022        3.1187        .20642E-03   -1.5498    
   5  Prefactor     .10000E-03    10.791        .41689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .29651        17.369        .31706E-02   -1.5599    
   7  norm          1.0873        .71219        .49018E-04   -1.5499    
   8  Prefactor     .10000E-03    8.8185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .92592        1.3239        .25804E-03   -1.5516    
  10  Prefactor     .10000E-03    8.3856        .20964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    37.011        .38007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.7348        5.2938        .72239E-03   -1.5189    
  14  Normalizat    .78364        .23307        .30019E-03   -1.0068    
  15  Prefactor     1.3215        .21063        .21882E-03   -.82669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4416e-08
Minuit parameter uncertainties:
  1  0.000719843
  2  74.4146
  3  0.000751196
  4  3.11918
  5  4.02829e-05
  6  4.53948
  7  0.712197
  8  3.33743e-06
  9  1.32395
  10  6.77073e-06
  11  0.000253636
  12  0.00024297
  13  5.29418
  14  0.233362
  15  0.210763
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  6.771e-06  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.322e+00  2.108e-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:  7.836e-01  2.334e-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.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/302815/likelihoodResults_655344001_655603201_4FGL_J1104.4+0730_daily_bin1605.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) = 5508.50810146
delta logL = -0.000567204311665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5508.50753428
delta logL = -2.43962858804e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3232       1.0000          .0000       10.000    
     3 'Normalizat'    .78363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3216       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=   5508.508     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      265 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    57.341        .18142E-01** at limit **
   2  Index         1.6586        9.0097        .50000       -.95179E-07
   3  Normalizat    .78364        .10977E-01    .30019E-03   -.54990E-04
   4  Prefactor     1.3215        .10164E-01    .21882E-03   -.77092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.65859
  Normalizat = 0.783639
  Prefactor  = 1.32155
 **********
 **   18 **HESSE 
 **********

 FCN=   5508.508     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      294 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    563.43        .24806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6586        5.3383        .50000       -.73190    
   3  Normalizat    .78364        .36387E-01    .12008E-04   -1.0068    
   4  Prefactor     1.3215        .33690E-01    .43763E-04   -.82669    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.57242e-11
Minuit parameter uncertainties:
  1  0.000509145
  2  1220.76
  3  0.0363883
  4  0.0336902
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/302815': 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) = 5508.50753253
delta logL = 1.72055842995e-06

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.000e-04  5.091e-04  1.000e-04  1.000e+04 ( 1.000e-13)
263        Index:  1.659e+00  1.221e+03  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.322e+00  3.369e-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:  7.836e-01  3.639e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/302815/cmap_HighResolution_655344001_655603201_4FGL_J1104.4+0730_daily_bin1605.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', job_status='DONE', photon_flux_upper_limit='6.57e-08', time_completed='2021-12-07 21:40:58.444435', job_id='302815', GAL2='1.32', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1638942058.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.72e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1605' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 21:40:58 PST 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 302815: <4FGL_J1104.4+0730_daily_bin1605> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin1605> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec  7 21:25:25 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 21:30:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 21:30:49 2021
Terminated at Tue Dec  7 21:40:59 2021
Results reported at Tue Dec  7 21:40:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin1605 166.117 7.51 655344001 655603201 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 :                                   425.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            934 sec.

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

