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


Performing analysis on: 4FGL_J2104.0-3546_daily_bin1745
RA = 316.01, Dec = -35.7678
tmin = 691632001, tmax = 691891201
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='655267', job_status='RUN', time_executed='2022-12-05 01:15:59.021917', time_epoch_executed='1670231759.02' WHERE source_name='4FGL J2104.0-3546' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/655267

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/655267/ft1_4FGL_J2104.0-3546_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/655267/ft2_4FGL_J2104.0-3546_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/655267/ft1_4FGL_J2104.0-3546_daily_bin1745.fits outfile=/scratch/kocevski/655267/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin1745.fits ra=316.01 dec=-35.7678 rad=12.0 tmin=691632001.0 tmax=691891201.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.36
user 2.15
sys 0.19

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

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

Number of photons that the gtmktime cut: 685

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/655267/ft1_filtered_4FGL_J2104.0-3546_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/655267/ft2_4FGL_J2104.0-3546_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/655267/ltcube_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.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/655267/ft2_4FGL_J2104.0-3546_daily_bin1745.fits
.....................!
real 12.90
user 12.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/655267/ft1_filtered_4FGL_J2104.0-3546_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/655267/ft2_4FGL_J2104.0-3546_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/655267/ltcube_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.fits outfile=/scratch/kocevski/655267/expmap_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.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/655267/ltcube_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.fits
.....................!
real 190.13
user 185.17
sys 4.58

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/655267/ft1_filtered_4FGL_J2104.0-3546_daily_bin1745.fits scfile=/scratch/kocevski/655267/ft2_4FGL_J2104.0-3546_daily_bin1745.fits outfile=/scratch/kocevski/655267/cmap_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/655267/ft1_filtered_4FGL_J2104.0-3546_daily_bin1745.fits scfile=/scratch/kocevski/655267/ft2_4FGL_J2104.0-3546_daily_bin1745.fits outfile=/scratch/kocevski/655267/cmap_HighResolution_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/655267/ft1_filtered_4FGL_J2104.0-3546_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/655267/ft2_4FGL_J2104.0-3546_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/655267/Model_4FGL_J2104.0-3546_daily_bin1745.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/655267/ft1_filtered_4FGL_J2104.0-3546_daily_bin1745.fits.....................!
real 62.56
user 61.26
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/655267/ft1_filtered_4FGL_J2104.0-3546_daily_bin1745.fits', '/scratch/kocevski/655267/ft2_4FGL_J2104.0-3546_daily_bin1745.fits', expMap='/scratch/kocevski/655267/expmap_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.fits', expCube='/scratch/kocevski/655267/ltcube_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/655267/Model_4FGL_J2104.0-3546_daily_bin1745.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/655267/ft1_filtered_4FGL_J2104.0-3546_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/655267/ft2_4FGL_J2104.0-3546_daily_bin1745.fits
Exposure map: /scratch/kocevski/655267/expmap_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.fits
Exposure cube: /scratch/kocevski/655267/ltcube_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/655267/Model_4FGL_J2104.0-3546_daily_bin1745.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) = 7496.54830467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9845       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.5087       1.0000          .0000       .10000E+07
     3 'norm      '    7.7603       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12073E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16159E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .33353E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .18796E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    23.448       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.2883       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.7167       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1451       1.0000          .0000       .10000E+07
    12 'Prefactor '    18.073       1.0000          .0000       .10000E+07
    13 'norm      '    .26960E-03   1.0000          .0000       .10000E+07
    14 'norm      '    25.340       1.0000          .0000       .10000E+07
    15 'Prefactor '    .44730E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.9618       1.0000          .0000       .10000E+07
    17 'norm      '    .99814E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .34659E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0219       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0889       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=   7496.542     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1527 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0211        18.022       -.14855E-06   -.61765E-02
   2  Prefactor     1.0996        110.83       -.63550E-06   -.17426E-02
   3  norm          7.7427        2.8272        .29938E-08    .24629E-02
   4  Prefactor      .0000        1.9581        .29885E-06** at limit **
   5  Prefactor     .29698E-07    14.322       -.50080E-06** at limit **
   6  norm          .91099E-06    27.060        .11557E-06** at limit **
   7  norm           .0000        3.2186        .78490E-07** at limit **
   8  Prefactor     23.412        12.890       -.25786E-07   -.62775E-01
   9  Prefactor     7.1619        13.172       -.93341E-07   -.22212E-01
  10  Prefactor     5.7070        5.4110       -.52397E-07    .44675E-03
  11  Prefactor     5.1609        8.6916       -.85134E-07   -.38629E-03
  12  Prefactor     17.837        29.292       -.23222E-06    .38724E-01
  13  norm          .51736E-07    19.291       -.51997E-06** at limit **
  14  norm          25.381        7.8330       -.67753E-08   -.58727E-02
  15  Prefactor     .83267E-09    6.8913       -.32920E-08** at limit **
  16  Prefactor     4.8924        8.2831        .35081E-07   -.34671E-03
  17  norm          .30014E-05    12.166       -.16220E-07** at limit **
  18  norm           .0000        2.1303       -.64056E-07** at limit **
  19  Normalizat    1.0228        .25958        .50235E-05   -.29989E-04
  20  Prefactor     1.0887        .12946       -.32680E-07   -.55727E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.02106
  Prefactor  = 1.09964
  norm       = 7.74268
  Prefactor  = 0
  Prefactor  = 2.96985e-08
  norm       = 9.10994e-07
  norm       = 0
  Prefactor  = 23.4124
  Prefactor  = 7.16186
  Prefactor  = 5.70698
  Prefactor  = 5.16085
  Prefactor  = 17.837
  norm       = 5.17364e-08
  norm       = 25.3814
  Prefactor  = 8.32667e-10
  Prefactor  = 4.89241
  norm       = 3.00143e-06
  norm       = 0
  Normalizat = 1.02276
  Prefactor  = 1.08874
 **********
 **   18 **HESSE 
 **********

 FCN=   7496.542     FROM HESSE     STATUS=OK           335 CALLS     1862 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0211        18.638        .58740E-03   -1.5673    
   2  Prefactor     1.0996        298.23        .87066E-03   -1.5687    
   3  norm          7.7427        22.106        .35972E-03   -1.5652    
   4  Prefactor      .0000        1.9599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .29698E-07    19.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .91099E-06    34.687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        3.1456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.412        19.645        .20656E-03   -1.5611    
   9  Prefactor     7.1619        35.809        .37129E-03   -1.5654    
  10  Prefactor     5.7070        5.4259        .41986E-03   -1.5660    
  11  Prefactor     5.1609        8.7907        .44298E-03   -1.5663    
  12  Prefactor     17.837        43.799        .23532E-03   -1.5623    
  13  norm          .51736E-07    23.590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          25.381        8.2780        .19869E-03   -1.5607    
  15  Prefactor     .83267E-09    6.9118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.8924        8.3141        .45125E-03   -1.5664    
  17  norm          .30014E-05    33.505        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        2.1227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0228        .23116        .82398E-01   -.92272    
  20  Prefactor     1.0887        .11434        .38025E-01   -.89827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10647e-07
