aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 140 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7533
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1104.4+0730_daily_bin1769
RA = 166.117, Dec = 7.51
tmin = 697852801, tmax = 698112001
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='432201', job_status='RUN', time_executed='2023-02-15 00:38:05.855997', time_epoch_executed='1676450285.86' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432201

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432201/ft1_4FGL_J1104.4+0730_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432201/ft2_4FGL_J1104.4+0730_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432201/ft1_4FGL_J1104.4+0730_daily_bin1769.fits outfile=/scratch/kocevski/432201/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1769.fits ra=166.117 dec=7.51 rad=12.0 tmin=697852801.0 tmax=698112001.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.41
user 4.21
sys 0.18

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

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

Number of photons that the gtmktime cut: 438

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432201/ft1_filtered_4FGL_J1104.4+0730_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/432201/ft2_4FGL_J1104.4+0730_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/432201/ltcube_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.fits outfile=/scratch/kocevski/432201/expmap_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.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/432201/ltcube_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.fits
.....................!
real 190.68
user 186.12
sys 4.25

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/432201/ft1_filtered_4FGL_J1104.4+0730_daily_bin1769.fits scfile=/scratch/kocevski/432201/ft2_4FGL_J1104.4+0730_daily_bin1769.fits outfile=/scratch/kocevski/432201/cmap_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.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.53
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432201/ft1_filtered_4FGL_J1104.4+0730_daily_bin1769.fits scfile=/scratch/kocevski/432201/ft2_4FGL_J1104.4+0730_daily_bin1769.fits outfile=/scratch/kocevski/432201/cmap_HighResolution_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.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.54
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/432201/ft1_filtered_4FGL_J1104.4+0730_daily_bin1769.fits', '/scratch/kocevski/432201/ft2_4FGL_J1104.4+0730_daily_bin1769.fits', expMap='/scratch/kocevski/432201/expmap_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.fits', expCube='/scratch/kocevski/432201/ltcube_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/432201/Model_4FGL_J1104.4+0730_daily_bin1769.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  0.000e+00  1.000e+06 ( 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/432201/ft1_filtered_4FGL_J1104.4+0730_daily_bin1769.fits
Spacecraft file(s): /scratch/kocevski/432201/ft2_4FGL_J1104.4+0730_daily_bin1769.fits
Exposure map: /scratch/kocevski/432201/expmap_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.fits
Exposure cube: /scratch/kocevski/432201/ltcube_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/432201/Model_4FGL_J1104.4+0730_daily_bin1769.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) = 4930.68825316

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18459E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13017       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59516E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8789       1.0000          .0000       .10000E+07
     5 'Prefactor '    23.544       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.4650       1.0000          .0000       .10000E+07
     7 'norm      '    .18076       1.0000          .0000       .10000E+07
     8 'norm      '    .18874E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.107       1.0000          .0000       .10000E+07
    10 'norm      '    .19873E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.3862       1.0000          .0000       .10000E+07
    12 'Normalizat'    .60785       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.2220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4930.646     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      677 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .92926E-07    20.279       -.88869E-06** at limit **
   2  Prefactor     .15223E-05    13.613        .94744E-05** at limit **
   3  Prefactor     .61062E-09    7.5335       -.50900E-06** at limit **
   4  Prefactor     1.8811        3.4986        .59207E-06   -.33814E-02
   5  Prefactor     23.563        8.7294        .45701E-07   -.13166E-02
   6  Prefactor     5.4359        8.0025       -.47229E-05   -.41268E-01
   7  norm          .18093        .54453        .13627E-06** at limit **
   8  norm           .0000        .27080        .20842E-06** at limit **
   9  Prefactor     15.568        3.7087       -.89979E-06    .98314E-01
  10  norm          .88818E-09    5.6361       -.75614E-06** at limit **
  11  Prefactor     4.3825        3.2604       -.67566E-07    .88304E-02
  12  Normalizat    .60860        .21733        .17694E-04    .72641E-04
  13  Prefactor     1.2219        .19714       -.11906E-04   -.81752E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.29257e-08
  Prefactor  = 1.52234e-06
  Prefactor  = 6.10623e-10
  Prefactor  = 1.8811
  Prefactor  = 23.5632
  Prefactor  = 5.43594
  norm       = 0.180929
  norm       = 0
  Prefactor  = 15.5676
  norm       = 8.88178e-10
  Prefactor  = 4.38248
  Normalizat = 0.608604
  Prefactor  = 1.22194
 **********
 **   18 **HESSE 
 **********

 FCN=   4930.646     FROM HESSE     STATUS=OK           173 CALLS      850 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .92926E-07    20.567        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .15223E-05    52.292        .13181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .61062E-09    7.5495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8811        3.5652        .75924E-03   -1.5681    
   5  Prefactor     23.563        8.7452        .20614E-03   -1.5611    
   6  Prefactor     5.4359        9.5298        .42958E-03   -1.5661    
   7  norm          .18093        .49692        .18415E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .27075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.568        21.905        .24929E-03   -1.5629    
  10  norm          .88818E-09    5.7180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.3825        3.2424        .48066E-03   -1.5666    
  12  Normalizat    .60860        .19638        .68033E-01   -1.0762    
  13  Prefactor     1.2219        .17483        .34131E-01   -.85659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78356e-07
