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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin1233
RA = 344.529, Dec = -27.9843
tmin = 558921601, tmax = 559180801
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='600328', job_status='RUN', time_executed='2021-09-29 03:11:23.224005', time_epoch_executed='1632910283.22' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1233'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/600328

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/600328/ft1_4FGL_J2258.1-2759_daily_bin1233.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/600328/ft2_4FGL_J2258.1-2759_daily_bin1233.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/600328/ft1_4FGL_J2258.1-2759_daily_bin1233.fits outfile=/scratch/kocevski/600328/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1233.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=558921601.0 tmax=559180801.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.54
user 3.34
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/600328/ft1_filtered_4FGL_J2258.1-2759_daily_bin1233.fits" evtable="EVENTS" scfile=/scratch/kocevski/600328/ft2_4FGL_J2258.1-2759_daily_bin1233.fits sctable="SC_DATA" outfile=/scratch/kocevski/600328/ltcube_558921601_559180801_4FGL_J2258.1-2759_daily_bin1233.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/600328/ft2_4FGL_J2258.1-2759_daily_bin1233.fits
.....................!
real 11.75
user 11.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/600328/ft1_filtered_4FGL_J2258.1-2759_daily_bin1233.fits evtable="EVENTS" scfile=/scratch/kocevski/600328/ft2_4FGL_J2258.1-2759_daily_bin1233.fits sctable="SC_DATA" expcube=/scratch/kocevski/600328/ltcube_558921601_559180801_4FGL_J2258.1-2759_daily_bin1233.fits outfile=/scratch/kocevski/600328/expmap_558921601_559180801_4FGL_J2258.1-2759_daily_bin1233.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/600328/ltcube_558921601_559180801_4FGL_J2258.1-2759_daily_bin1233.fits
.....................!
real 189.61
user 185.33
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/600328/ft1_filtered_4FGL_J2258.1-2759_daily_bin1233.fits scfile=/scratch/kocevski/600328/ft2_4FGL_J2258.1-2759_daily_bin1233.fits outfile=/scratch/kocevski/600328/cmap_558921601_559180801_4FGL_J2258.1-2759_daily_bin1233.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/600328/ft1_filtered_4FGL_J2258.1-2759_daily_bin1233.fits scfile=/scratch/kocevski/600328/ft2_4FGL_J2258.1-2759_daily_bin1233.fits outfile=/scratch/kocevski/600328/cmap_HighResolution_558921601_559180801_4FGL_J2258.1-2759_daily_bin1233.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/600328/ft1_filtered_4FGL_J2258.1-2759_daily_bin1233.fits evtable="EVENTS" scfile=/scratch/kocevski/600328/ft2_4FGL_J2258.1-2759_daily_bin1233.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/600328/Model_4FGL_J2258.1-2759_daily_bin1233.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/600328/ft1_filtered_4FGL_J2258.1-2759_daily_bin1233.fits......................!
real 31.99
user 30.65
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    48.535       1.0000         .10000E-03   10000.    
     4 'Prefactor '    70.154       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.028       1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    45.950       1.0000         .10000E-03   10000.    
    12 'norm      '    5.7262       1.0000         .10000E-03   10000.    
    13 'Prefactor '    253.24       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    40.595       1.0000         .10000E-03   10000.    
    16 'Prefactor '    240.25       1.0000         .10000E-03   10000.    
    17 'norm      '    4.8548       1.0000         .10000E-03   10000.    
    18 'Prefactor '    50.100       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0743       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83816       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=   2961.491     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2338 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.379        .48153E-08** at limit **
   2  Prefactor     .10000E-03    38.733        .28435E-05** at limit **
   3  norm          48.538        48.715        .27412E-06    .21792E-04
   4  Prefactor     70.307        107.56        .40042E-06    .26008E-04
   5  Prefactor     15.023        24.110       -.34740E-06    .55933E-04
   6  norm          .10000E-03    2.5507       -.78223E-07** at limit **
   7  Prefactor     .10000E-03    72.656       -.32909E-06** at limit **
   8  Prefactor     .10000E-03    40.988        .19708E-05** at limit **
   9  norm          .10000E-03    4.2292       -.20457E-06** at limit **
  10  Prefactor     .10000E-03    17.265       -.40851E-06** at limit **
  11  Prefactor     45.928        37.111       -.20977E-05    .88649E-04
  12  norm          5.7273        2.6902        .45009E-06    .92739E-03
  13  Prefactor     253.19        307.51       -.14505E-05    .10854E-05
  14  Prefactor     .10000E-03    30.076       -.13821E-05** at limit **
  15  norm          40.598        33.042       -.10782E-06    .19050E-05
  16  Prefactor     240.19        182.54       -.14282E-05   -.40208E-05
  17  norm          4.8545        5.3579       -.30311E-07    .59937E-04
  18  Prefactor     50.085        54.657       -.98471E-06    .42696E-06
  19  Prefactor     .10000E-03    89.202       -.57639E-06** at limit **
  20  Prefactor     .10000E-03    36.320       -.15771E-06** at limit **
  21  Normalizat    1.0751        .42709        .93905E-05    .33192E-05
  22  Prefactor     .83746        .34050       -.81449E-05    .71544E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 48.5384
  Prefactor  = 70.3066
  Prefactor  = 15.0235
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.9276
  norm       = 5.72734
  Prefactor  = 253.193
  Prefactor  = 0.000100001
  norm       = 40.5977
  Prefactor  = 240.194
  norm       = 4.85449
  Prefactor  = 50.0847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.07513
  Prefactor  = 0.83746
 **********
 **   18 **HESSE 
 **********

 FCN=   2961.491     FROM HESSE     STATUS=OK           340 CALLS     2678 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    39.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          48.538        48.704        .57559E-04   -1.4313    
   4  Prefactor     70.307        107.74        .23963E-03   -1.4029    
   5  Prefactor     15.023        24.234        .10332E-03   -1.4933    
   6  norm          .10000E-03    2.5794        .84823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    72.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    41.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.2439        .10932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     45.928        37.778        .59149E-04   -1.4352    
  12  norm          5.7273        2.7820        .41160E-04   -1.5229    
  13  Prefactor     253.19        307.67        .12730E-03   -1.2512    
  14  Prefactor     .10000E-03    30.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          40.598        33.039        .62913E-04   -1.4433    
  16  Prefactor     240.19        182.74        .13061E-03   -1.2596    
  17  norm          4.8545        5.3375        .11563E-03   -1.5267    
  18  Prefactor     50.085        54.546        .56657E-04   -1.4291    
  19  Prefactor     .10000E-03    89.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    36.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0751        .43285        .29464E-03   -.90554    
  22  Prefactor     .83746        .34486        .28972E-03   -.98362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63706e-10
