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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin1516
RA = 344.529, Dec = -27.9843
tmin = 632275201, tmax = 632534401
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='600780', job_status='RUN', time_executed='2021-09-29 03:11:51.844119', time_epoch_executed='1632910311.84' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1516'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/600780

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/600780/ft1_4FGL_J2258.1-2759_daily_bin1516.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/600780/ft1_4FGL_J2258.1-2759_daily_bin1516.fits outfile=/scratch/kocevski/600780/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1516.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=632275201.0 tmax=632534401.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.73
user 3.52
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.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/600780/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1516.fits evtable="EVENTS" outfile="/scratch/kocevski/600780/ft1_filtered_4FGL_J2258.1-2759_daily_bin1516.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/600780/ft1_filtered_4FGL_J2258.1-2759_daily_bin1516.fits" evtable="EVENTS" scfile=/scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits sctable="SC_DATA" outfile=/scratch/kocevski/600780/ltcube_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.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/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits
.....................!
real 11.87
user 11.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/600780/ft1_filtered_4FGL_J2258.1-2759_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits sctable="SC_DATA" expcube=/scratch/kocevski/600780/ltcube_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.fits outfile=/scratch/kocevski/600780/expmap_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.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/600780/ltcube_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.fits
.....................!
real 189.62
user 185.28
sys 3.98

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

Setting source of interest to:
4FGL J2258.1-2759 @ 344.529 -27.9843

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/600780/ft1_filtered_4FGL_J2258.1-2759_daily_bin1516.fits scfile=/scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits outfile=/scratch/kocevski/600780/cmap_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.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=344.529 yref=-27.9843 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/600780/ft1_filtered_4FGL_J2258.1-2759_daily_bin1516.fits scfile=/scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits outfile=/scratch/kocevski/600780/cmap_HighResolution_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.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=344.529 yref=-27.9843 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/600780/ft1_filtered_4FGL_J2258.1-2759_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/600780/Model_4FGL_J2258.1-2759_daily_bin1516.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/600780/ft1_filtered_4FGL_J2258.1-2759_daily_bin1516.fits.....................!
real 36.11
user 34.68
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/600780/ft1_filtered_4FGL_J2258.1-2759_daily_bin1516.fits', '/scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits', expMap='/scratch/kocevski/600780/expmap_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.fits', expCube='/scratch/kocevski/600780/ltcube_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/600780/Model_4FGL_J2258.1-2759_daily_bin1516.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2258.1-2759'

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.011e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.287e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/600780/ft1_filtered_4FGL_J2258.1-2759_daily_bin1516.fits
Spacecraft file(s): /scratch/kocevski/600780/ft2_4FGL_J2258.1-2759_daily_bin1516.fits
Exposure map: /scratch/kocevski/600780/expmap_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.fits
Exposure cube: /scratch/kocevski/600780/ltcube_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/600780/Model_4FGL_J2258.1-2759_daily_bin1516.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) = 3943.24188204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.772       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .15175E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .17291E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.7641       1.0000         .10000E-03   10000.    
     7 'Prefactor '    65.396       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19667E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.7494       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5266       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7852       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.0643       1.0000         .10000E-03   10000.    
    15 'norm      '    .31344E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    101.62       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5083       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .53708       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3943.191     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2367 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.767        34.632        .19914E-06    .87443E-04
   2  Prefactor     .10000E-03    13.805        .49611E-06** at limit **
   3  norm          .10001E-03    63.339        .20617E-05** at limit **
   4  Prefactor     .10000E-03    18.728       -.26586E-06** at limit **
   5  Prefactor     .10000E-03    18.804       -.40197E-06** at limit **
   6  norm          3.7632        3.1053        .43287E-06    .19637E-03
   7  Prefactor     65.543        80.654       -.65983E-05   -.36036E-03
   8  Prefactor     .10014E-03    42.389        .13897E-04** at limit **
   9  norm          3.7487        5.8610       -.10717E-05    .17231E-03
  10  Prefactor     .10000E-03    14.738        .81589E-07** at limit **
  11  Prefactor     4.5152        26.148        .56165E-05    .16704E-03
  12  norm          1.7859        1.3895       -.21040E-06    .13157E-02
  13  Prefactor     .10000E-03    58.507       -.29163E-06** at limit **
  14  Prefactor     8.0628        15.431       -.11796E-05   -.10981E-03
  15  norm          .10000E-03    11.502       -.70902E-07** at limit **
  16  Prefactor     .10000E-03    32.839        .89263E-07** at limit **
  17  norm          .10000E-03    2.3311        .83938E-08** at limit **
  18  Prefactor     101.62        50.806        .32923E-06    .59993E-04
  19  Prefactor     .10000E-03    61.241        .53218E-06** at limit **
  20  Prefactor     .10000E-03    19.920        .78090E-06** at limit **
  21  Normalizat    1.5072        .25459       -.34243E-05   -.29945E-03
  22  Prefactor     .53812        .22954        .60209E-05    .11660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.7671
  Prefactor  = 0.0001
  norm       = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 3.7632
  Prefactor  = 65.5432
  Prefactor  = 0.000100139
  norm       = 3.74865
  Prefactor  = 0.0001
  Prefactor  = 4.51523
  norm       = 1.78593
  Prefactor  = 0.0001
  Prefactor  = 8.06282
  norm       = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 101.623
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.50716
  Prefactor  = 0.538123
 **********
 **   18 **HESSE 
 **********

 FCN=   3943.191     FROM HESSE     STATUS=OK           336 CALLS     2703 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.767        34.590        .62777E-04   -1.4430    
   2  Prefactor     .10000E-03    14.389        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10001E-03    64.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.7632        3.1264        .92182E-04   -1.5320    
   7  Prefactor     65.543        84.685        .24814E-03   -1.4087    
   8  Prefactor     .10014E-03    50.891        .40074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.7487        5.9256        .82735E-03   -1.5321    
  10  Prefactor     .10000E-03    14.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.5152        28.842        .18922E-03   -1.5283    
  12  norm          1.7859        1.4758        .43366E-04   -1.5441    
  13  Prefactor     .10000E-03    58.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.0628        15.214        .14119E-03   -1.5140    
  15  norm          .10000E-03    69.701        .40841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    32.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.3589        .93548E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     101.62        50.897        .39883E-04   -1.3688    
  19  Prefactor     .10000E-03    61.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5072        .29857        .22605E-03   -.77577    
  22  Prefactor     .53812        .26538        .32747E-03   -1.1026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.07195e-09
