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


Performing analysis on: 4FGL_J1104.4+0730_daily_bin1753
RA = 166.117, Dec = 7.51
tmin = 693705601, tmax = 693964801
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='452585', job_status='RUN', time_executed='2022-12-29 00:50:11.644240', time_epoch_executed='1672303811.64' WHERE source_name='4FGL J1104.4+0730' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452585

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452585/ft1_4FGL_J1104.4+0730_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452585/ft2_4FGL_J1104.4+0730_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452585/ft1_4FGL_J1104.4+0730_daily_bin1753.fits outfile=/scratch/kocevski/452585/ft1_filteredMKT_4FGL_J1104.4+0730_daily_bin1753.fits ra=166.117 dec=7.51 rad=12.0 tmin=693705601.0 tmax=693964801.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.68
user 4.38
sys 0.24

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

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

Number of photons that the gtmktime cut: 530

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452585/ft1_filtered_4FGL_J1104.4+0730_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452585/ft2_4FGL_J1104.4+0730_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/452585/ltcube_693705601_693964801_4FGL_J1104.4+0730_daily_bin1753.fits outfile=/scratch/kocevski/452585/expmap_693705601_693964801_4FGL_J1104.4+0730_daily_bin1753.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/452585/ltcube_693705601_693964801_4FGL_J1104.4+0730_daily_bin1753.fits
.....................!
real 193.46
user 187.16
sys 4.95

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/452585/ft1_filtered_4FGL_J1104.4+0730_daily_bin1753.fits scfile=/scratch/kocevski/452585/ft2_4FGL_J1104.4+0730_daily_bin1753.fits outfile=/scratch/kocevski/452585/cmap_693705601_693964801_4FGL_J1104.4+0730_daily_bin1753.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.60
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452585/ft1_filtered_4FGL_J1104.4+0730_daily_bin1753.fits scfile=/scratch/kocevski/452585/ft2_4FGL_J1104.4+0730_daily_bin1753.fits outfile=/scratch/kocevski/452585/cmap_HighResolution_693705601_693964801_4FGL_J1104.4+0730_daily_bin1753.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.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70620       1.0000          .0000       .10000E+07
     2 'Prefactor '    107.85       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18528E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .13895E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46567E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
     7 'norm      '    .89919       1.0000          .0000       .10000E+07
     8 'norm      '    1.4131       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.742       1.0000          .0000       .10000E+07
    10 'norm      '    14.732       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.8514       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0534       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0532       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=   5813.315     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      880 TOTAL
                     EDM=   .11E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65376E-04    99.043       -.32953E-05** at limit **
   2  Prefactor     101.93        68.100       -.11175E-05    .15134E-01
   3  Prefactor      .0000        23.591        .29122E-06** at limit **
   4  Prefactor      .0000        6.9968        .11813E-05** at limit **
   5  Prefactor      .0000        5.6753        .41222E-06** at limit **
   6  Prefactor      .0000        6.1996       -.61422E-06** at limit **
   7  norm          .89852        .47900       -.17079E-07   -.73675E-03
   8  norm          1.4111        1.1304       -.61556E-07    .10189E-04
   9  Prefactor     18.579        18.108       -.14657E-06   -.30097E-03
  10  norm          14.677        14.027        .44044E-06   -.78071E-04
  11  Prefactor     3.8480        2.0764        .35174E-08   -.69560E-03
  12  Normalizat    1.0554        .21839        .61670E-05    .28418E-04
  13  Prefactor     1.0529        .19230        .47787E-07    .22220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.53756e-05
  Prefactor  = 101.926
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.898525
  norm       = 1.41108
  Prefactor  = 18.5792
  norm       = 14.6769
  Prefactor  = 3.84804
  Normalizat = 1.05544
  Prefactor  = 1.05289
 **********
 **   18 **HESSE 
 **********

 FCN=   5813.315     FROM HESSE     STATUS=OK           171 CALLS     1051 TOTAL
                     EDM=   .97E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65376E-04    784.31        .60206E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     101.93        72.982        .96298E-04   -1.5506    
   3  Prefactor      .0000        23.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        6.8759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        5.6741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        6.2025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .89852        .47967        .45816E-03   -1.5689    
   8  norm          1.4111        1.1392        .91067E-03   -1.5684    
   9  Prefactor     18.579        18.095        .23107E-03   -1.5622    
  10  norm          14.677        14.048        .26069E-03   -1.5631    
  11  Prefactor     3.8480        2.0798        .51398E-03   -1.5669    
  12  Normalizat    1.0554        .18834        .58451E-01   -.91196    
  13  Prefactor     1.0529        .16633        .39729E-01   -.90987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.71752e-08
