/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 120 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 = 7427
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2108.2-2454_daily_bin1381
RA = 317.061, Dec = -24.9081
tmin = 597283201, tmax = 597542401
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='332632', job_status='RUN', time_executed='2021-09-26 04:33:12.746558', time_epoch_executed='1632655992.75' WHERE source_name='4FGL J2108.2-2454' and cadence='daily' and bin_id='1381'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/332632

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/332632/ft1_4FGL_J2108.2-2454_daily_bin1381.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/332632/ft1_4FGL_J2108.2-2454_daily_bin1381.fits outfile=/scratch/kocevski/332632/ft1_filteredMKT_4FGL_J2108.2-2454_daily_bin1381.fits ra=317.061 dec=-24.9081 rad=12.0 tmin=597283201.0 tmax=597542401.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.56
user 3.32
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.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/332632/ft1_filteredMKT_4FGL_J2108.2-2454_daily_bin1381.fits evtable="EVENTS" outfile="/scratch/kocevski/332632/ft1_filtered_4FGL_J2108.2-2454_daily_bin1381.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/332632/ft1_filtered_4FGL_J2108.2-2454_daily_bin1381.fits" evtable="EVENTS" scfile=/scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits sctable="SC_DATA" outfile=/scratch/kocevski/332632/ltcube_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.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/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits
.....................!
real 12.86
user 12.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/332632/ft1_filtered_4FGL_J2108.2-2454_daily_bin1381.fits evtable="EVENTS" scfile=/scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits sctable="SC_DATA" expcube=/scratch/kocevski/332632/ltcube_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.fits outfile=/scratch/kocevski/332632/expmap_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.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/332632/ltcube_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.fits
.....................!
real 192.73
user 187.02
sys 5.30

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 156 point sources and 0 extended sources

Setting source of interest to:
4FGL J2108.2-2454 @ 317.061 -24.9081

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/332632/ft1_filtered_4FGL_J2108.2-2454_daily_bin1381.fits scfile=/scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits outfile=/scratch/kocevski/332632/cmap_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.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=317.061 yref=-24.9081 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/332632/ft1_filtered_4FGL_J2108.2-2454_daily_bin1381.fits scfile=/scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits outfile=/scratch/kocevski/332632/cmap_HighResolution_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.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=317.061 yref=-24.9081 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.63
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/332632/ft1_filtered_4FGL_J2108.2-2454_daily_bin1381.fits evtable="EVENTS" scfile=/scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/332632/Model_4FGL_J2108.2-2454_daily_bin1381.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/332632/ft1_filtered_4FGL_J2108.2-2454_daily_bin1381.fits.....................!
real 55.43
user 53.66
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/332632/ft1_filtered_4FGL_J2108.2-2454_daily_bin1381.fits', '/scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits', expMap='/scratch/kocevski/332632/expmap_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.fits', expCube='/scratch/kocevski/332632/ltcube_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/332632/Model_4FGL_J2108.2-2454_daily_bin1381.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2108.2-2454'

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  1.845e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.582e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  6.170e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/332632/ft1_filtered_4FGL_J2108.2-2454_daily_bin1381.fits
Spacecraft file(s): /scratch/kocevski/332632/ft2_4FGL_J2108.2-2454_daily_bin1381.fits
Exposure map: /scratch/kocevski/332632/expmap_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.fits
Exposure cube: /scratch/kocevski/332632/ltcube_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/332632/Model_4FGL_J2108.2-2454_daily_bin1381.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) = 6232.2550466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8761       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .37607E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.0756       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.324       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.595       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.200       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10572E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .22492E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .45656E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0608       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6232.249     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1880 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9500        134.57        .28035E-05   -.50277E-04
   2  Prefactor     .10561E-03    8.3939        .20536E-05** at limit **
   3  Prefactor     .10000E-03    2.1992        .67315E-07** at limit **
   4  Prefactor     .10000E-03    19.666        .21630E-06** at limit **
   5  norm          6.0916        17.209       -.11676E-05   -.30960E-04
   6  Prefactor     17.326        17.764        .15797E-07   -.68344E-04
   7  Prefactor     21.591        19.820        .27062E-06   -.15398E-04
   8  Prefactor     .10000E-03    1.5767        .56224E-07** at limit **
   9  norm          .10000E-03    5.1420        .42223E-07** at limit **
  10  Prefactor     .10000E-03    3.4980        .25417E-07** at limit **
  11  Prefactor     21.215        17.338       -.69218E-07   -.38811E-04
  12  Prefactor     .10000E-03    14.716       -.10588E-06** at limit **
  13  Prefactor     .10000E-03    65.111       -.82943E-06** at limit **
  14  norm          .10000E-03    2.4004        .36064E-06** at limit **
  15  Prefactor     .10068E-03    9.1405       -.48099E-06** at limit **
  16  Normalizat    1.0606        .22737       -.27480E-05   -.28136E-03
  17  Prefactor     .93293        .11358       -.89450E-06   -.56027E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.94999
  Prefactor  = 0.00010561
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.09157
  Prefactor  = 17.326
  Prefactor  = 21.5911
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.2154
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.000100681
  Normalizat = 1.06057
  Prefactor  = 0.932931
 **********
 **   18 **HESSE 
 **********

 FCN=   6232.249     FROM HESSE     STATUS=OK           229 CALLS     2109 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9500        172.57        .16567E-03   -1.5220    
   2  Prefactor     .10561E-03    13.792        .52427E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.2274        .11439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.0916        17.210        .16289E-03   -1.5214    
   6  Prefactor     17.326        17.767        .96225E-04   -1.4875    
   7  Prefactor     21.591        19.824        .86192E-04   -1.4778    
   8  Prefactor     .10000E-03    1.5797        .96831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.1935        .17485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.5101        .14421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.215        17.374        .86990E-04   -1.4786    
  12  Prefactor     .10000E-03    14.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    65.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    12.597        .23653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10068E-03    111.02        .46091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0606        .27041        .32438E-03   -.91028    
  17  Prefactor     .93293        .13692        .17510E-03   -.95000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91688e-09
