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


Performing analysis on: 4FGL_J2104.0-3546_daily_bin1675
RA = 316.01, Dec = -35.7678
tmin = 673488001, tmax = 673747201
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='882982', job_status='RUN', time_executed='2022-05-09 01:23:30.555090', time_epoch_executed='1652084610.56' WHERE source_name='4FGL J2104.0-3546' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882982

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882982/ft1_4FGL_J2104.0-3546_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882982/ft2_4FGL_J2104.0-3546_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882982/ft1_4FGL_J2104.0-3546_daily_bin1675.fits outfile=/scratch/kocevski/882982/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin1675.fits ra=316.01 dec=-35.7678 rad=12.0 tmin=673488001.0 tmax=673747201.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.60
user 2.35
sys 0.20

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

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

Number of photons that the gtmktime cut: 734

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882982/ft1_filtered_4FGL_J2104.0-3546_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/882982/ft2_4FGL_J2104.0-3546_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/882982/ltcube_673488001_673747201_4FGL_J2104.0-3546_daily_bin1675.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/882982/ft2_4FGL_J2104.0-3546_daily_bin1675.fits
.....................!
real 15.59
user 15.11
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882982/ft1_filtered_4FGL_J2104.0-3546_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/882982/ft2_4FGL_J2104.0-3546_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/882982/ltcube_673488001_673747201_4FGL_J2104.0-3546_daily_bin1675.fits outfile=/scratch/kocevski/882982/expmap_673488001_673747201_4FGL_J2104.0-3546_daily_bin1675.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/882982/ltcube_673488001_673747201_4FGL_J2104.0-3546_daily_bin1675.fits
.....................!
real 192.12
user 185.79
sys 5.91

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/882982/ft1_filtered_4FGL_J2104.0-3546_daily_bin1675.fits scfile=/scratch/kocevski/882982/ft2_4FGL_J2104.0-3546_daily_bin1675.fits outfile=/scratch/kocevski/882982/cmap_673488001_673747201_4FGL_J2104.0-3546_daily_bin1675.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.60
user 0.40
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/882982/ft1_filtered_4FGL_J2104.0-3546_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/882982/ft2_4FGL_J2104.0-3546_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/882982/Model_4FGL_J2104.0-3546_daily_bin1675.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/882982/ft1_filtered_4FGL_J2104.0-3546_daily_bin1675.fits.....................!
real 66.18
user 64.70
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    95.902       1.0000         .10000E-03   10000.    
     2 'norm      '    10.275       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.669       1.0000         .10000E-03   10000.    
     4 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.6780       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .59621       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .75733E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    28.527       1.0000         .10000E-03   10000.    
    10 'norm      '    .80848       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5658       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4636       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7668       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.498       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.7269       1.0000         .10000E-03   10000.    
    17 'norm      '    12.150       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4477       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99481       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=   7847.090     FROM MIGRAD    STATUS=CONVERGED    975 CALLS     3380 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     95.821        76.171        .41044E-04   -.15511E-05
   2  norm          10.279        11.987        .12500E-03   -.26557E-04
   3  Prefactor     18.581        52.726        .92695E-04    .15821E-04
   4  norm          .10000E-03    18.429        .18142E-02** at limit **
   5  Prefactor     5.6741        17.471        .16857E-03   -.35743E-04
   6  Prefactor     .59219        13.016        .30366E-02   -.41615E-03
   7  Prefactor     .10000E-03    17.033        .18142E-02** at limit **
   8  Prefactor     .10017E-03    61.164        .21446    ** at limit **
   9  norm          28.512        28.424        .75010E-04   -.15156E-04
  10  norm          .81047        1.0829        .13345E-02    .50801E-03
  11  Prefactor     6.5634        18.475        .15661E-03    .68235E-05
  12  Prefactor     6.4661        39.909        .15786E-03   -.25206E-05
  13  Prefactor     9.7656        7.3651        .12822E-03    .12945E-04
  14  Prefactor     18.497        9.7116        .93123E-04    .37845E-05
  15  Prefactor     .10000E-03    17.223        .18142E-02** at limit **
  16  norm          2.7278        7.4094        .24660E-03    .50436E-04
  17  norm          12.149        6.3315        .57462E-03    .26856E-03
  18  Prefactor     .10000E-03    6.1913        .18142E-02** at limit **
  19  Prefactor     .10000E-03    6.3421        .18142E-02** at limit **
  20  norm          .10000E-03    2.4494        .13527E-02** at limit **
  21  norm          .10001E-03    9.2804        .30163E-02** at limit **
  22  Normalizat    1.4479        .27028        .33591E-03   -.35032E-03
  23  Prefactor     .99468        .13728        .19864E-03   -.18262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 95.8207
  norm       = 10.2793
  Prefactor  = 18.5815
  norm       = 0.0001
  Prefactor  = 5.67406
  Prefactor  = 0.592186
  Prefactor  = 0.0001
  Prefactor  = 0.000100173
  norm       = 28.5117
  norm       = 0.810474
  Prefactor  = 6.56341
  Prefactor  = 6.46608
  Prefactor  = 9.76558
  Prefactor  = 18.497
  Prefactor  = 0.0001
  norm       = 2.72775
  norm       = 12.1495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100012
  Normalizat = 1.44786
  Prefactor  = 0.994676
 **********
 **   18 **HESSE 
 **********

 FCN=   7847.090     FROM HESSE     STATUS=OK           360 CALLS     3740 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     95.821        76.166        .82087E-05   -1.3747    
   2  norm          10.279        11.986        .50000E-05   -1.5067    
   3  Prefactor     18.581        52.663        .37078E-05   -1.4846    
   4  norm          .10000E-03    18.432        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.6741        17.470        .67430E-05   -1.5232    
   6  Prefactor     .59219        12.960        .12146E-03   -1.5554    
   7  Prefactor     .10000E-03    17.033        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10017E-03    62.510        .21073       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          28.512        28.426        .30004E-05   -1.4640    
  10  norm          .81047        1.0824        .53381E-04   -1.5528    
  11  Prefactor     6.5634        18.473        .62646E-05   -1.5196    
  12  Prefactor     6.4661        39.903        .63145E-05   -1.5199    
  13  Prefactor     9.7656        7.3648        .51290E-05   -1.5083    
  14  Prefactor     18.497        9.7111        .37249E-05   -1.4848    
  15  Prefactor     .10000E-03    17.224        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.7278        7.4092        .98639E-05   -1.5378    
  17  norm          12.149        6.3309        .22985E-04   -1.5011    
  18  Prefactor     .10000E-03    6.1933        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.3437        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.4495        .27053E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10001E-03    9.3615        .60325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4479        .27035        .67182E-04   -.79254    
  23  Prefactor     .99468        .13735        .39728E-04   -.92907    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10312e-09
