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


Performing analysis on: 4FGL_J2104.0-3546_daily_bin1734
RA = 316.01, Dec = -35.7678
tmin = 688780801, tmax = 689040001
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='776326', job_status='RUN', time_executed='2022-11-02 00:36:49.450912', time_epoch_executed='1667374609.45' WHERE source_name='4FGL J2104.0-3546' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776326

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776326/ft1_4FGL_J2104.0-3546_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776326/ft2_4FGL_J2104.0-3546_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776326/ft1_4FGL_J2104.0-3546_daily_bin1734.fits outfile=/scratch/kocevski/776326/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin1734.fits ra=316.01 dec=-35.7678 rad=12.0 tmin=688780801.0 tmax=689040001.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.36
sys 0.22

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

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

Number of photons that the gtmktime cut: 801

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776326/ft1_filtered_4FGL_J2104.0-3546_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776326/ft2_4FGL_J2104.0-3546_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776326/ltcube_688780801_689040001_4FGL_J2104.0-3546_daily_bin1734.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/776326/ft2_4FGL_J2104.0-3546_daily_bin1734.fits
.....................!
real 14.18
user 13.81
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776326/ft1_filtered_4FGL_J2104.0-3546_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776326/ft2_4FGL_J2104.0-3546_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776326/ltcube_688780801_689040001_4FGL_J2104.0-3546_daily_bin1734.fits outfile=/scratch/kocevski/776326/expmap_688780801_689040001_4FGL_J2104.0-3546_daily_bin1734.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/776326/ltcube_688780801_689040001_4FGL_J2104.0-3546_daily_bin1734.fits
.....................!
real 192.72
user 187.31
sys 5.10

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/776326/ft1_filtered_4FGL_J2104.0-3546_daily_bin1734.fits scfile=/scratch/kocevski/776326/ft2_4FGL_J2104.0-3546_daily_bin1734.fits outfile=/scratch/kocevski/776326/cmap_688780801_689040001_4FGL_J2104.0-3546_daily_bin1734.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.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776326/ft1_filtered_4FGL_J2104.0-3546_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776326/ft2_4FGL_J2104.0-3546_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776326/Model_4FGL_J2104.0-3546_daily_bin1734.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/776326/ft1_filtered_4FGL_J2104.0-3546_daily_bin1734.fits.....................!
real 70.14
user 68.83
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13133E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    46.028       1.0000          .0000       .10000E+07
     3 'norm      '    .93245E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21150E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .27829E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .13005       1.0000          .0000       .10000E+07
     7 'norm      '    .94948       1.0000          .0000       .10000E+07
     8 'Prefactor '    .58516E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    14.124       1.0000          .0000       .10000E+07
    10 'Prefactor '    .92636E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14888E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    9.6808       1.0000          .0000       .10000E+07
    13 'norm      '    .43834E-04   1.0000          .0000       .10000E+07
    14 'norm      '    11.828       1.0000          .0000       .10000E+07
    15 'Prefactor '    8.7264       1.0000          .0000       .10000E+07
    16 'Prefactor '    .39466E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .14914E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .47043       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0746       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0820       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=   8559.601     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1544 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49960E-09    23.549        .66301E-06** at limit **
   2  Prefactor     45.675        4.3501        .48273E-07   -.35483E-01
   3  norm          .72997E-07    73.801        .24166E-04** at limit **
   4  Prefactor      .0000        3.6615        .35216E-06** at limit **
   5  Prefactor     .57404E-06    187.20       -.31522E-05** at limit **
   6  norm          .27145E-07    3.0147        .34494E-05** at limit **
   7  norm          .94902        1.2650       -.63550E-07   -.74790E-02
   8  Prefactor     .33862E-08    9.1876        .30797E-05** at limit **
   9  Prefactor     14.164        1.5277       -.40640E-06    .17622E-01
  10  Prefactor     .55511E-10    2.5078       -.44045E-06** at limit **
  11  Prefactor     .59952E-08    10.417       -.40438E-05** at limit **
  12  Prefactor     9.6680        2.6029        .11681E-05   -.44792E-01
  13  norm          .16653E-09    1.9067       -.15175E-06** at limit **
  14  norm          11.834        4.7255       -.86888E-09    .48036E-02
  15  Prefactor     8.7178        7.2446        .95410E-07   -.74543E-02
  16  Prefactor      .0000        7.4498       -.79155E-07** at limit **
  17  norm          .66613E-09    1.8073       -.10453E-05** at limit **
  18  norm          .46934        3.9891       -.29692E-06    .25197E-03
  19  Normalizat    1.0746        .24176       -.24502E-04   -.85296E-03
  20  Prefactor     1.0821        .12285        .61165E-05   -.13002E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 4.996e-10
  Prefactor  = 45.675
  norm       = 7.29972e-08
  Prefactor  = 0
  Prefactor  = 5.74041e-07
  norm       = 2.7145e-08
  norm       = 0.949021
  Prefactor  = 3.38618e-09
  Prefactor  = 14.1642
  Prefactor  = 5.55112e-11
  Prefactor  = 5.9952e-09
  Prefactor  = 9.668
  norm       = 1.66533e-10
  norm       = 11.8342
  Prefactor  = 8.71775
  Prefactor  = 0
  norm       = 6.66134e-10
  norm       = 0.469337
  Normalizat = 1.07462
  Prefactor  = 1.08213
 **********
 **   18 **HESSE 
 **********

 FCN=   8559.601     FROM HESSE     STATUS=OK           333 CALLS     1877 TOTAL
                     EDM=   .45E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49960E-09    23.489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     45.675        58.449        .14741E-03   -1.5573    
   3  norm          .72997E-07    9.9458        .14114E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.6450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .57404E-06    187.15        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .27145E-07    68.684        .13183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .94902        1.2709        .42398E-03   -1.5688    
   8  Prefactor     .33862E-08    9.2387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.164        19.243        .26625E-03   -1.5633    
  10  Prefactor     .55511E-10    2.5071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .59952E-08    10.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.6680        21.119        .32183E-03   -1.5646    
  13  norm          .16653E-09    1.9097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.834        4.8416        .29103E-03   -1.5639    
  15  Prefactor     8.7178        7.2383        .33908E-03   -1.5649    
  16  Prefactor      .0000        7.5091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .66613E-09    1.8065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .46934        3.9518        .81742E-03   -1.5694    
  19  Normalizat    1.0746        .20927        .77891E-01   -.90571    
  20  Prefactor     1.0821        .10579        .38315E-01   -.90040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48129e-06