Minuit parameter uncertainties:
  1  15.0077
  2  36.2202
  3  22.1064
  4  8.25385e-06
  5  0.00152413
  6  0.0112429
  7  4.34799e-06
  8  19.645
  9  32.0292
  10  5.42587
  11  8.79069
  12  43.7995
  13  0.00220894
  14  8.27799
  15  0.000150226
  16  8.31416
  17  0.0200562
  18  1.33079e-06
  19  0.231391
  20  0.11437
Done.

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

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  7.162e+00  3.203e+01  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:  1.089e+00  1.144e-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.023e+00  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/655267/likelihoodResults_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.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) = 7496.04700146
delta logL = 0.495200043328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7495.96624229
delta logL = 0.575959211532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75587       1.0000          .0000       .10000E+07
     2 'Index     '    4.6343       1.0000          .0000       10.000    
     3 'Normalizat'    .94059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1110       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=   7495.966     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      310 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .74928        14.107        .56284E-03   -.66805E-02
   2  Index         4.6386        3.1314        .11103        .22750E-04
   3  Normalizat    .94038        .61896E-01    .85528E-01   -.64538E-04
   4  Prefactor     1.1112        .31270E-01    .37184E-01   -.17565E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.749275
  Index      = 4.63863
  Normalizat = 0.940382
  Prefactor  = 1.11115
 **********
 **   18 **HESSE 
 **********

 FCN=   7495.966     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      341 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .74928        31.764        .67833E-05   -1.5691    
   2  Index         4.6386        7.2536        .61280E-02   -.72338E-01
   3  Normalizat    .94038        .21180        .37869E-03   -.95055    
   4  Prefactor     1.1112        .10627        .17793E-03   -.89111    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.69123e-09
Minuit parameter uncertainties:
  1  9.75705
  2  6.32659
  3  0.211987
  4  0.106294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/655267': 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) = 7495.9662403
delta logL = 0.575961203856

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  7.493e-01  9.757e+00  0.000e+00  1.000e+06 ( 1.000e-13)
275        Index:  4.639e+00  6.327e+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.111e+00  1.063e-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:  9.404e-01  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.31
Ra Dec: 316.010 -35.768
Photon Index (Free Index): 4.64 +/- 6.33
Photon Flux (Free Index): 8.70e-08 +/- 8.30e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/655267/cmap_HighResolution_691632001_691891201_4FGL_J2104.0-3546_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', comment='SUCCESS', energy_flux2='1.20e-05', dlogl='5.76e-01', photon_flux2='8.70e-08', job_status='DONE', time_completed='2022-12-05 01:25:40.642197', photon_index_error2='6.33', photon_index2='4.64', ts='0.06', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='1.52e-05', EG='1.02', time_epoch_completed='1670232340.64', return_code='0', job_id='655267', GAL2='1.11', EG2='0.94', return_code2='102', photon_flux_error2='8.30e-08', ts2='1.31', photon_index='2.37' WHERE bin_id='1745' AND source_name='4FGL J2104.0-3546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:25:40 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 655267: <4FGL_J2104.0-3546_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2104.0-3546_daily_bin1745> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Dec  5 01:15:22 2022
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:15:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:15:23 2022
Terminated at Mon Dec  5 01:25:41 2022
Results reported at Mon Dec  5 01:25:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2104.0-3546_daily_bin1745 316.01 -35.7678 691632001 691891201 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 :                                   584.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             309.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   617 sec.
    Turnaround time :                            619 sec.

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