Minuit parameter uncertainties:
  1  0.00276459
  2  0.0178447
  3  0.000133614
  4  3.5652
  5  8.7452
  6  9.52978
  7  0.496915
  8  5.33448e-06
  9  21.9051
  10  0.000144019
  11  3.24237
  12  0.196604
  13  0.174911
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.557e+01  2.191e+01  0.000e+00  1.000e+06 ( 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.222e+00  1.749e-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:  6.086e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.64
Ra Dec: 166.117 7.510
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/432201/likelihoodResults_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.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) = 4929.44802775
delta logL = 1.1982493351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4929.39145391
delta logL = 1.25482317521

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21764       1.0000          .0000       .10000E+07
     2 'Index     '    5.1741       1.0000          .0000       10.000    
     3 'Normalizat'    .50107       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2926       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=   4929.391     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      276 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21569        2.2849        .45747E-03** at limit **
   2  Index         5.1786        2.5298        .91008E-01    .13741E-03
   3  Normalizat    .50119        .54431E-01    .74435E-01    .39624E-04
   4  Prefactor     1.2924        .50358E-01    .32740E-01   -.83957E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.215693
  Index      = 5.17855
  Normalizat = 0.501186
  Prefactor  = 1.29238
 **********
 **   18 **HESSE 
 **********

 FCN=   4929.391     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      307 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21569        4.4842        .20615E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.1786        3.7429        .36185E-02    .35718E-01
   3  Normalizat    .50119        .19360        .32958E-03   -1.1236    
   4  Prefactor     1.2924        .17641        .19752E-03   -.83534    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11464e-07
Minuit parameter uncertainties:
  1  1.96695
  2  4.23044
  3  0.193865
  4  0.176488
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432201': 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) = 4929.39145076
delta logL = 1.25482633301

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  2.157e-01  1.967e+00  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  5.179e+00  4.230e+00  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.292e+00  1.765e-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:  5.012e-01  1.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.46
Ra Dec: 166.117 7.510
Photon Index (Free Index): 5.18 +/- 4.23
Photon Flux (Free Index): 1.03e-07 +/- 6.86e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.08e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/432201/cmap_HighResolution_697852801_698112001_4FGL_J1104.4+0730_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.20e-03', comment='SUCCESS', energy_flux2='1.35e-05', dlogl='1.25e+00', photon_flux2='1.03e-07', job_status='DONE', time_completed='2023-02-15 00:45:23.957345', photon_index_error2='4.23', photon_index2='5.18', ts='0.64', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.08e-05', EG='0.61', time_epoch_completed='1676450723.96', return_code='0', job_id='432201', GAL2='1.29', EG2='0.50', return_code2='102', photon_flux_error2='6.86e-08', ts2='3.46', photon_index='2.34' WHERE bin_id='1769' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:45:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 432201: <4FGL_J1104.4+0730_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:35:27 2023
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:35:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:35:28 2023
Terminated at Wed Feb 15 00:45:24 2023
Results reported at Wed Feb 15 00:45:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin1769 166.117 7.51 697852801 698112001 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 :                                   440.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            597 sec.

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

