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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin1305
RA = 344.529, Dec = -27.9843
tmin = 577584001, tmax = 577843201
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='600426', job_status='RUN', time_executed='2021-09-29 03:11:42.379884', time_epoch_executed='1632910302.38' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/600426

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/600426/ft1_4FGL_J2258.1-2759_daily_bin1305.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/600426/ft2_4FGL_J2258.1-2759_daily_bin1305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/600426/ft1_4FGL_J2258.1-2759_daily_bin1305.fits outfile=/scratch/kocevski/600426/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1305.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=577584001.0 tmax=577843201.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 2.78
user 2.57
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/600426/ft1_filtered_4FGL_J2258.1-2759_daily_bin1305.fits" evtable="EVENTS" scfile=/scratch/kocevski/600426/ft2_4FGL_J2258.1-2759_daily_bin1305.fits sctable="SC_DATA" outfile=/scratch/kocevski/600426/ltcube_577584001_577843201_4FGL_J2258.1-2759_daily_bin1305.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/600426/ft2_4FGL_J2258.1-2759_daily_bin1305.fits
.....................!
real 12.79
user 12.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/600426/ft1_filtered_4FGL_J2258.1-2759_daily_bin1305.fits evtable="EVENTS" scfile=/scratch/kocevski/600426/ft2_4FGL_J2258.1-2759_daily_bin1305.fits sctable="SC_DATA" expcube=/scratch/kocevski/600426/ltcube_577584001_577843201_4FGL_J2258.1-2759_daily_bin1305.fits outfile=/scratch/kocevski/600426/expmap_577584001_577843201_4FGL_J2258.1-2759_daily_bin1305.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/600426/ltcube_577584001_577843201_4FGL_J2258.1-2759_daily_bin1305.fits
.....................!
real 191.89
user 186.22
sys 5.27

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/600426/ft1_filtered_4FGL_J2258.1-2759_daily_bin1305.fits scfile=/scratch/kocevski/600426/ft2_4FGL_J2258.1-2759_daily_bin1305.fits outfile=/scratch/kocevski/600426/cmap_577584001_577843201_4FGL_J2258.1-2759_daily_bin1305.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/600426/ft1_filtered_4FGL_J2258.1-2759_daily_bin1305.fits scfile=/scratch/kocevski/600426/ft2_4FGL_J2258.1-2759_daily_bin1305.fits outfile=/scratch/kocevski/600426/cmap_HighResolution_577584001_577843201_4FGL_J2258.1-2759_daily_bin1305.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.51
user 0.37
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/600426/ft1_filtered_4FGL_J2258.1-2759_daily_bin1305.fits evtable="EVENTS" scfile=/scratch/kocevski/600426/ft2_4FGL_J2258.1-2759_daily_bin1305.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/600426/Model_4FGL_J2258.1-2759_daily_bin1305.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/600426/ft1_filtered_4FGL_J2258.1-2759_daily_bin1305.fits.....................!
real 48.84
user 47.45
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.587       1.0000         .10000E-03   10000.    
     3 'norm      '    .10165E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10398E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.2163       1.0000         .10000E-03   10000.    
     7 'Prefactor '    72.010       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .25420       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.4236       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7880       1.0000         .10000E-03   10000.    
    15 'norm      '    10.604       1.0000         .10000E-03   10000.    
    16 'Prefactor '    65.168       1.0000         .10000E-03   10000.    
    17 'norm      '    6.5184       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.402       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1925       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93896       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=   6075.753     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2359 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.830        .51885E-07** at limit **
   2  Prefactor     10.591        9.1402        .30793E-06   -.23566E-04
   3  norm          .10000E-03    41.057        .22645E-06** at limit **
   4  Prefactor     .10000E-03    6.3865       -.26129E-07** at limit **
   5  Prefactor     .10000E-03    23.050        .24949E-05** at limit **
   6  norm          1.2149        2.0252        .85318E-06    .19259E-03
   7  Prefactor     72.063        50.768       -.14768E-05    .36790E-04
   8  Prefactor     .10000E-03    6.4968       -.35962E-07** at limit **
   9  norm          .27043        2.2955        .17804E-06   -.12251E-03
  10  Prefactor     .10000E-03    9.2728        .18074E-07** at limit **
  11  Prefactor     .10000E-03    6.9174        .36151E-06** at limit **
  12  norm          2.4226        .80914       -.89715E-07   -.62216E-03
  13  Prefactor     .10000E-03    54.241        .19489E-06** at limit **
  14  Prefactor     1.7872        7.9187        .18222E-05   -.60583E-05
  15  norm          10.606        8.1804        .13691E-06   -.98781E-05
  16  Prefactor     65.182        50.296        .63487E-06    .14647E-04
  17  norm          6.5195        3.9686        .72256E-06    .38243E-04
  18  Prefactor     20.390        29.412       -.28686E-06   -.24860E-04
  19  Prefactor     .10000E-03    87.483       -.25720E-06** at limit **
  20  Prefactor     .10000E-03    13.686       -.26828E-07** at limit **
  21  Normalizat    1.1918        .20631       -.23636E-05   -.31893E-04
  22  Prefactor     .93961        .19168        .16058E-05   -.19023E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.5913
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.21494
  Prefactor  = 72.0632
  Prefactor  = 0.0001
  norm       = 0.27043
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.42263
  Prefactor  = 0.0001
  Prefactor  = 1.78719
  norm       = 10.6056
  Prefactor  = 65.1821
  norm       = 6.51947
  Prefactor  = 20.3898
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19179
  Prefactor  = 0.939613
 **********
 **   18 **HESSE 
 **********

 FCN=   6075.753     FROM HESSE     STATUS=OK           344 CALLS     2703 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.591        9.1651        .12314E-03   -1.5057    
   3  norm          .10000E-03    41.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.3941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.2149        2.0044        .12730E-03   -1.5488    
   7  Prefactor     72.063        50.434        .23654E-03   -1.4008    
   8  Prefactor     .10000E-03    6.5311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .27043        11.610        .21652E-02   -1.5604    
  10  Prefactor     .10000E-03    9.3152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.9807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.4226        .82290        .35700E-04   -1.5397    
  13  Prefactor     .10000E-03    54.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7872        7.8452        .31285E-03   -1.5441    
  15  norm          10.606        8.1796        .12304E-03   -1.5057    
  16  Prefactor     65.182        50.428        .49714E-04   -1.4091    
  17  norm          6.5195        3.9529        .57206E-03   -1.5197    
  18  Prefactor     20.390        29.465        .88673E-04   -1.4805    
  19  Prefactor     .10000E-03    87.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1918        .23663        .24539E-03   -.86857    
  22  Prefactor     .93961        .22153        .26624E-03   -.94770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84786e-08
