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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin1308
RA = 344.529, Dec = -27.9843
tmin = 578361601, tmax = 578620801
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='600430', job_status='RUN', time_executed='2021-09-29 03:12:36.626446', time_epoch_executed='1632910356.63' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1308'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/600430

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/600430/ft1_4FGL_J2258.1-2759_daily_bin1308.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/600430/ft1_4FGL_J2258.1-2759_daily_bin1308.fits outfile=/scratch/kocevski/600430/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1308.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=578361601.0 tmax=578620801.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.63
user 3.41
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.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/600430/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1308.fits evtable="EVENTS" outfile="/scratch/kocevski/600430/ft1_filtered_4FGL_J2258.1-2759_daily_bin1308.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/600430/ft1_filtered_4FGL_J2258.1-2759_daily_bin1308.fits" evtable="EVENTS" scfile=/scratch/kocevski/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.fits sctable="SC_DATA" outfile=/scratch/kocevski/600430/ltcube_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.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/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.fits
.....................!
real 12.44
user 12.05
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/600430/ft1_filtered_4FGL_J2258.1-2759_daily_bin1308.fits evtable="EVENTS" scfile=/scratch/kocevski/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.fits sctable="SC_DATA" expcube=/scratch/kocevski/600430/ltcube_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.fits outfile=/scratch/kocevski/600430/expmap_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.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/600430/ltcube_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.fits
.....................!
real 191.16
user 185.35
sys 5.46

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/600430/ft1_filtered_4FGL_J2258.1-2759_daily_bin1308.fits scfile=/scratch/kocevski/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.fits outfile=/scratch/kocevski/600430/cmap_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/600430/ft1_filtered_4FGL_J2258.1-2759_daily_bin1308.fits scfile=/scratch/kocevski/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.fits outfile=/scratch/kocevski/600430/cmap_HighResolution_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/600430/ft1_filtered_4FGL_J2258.1-2759_daily_bin1308.fits evtable="EVENTS" scfile=/scratch/kocevski/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/600430/Model_4FGL_J2258.1-2759_daily_bin1308.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/600430/ft1_filtered_4FGL_J2258.1-2759_daily_bin1308.fits.....................!
real 41.84
user 40.01
sys 1.74

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/600430/ft1_filtered_4FGL_J2258.1-2759_daily_bin1308.fits', '/scratch/kocevski/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.fits', expMap='/scratch/kocevski/600430/expmap_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.fits', expCube='/scratch/kocevski/600430/ltcube_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/600430/Model_4FGL_J2258.1-2759_daily_bin1308.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/600430/ft1_filtered_4FGL_J2258.1-2759_daily_bin1308.fits
Spacecraft file(s): /scratch/kocevski/600430/ft2_4FGL_J2258.1-2759_daily_bin1308.fits
Exposure map: /scratch/kocevski/600430/expmap_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.fits
Exposure cube: /scratch/kocevski/600430/ltcube_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/600430/Model_4FGL_J2258.1-2759_daily_bin1308.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) = 4860.64655001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9057       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    37.496       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.942       1.0000         .10000E-03   10000.    
     9 'norm      '    .33988E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.3498       1.0000         .10000E-03   10000.    
    12 'norm      '    3.5758       1.0000         .10000E-03   10000.    
    13 'Prefactor '    77.789       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.3135       1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    67.498       1.0000         .10000E-03   10000.    
    17 'norm      '    .10565E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    37.567       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.0757       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.4041       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98967       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87699       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=   4860.631     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2362 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9052        40.410        .65361E-06   -.99758E-05
   2  Prefactor     .10000E-03    6.4537        .78140E-07** at limit **
   3  norm          .10000E-03    8.4630       -.14364E-07** at limit **
   4  Prefactor     .10000E-03    12.065        .20210E-06** at limit **
   5  Prefactor     37.496        18.015       -.16220E-07   -.32989E-04
   6  norm          .10000E-03    .87395        .44020E-07** at limit **
   7  Prefactor     .10000E-03    36.968        .55011E-06** at limit **
   8  Prefactor     18.941        16.750       -.99342E-07   -.42959E-04
   9  norm          .10000E-03    3.5670        .11383E-05** at limit **
  10  Prefactor     .10000E-03    15.565        .29724E-06** at limit **
  11  Prefactor     5.3748        17.092       -.15938E-05   -.14920E-03
  12  norm          3.5759        1.3473       -.11537E-06   -.82934E-03
  13  Prefactor     77.804        67.243        .14636E-05    .41116E-05
  14  Prefactor     9.3073        17.687        .51463E-06   -.10311E-03
  15  norm          .10000E-03    4.4572       -.43601E-07** at limit **
  16  Prefactor     67.485        49.582       -.10299E-05   -.10146E-04
  17  norm          .10000E-03    2.0446        .70159E-08** at limit **
  18  Prefactor     37.565        33.442        .24117E-07   -.14882E-05
  19  Prefactor     6.0694        169.60       -.16281E-05   -.12113E-05
  20  Prefactor     5.4041        59.821        .26394E-06   -.14807E-05
  21  Normalizat    .98968        .22181       -.16527E-06   -.68381E-04
  22  Prefactor     .87699        .19866        .18979E-07   -.80870E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.90517
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.496
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9413
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 5.37477
  norm       = 3.57589
  Prefactor  = 77.8038
  Prefactor  = 9.30733
  norm       = 0.0001
  Prefactor  = 67.4848
  norm       = 0.0001
  Prefactor  = 37.5655
  Prefactor  = 6.06944
  Prefactor  = 5.40409
  Normalizat = 0.989685
  Prefactor  = 0.876991
 **********
 **   18 **HESSE 
 **********

 FCN=   4860.631     FROM HESSE     STATUS=OK           346 CALLS     2708 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9052        40.403        .23836E-03   -1.5367    
   2  Prefactor     .10000E-03    6.5041        .17292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.4689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     37.496        18.057        .65452E-04   -1.4483    
   6  norm          .10000E-03    .88057        .63648E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    37.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.941        16.819        .92026E-04   -1.4837    
   9  norm          .10000E-03    10.177        .22874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3748        17.594        .17375E-03   -1.5244    
  12  norm          3.5759        1.3848        .35218E-04   -1.5330    
  13  Prefactor     77.804        67.231        .45531E-04   -1.3942    
  14  Prefactor     9.3073        17.720        .13132E-03   -1.5098    
  15  norm          .10000E-03    4.4839        .14372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     67.485        49.643        .48854E-04   -1.4063    
  17  norm          .10000E-03    5.5257        .19110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     37.565        33.193        .65390E-04   -1.4481    
  19  Prefactor     6.0694        169.77        .16289E-03   -1.5215    
  20  Prefactor     5.4041        59.822        .17286E-03   -1.5243    
  21  Normalizat    .98968        .26495        .25304E-03   -.93377    
  22  Prefactor     .87699        .23569        .25616E-03   -.96950    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53087e-10