Minuit parameter uncertainties:
  1  64.291
  2  0.0175962
  3  1.05268e-05
  4  1.50646e-05
  5  17.2241
  6  17.7724
  7  19.8305
  8  3.86229e-06
  9  1.04593e-05
  10  1.26809e-05
  11  17.3779
  12  3.30062e-05
  13  0.000146458
  14  0.000324358
  15  0.0174209
  16  0.270766
  17  0.136969
Done.

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

Extracting fit parameters...

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  3.862e-06  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  2.582e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  6.170e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.329e-01  1.370e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.061e+00  2.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 317.061 -24.908
Photon Flux Upper Limit: 6.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/332632/likelihoodResults_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.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) = 6232.2516646
delta logL = -0.0029729076914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6232.24869129
delta logL = 3.9949100028e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5648       1.0000          .0000       10.000    
     3 'Normalizat'    1.0606       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93293       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+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=   6232.249     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.802        .98108E-02** at limit **
   2  Index         1.9104        5.2757        .50000       -.25807E-06
   3  Normalizat    1.0606        .19094E-01    .32438E-03   -.61709E-03
   4  Prefactor     .93293        .97949E-02    .17510E-03   -.11460E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.91036
  Normalizat = 1.06057
  Prefactor  = 0.93293
 **********
 **   18 **HESSE 
 **********

 FCN=   6232.249     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    174.17        .11216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9104        7.0121        .50000       -.66610    
   3  Normalizat    1.0606        .58098E-01    .64877E-04   -.91028    
   4  Prefactor     .93293        .29804E-01    .35021E-04   -.95000    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.48044e-09
Minuit parameter uncertainties:
  1  5.71039e-06
  2  702.079
  3  0.0581015
  4  0.0298048
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/332632': 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) = 6232.24868364
delta logL = 8.05372019386e-06

Extracting fit parameters...

4FGL J2108.2-2454
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  5.710e-06  1.000e-04  1.000e+04 ( 1.000e-12)
281        Index:  1.910e+00  7.021e+02  0.000e+00  1.000e+01 (-1.000e+00)
282        Scale:  6.170e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.329e-01  2.980e-02  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.061e+00  5.810e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 317.061 -24.908

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/332632/cmap_HighResolution_597283201_597542401_4FGL_J2108.2-2454_daily_bin1381.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.04e-08', time_completed='2021-09-26 04:44:34.490669', job_id='332632', GAL2='0.93', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632656674.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='8.05e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1381' AND source_name='4FGL J2108.2-2454' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 04:44:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 332632: <4FGL_J2108.2-2454_daily_bin1381> in cluster <slac> Done

Job <4FGL_J2108.2-2454_daily_bin1381> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 26 04:30:41 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 04:31:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 04:31:02 2021
Terminated at Sun Sep 26 04:44:35 2021
Results reported at Sun Sep 26 04:44:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2108.2-2454_daily_bin1381 317.061 -24.9081 597283201 597542401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2108.2-2454 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   541.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            834 sec.

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

