/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 95 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 = 7489
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2104.0-3546_daily_bin517
RA = 316.01, Dec = -35.7678
tmin = 373334401, tmax = 373593601
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='284659', job_status='RUN', time_executed='2021-09-26 01:48:51.431301', time_epoch_executed='1632646131.43' WHERE source_name='4FGL J2104.0-3546' and cadence='daily' and bin_id='517'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/284659

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/284659/ft1_4FGL_J2104.0-3546_daily_bin517.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/284659/ft2_4FGL_J2104.0-3546_daily_bin517.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/284659/ft1_4FGL_J2104.0-3546_daily_bin517.fits outfile=/scratch/kocevski/284659/ft1_filteredMKT_4FGL_J2104.0-3546_daily_bin517.fits ra=316.01 dec=-35.7678 rad=12.0 tmin=373334401.0 tmax=373593601.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 5.09
user 4.22
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/284659/ft1_filtered_4FGL_J2104.0-3546_daily_bin517.fits" evtable="EVENTS" scfile=/scratch/kocevski/284659/ft2_4FGL_J2104.0-3546_daily_bin517.fits sctable="SC_DATA" outfile=/scratch/kocevski/284659/ltcube_373334401_373593601_4FGL_J2104.0-3546_daily_bin517.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/284659/ft2_4FGL_J2104.0-3546_daily_bin517.fits
.....................!
real 13.24
user 12.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/284659/ft1_filtered_4FGL_J2104.0-3546_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/284659/ft2_4FGL_J2104.0-3546_daily_bin517.fits sctable="SC_DATA" expcube=/scratch/kocevski/284659/ltcube_373334401_373593601_4FGL_J2104.0-3546_daily_bin517.fits outfile=/scratch/kocevski/284659/expmap_373334401_373593601_4FGL_J2104.0-3546_daily_bin517.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/284659/ltcube_373334401_373593601_4FGL_J2104.0-3546_daily_bin517.fits
.....................!
real 191.10
user 185.54
sys 4.97

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/284659/ft1_filtered_4FGL_J2104.0-3546_daily_bin517.fits scfile=/scratch/kocevski/284659/ft2_4FGL_J2104.0-3546_daily_bin517.fits outfile=/scratch/kocevski/284659/cmap_373334401_373593601_4FGL_J2104.0-3546_daily_bin517.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.57
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/284659/ft1_filtered_4FGL_J2104.0-3546_daily_bin517.fits scfile=/scratch/kocevski/284659/ft2_4FGL_J2104.0-3546_daily_bin517.fits outfile=/scratch/kocevski/284659/cmap_HighResolution_373334401_373593601_4FGL_J2104.0-3546_daily_bin517.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/284659/ft1_filtered_4FGL_J2104.0-3546_daily_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/284659/ft2_4FGL_J2104.0-3546_daily_bin517.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/284659/Model_4FGL_J2104.0-3546_daily_bin517.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/284659/ft1_filtered_4FGL_J2104.0-3546_daily_bin517.fits.....................!
real 64.04
user 62.69
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10418E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.8743       1.0000         .10000E-03   10000.    
     3 'Prefactor '    64.976       1.0000         .10000E-03   10000.    
     4 'norm      '    4.9290       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10926E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.237       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11764E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.8697       1.0000         .10000E-03   10000.    
    10 'norm      '    7.9908       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.528       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .79986E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.754       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.2500       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .44383E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18933E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .28597       1.0000         .10000E-03   10000.    
    21 'norm      '    7.7612       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .62872       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1469       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=   7920.762     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2600 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.266        .78363E-08** at limit **
   2  norm          5.8755        11.698        .19599E-06   -.54970E-04
   3  Prefactor     65.017        64.057       -.57511E-06    .97977E-05
   4  norm          4.9203        21.348        .69431E-06   -.37487E-05
   5  Prefactor     .10000E-03    14.569        .39952E-06** at limit **
   6  Prefactor     .10000E-03    4.6600        .99652E-06** at limit **
   7  Prefactor     31.272        41.775        .35424E-05    .14979E-03
   8  Prefactor     .10000E-03    82.168       -.11563E-05** at limit **
   9  norm          9.8557        21.831       -.72946E-06   -.48197E-04
  10  norm          7.9908        2.7485        .53792E-07   -.41782E-04
  11  Prefactor     15.529        18.272       -.21083E-06   -.11218E-03
  12  Prefactor     .10034E-03    13.902        .27571E-05** at limit **
  13  Prefactor     .10000E-03    2.5465       -.40350E-07** at limit **
  14  Prefactor     10.753        6.9244        .10039E-06   -.32926E-04
  15  Prefactor     .10000E-03    9.4863       -.44890E-06** at limit **
  16  norm          .10000E-03    2.1651       -.14597E-07** at limit **
  17  norm          6.2506        4.8133        .32303E-06   -.81406E-04
  18  Prefactor     .10000E-03    3.5243        .54940E-06** at limit **
  19  Prefactor     .10001E-03    3.2966        .89028E-06** at limit **
  20  norm          .28110        3.6750        .55369E-07   -.14019E-03
  21  norm          7.7638        4.4433        .13665E-05    .16328E-03
  22  Normalizat    .62875        .21707       -.15239E-05   -.37345E-03
  23  Prefactor     1.1469        .11162       -.32645E-06   -.81287E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.87553
  Prefactor  = 65.0166
  norm       = 4.92031
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 31.272
  Prefactor  = 0.0001
  norm       = 9.8557
  norm       = 7.9908
  Prefactor  = 15.5288
  Prefactor  = 0.000100336
  Prefactor  = 0.0001
  Prefactor  = 10.7533
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.25064
  Prefactor  = 0.000100003
  Prefactor  = 0.000100005
  norm       = 0.2811
  norm       = 7.76385
  Normalizat = 0.628747
  Prefactor  = 1.14685
 **********
 **   18 **HESSE 
 **********

 FCN=   7920.762     FROM HESSE     STATUS=OK           376 CALLS     2976 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.8755        11.704        .16569E-03   -1.5223    
   3  Prefactor     65.017        63.438        .49786E-04   -1.4094    
   4  norm          4.9203        21.432        .18116E-03   -1.5264    
   5  Prefactor     .10000E-03    14.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.411        .35268E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31.272        42.616        .71690E-04   -1.4589    
   8  Prefactor     .10000E-03    82.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.8557        21.824        .12755E-03   -1.5080    
  10  norm          7.9908        2.7461        .82786E-04   -1.5143    
  11  Prefactor     15.529        18.231        .10164E-03   -1.4920    
  12  Prefactor     .10034E-03    79.675        .60300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.5748        .13867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.753        6.9236        .12217E-03   -1.5052    
  15  Prefactor     .10000E-03    9.5106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.1660        .12789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2506        4.8006        .16057E-03   -1.5208    
  18  Prefactor     .10000E-03    12.375        .31866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    9.2868        .30566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .28110        14.168        .32813E-02   -1.5602    
  21  norm          7.7638        4.4760        .68117E-03   -1.5151    
  22  Normalizat    .62875        .23648        .40661E-03   -1.0678    
  23  Prefactor     1.1469        .12500        .16404E-03   -.87983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.41761e-08
