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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin1090
RA = 344.529, Dec = -27.9843
tmin = 521856001, tmax = 522115201
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='600114', job_status='RUN', time_executed='2021-09-29 03:10:59.071747', time_epoch_executed='1632910259.07' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/600114

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/600114/ft1_4FGL_J2258.1-2759_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/600114/ft2_4FGL_J2258.1-2759_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/600114/ft1_4FGL_J2258.1-2759_daily_bin1090.fits outfile=/scratch/kocevski/600114/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1090.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=521856001.0 tmax=522115201.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.74
user 3.51
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/600114/ft2_4FGL_J2258.1-2759_daily_bin1090.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/600114/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/600114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1090.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/600114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/600114/ft2_4FGL_J2258.1-2759_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/600114/ltcube_521856001_522115201_4FGL_J2258.1-2759_daily_bin1090.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/600114/ft2_4FGL_J2258.1-2759_daily_bin1090.fits
.....................!
real 12.30
user 11.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/600114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/600114/ft2_4FGL_J2258.1-2759_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/600114/ltcube_521856001_522115201_4FGL_J2258.1-2759_daily_bin1090.fits outfile=/scratch/kocevski/600114/expmap_521856001_522115201_4FGL_J2258.1-2759_daily_bin1090.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/600114/ltcube_521856001_522115201_4FGL_J2258.1-2759_daily_bin1090.fits
.....................!
real 189.79
user 185.08
sys 4.40

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/600114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1090.fits scfile=/scratch/kocevski/600114/ft2_4FGL_J2258.1-2759_daily_bin1090.fits outfile=/scratch/kocevski/600114/cmap_521856001_522115201_4FGL_J2258.1-2759_daily_bin1090.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/600114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1090.fits scfile=/scratch/kocevski/600114/ft2_4FGL_J2258.1-2759_daily_bin1090.fits outfile=/scratch/kocevski/600114/cmap_HighResolution_521856001_522115201_4FGL_J2258.1-2759_daily_bin1090.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6512       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.3109       1.0000         .10000E-03   10000.    
     3 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11702E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .11343E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    80.057       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.7520       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3158       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15130E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .60939       1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.113       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.9175       1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.569       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3184       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .95995       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1143       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=   5566.317     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2386 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6435        23.700       -.40756E-05   -.13011E-04
   2  Prefactor     4.3126        7.7236       -.29528E-05   -.13831E-03
   3  norm          .10000E-03    15.113       -.17410E-05** at limit **
   4  Prefactor     .10000E-03    33.940       -.20006E-04** at limit **
   5  Prefactor     .10000E-03    19.844        .11306E-05** at limit **
   6  norm          .10000E-03    1.7749        .85281E-07** at limit **
   7  Prefactor     80.049        52.353       -.56880E-05    .14517E-03
   8  Prefactor     .10000E-03    3.9497       -.19319E-07** at limit **
   9  norm          5.7536        4.9116       -.11443E-07    .56839E-03
  10  Prefactor     6.3495        21.801        .18975E-05    .23210E-03
  11  Prefactor     .10001E-03    11.185       -.16826E-05** at limit **
  12  norm          .61038        .56016       -.35005E-07    .21477E-02
  13  Prefactor     40.107        49.131       -.61845E-05    .29846E-04
  14  Prefactor     .10000E-03    4.7373        .25478E-07** at limit **
  15  norm          4.9188        7.0370       -.48467E-05   -.12750E-03
  16  Prefactor     34.534        41.511       -.33296E-04    .36084E-04
  17  norm          1.3180        2.1908       -.48754E-06   -.58656E-03
  18  Prefactor     .10000E-03    16.618       -.59196E-06** at limit **
  19  Prefactor     .10000E-03    40.552        .24139E-04** at limit **
  20  Prefactor     .10000E-03    17.528        .34179E-05** at limit **
  21  Normalizat    .95954        .19973        .70373E-05    .25043E-03
  22  Prefactor     1.1147        .19232       -.16626E-06    .55078E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.64349
  Prefactor  = 4.31263
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 80.0494
  Prefactor  = 0.0001
  norm       = 5.75359
  Prefactor  = 6.34952
  Prefactor  = 0.000100011
  norm       = 0.610375
  Prefactor  = 40.1072
  Prefactor  = 0.0001
  norm       = 4.91879
  Prefactor  = 34.5336
  norm       = 1.31795
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.959538
  Prefactor  = 1.11472
 **********
 **   18 **HESSE 
 **********

 FCN=   5566.317     FROM HESSE     STATUS=OK           340 CALLS     2726 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6435        23.717        .14498E-03   -1.5155    
   2  Prefactor     4.3126        7.7340        .19402E-03   -1.5293    
   3  norm          .10000E-03    15.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    34.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.8005        .19293E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     80.049        51.693        .44886E-04   -1.3916    
   8  Prefactor     .10000E-03    3.9577        .14479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.7536        4.8690        .12843E-03   -1.5228    
  10  Prefactor     6.3495        20.415        .15972E-03   -1.5204    
  11  Prefactor     .10001E-03    91.851        .37765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .61038        .53599        .45400E-04   -1.5552    
  13  Prefactor     40.107        49.131        .63289E-04   -1.4441    
  14  Prefactor     .10000E-03    4.7466        .15845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.9188        7.0450        .18138E-03   -1.5264    
  16  Prefactor     34.534        41.435        .68158E-04   -1.4532    
  17  norm          1.3180        2.1563        .13796E-03   -1.5478    
  18  Prefactor     .10000E-03    16.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    40.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    17.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .95954        .23773        .25516E-03   -.94399    
  22  Prefactor     1.1147        .23310        .23818E-03   -.88997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22642e-09
