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


Performing analysis on: 4FGL_J2104.0-3546_daily_bin1686
RA = 316.01, Dec = -35.7678
tmin = 676339201, tmax = 676598401
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='520490', job_status='RUN', time_executed='2022-06-11 00:43:32.519208', time_epoch_executed='1654933412.52' WHERE source_name='4FGL J2104.0-3546' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520490

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520490/ft1_4FGL_J2104.0-3546_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520490/ft2_4FGL_J2104.0-3546_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520490/ft1_4FGL_J2104.0-3546_daily_bin1686.fits outfile=/scratch/kocevski/520490/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin1686.fits ra=316.01 dec=-35.7678 rad=12.0 tmin=676339201.0 tmax=676598401.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.85
user 2.60
sys 0.22

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

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

Number of photons that the gtmktime cut: 523

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520490/ft1_filtered_4FGL_J2104.0-3546_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/520490/ft2_4FGL_J2104.0-3546_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/520490/ltcube_676339201_676598401_4FGL_J2104.0-3546_daily_bin1686.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/520490/ft2_4FGL_J2104.0-3546_daily_bin1686.fits
.....................!
real 15.55
user 15.01
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520490/ft1_filtered_4FGL_J2104.0-3546_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/520490/ft2_4FGL_J2104.0-3546_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/520490/ltcube_676339201_676598401_4FGL_J2104.0-3546_daily_bin1686.fits outfile=/scratch/kocevski/520490/expmap_676339201_676598401_4FGL_J2104.0-3546_daily_bin1686.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/520490/ltcube_676339201_676598401_4FGL_J2104.0-3546_daily_bin1686.fits
.....................!
real 193.07
user 187.11
sys 5.43

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/520490/ft1_filtered_4FGL_J2104.0-3546_daily_bin1686.fits scfile=/scratch/kocevski/520490/ft2_4FGL_J2104.0-3546_daily_bin1686.fits outfile=/scratch/kocevski/520490/cmap_676339201_676598401_4FGL_J2104.0-3546_daily_bin1686.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520490/ft1_filtered_4FGL_J2104.0-3546_daily_bin1686.fits scfile=/scratch/kocevski/520490/ft2_4FGL_J2104.0-3546_daily_bin1686.fits outfile=/scratch/kocevski/520490/cmap_HighResolution_676339201_676598401_4FGL_J2104.0-3546_daily_bin1686.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/520490/ft1_filtered_4FGL_J2104.0-3546_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/520490/ft2_4FGL_J2104.0-3546_daily_bin1686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/520490/Model_4FGL_J2104.0-3546_daily_bin1686.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/520490/ft1_filtered_4FGL_J2104.0-3546_daily_bin1686.fits.....................!
real 51.78
user 50.35
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    128.37       1.0000         .10000E-03   10000.    
     2 'norm      '    20.605       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10136E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    81.173       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11971E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    182.60       1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .37901       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11951E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.509       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.669       1.0000         .10000E-03   10000.    
    16 'norm      '    7.5185       1.0000         .10000E-03   10000.    
    17 'norm      '    9.4318       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .33082E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .25125E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1182       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88769       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5810.110     FROM MIGRAD    STATUS=CONVERGED    514 CALLS     2583 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     128.15        144.49       -.70582E-06   -.53812E-04
   2  norm          20.599        25.429       -.35491E-08   -.94431E-05
   3  Prefactor     .10000E-03    112.57        .37075E-06** at limit **
   4  norm          .10000E-03    16.218       -.21275E-06** at limit **
   5  Prefactor     81.162        61.940        .38228E-06   -.20615E-04
   6  Prefactor     .10000E-03    16.559        .12351E-05** at limit **
   7  Prefactor     .10000E-03    98.734       -.20979E-06** at limit **
   8  Prefactor     182.64        126.60        .10248E-06   -.33921E-05
   9  norm          .10000E-03    56.079        .20021E-05** at limit **
  10  norm          .37828        2.5191        .19164E-05   -.32388E-04
  11  Prefactor     .10000E-03    65.175        .39588E-05** at limit **
  12  Prefactor     11.504        32.330        .66254E-06   -.99404E-05
  13  Prefactor     .10000E-03    5.3019        .64259E-06** at limit **
  14  Prefactor     .10000E-03    2.2660        .13130E-07** at limit **
  15  Prefactor     19.655        31.444        .26268E-06   -.22302E-04
  16  norm          7.5183        5.6232       -.10998E-05    .30149E-04
  17  norm          9.4320        5.3332        .34943E-07   -.10093E-04
  18  Prefactor     .10121E-03    7.9806       -.65897E-07** at limit **
  19  Prefactor     .10000E-03    10.010        .35938E-06** at limit **
  20  norm          .10000E-03    13.417        .77250E-06** at limit **
  21  norm          .10000E-03    2.7551        .70466E-06** at limit **
  22  Normalizat    1.1187        .24119       -.44138E-05   -.87411E-04
  23  Prefactor     .88751        .12360        .13888E-05   -.46338E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 128.146
  norm       = 20.5989
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 81.1621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 182.636
  norm       = 0.0001
  norm       = 0.378278
  Prefactor  = 0.0001
  Prefactor  = 11.504
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.6553
  norm       = 7.51826
  norm       = 9.43203
  Prefactor  = 0.000101205
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.11875
  Prefactor  = 0.887507
 **********
 **   18 **HESSE 
 **********

 FCN=   5810.110     FROM HESSE     STATUS=OK           374 CALLS     2957 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     128.15        144.67        .17767E-03   -1.3439    
   2  norm          20.599        25.465        .88237E-04   -1.4800    
   3  Prefactor     .10000E-03    112.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    16.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     81.162        61.991        .44579E-04   -1.3904    
   6  Prefactor     .10000E-03    17.191        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    98.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     182.64        126.58        .14938E-03   -1.2997    
   9  norm          .10000E-03    56.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .37828        2.5686        .23408E-03   -1.5585    
  11  Prefactor     .10000E-03    67.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.504        32.412        .11809E-03   -1.5029    
  13  Prefactor     .10000E-03    5.3785        .17154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.2718        .11205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.655        31.490        .90309E-04   -1.4821    
  16  norm          7.5183        5.5775        .73130E-03   -1.5160    
  17  norm          9.4320        5.3274        .12174E-03   -1.5094    
  18  Prefactor     .10121E-03    12.536        .54510E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    13.894        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    6.3800        .24247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1187        .27765        .31692E-03   -.89152    
  23  Prefactor     .88751        .14067        .18641E-03   -.96579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08357e-09
