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


Performing analysis on: 4FGL_J2104.0-3546_daily_bin1729
RA = 316.01, Dec = -35.7678
tmin = 687484801, tmax = 687744001
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='378582', job_status='RUN', time_executed='2022-10-18 00:38:28.515662', time_epoch_executed='1666078708.52' WHERE source_name='4FGL J2104.0-3546' and cadence='daily' and bin_id='1729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378582

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378582/ft1_4FGL_J2104.0-3546_daily_bin1729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378582/ft2_4FGL_J2104.0-3546_daily_bin1729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378582/ft1_4FGL_J2104.0-3546_daily_bin1729.fits outfile=/scratch/kocevski/378582/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin1729.fits ra=316.01 dec=-35.7678 rad=12.0 tmin=687484801.0 tmax=687744001.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.61
user 3.37
sys 0.21

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

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

Number of photons that the gtmktime cut: 741

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378582/ft1_filtered_4FGL_J2104.0-3546_daily_bin1729.fits" evtable="EVENTS" scfile=/scratch/kocevski/378582/ft2_4FGL_J2104.0-3546_daily_bin1729.fits sctable="SC_DATA" outfile=/scratch/kocevski/378582/ltcube_687484801_687744001_4FGL_J2104.0-3546_daily_bin1729.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/378582/ft2_4FGL_J2104.0-3546_daily_bin1729.fits
.....................!
real 13.05
user 12.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378582/ft1_filtered_4FGL_J2104.0-3546_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378582/ft2_4FGL_J2104.0-3546_daily_bin1729.fits sctable="SC_DATA" expcube=/scratch/kocevski/378582/ltcube_687484801_687744001_4FGL_J2104.0-3546_daily_bin1729.fits outfile=/scratch/kocevski/378582/expmap_687484801_687744001_4FGL_J2104.0-3546_daily_bin1729.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/378582/ltcube_687484801_687744001_4FGL_J2104.0-3546_daily_bin1729.fits
.....................!
real 192.88
user 187.21
sys 5.20

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/378582/ft1_filtered_4FGL_J2104.0-3546_daily_bin1729.fits scfile=/scratch/kocevski/378582/ft2_4FGL_J2104.0-3546_daily_bin1729.fits outfile=/scratch/kocevski/378582/cmap_687484801_687744001_4FGL_J2104.0-3546_daily_bin1729.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378582/ft1_filtered_4FGL_J2104.0-3546_daily_bin1729.fits scfile=/scratch/kocevski/378582/ft2_4FGL_J2104.0-3546_daily_bin1729.fits outfile=/scratch/kocevski/378582/cmap_HighResolution_687484801_687744001_4FGL_J2104.0-3546_daily_bin1729.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/378582/ft1_filtered_4FGL_J2104.0-3546_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/378582/ft2_4FGL_J2104.0-3546_daily_bin1729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/378582/Model_4FGL_J2104.0-3546_daily_bin1729.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/378582/ft1_filtered_4FGL_J2104.0-3546_daily_bin1729.fits.....................!
real 66.70
user 65.33
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6338       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16878E-01   1.0000          .0000       .10000E+07
     3 'norm      '    14.824       1.0000          .0000       .10000E+07
     4 'Prefactor '    .34639E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    93.621       1.0000          .0000       .10000E+07
     6 'norm      '    .74891E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .83161       1.0000          .0000       .10000E+07
     8 'Prefactor '    20.830       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.846       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.7601       1.0000          .0000       .10000E+07
    11 'Prefactor '    .25264E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.6038       1.0000          .0000       .10000E+07
    13 'norm      '    .42638E-05   1.0000          .0000       .10000E+07
    14 'norm      '    32.157       1.0000          .0000       .10000E+07
    15 'Prefactor '    .83148E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .32100E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .39790E-03   1.0000          .0000       .10000E+07
    18 'norm      '    9.8461       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1221       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0715       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=   8116.057     FROM MIGRAD    STATUS=CONVERGED     93 CALLS     1525 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6498        1.5474       -.13016E-06    .20197E-02
   2  Prefactor     .11102E-09    20.036       -.15559E-06** at limit **
   3  norm          14.819        1.0504       -.26632E-07    .35810E-02
   4  Prefactor     .26518E-06    5.8116       -.14320E-05** at limit **
   5  Prefactor     93.685        6.7682        .47706E-06   -.28852    
   6  norm          .26978E-07    14.930       -.85802E-07** at limit **
   7  norm          .83090        1.5897       -.11346E-06   -.72438E-02
   8  Prefactor     20.760        6.2691       -.91495E-06    .84704E-01
   9  Prefactor     12.841        1.0758        .52070E-07   -.83441E-04
  10  Prefactor     5.7409        8.1943       -.20608E-05   -.61016E-01
  11  Prefactor     .22204E-09    3.5099       -.61140E-07** at limit **
  12  Prefactor     6.5885        1.3989       -.24590E-06    .11424E-01
  13  norm          .11102E-09    2.1403       -.43472E-07** at limit **
  14  norm          32.146        1.5330        .21017E-07    .20056E-01
  15  Prefactor     .57898E-07    8.9302        .46348E-06** at limit **
  16  Prefactor     .13323E-07    2.2981        .45194E-06** at limit **
  17  norm          .43188E-07    2.8182        .48623E-06** at limit **
  18  norm          9.8662        7.0368       -.46731E-06   -.18269E-01
  19  Normalizat    1.1223        .26084        .12873E-04    .29979E-04
  20  Prefactor     1.0713        .12742       -.22358E-05   -.91364E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.64982
  Prefactor  = 1.11022e-10
  norm       = 14.8191
  Prefactor  = 2.65177e-07
  Prefactor  = 93.6852
  norm       = 2.69784e-08
  norm       = 0.830899
  Prefactor  = 20.7601
  Prefactor  = 12.8413
  Prefactor  = 5.74091
  Prefactor  = 2.22045e-10
  Prefactor  = 6.58854
  norm       = 1.11022e-10
  norm       = 32.146
  Prefactor  = 5.78981e-08
  Prefactor  = 1.33227e-08
  norm       = 4.31877e-08
  norm       = 9.86623
  Normalizat = 1.12235
  Prefactor  = 1.07128
 **********
 **   18 **HESSE 
 **********

 FCN=   8116.057     FROM HESSE     STATUS=OK           331 CALLS     1856 TOTAL
                     EDM=   .60E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6498        12.519        .42299E-03   -1.5660    
   2  Prefactor     .11102E-09    19.985        .17251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          14.819        17.286        .25988E-03   -1.5631    
   4  Prefactor     .26518E-06    6.0174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     93.685        77.172        .10336E-03   -1.5514    
   6  norm          .26978E-07    14.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .83090        1.6002        .50608E-03   -1.5690    
   8  Prefactor     20.760        24.278        .21917E-03   -1.5617    
   9  Prefactor     12.841        17.138        .27922E-03   -1.5636    
  10  Prefactor     5.7409        8.4806        .41826E-03   -1.5660    
  11  Prefactor     .22204E-09    3.5140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.5885        25.909        .39027E-03   -1.5657    
  13  norm          .11102E-09    2.1471        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          32.146        8.0040        .17637E-03   -1.5595    
  15  Prefactor     .57898E-07    8.9464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .13323E-07    5.1244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .43188E-07    5.0371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.8662        7.1323        .31910E-03   -1.5645    
  19  Normalizat    1.1223        .23402        .83373E-01   -.89038    
  20  Prefactor     1.0713        .11202        .38789E-01   -.90390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.9671e-06