Minuit parameter uncertainties:
  1  0.000215456
  2  58.4496
  3  0.00170413
  4  3.51374e-06
  5  0.0207307
  6  0.00273209
  7  1.27089
  8  0.000354058
  9  19.2429
  10  1.92493e-05
  11  0.000499912
  12  21.119
  13  3.60662e-05
  14  4.84162
  15  7.23835
  16  1.02417e-05
  17  6.96651e-05
  18  2.72377
  19  0.209435
  20  0.105805
Done.

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

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.416e+01  1.924e+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.082e+00  1.058e-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.075e+00  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/776326/likelihoodResults_688780801_689040001_4FGL_J2104.0-3546_daily_bin1734.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) = 8559.56512506
delta logL = 0.0355140002703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8559.56279094
delta logL = 0.0378481218231

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.283       1.0000          .0000       .10000E+07
     2 'Index     '    2.1453       1.0000          .0000       10.000    
     3 'Normalizat'    1.0788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0807       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=   8559.563     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      290 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.282        24.354        .96258E-05    .86690E-03
   2  Index         2.1453        .78409        .11284E-01    .17045E-04
   3  Normalizat    1.0790        .23361        .34415E-03   -.61509E-04
   4  Prefactor     1.0806        .12198        .17828E-03   -.15447E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2824
  Index      = 2.14532
  Normalizat = 1.07902
  Prefactor  = 1.08055
 **********
 **   18 **HESSE 
 **********

 FCN=   8559.563     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.282        23.840        .38503E-06   -1.5625    
   2  Index         2.1453        .76813        .45136E-03   -.60764    
   3  Normalizat    1.0790        .23373        .13766E-04   -.90428    
   4  Prefactor     1.0806        .12206        .35657E-04   -.90090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68258e-11
Minuit parameter uncertainties:
  1  23.84
  2  0.772686
  3  0.233958
  4  0.122089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776326': 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) = 8559.56279051
delta logL = 0.0378485554811

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.728e+01  2.384e+01  0.000e+00  1.000e+06 ( 1.000e-13)
275        Index:  2.145e+00  7.727e-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.081e+00  1.221e-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.079e+00  2.340e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.72
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/776326/cmap_HighResolution_688780801_689040001_4FGL_J2104.0-3546_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.83e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2022-11-02 00:46:56.628865', job_id='776326', GAL2='1.08', fit_tolerance='1e-08', EG2='1.08', EG='1.07', time_epoch_completed='1667375216.63', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='3.78e-02', ts2='0.79', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1734' AND source_name='4FGL J2104.0-3546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:46:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 776326: <4FGL_J2104.0-3546_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2104.0-3546_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:17 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:18 2022
Terminated at Wed Nov  2 00:46:57 2022
Results reported at Wed Nov  2 00:46:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2104.0-3546_daily_bin1734 316.01 -35.7678 688780801 689040001 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 :                                   609.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             307.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            700 sec.

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