Minuit parameter uncertainties:
  1  2.70194e-06
  2  0.000599993
  3  48.7436
  4  108.038
  5  24.25
  6  4.18647e-06
  7  4.73522e-05
  8  0.000397446
  9  1.47169e-05
  10  5.86416e-05
  11  37.7974
  12  2.78207
  13  309.67
  14  0.000253541
  15  33.0534
  16  183.178
  17  5.33799
  18  54.6003
  19  0.000234618
  20  4.47863e-05
  21  0.43428
  22  0.345762
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  5.727e+00  2.782e+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.375e-01  3.458e-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.075e+00  4.343e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.92
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 3.24e-07 +/- 1.57e-07
Energy Flux (Fixed Index): 1.22e-04 +/- 5.94e-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) = 2960.31658566
delta logL = 1.17433623642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2960.2875185
delta logL = 1.20340339727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2318       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8591       1.0000          .0000       5.0000    
     3 'Normalizat'    .93645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92009       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=   2960.288     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      228 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2312        16.637        .48970E-02    .13077E-03
   2  alpha         2.8592        3.8411        .11753        .35090E-04
   3  Normalizat    .93673        .26383        .70320E-01   -.14584E-04
   4  Prefactor     .91950        .19926        .45261E-01   -.25540E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.23117
  alpha      = 2.85916
  Normalizat = 0.936727
  Prefactor  = 0.919501
 **********
 **   18 **HESSE 
 **********

 FCN=   2960.288     FROM HESSE     STATUS=OK            31 CALLS      259 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2312        1.8343        .31260E-04   -1.5297    
   2  alpha         2.8592        .37399        .51130E-03    .14416    
   3  Normalizat    .93673        .38887        .31112E-03   -.95181    
   4  Prefactor     .91950        .33807        .27697E-03   -.95463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34054e-12
Minuit parameter uncertainties:
  1  1.83428
  2  0.375424
  3  0.390048
  4  0.338846
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/600328': 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) = 2960.28751504
delta logL = 1.20340686213

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  4.231e+00  1.834e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.859e+00  3.754e-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:  9.195e-01  3.388e-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.367e-01  3.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.05
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.86 +/- 0.38
Photon Flux (Free Index): 4.97e-07 +/- 1.79e-07
Energy Flux (Free Index): 1.22e-04 +/- 3.61e-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/600328/cmap_HighResolution_558921601_559180801_4FGL_J2258.1-2759_daily_bin1233.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.24e-07', energy_flux2='1.22e-04', photon_flux_error='1.57e-07', dlogl='1.20e+00', energy_flux='1.22e-04', photon_flux2='4.97e-07', job_status='DONE', time_completed='2021-09-29 03:18:48.490055', photon_index_error2='0.38', photon_index2='2.86', ts='19.92', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='3.61e-05', EG='1.08', time_epoch_completed='1632910728.49', return_code='0', job_id='600328', GAL2='0.92', EG2='0.94', return_code2='0', energy_flux_error='5.94e-05', photon_flux_error2='1.79e-07', ts2='24.05', photon_index='2.29' WHERE bin_id='1233' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:18:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 600328: <4FGL_J2258.1-2759_daily_bin1233> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin1233> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 03:10:57 2021
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:10:58 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:10:58 2021
Terminated at Wed Sep 29 03:18:49 2021
Results reported at Wed Sep 29 03:18:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1233 344.529 -27.9843 558921601 559180801 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 :                                   431.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   470 sec.
    Turnaround time :                            472 sec.

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