Minuit parameter uncertainties:
  1  76.244
  2  11.9893
  3  52.7948
  4  2.01798e-05
  5  17.4856
  6  5.54148
  7  4.23064e-05
  8  0.0065754
  9  28.44
  10  1.08245
  11  18.4888
  12  32.1574
  13  7.36547
  14  9.7119
  15  0.000169794
  16  7.41164
  17  6.33126
  18  1.82631e-06
  19  2.42708e-05
  20  1.1553e-06
  21  0.00067243
  22  0.270622
  23  0.137398
Done.

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

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  6.466e+00  3.216e+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:  9.947e-01  1.374e-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.448e+00  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/882982/likelihoodResults_673488001_673747201_4FGL_J2104.0-3546_daily_bin1675.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) = 7846.85948242
delta logL = 0.23050454185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7846.84778236
delta logL = 0.242204601009

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9667       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2743       1.0000          .0000       10.000    
     3 'Normalizat'    1.4150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0002       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7846.848     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      297 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9773        65.491        .82193E-03   -.17092E-03
   2  Index         3.2758        3.0280        .89085E-02   -.29797E-04
   3  Normalizat    1.4148        .26725        .33914E-03    .99897E-04
   4  Prefactor     1.0001        .13361        .19812E-03    .16941E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.97727
  Index      = 3.2758
  Normalizat = 1.41481
  Prefactor  = 1.00014
 **********
 **   18 **HESSE 
 **********

 FCN=   7846.848     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9773        15.999        .32877E-04   -1.5219    
   2  Index         3.2758        1.3109        .35634E-03   -.35207    
   3  Normalizat    1.4148        .26715        .13565E-04   -.80201    
   4  Prefactor     1.0001        .13246        .39625E-04   -.92725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.58953e-11
Minuit parameter uncertainties:
  1  16.0108
  2  1.32858
  3  0.267415
  4  0.132503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882982': 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) = 7846.84777631
delta logL = 0.242210652149

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  5.977e+00  1.601e+01  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  3.276e+00  1.329e+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.000e+00  1.325e-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.415e+00  2.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 316.010 -35.768

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/882982/cmap_HighResolution_673488001_673747201_4FGL_J2104.0-3546_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2022-05-09 01:36:41.789297', job_id='882982', GAL2='1.00', fit_tolerance='1e-08', EG2='1.41', EG='1.45', time_epoch_completed='1652085401.79', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.42e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1675' AND source_name='4FGL J2104.0-3546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:36:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 882982: <4FGL_J2104.0-3546_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2104.0-3546_daily_bin1675> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon May  9 01:20:40 2022
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:23:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:23:09 2022
Terminated at Mon May  9 01:36:42 2022
Results reported at Mon May  9 01:36:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2104.0-3546_daily_bin1675 316.01 -35.7678 673488001 673747201 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 :                                   790.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            962 sec.

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

