/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 55 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 = 7413
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2258.1-2759_daily_bin265
RA = 344.529, Dec = -27.9843
tmin = 308016001, tmax = 308275201
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='595883', job_status='RUN', time_executed='2021-09-29 02:57:06.178410', time_epoch_executed='1632909426.18' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595883

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595883/ft1_4FGL_J2258.1-2759_daily_bin265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595883/ft2_4FGL_J2258.1-2759_daily_bin265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595883/ft1_4FGL_J2258.1-2759_daily_bin265.fits outfile=/scratch/kocevski/595883/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin265.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=308016001.0 tmax=308275201.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.38
user 3.15
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595883/ft2_4FGL_J2258.1-2759_daily_bin265.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/595883/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin265.fits evtable="EVENTS" outfile="/scratch/kocevski/595883/ft1_filtered_4FGL_J2258.1-2759_daily_bin265.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.54
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595883/ft1_filtered_4FGL_J2258.1-2759_daily_bin265.fits" evtable="EVENTS" scfile=/scratch/kocevski/595883/ft2_4FGL_J2258.1-2759_daily_bin265.fits sctable="SC_DATA" outfile=/scratch/kocevski/595883/ltcube_308016001_308275201_4FGL_J2258.1-2759_daily_bin265.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/595883/ft2_4FGL_J2258.1-2759_daily_bin265.fits
.....................!
real 11.72
user 11.37
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595883/ft1_filtered_4FGL_J2258.1-2759_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/595883/ft2_4FGL_J2258.1-2759_daily_bin265.fits sctable="SC_DATA" expcube=/scratch/kocevski/595883/ltcube_308016001_308275201_4FGL_J2258.1-2759_daily_bin265.fits outfile=/scratch/kocevski/595883/expmap_308016001_308275201_4FGL_J2258.1-2759_daily_bin265.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/595883/ltcube_308016001_308275201_4FGL_J2258.1-2759_daily_bin265.fits
.....................!
real 190.46
user 185.45
sys 4.59

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/595883/ft1_filtered_4FGL_J2258.1-2759_daily_bin265.fits scfile=/scratch/kocevski/595883/ft2_4FGL_J2258.1-2759_daily_bin265.fits outfile=/scratch/kocevski/595883/cmap_308016001_308275201_4FGL_J2258.1-2759_daily_bin265.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/595883/ft1_filtered_4FGL_J2258.1-2759_daily_bin265.fits scfile=/scratch/kocevski/595883/ft2_4FGL_J2258.1-2759_daily_bin265.fits outfile=/scratch/kocevski/595883/cmap_HighResolution_308016001_308275201_4FGL_J2258.1-2759_daily_bin265.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.55
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595883/ft1_filtered_4FGL_J2258.1-2759_daily_bin265.fits evtable="EVENTS" scfile=/scratch/kocevski/595883/ft2_4FGL_J2258.1-2759_daily_bin265.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595883/Model_4FGL_J2258.1-2759_daily_bin265.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/595883/ft1_filtered_4FGL_J2258.1-2759_daily_bin265.fits.....................!
real 44.24
user 42.64
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.963       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3133       1.0000         .10000E-03   10000.    
     3 'norm      '    22.120       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.364       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13362E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .58662E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    74.759       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.979       1.0000         .10000E-03   10000.    
     9 'norm      '    4.3734       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.683       1.0000         .10000E-03   10000.    
    12 'norm      '    2.7257       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .36251E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    8.1990       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.5241       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    90.694       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3396       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .65114       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=   5331.186     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2430 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.959        21.829        .24444E-06   -.18869E-04
   2  Prefactor     2.3094        10.350       -.19546E-05   -.12425E-03
   3  norm          22.125        19.737       -.12046E-05   -.83872E-04
   4  Prefactor     20.367        20.964        .42099E-06   -.27788E-07
   5  Prefactor     .10000E-03    13.631        .23733E-05** at limit **
   6  norm          .10001E-03    21.785        .30447E-05** at limit **
   7  Prefactor     74.855        59.174       -.14680E-06    .42306E-05
   8  Prefactor     22.984        13.252        .55222E-07    .20731E-04
   9  norm          4.3746        4.6429       -.42734E-06   -.29085E-04
  10  Prefactor     .10000E-03    5.1004        .41094E-07** at limit **
  11  Prefactor     15.642        15.683       -.94234E-06    .37803E-03
  12  norm          2.7257        1.1201        .46489E-07    .13520E-02
  13  Prefactor     .10000E-03    34.617       -.54286E-06** at limit **
  14  Prefactor     .10012E-03    14.370        .12581E-05** at limit **
  15  norm          8.1994        9.0992       -.21545E-08   -.33825E-04
  16  Prefactor     .10000E-03    32.698       -.11146E-05** at limit **
  17  norm          3.5238        3.0593        .55303E-07    .27336E-04
  18  Prefactor     .10000E-03    14.765       -.70555E-06** at limit **
  19  Prefactor     .10000E-03    98.434        .10625E-05** at limit **
  20  Prefactor     90.687        62.027       -.95238E-06   -.24452E-04
  21  Normalizat    1.3392        .22057        .11020E-05   -.14897E-03
  22  Prefactor     .65152        .20154       -.27826E-05   -.35957E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9591
  Prefactor  = 2.3094
  norm       = 22.1246
  Prefactor  = 20.3675
  Prefactor  = 0.0001
  norm       = 0.000100009
  Prefactor  = 74.8554
  Prefactor  = 22.984
  norm       = 4.37457
  Prefactor  = 0.0001
  Prefactor  = 15.6418
  norm       = 2.72571
  Prefactor  = 0.0001
  Prefactor  = 0.00010012
  norm       = 8.19938
  Prefactor  = 0.0001
  norm       = 3.5238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 90.6868
  Normalizat = 1.33921
  Prefactor  = 0.651516
 **********
 **   18 **HESSE 
 **********

 FCN=   5331.186     FROM HESSE     STATUS=OK           350 CALLS     2780 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.959        21.852        .97245E-04   -1.4884    
   2  Prefactor     2.3094        10.484        .13487E-02   -1.5404    
   3  norm          22.125        19.751        .85164E-04   -1.4767    
   4  Prefactor     20.367        20.990        .88758E-04   -1.4805    
   5  Prefactor     .10000E-03    13.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10001E-03    23.712        .16581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     74.855        59.806        .23219E-03   -1.3975    
   8  Prefactor     22.984        13.281        .83560E-04   -1.4749    
   9  norm          4.3746        4.6440        .15011E-03   -1.5290    
  10  Prefactor     .10000E-03    5.1037        .16106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.642        16.114        .10114E-03   -1.4917    
  12  norm          2.7257        1.1405        .39166E-04   -1.5378    
  13  Prefactor     .10000E-03    34.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10012E-03    46.037        .41601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.1994        9.1008        .70007E-03   -1.5135    
  16  Prefactor     .10000E-03    32.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.5238        3.0564        .11479E-03   -1.5333    
  18  Prefactor     .10000E-03    14.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    98.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     90.687        62.024        .21097E-03   -1.3800    
  21  Normalizat    1.3392        .25818        .23464E-03   -.82403    
  22  Prefactor     .65152        .23111        .30451E-03   -1.0546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21957e-09