Minuit parameter uncertainties:
  1  145.068
  2  25.4784
  3  9.36391e-05
  4  2.02782e-05
  5  62.0401
  6  2.22989e-05
  7  0.000138917
  8  126.767
  9  8.44113e-05
  10  1.97128
  11  0.000337303
  12  32.4612
  13  8.91407e-06
  14  1.56408e-06
  15  31.5165
  16  5.57788
  17  5.3277
  18  0.00777608
  19  4.3948e-05
  20  7.6656e-05
  21  4.94319e-05
  22  0.27801
  23  0.140724
Done.

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

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.150e+01  3.246e+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:  8.875e-01  1.407e-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.119e+00  2.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/520490/likelihoodResults_676339201_676598401_4FGL_J2104.0-3546_daily_bin1686.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) = 5810.08070091
delta logL = 0.029161985869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5810.07819144
delta logL = 0.0316714611617

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.335       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7737       1.0000          .0000       10.000    
     3 'Normalizat'    1.1303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88480       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=   5810.078     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      246 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.260        1459.5        .29748E-02    .39940E-04
   2  Index         1.7683        5.3106        .45556       -.35415E-04
   3  Normalizat    1.1299        .77434E-01    .71311E-01   -.19022E-03
   4  Prefactor     .88506        .33520E-01    .44811E-01    .42101E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2596
  Index      = 1.76831
  Normalizat = 1.12991
  Prefactor  = 0.88506
 **********
 **   18 **HESSE 
 **********

 FCN=   5810.078     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.260        31.571        .11899E-03   -1.5037    
   2  Index         1.7683        1.5340        .12438E-01   -.70278    
   3  Normalizat    1.1299        .25489        .31555E-03   -.88797    
   4  Prefactor     .88506        .13645        .18662E-03   -.96665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30955e-10
Minuit parameter uncertainties:
  1  31.6179
  2  1.57864
  3  0.255166
  4  0.136507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520490': 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) = 5810.07818414
delta logL = 0.0316787598213

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.126e+01  3.162e+01  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  1.768e+00  1.579e+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.851e-01  1.365e-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.130e+00  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/520490/cmap_HighResolution_676339201_676598401_4FGL_J2104.0-3546_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2022-06-11 00:53:32.661228', job_id='520490', GAL2='0.89', fit_tolerance='1e-08', EG2='1.13', EG='1.12', time_epoch_completed='1654934012.66', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.17e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1686' AND source_name='4FGL J2104.0-3546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 00:53:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 520490: <4FGL_J2104.0-3546_daily_bin1686> in cluster <slac> Done

Job <4FGL_J2104.0-3546_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:40:27 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:42:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:42:26 2022
Terminated at Sat Jun 11 00:53:33 2022
Results reported at Sat Jun 11 00:53:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2104.0-3546_daily_bin1686 316.01 -35.7678 676339201 676598401 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 :                                   602.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            786 sec.

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