Minuit parameter uncertainties:
  1  21.6856
  2  4.05285e-07
  3  5.52988e-07
  4  1.50988e-06
  5  18.0592
  6  1.18015e-08
  7  7.2732e-06
  8  16.8233
  9  0.000352217
  10  6.5903e-06
  11  17.6107
  12  1.38484
  13  67.297
  14  17.7295
  15  4.7901e-06
  16  49.6738
  17  1.22215e-05
  18  33.2089
  19  64.4025
  20  36.0057
  21  0.265304
  22  0.235966
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.576e+00  1.385e+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:  8.770e-01  2.360e-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:  9.897e-01  2.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 38.27
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 2.02e-07 +/- 7.84e-08
Energy Flux (Fixed Index): 7.64e-05 +/- 2.96e-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) = 4860.61332303
delta logL = 0.0179101199519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4860.60985653
delta logL = 0.0213766218121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6515       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2219       1.0000          .0000       5.0000    
     3 'Normalizat'    .99977       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87159       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=   4860.610     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      192 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6517        2.1971        .52849E-03    .18263E-04
   2  alpha         2.2220        .60947        .17990        .37517E-04
   3  Normalizat    .99975        .21568        .46164E-01    .93115E-05
   4  Prefactor     .87159        .20059        .44642E-01    .10264E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.65172
  alpha      = 2.22196
  Normalizat = 0.999753
  Prefactor  = 0.871594
 **********
 **   18 **HESSE 
 **********

 FCN=   4860.610     FROM HESSE     STATUS=OK            33 CALLS      225 TOTAL
                     EDM=   .63E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6517        1.0907        .21140E-04   -1.5326    
   2  alpha         2.2220        .31937        .75496E-02   -.11144    
   3  Normalizat    .99975        .24630        .25205E-03   -.93039    
   4  Prefactor     .87159        .23291        .25694E-03   -.97141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.257e-13
Minuit parameter uncertainties:
  1  1.09069
  2  0.320258
  3  0.246578
  4  0.23318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/600430': 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) = 4860.60985648
delta logL = 0.0213766700972

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.652e+00  1.091e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.222e+00  3.203e-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:  8.716e-01  2.332e-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:  9.998e-01  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 38.89
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.22 +/- 0.32
Photon Flux (Free Index): 1.92e-07 +/- 7.35e-08
Energy Flux (Free Index): 7.74e-05 +/- 2.26e-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/600430/cmap_HighResolution_578361601_578620801_4FGL_J2258.1-2759_daily_bin1308.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.02e-07', energy_flux2='7.74e-05', photon_flux_error='7.84e-08', dlogl='2.14e-02', energy_flux='7.64e-05', photon_flux2='1.92e-07', job_status='DONE', time_completed='2021-09-29 03:21:16.520519', photon_index_error2='0.32', photon_index2='2.22', ts='38.27', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='2.26e-05', EG='0.99', time_epoch_completed='1632910876.52', return_code='0', job_id='600430', GAL2='0.87', EG2='1.00', return_code2='0', energy_flux_error='2.96e-05', photon_flux_error2='7.35e-08', ts2='38.89', photon_index='2.29' WHERE bin_id='1308' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:21:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 600430: <4FGL_J2258.1-2759_daily_bin1308> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin1308> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 03:11:08 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:11:10 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:10 2021
Terminated at Wed Sep 29 03:21:17 2021
Results reported at Wed Sep 29 03:21:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1308 344.529 -27.9843 578361601 578620801 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 :                                   510.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   606 sec.
    Turnaround time :                            609 sec.

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

