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


Performing analysis on: 4FGL_J2104.0-3546_daily_bin1695
RA = 316.01, Dec = -35.7678
tmin = 678672001, tmax = 678931201
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='729950', job_status='RUN', time_executed='2022-07-08 00:33:45.558735', time_epoch_executed='1657265625.56' WHERE source_name='4FGL J2104.0-3546' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/729950

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/729950/ft1_4FGL_J2104.0-3546_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/729950/ft1_4FGL_J2104.0-3546_daily_bin1695.fits outfile=/scratch/kocevski/729950/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin1695.fits ra=316.01 dec=-35.7678 rad=12.0 tmin=678672001.0 tmax=678931201.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 3.60
user 3.37
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.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/729950/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/729950/ft1_filtered_4FGL_J2104.0-3546_daily_bin1695.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.60
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 535

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/729950/ft1_filtered_4FGL_J2104.0-3546_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/729950/ltcube_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.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/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits
.....................!
real 12.17
user 11.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/729950/ft1_filtered_4FGL_J2104.0-3546_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/729950/ltcube_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.fits outfile=/scratch/kocevski/729950/expmap_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.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/729950/ltcube_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.fits
.....................!
real 190.92
user 186.23
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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2104.0-3546 @ 316.01 -35.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/729950/ft1_filtered_4FGL_J2104.0-3546_daily_bin1695.fits scfile=/scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits outfile=/scratch/kocevski/729950/cmap_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.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=316.01 yref=-35.7678 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/729950/ft1_filtered_4FGL_J2104.0-3546_daily_bin1695.fits scfile=/scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits outfile=/scratch/kocevski/729950/cmap_HighResolution_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.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=316.01 yref=-35.7678 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/729950/ft1_filtered_4FGL_J2104.0-3546_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/729950/Model_4FGL_J2104.0-3546_daily_bin1695.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/729950/ft1_filtered_4FGL_J2104.0-3546_daily_bin1695.fits.....................!
real 52.87
user 51.56
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/729950/ft1_filtered_4FGL_J2104.0-3546_daily_bin1695.fits', '/scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits', expMap='/scratch/kocevski/729950/expmap_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.fits', expCube='/scratch/kocevski/729950/ltcube_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/729950/Model_4FGL_J2104.0-3546_daily_bin1695.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2104.0-3546'

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  6.791e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.368e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  9.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/729950/ft1_filtered_4FGL_J2104.0-3546_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/729950/ft2_4FGL_J2104.0-3546_daily_bin1695.fits
Exposure map: /scratch/kocevski/729950/expmap_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.fits
Exposure cube: /scratch/kocevski/729950/ltcube_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/729950/Model_4FGL_J2104.0-3546_daily_bin1695.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) = 5977.99154284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.395       1.0000         .10000E-03   10000.    
     2 'norm      '    2.8914       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10372E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2281       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    55.537       1.0000         .10000E-03   10000.    
     9 'norm      '    5.0751       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.283       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3077       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .15345E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.3523       1.0000         .10000E-03   10000.    
    20 'norm      '    7.1559       1.0000         .10000E-03   10000.    
    21 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1227       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0251       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5977.958     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2518 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.422        67.726       -.18829E-05   -.20445E-04
   2  norm          2.8903        23.975        .79501E-06    .91392E-05
   3  Prefactor     .10000E-03    72.112        .16347E-05** at limit **
   4  norm          .10000E-03    7.6919        .18683E-08** at limit **
   5  Prefactor     .10000E-03    15.085        .49582E-07** at limit **
   6  Prefactor     1.2279        14.438       -.28543E-07   -.17153E-04
   7  Prefactor     .10000E-03    39.393        .42366E-06** at limit **
   8  Prefactor     55.361        127.24        .15866E-04    .51090E-04
   9  norm          5.0765        37.342       -.42001E-05   -.18997E-04
  10  norm          .10000E-03    .71226       -.80718E-08** at limit **
  11  Prefactor     .10000E-03    55.294       -.20904E-05** at limit **
  12  Prefactor     23.280        33.198        .45108E-06    .11945E-04
  13  Prefactor     2.3084        10.546        .47473E-05    .19259E-03
  14  Prefactor     .10000E-03    2.2226       -.27383E-08** at limit **
  15  Prefactor     .10000E-03    20.496       -.35802E-06** at limit **
  16  norm          .10000E-03    4.2243        .30494E-08** at limit **
  17  norm          .10052E-03    3.1046       -.16009E-05** at limit **
  18  Prefactor     .10000E-03    3.2590       -.17280E-07** at limit **
  19  Prefactor     5.3524        5.6420        .61750E-07    .60944E-04
  20  norm          7.1566        8.2243        .55185E-07    .82208E-05
  21  norm          .10000E-03    4.4631       -.84705E-08** at limit **
  22  Normalizat    1.1227        .24867       -.43902E-06    .16107E-03
  23  Prefactor     1.0251        .12412       -.20549E-06    .25398E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.4222
  norm       = 2.89034
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.22791
  Prefactor  = 0.0001
  Prefactor  = 55.3614
  norm       = 5.07651
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.2803
  Prefactor  = 2.30841
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100516
  Prefactor  = 0.0001
  Prefactor  = 5.35244
  norm       = 7.15664
  norm       = 0.0001
  Normalizat = 1.12265
  Prefactor  = 1.02511
 **********
 **   18 **HESSE 
 **********

 FCN=   5977.958     FROM HESSE     STATUS=OK           368 CALLS     2886 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.422        67.815        .51628E-04   -1.4152    
   2  norm          2.8903        24.104        .23899E-03   -1.5368    
   3  Prefactor     .10000E-03    72.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.6947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2279        14.609        .40609E-03   -1.5486    
   7  Prefactor     .10000E-03    39.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     55.361        127.40        .26913E-03   -1.4218    
   9  norm          5.0765        37.304        .17848E-03   -1.5257    
  10  norm          .10000E-03    .71908        .63716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    56.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.280        33.221        .83013E-04   -1.4743    
  13  Prefactor     2.3084        10.627        .13505E-02   -1.5404    
  14  Prefactor     .10000E-03    2.2240        .11257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.2288        .15520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10052E-03    31.501        .23313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.2712        .13630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.3524        5.6421        .17371E-03   -1.5245    
  20  norm          7.1566        8.2331        .14995E-03   -1.5173    
  21  norm          .10000E-03    4.5239        .15942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1227        .28868        .34619E-03   -.89028    
  23  Prefactor     1.0251        .14562        .17828E-03   -.91897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5629e-08