Minuit parameter uncertainties:
  1  23.7458
  2  7.73577
  3  8.35462e-06
  4  2.91391e-05
  5  4.91405e-05
  6  2.2611e-05
  7  51.7218
  8  7.28933e-06
  9  4.86932
  10  20.4371
  11  0.00199543
  12  0.535995
  13  49.181
  14  8.29065e-06
  15  7.04618
  16  41.4693
  17  2.1564
  18  4.75501e-05
  19  4.14721e-05
  20  2.59356e-06
  21  0.237994
  22  0.233314
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  6.104e-01  5.360e-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:  1.115e+00  2.333e-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.595e-01  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.09
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 3.46e-08 +/- 3.03e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 1.15e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5566.31022865
delta logL = 0.00675950584719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5566.30966108
delta logL = 0.00732707875068

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60432       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4124       1.0000          .0000       5.0000    
     3 'Normalizat'    .95364       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1178       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=   5566.310     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      204 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60432        9.1306        .98891E-02    .24783E-03
   2  alpha         2.4123        2.8819        .41184        .20253E-04
   3  Normalizat    .95365        .70236E-01    .45583E-01    .12402E-04
   4  Prefactor     1.1178        .55710E-01    .53799E-01    .58365E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.604317
  alpha      = 2.4123
  Normalizat = 0.953647
  Prefactor  = 1.11779
 **********
 **   18 **HESSE 
 **********

 FCN=   5566.310     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60432        .48720        .44036E-04   -1.5552    
   2  alpha         2.4123        1.0045        .20019E-01   -.35089E-01
   3  Normalizat    .95365        .23601        .25583E-03   -.94600    
   4  Prefactor     1.1178        .23178        .23787E-03   -.88900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78994e-12
Minuit parameter uncertainties:
  1  0.487206
  2  1.03377
  3  0.23627
  4  0.231989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/600114': 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) = 5566.30966107
delta logL = 0.00732708398482

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  6.043e-01  4.872e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.412e+00  1.034e+00  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:  1.118e+00  2.320e-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.536e-01  2.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.13
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.41 +/- 1.03
Photon Flux (Free Index): 3.96e-08 +/- 5.17e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.06e-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/600114/cmap_HighResolution_521856001_522115201_4FGL_J2258.1-2759_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.46e-08', energy_flux2='1.33e-05', photon_flux_error='3.03e-08', dlogl='7.33e-03', energy_flux='1.30e-05', photon_flux2='3.96e-08', job_status='DONE', time_completed='2021-09-29 03:20:08.838627', photon_index_error2='1.03', photon_index2='2.41', ts='4.09', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.06e-05', EG='0.96', time_epoch_completed='1632910808.84', return_code='0', job_id='600114', GAL2='1.12', EG2='0.95', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='5.17e-08', ts2='4.13', photon_index='2.29' WHERE bin_id='1090' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:20:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 600114: <4FGL_J2258.1-2759_daily_bin1090> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin1090> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 03:10:37 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:10:38 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:38 2021
Terminated at Wed Sep 29 03:20:09 2021
Results reported at Wed Sep 29 03:20:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1090 344.529 -27.9843 521856001 522115201 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 :                                   541.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   571 sec.
    Turnaround time :                            572 sec.

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

