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


Performing analysis on: 4FGL_J2104.0-3546_daily_bin1759
RA = 316.01, Dec = -35.7678
tmin = 695260801, tmax = 695520001
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='573085', job_status='RUN', time_executed='2023-01-16 02:02:23.017406', time_epoch_executed='1673863343.02' WHERE source_name='4FGL J2104.0-3546' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/573085

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/573085/ft1_4FGL_J2104.0-3546_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/573085/ft2_4FGL_J2104.0-3546_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/573085/ft1_4FGL_J2104.0-3546_daily_bin1759.fits outfile=/scratch/kocevski/573085/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin1759.fits ra=316.01 dec=-35.7678 rad=12.0 tmin=695260801.0 tmax=695520001.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.73
user 2.51
sys 0.20

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

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

Number of photons that the gtmktime cut: 234

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/573085/ft1_filtered_4FGL_J2104.0-3546_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/573085/ft2_4FGL_J2104.0-3546_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/573085/ltcube_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.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/573085/ft2_4FGL_J2104.0-3546_daily_bin1759.fits
.....................!
real 17.02
user 16.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/573085/ft1_filtered_4FGL_J2104.0-3546_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/573085/ft2_4FGL_J2104.0-3546_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/573085/ltcube_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.fits outfile=/scratch/kocevski/573085/expmap_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.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/573085/ltcube_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.fits
.....................!
real 195.58
user 187.85
sys 5.41

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/573085/ft1_filtered_4FGL_J2104.0-3546_daily_bin1759.fits scfile=/scratch/kocevski/573085/ft2_4FGL_J2104.0-3546_daily_bin1759.fits outfile=/scratch/kocevski/573085/cmap_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/573085/ft1_filtered_4FGL_J2104.0-3546_daily_bin1759.fits scfile=/scratch/kocevski/573085/ft2_4FGL_J2104.0-3546_daily_bin1759.fits outfile=/scratch/kocevski/573085/cmap_HighResolution_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.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.56
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/573085/ft1_filtered_4FGL_J2104.0-3546_daily_bin1759.fits', '/scratch/kocevski/573085/ft2_4FGL_J2104.0-3546_daily_bin1759.fits', expMap='/scratch/kocevski/573085/expmap_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.fits', expCube='/scratch/kocevski/573085/ltcube_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/573085/Model_4FGL_J2104.0-3546_daily_bin1759.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  0.000e+00  1.000e+06 ( 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/573085/ft1_filtered_4FGL_J2104.0-3546_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/573085/ft2_4FGL_J2104.0-3546_daily_bin1759.fits
Exposure map: /scratch/kocevski/573085/expmap_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.fits
Exposure cube: /scratch/kocevski/573085/ltcube_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/573085/Model_4FGL_J2104.0-3546_daily_bin1759.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) = 2599.39901188

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.230       1.0000          .0000       .10000E+07
     2 'Prefactor '    624.92       1.0000          .0000       .10000E+07
     3 'norm      '    .17839E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .61576       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13179E-01   1.0000          .0000       .10000E+07
     6 'norm      '    199.73       1.0000          .0000       .10000E+07
     7 'norm      '    .83812       1.0000          .0000       .10000E+07
     8 'Prefactor '    83.828       1.0000          .0000       .10000E+07
     9 'Prefactor '    40.706       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17387E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .38708       1.0000          .0000       .10000E+07
    12 'Prefactor '    .53374E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .16744E-04   1.0000          .0000       .10000E+07
    14 'norm      '    18.497       1.0000          .0000       .10000E+07
    15 'Prefactor '    .35337E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .14516E-05   1.0000          .0000       .10000E+07
    17 'norm      '    9.1351       1.0000          .0000       .10000E+07
    18 'norm      '    .24268E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    2.3002       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .77826       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2599.373     FROM MIGRAD    STATUS=CONVERGED    243 CALLS     1685 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.867        62.966        .46687E-07    .14495E-04
   2  Prefactor     642.39        575.69        .38294E-06    .21180E-04
   3  norm           .0000        31.491       -.34488E-07** at limit **
   4  Prefactor     .15543E-08    238.30       -.11896E-05** at limit **
   5  Prefactor      .0000        59.993        .99300E-07** at limit **
   6  norm          204.82        170.03        .37379E-07    .12846E-04
   7  norm          .83835        1.9856        .30927E-08    .22444E-04
   8  Prefactor     78.658        81.927        .33245E-07    .21650E-04
   9  Prefactor     38.225        112.28        .94292E-06    .91106E-04
  10  Prefactor      .0000        12.979        .58653E-08** at limit **
  11  Prefactor     .40078        166.81        .28698E-05    .16825E-03
  12  Prefactor      .0000        29.136       -.12941E-06** at limit **
  13  norm           .0000        6.4329       -.35572E-07** at limit **
  14  norm          18.424        10.065       -.22701E-07   -.23357E-03
  15  Prefactor      .0000        29.582       -.10896E-07** at limit **
  16  Prefactor      .0000        18.589       -.45739E-08** at limit **
  17  norm          9.1639        12.962        .22028E-07    .69361E-05
  18  norm          .22204E-09    104.42        .85162E-07** at limit **
  19  Normalizat    2.3027        .52641       -.22981E-05    .14779E-04
  20  Prefactor     .78028        .27401       -.31206E-06    .20354E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.8669
  Prefactor  = 642.386
  norm       = 0
  Prefactor  = 1.55431e-09
  Prefactor  = 0
  norm       = 204.824
  norm       = 0.83835
  Prefactor  = 78.6576
  Prefactor  = 38.2254
  Prefactor  = 0
  Prefactor  = 0.400784
  Prefactor  = 0
  norm       = 0
  norm       = 18.4244
  Prefactor  = 0
  Prefactor  = 0
  norm       = 9.16386
  norm       = 2.22045e-10
  Normalizat = 2.30265
  Prefactor  = 0.780278
 **********
 **   18 **HESSE 
 **********

 FCN=   2599.373     FROM HESSE     STATUS=OK           335 CALLS     2020 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.867        63.260        .24102E-03   -1.5628    
   2  Prefactor     642.39        575.61        .40015E-04   -1.5201    
   3  norm           .0000        31.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .15543E-08    227.30        .67828E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        59.963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          204.82        170.00        .70765E-04   -1.5422    
   7  norm          .83835        2.0058        .50136E-03   -1.5690    
   8  Prefactor     78.658        81.944        .10923E-03   -1.5531    
   9  Prefactor     38.225        112.49        .15675E-03   -1.5584    
  10  Prefactor      .0000        12.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .40078        17.036        .90999E-02   -1.5695    
  12  Prefactor      .0000        29.204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        6.4409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.424        10.061        .23260E-03   -1.5622    
  15  Prefactor      .0000        29.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        18.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.1639        12.956        .33136E-03   -1.5647    
  18  norm          .22204E-09    99.637        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    2.3027        .45998        .73785E-01   -.57164    
  20  Prefactor     .78028        .24140        .43434E-01   -1.0046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46711e-10