Minuit parameter uncertainties:
  1  12.5188
  2  9.00236e-05
  3  17.2862
  4  0.00252629
  5  77.1731
  6  0.00127114
  7  1.60019
  8  24.2779
  9  17.1378
  10  8.48058
  11  5.52026e-05
  12  25.9095
  13  2.99496e-05
  14  8.00396
  15  0.00143962
  16  0.000522087
  17  0.000932719
  18  7.13227
  19  0.234238
  20  0.112045
Done.

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

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.284e+01  1.714e+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.071e+00  1.120e-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.122e+00  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/378582/likelihoodResults_687484801_687744001_4FGL_J2104.0-3546_daily_bin1729.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) = 8115.89858756
delta logL = 0.15867895288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8115.8875257
delta logL = 0.16974081221

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.153       1.0000          .0000       .10000E+07
     2 'Index     '    1.8602       1.0000          .0000       10.000    
     3 'Normalizat'    1.1328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0677       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=   8115.888     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      302 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.168        20.506        .96623E-05   -.48241E-04
   2  Index         1.8610        .75366        .13813E-01   -.85772E-04
   3  Normalizat    1.1328        .25320        .36760E-03   -.32009E-04
   4  Prefactor     1.0678        .12659        .18727E-03    .77052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.1675
  Index      = 1.86104
  Normalizat = 1.13283
  Prefactor  = 1.06781
 **********
 **   18 **HESSE 
 **********

 FCN=   8115.888     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.168        20.489        .38649E-06   -1.5625    
   2  Index         1.8610        .75338        .27625E-02   -.67871    
   3  Normalizat    1.1328        .25334        .14704E-04   -.88704    
   4  Prefactor     1.0678        .12668        .37453E-04   -.90502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07935e-11
Minuit parameter uncertainties:
  1  20.4892
  2  0.758161
  3  0.253618
  4  0.126712
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378582': 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) = 8115.88752311
delta logL = 0.169743401729

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.717e+01  2.049e+01  0.000e+00  1.000e+06 ( 1.000e-13)
275        Index:  1.861e+00  7.582e-01  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.068e+00  1.267e-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.133e+00  2.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.20
Ra Dec: 316.010 -35.768
Photon Index (Free Index): 1.86 +/- 0.76
Photon Flux (Free Index): 1.42e-08 +/- 2.10e-08
Energy Flux (Free Index): 1.43e-05 +/- 2.51e-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/378582/cmap_HighResolution_687484801_687744001_4FGL_J2104.0-3546_daily_bin1729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', comment='SUCCESS', energy_flux2='1.43e-05', dlogl='1.70e-01', photon_flux2='1.42e-08', job_status='DONE', time_completed='2022-10-18 00:48:39.958558', photon_index_error2='0.76', photon_index2='1.86', ts='0.86', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='2.51e-05', EG='1.12', time_epoch_completed='1666079319.96', return_code='0', job_id='378582', GAL2='1.07', EG2='1.13', return_code2='0', photon_flux_error2='2.10e-08', ts2='1.20', photon_index='2.37' WHERE bin_id='1729' AND source_name='4FGL J2104.0-3546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:48:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 378582: <4FGL_J2104.0-3546_daily_bin1729> in cluster <slac> Done

Job <4FGL_J2104.0-3546_daily_bin1729> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:18 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:19 2022
Terminated at Tue Oct 18 00:48:40 2022
Results reported at Tue Oct 18 00:48:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2104.0-3546_daily_bin1729 316.01 -35.7678 687484801 687744001 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 :                                   612.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             298.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            802 sec.

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