Minuit parameter uncertainties:
  1  1.13912e-05
  2  9.16633
  3  0.000131761
  4  3.27919e-06
  5  0.000106521
  6  2.00448
  7  50.4644
  8  7.02677e-06
  9  3.5439
  10  4.80488e-06
  11  9.86316e-06
  12  0.822906
  13  0.000245348
  14  7.49031
  15  8.18048
  16  50.461
  17  3.95305
  18  29.4862
  19  2.13339e-05
  20  6.75271e-06
  21  0.236844
  22  0.221747
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.423e+00  8.229e-01  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:  9.396e-01  2.217e-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.192e+00  2.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.12
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 1.37e-07 +/- 4.66e-08
Energy Flux (Fixed Index): 5.18e-05 +/- 1.76e-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) = 6075.75128562
delta logL = 0.00133133172039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6075.75077489
delta logL = 0.0018420653787

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3973       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3070       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94085       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=   6075.751     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      196 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3973        10.708        .66119E-02    .73285E-04
   2  alpha         2.3070        3.6535        .18894        .44173E-04
   3  Normalizat    1.1898        .15852        .55531E-01    .69742E-05
   4  Prefactor     .94085        .13092        .45524E-01    .12466E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.39734
  alpha      = 2.30701
  Normalizat = 1.18984
  Prefactor  = 0.940853
 **********
 **   18 **HESSE 
 **********

 FCN=   6075.751     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3973        .85767        .35425E-04   -1.5398    
   2  alpha         2.3070        .32772        .80005E-02   -.77272E-01
   3  Normalizat    1.1898        .22610        .24556E-03   -.86917    
   4  Prefactor     .94085        .22017        .26608E-03   -.94728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43287e-10
Minuit parameter uncertainties:
  1  0.857677
  2  0.328674
  3  0.226287
  4  0.220383
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/600426': 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) = 6075.75077488
delta logL = 0.00184206813083

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.397e+00  8.577e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.307e+00  3.287e-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.409e-01  2.204e-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.190e+00  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.09
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.31 +/- 0.33
Photon Flux (Free Index): 1.39e-07 +/- 4.99e-08
Energy Flux (Free Index): 5.14e-05 +/- 1.69e-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/600426/cmap_HighResolution_577584001_577843201_4FGL_J2258.1-2759_daily_bin1305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.37e-07', energy_flux2='5.14e-05', photon_flux_error='4.66e-08', dlogl='1.84e-03', energy_flux='5.18e-05', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-09-29 03:21:04.634854', photon_index_error2='0.33', photon_index2='2.31', ts='31.12', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.69e-05', EG='1.19', time_epoch_completed='1632910864.63', return_code='0', job_id='600426', GAL2='0.94', EG2='1.19', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='4.99e-08', ts2='31.09', photon_index='2.29' WHERE bin_id='1305' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:21:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 600426: <4FGL_J2258.1-2759_daily_bin1305> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin1305> 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) <bullet0057>, 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:05 2021
Results reported at Wed Sep 29 03:21:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1305 344.529 -27.9843 577584001 577843201 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 :                                   558.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             345.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            597 sec.

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