Minuit parameter uncertainties:
  1  0.452939
  2  72.9822
  3  5.03688e-05
  4  1.28387e-05
  5  2.37354e-05
  6  5.61927e-06
  7  0.47967
  8  1.13918
  9  18.0947
  10  14.0475
  11  2.07979
  12  0.188459
  13  0.166407
Done.

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

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.858e+01  1.809e+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.053e+00  1.664e-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.055e+00  1.885e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.85
Ra Dec: 166.117 7.510
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 3.45e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.19e-05

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

Saving results to:
/scratch/kocevski/452585/likelihoodResults_693705601_693964801_4FGL_J1104.4+0730_daily_bin1753.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): 0
logL (Free Index) = 5813.24825708
delta logL = 0.0666652852615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5813.24512983
delta logL = 0.0697925354616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.547       1.0000          .0000       .10000E+07
     2 'Index     '    2.7055       1.0000          .0000       10.000    
     3 'Normalizat'    1.0363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0625       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=   5813.245     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      270 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.528        277.92        .26235E-03   -.56435E-03
   2  Index         2.7088        3.5526        .18843        .42757E-04
   3  Normalizat    1.0363        .73815E-01    .41586E-01    .23070E-04
   4  Prefactor     1.0625        .52978E-01    .39228E-01   -.38680E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.5281
  Index      = 2.70878
  Normalizat = 1.03633
  Prefactor  = 1.06253
 **********
 **   18 **HESSE 
 **********

 FCN=   5813.245     FROM HESSE     STATUS=OK            33 CALLS      303 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.528        21.639        .10494E-04   -1.5632    
   2  Index         2.7088        1.1139        .67105E-02   -.47602    
   3  Normalizat    1.0363        .22024        .26037E-03   -.91823    
   4  Prefactor     1.0625        .19494        .23429E-03   -.90673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80783e-11
Minuit parameter uncertainties:
  1  21.6392
  2  1.12589
  3  0.220436
  4  0.195068
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452585': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5813.24511983
delta logL = 0.069802537183

Extracting fit parameters...

4FGL J1104.4+0730
   Spectrum: PowerLaw
262    Prefactor:  1.453e+01  2.164e+01  0.000e+00  1.000e+06 ( 1.000e-13)
263        Index:  2.709e+00  1.126e+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.063e+00  1.951e-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.036e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 166.117 7.510
Photon Index (Free Index): 2.71 +/- 1.13
Photon Flux (Free Index): 5.02e-08 +/- 5.95e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.06e-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/452585/cmap_HighResolution_693705601_693964801_4FGL_J1104.4+0730_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.84e-03', comment='SUCCESS', photon_flux='3.45e-08', energy_flux2='1.20e-05', photon_flux_error='3.35e-08', dlogl='6.98e-02', energy_flux='1.22e-05', photon_flux2='5.02e-08', job_status='DONE', time_completed='2022-12-29 00:58:48.034062', photon_index_error2='1.13', photon_index2='2.71', ts='1.85', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.06e-05', EG='1.06', time_epoch_completed='1672304328.03', return_code='0', job_id='452585', GAL2='1.06', EG2='1.04', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='5.95e-08', ts2='2.00', photon_index='2.34' WHERE bin_id='1753' AND source_name='4FGL J1104.4+0730' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 00:58:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 452585: <4FGL_J1104.4+0730_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1104.4+0730_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 00:45:16 2022
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:47:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:47:29 2022
Terminated at Thu Dec 29 00:58:48 2022
Results reported at Thu Dec 29 00:58:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1104.4+0730_daily_bin1753 166.117 7.51 693705601 693964801 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 :                                   501.54 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             265.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            812 sec.

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