Minuit parameter uncertainties:
  1  67.9018
  2  16.7023
  3  7.25534e-05
  4  9.38998e-07
  5  3.91425e-06
  6  8.47299
  7  2.1109e-05
  8  128.031
  9  27.5467
  10  7.19555e-08
  11  0.000217335
  12  33.247
  13  9.90852
  14  4.12572e-07
  15  1.61965e-05
  16  1.8185e-07
  17  0.00806426
  18  2.56033e-07
  19  5.64264
  20  8.23441
  21  5.23129e-07
  22  0.289086
  23  0.145674
Done.

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

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  2.328e+01  3.325e+01  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.368e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  9.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.025e+00  1.457e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.123e+00  2.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.65
Ra Dec: 316.010 -35.768
Photon Flux Upper Limit: 1.65e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/729950/likelihoodResults_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.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) = 5976.89253197
delta logL = 1.06515898324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5976.87199619
delta logL = 1.08569476513

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1565       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7871       1.0000          .0000       10.000    
     3 'Normalizat'    1.0146       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0517       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   5976.872     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      289 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1576        221.89        .13027E-03    .15979E-02
   2  Index         3.7872        6.8833        .43610E-02    .45710E-03
   3  Normalizat    1.0146        .32797        .36150E-03    .37757E-03
   4  Prefactor     1.0517        .16170        .17609E-03    .70266E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.15757
  Index      = 3.78717
  Normalizat = 1.0146
  Prefactor  = 1.05167
 **********
 **   18 **HESSE 
 **********

 FCN=   5976.872     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1576        14.638        .52107E-05   -1.5173    
   2  Index         3.7872        1.0854        .17444E-03   -.24501    
   3  Normalizat    1.0146        .29293        .72301E-04   -.92543    
   4  Prefactor     1.0517        .14162        .35218E-04   -.91026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07889e-09
Minuit parameter uncertainties:
  1  14.6453
  2  1.09472
  3  0.2934
  4  0.14167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/729950': 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) = 5976.87199607
delta logL = 1.08569488079

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  7.158e+00  1.465e+01  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  3.787e+00  1.095e+00  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  9.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.052e+00  1.417e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.015e+00  2.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.97
Ra Dec: 316.010 -35.768
Photon Index (Free Index): 3.79 +/- 1.09
Photon Flux (Free Index): 1.53e-07 +/- 1.09e-07
Energy Flux (Free Index): 2.39e-05 +/- 1.64e-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/729950/cmap_HighResolution_678672001_678931201_4FGL_J2104.0-3546_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', comment='SUCCESS', energy_flux2='2.39e-05', dlogl='1.09e+00', photon_flux2='1.53e-07', job_status='DONE', time_completed='2022-07-08 00:43:43.034268', photon_index_error2='1.09', photon_index2='3.79', ts='0.65', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.65e-07', energy_flux_error2='1.64e-05', EG='1.12', time_epoch_completed='1657266223.03', return_code='0', job_id='729950', GAL2='1.05', EG2='1.01', return_code2='0', photon_flux_error2='1.09e-07', ts2='2.97', photon_index='2.37' WHERE bin_id='1695' AND source_name='4FGL J2104.0-3546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:43:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 729950: <4FGL_J2104.0-3546_daily_bin1695> in cluster <slac> Done

Job <4FGL_J2104.0-3546_daily_bin1695> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jul  8 00:30:40 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:30:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:30:41 2022
Terminated at Fri Jul  8 00:43:43 2022
Results reported at Fri Jul  8 00:43:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2104.0-3546_daily_bin1695 316.01 -35.7678 678672001 678931201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2104.0-3546 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   600.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            783 sec.

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