Minuit parameter uncertainties:
  1  1.74688e-05
  2  11.7087
  3  63.5038
  4  20.5504
  5  3.43644e-05
  6  0.000469578
  7  42.6578
  8  0.000199413
  9  21.8416
  10  2.74615
  11  18.2374
  12  0.0103572
  13  2.84788e-06
  14  6.92412
  15  3.49991e-05
  16  2.89307e-07
  17  4.8009
  18  0.00039727
  19  0.00044046
  20  3.99163
  21  4.47618
  22  0.236865
  23  0.125032
Done.

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

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.003e-04  1.036e-02  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:  1.147e+00  1.250e-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:  6.287e-01  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 316.010 -35.768
Photon Flux Upper Limit: 7.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/284659/likelihoodResults_373334401_373593601_4FGL_J2104.0-3546_daily_bin517.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): 102
logL (Free Index) = 7920.76199948
delta logL = -5.84203107792e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7920.76199948
delta logL = -5.84159706705e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96355E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3679       1.0000          .0000       10.000    
     3 'Normalizat'    .62875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1469       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=   7920.762     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      234 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10027E-03    .23532        .11208    ** at limit **
   2  Index         2.4530        5.0602        .50000       -.74786E-05
   3  Normalizat    .62875        .72464E-03    .91778E-01   -.81633E-04
   4  Prefactor     1.1469        .38685E-03    .36028E-01   -.36530E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100274
  Index      = 2.45303
  Normalizat = 0.628748
  Prefactor  = 1.14685
 **********
 **   18 **HESSE 
 **********

 FCN=   7920.762     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      269 TOTAL
                     EDM=   .97E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10027E-03    132.83        .58584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4530        8.2863        .50000       -.53448    
   3  Normalizat    .62875        .55917E-02    .40661E-03   -1.0678    
   4  Prefactor     1.1469        .29939E-02    .16404E-03   -.87983    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.66985e-08
Minuit parameter uncertainties:
  1  0.012095
  2  209.949
  3  0.00559168
  4  0.00299394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/284659': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7920.7619409
delta logL = 1.65401615959e-07

Extracting fit parameters...

4FGL J2104.0-3546
   Spectrum: PowerLaw
274    Prefactor:  1.003e-04  1.209e-02  1.000e-04  1.000e+04 ( 1.000e-13)
275        Index:  2.453e+00  2.099e+02  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.147e+00  2.994e-03  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:  6.287e-01  5.592e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/284659/cmap_HighResolution_373334401_373593601_4FGL_J2104.0-3546_daily_bin517.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-03', job_status='DONE', photon_flux_upper_limit='7.77e-08', time_completed='2021-09-26 02:00:55.429846', job_id='284659', GAL2='1.15', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1632646855.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.65e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='517' AND source_name='4FGL J2104.0-3546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 02:00:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 284659: <4FGL_J2104.0-3546_daily_bin517> in cluster <slac> Done

Job <4FGL_J2104.0-3546_daily_bin517> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Sep 26 01:45:56 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 01:46:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 01:46:56 2021
Terminated at Sun Sep 26 02:00:56 2021
Results reported at Sun Sep 26 02:00:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2104.0-3546_daily_bin517 316.01 -35.7678 373334401 373593601 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 :                                   720.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            900 sec.

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