Minuit parameter uncertainties:
  1  21.8627
  2  9.8435
  3  19.7567
  4  20.998
  5  8.59977e-05
  6  0.000935958
  7  59.8541
  8  13.2825
  9  4.64442
  10  6.99547e-06
  11  16.1186
  12  1.14048
  13  8.26865e-06
  14  0.00470851
  15  9.10232
  16  3.00919e-05
  17  3.05656
  18  1.84636e-05
  19  0.000209493
  20  62.0684
  21  0.258429
  22  0.231449
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.726e+00  1.140e+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:  6.515e-01  2.314e-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.339e+00  2.584e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.88
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 1.54e-07 +/- 6.46e-08
Energy Flux (Fixed Index): 5.82e-05 +/- 2.44e-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) = 5330.31038765
delta logL = 0.875561970933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5330.3034638
delta logL = 0.882485819796

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0836       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8333       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2573       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70049       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=   5330.303     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      211 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0837        7.7723        .67621E-02    .12731E-02
   2  alpha         2.8335        3.8106        .16886        .59232E-04
   3  Normalizat    1.2572        .12422        .54286E-01   -.29213E-05
   4  Prefactor     .70049        .88336E-01    .66471E-01    .99281E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.08374
  alpha      = 2.83352
  Normalizat = 1.25725
  Prefactor  = 0.700491
 **********
 **   18 **HESSE 
 **********

 FCN=   5330.303     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0837        .95922        .29966E-04   -1.5419    
   2  alpha         2.8335        .42303        .71160E-02    .13381    
   3  Normalizat    1.2572        .24753        .24004E-03   -.84852    
   4  Prefactor     .70049        .22799        .29411E-03   -1.0351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69518e-11
Minuit parameter uncertainties:
  1  0.959229
  2  0.425111
  3  0.247758
  4  0.228295
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595883': 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) = 5330.30346317
delta logL = 0.882486451305

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.084e+00  9.592e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.834e+00  4.251e-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:  7.005e-01  2.283e-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.257e+00  2.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.15
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.83 +/- 0.43
Photon Flux (Free Index): 2.36e-07 +/- 9.01e-08
Energy Flux (Free Index): 5.88e-05 +/- 1.76e-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/595883/cmap_HighResolution_308016001_308275201_4FGL_J2258.1-2759_daily_bin265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.54e-07', energy_flux2='5.88e-05', photon_flux_error='6.46e-08', dlogl='8.82e-01', energy_flux='5.82e-05', photon_flux2='2.36e-07', job_status='DONE', time_completed='2021-09-29 03:05:59.894663', photon_index_error2='0.43', photon_index2='2.83', ts='21.88', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', energy_flux_error2='1.76e-05', EG='1.34', time_epoch_completed='1632909959.89', return_code='0', job_id='595883', GAL2='0.70', EG2='1.26', return_code2='0', energy_flux_error='2.44e-05', photon_flux_error2='9.01e-08', ts2='24.15', photon_index='2.29' WHERE bin_id='265' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:05:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 595883: <4FGL_J2258.1-2759_daily_bin265> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin265> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:55:56 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:55:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:55:57 2021
Terminated at Wed Sep 29 03:06:00 2021
Results reported at Wed Sep 29 03:06:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin265 344.529 -27.9843 308016001 308275201 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 :                                   529.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            604 sec.

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