Minuit parameter uncertainties:
  1  63.2623
  2  575.661
  3  4.03784e-05
  4  0.0011898
  5  1.84543e-05
  6  170.003
  7  2.00581
  8  81.9456
  9  112.491
  10  6.24411e-06
  11  5.226
  12  4.26789e-06
  13  5.71864e-06
  14  10.061
  15  4.06935e-05
  16  1.1767e-06
  17  12.956
  18  0.000290764
  19  0.460905
  20  0.24173
Done.

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

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  3.823e+01  1.125e+02  0.000e+00  1.000e+06 ( 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:  7.803e-01  2.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:  2.303e+00  4.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/573085/likelihoodResults_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.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) = 2597.58076575
delta logL = 1.79173583424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2597.39521727
delta logL = 1.97728431853

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93631       1.0000          .0000       .10000E+07
     2 'Index     '    5.4126       1.0000          .0000       10.000    
     3 'Normalizat'    1.9709       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87717       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.

 FCN=   2597.395     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      276 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91917        10.515        .43282E-03    .60605E-02
   2  Index         5.4217        2.8897        .60134E-01    .11636E-03
   3  Normalizat    1.9718        .19370        .77442E-01    .85569E-05
   4  Prefactor     .87657        .10089        .44713E-01    .14008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.919169
  Index      = 5.4217
  Normalizat = 1.97175
  Prefactor  = 0.876575
 **********
 **   18 **HESSE 
 **********

 FCN=   2597.395     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      309 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91917        14.768        .26803E-05   -1.5689    
   2  Index         5.4217        3.4564        .25563E-02    .84441E-01
   3  Normalizat    1.9718        .48634        .34262E-03   -.65260    
   4  Prefactor     .87657        .25026        .25199E-03   -.96965    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.17043e-10
Minuit parameter uncertainties:
  1  7.36858
  2  3.81978
  3  0.487565
  4  0.250584
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/573085': 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) = 2597.39520847
delta logL = 1.97729311844

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  9.192e-01  7.369e+00  0.000e+00  1.000e+06 ( 1.000e-13)
275        Index:  5.422e+00  3.820e+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:  8.766e-01  2.506e-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.972e+00  4.876e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.37
Ra Dec: 316.010 -35.768
Photon Index (Free Index): 5.42 +/- 3.82
Photon Flux (Free Index): 5.31e-07 +/- 3.11e-07
Energy Flux (Free Index): 6.84e-05 +/- 4.61e-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/573085/cmap_HighResolution_695260801_695520001_4FGL_J2104.0-3546_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.57e-02', comment='SUCCESS', energy_flux2='6.84e-05', dlogl='1.98e+00', photon_flux2='5.31e-07', job_status='DONE', time_completed='2023-01-16 02:09:28.399778', photon_index_error2='3.82', photon_index2='5.42', ts='0.13', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='4.63e-07', energy_flux_error2='4.61e-05', EG='2.30', time_epoch_completed='1673863768.4', return_code='0', job_id='573085', GAL2='0.88', EG2='1.97', return_code2='102', photon_flux_error2='3.11e-07', ts2='4.37', photon_index='2.37' WHERE bin_id='1759' AND source_name='4FGL J2104.0-3546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 02:09:28 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 573085: <4FGL_J2104.0-3546_daily_bin1759> in cluster <slac> Done

Job <4FGL_J2104.0-3546_daily_bin1759> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Jan 16 02:00:16 2023
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 02:01:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 02:01:12 2023
Terminated at Mon Jan 16 02:09:29 2023
Results reported at Mon Jan 16 02:09:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2104.0-3546_daily_bin1759 316.01 -35.7678 695260801 695520001 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 :                                   423.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   496 sec.
    Turnaround time :                            553 sec.

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