Minuit parameter uncertainties:
  1  34.607
  2  3.25511e-05
  3  0.00153727
  4  9.96671e-05
  5  0.00025885
  6  3.12655
  7  84.8414
  8  0.00532423
  9  5.92648
  10  5.55067e-06
  11  22.8395
  12  1.4758
  13  0.000198079
  14  15.2211
  15  0.000933416
  16  2.63049e-06
  17  5.0703e-06
  18  50.919
  19  0.000221552
  20  0.000203569
  21  0.298922
  22  0.265993
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.786e+00  1.476e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.287e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  5.381e-01  2.660e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.507e+00  2.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.40
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 8.35e-08
Energy Flux (Fixed Index): 3.82e-05 +/- 3.15e-05

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) = 3942.93050431
delta logL = 0.260670471918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3942.92110685
delta logL = 0.270067932914

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4953       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6428       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4825       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3942.921     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4949        15.194        .83739E-02    .50856E-03
   2  alpha         2.6430        3.7769        .21560        .54550E-04
   3  Normalizat    1.4824        .11301        .51434E-01    .19148E-03
   4  Prefactor     .55139        .10139        .73076E-01    .16959E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.49495
  alpha      = 2.64301
  Normalizat = 1.48241
  Prefactor  = 0.55139
 **********
 **   18 **HESSE 
 **********

 FCN=   3942.921     FROM HESSE     STATUS=OK            31 CALLS      266 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4949        .95681        .37311E-04   -1.5463    
   2  alpha         2.6430        .50071        .90628E-02    .57237E-01
   3  Normalizat    1.4824        .28496        .22738E-03   -.78274    
   4  Prefactor     .55139        .25845        .32354E-03   -1.0967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00587e-11
Minuit parameter uncertainties:
  1  0.956818
  2  0.504126
  3  0.285265
  4  0.259007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/600780': 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) = 3942.92110673
delta logL = 0.270068060177

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.495e+00  9.568e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.643e+00  5.041e-01  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  5.514e-01  2.590e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.482e+00  2.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.12
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.64 +/- 0.50
Photon Flux (Free Index): 1.31e-07 +/- 7.47e-08
Energy Flux (Free Index): 3.69e-05 +/- 1.88e-05

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/600780/cmap_HighResolution_632275201_632534401_4FGL_J2258.1-2759_daily_bin1516.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='3.69e-05', photon_flux_error='8.35e-08', dlogl='2.70e-01', energy_flux='3.82e-05', photon_flux2='1.31e-07', job_status='DONE', time_completed='2021-09-29 03:19:44.205051', photon_index_error2='0.50', photon_index2='2.64', ts='6.40', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', energy_flux_error2='1.88e-05', EG='1.51', time_epoch_completed='1632910784.21', return_code='0', job_id='600780', GAL2='0.55', EG2='1.48', return_code2='0', energy_flux_error='3.15e-05', photon_flux_error2='7.47e-08', ts2='7.12', photon_index='2.29' WHERE bin_id='1516' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:19:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 600780: <4FGL_J2258.1-2759_daily_bin1516> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin1516> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 03:11:40 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:11:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 03:11:41 2021
Terminated at Wed Sep 29 03:19:45 2021
Results reported at Wed Sep 29 03:19:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1516 344.529 -27.9843 632275201 632534401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2258.1-2759 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   468.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   483 sec.
    Turnaround time :                            485 sec.

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

