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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin839
RA = 344.529, Dec = -27.9843
tmin = 456796801, tmax = 457056001
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='598636', job_status='RUN', time_executed='2021-09-29 03:08:01.266777', time_epoch_executed='1632910081.27' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='839'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598636

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598636/ft1_4FGL_J2258.1-2759_daily_bin839.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598636/ft2_4FGL_J2258.1-2759_daily_bin839.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598636/ft1_4FGL_J2258.1-2759_daily_bin839.fits outfile=/scratch/kocevski/598636/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin839.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=456796801.0 tmax=457056001.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.30
user 3.08
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/598636/ft2_4FGL_J2258.1-2759_daily_bin839.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/598636/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin839.fits evtable="EVENTS" outfile="/scratch/kocevski/598636/ft1_filtered_4FGL_J2258.1-2759_daily_bin839.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/598636/ft1_filtered_4FGL_J2258.1-2759_daily_bin839.fits" evtable="EVENTS" scfile=/scratch/kocevski/598636/ft2_4FGL_J2258.1-2759_daily_bin839.fits sctable="SC_DATA" outfile=/scratch/kocevski/598636/ltcube_456796801_457056001_4FGL_J2258.1-2759_daily_bin839.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/598636/ft2_4FGL_J2258.1-2759_daily_bin839.fits
.....................!
real 12.15
user 11.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598636/ft1_filtered_4FGL_J2258.1-2759_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/598636/ft2_4FGL_J2258.1-2759_daily_bin839.fits sctable="SC_DATA" expcube=/scratch/kocevski/598636/ltcube_456796801_457056001_4FGL_J2258.1-2759_daily_bin839.fits outfile=/scratch/kocevski/598636/expmap_456796801_457056001_4FGL_J2258.1-2759_daily_bin839.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/598636/ltcube_456796801_457056001_4FGL_J2258.1-2759_daily_bin839.fits
.....................!
real 194.23
user 188.35
sys 5.52

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/598636/ft1_filtered_4FGL_J2258.1-2759_daily_bin839.fits scfile=/scratch/kocevski/598636/ft2_4FGL_J2258.1-2759_daily_bin839.fits outfile=/scratch/kocevski/598636/cmap_456796801_457056001_4FGL_J2258.1-2759_daily_bin839.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598636/ft1_filtered_4FGL_J2258.1-2759_daily_bin839.fits scfile=/scratch/kocevski/598636/ft2_4FGL_J2258.1-2759_daily_bin839.fits outfile=/scratch/kocevski/598636/cmap_HighResolution_456796801_457056001_4FGL_J2258.1-2759_daily_bin839.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/598636/ft1_filtered_4FGL_J2258.1-2759_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/598636/ft2_4FGL_J2258.1-2759_daily_bin839.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598636/Model_4FGL_J2258.1-2759_daily_bin839.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/598636/ft1_filtered_4FGL_J2258.1-2759_daily_bin839.fits.....................!
real 51.56
user 50.18
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    3.1570       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.5515       1.0000         .10000E-03   10000.    
     6 'norm      '    6.0455       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.102       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10176E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .66623       1.0000         .10000E-03   10000.    
    12 'norm      '    .49201       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.693       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    18.510       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.6634       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11798E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86648       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80909       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=   7104.583     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2423 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.2113       -.10887E-06** at limit **
   2  Prefactor     3.1573        3.7365       -.62965E-08   -.62663E-04
   3  norm          .10000E-03    4.8603       -.40622E-07** at limit **
   4  Prefactor     .10000E-03    13.950        .23693E-06** at limit **
   5  Prefactor     8.5545        9.4033       -.77738E-07   -.35623E-04
   6  norm          6.0462        2.5620       -.46499E-07    .92363E-04
   7  Prefactor     28.131        39.785       -.35929E-06   -.25370E-04
   8  Prefactor     .10000E-03    4.0734        .26158E-06** at limit **
   9  norm          .10000E-03    1.4753        .29560E-06** at limit **
  10  Prefactor     .10000E-03    8.6988        .14515E-06** at limit **
  11  Prefactor     .68054        4.2111       -.75715E-07   -.71394E-04
  12  norm          .49098        .45653       -.12940E-06   -.10697E-02
  13  Prefactor     22.791        55.183        .11345E-05   -.26131E-04
  14  Prefactor     .10000E-03    3.7354        .29842E-07** at limit **
  15  norm          18.512        7.8710       -.49895E-07   -.43638E-05
  16  Prefactor     .10000E-03    31.811       -.37704E-06** at limit **
  17  norm          3.6628        2.6540        .33260E-06    .64600E-04
  18  Prefactor     .10000E-03    118.33       -.58029E-05** at limit **
  19  Prefactor     .10000E-03    53.732        .35602E-06** at limit **
  20  Prefactor     .10000E-03    13.952       -.20872E-07** at limit **
  21  Normalizat    .86632        .16576        .26901E-05   -.14106E-04
  22  Prefactor     .80914        .15813       -.25988E-05    .26908E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.15728
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.55447
  norm       = 6.04622
  Prefactor  = 28.1308
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.680542
  norm       = 0.49098
  Prefactor  = 22.791
  Prefactor  = 0.0001
  norm       = 18.5115
  Prefactor  = 0.0001
  norm       = 3.66282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.866324
  Prefactor  = 0.80914
 **********
 **   18 **HESSE 
 **********

 FCN=   7104.583     FROM HESSE     STATUS=OK           348 CALLS     2771 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1573        3.7284        .17168E-03   -1.5353    
   3  norm          .10000E-03    4.8649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.5545        9.3841        .13708E-03   -1.5123    
   6  norm          6.0462        2.5767        .73289E-04   -1.5216    
   7  Prefactor     28.131        39.933        .75574E-04   -1.4647    
   8  Prefactor     .10000E-03    4.0808        .16570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.4945        .19149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.7723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68054        19.005        .24868E-02   -1.5543    
  12  norm          .49098        .50003        .44007E-03   -1.5568    
  13  Prefactor     22.791        54.978        .84084E-04   -1.4753    
  14  Prefactor     .10000E-03    3.7653        .15871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          18.512        7.8696        .93093E-04   -1.4847    
  16  Prefactor     .10000E-03    32.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.6628        2.6244        .11034E-03   -1.5325    
  18  Prefactor     .10000E-03    116.26        .67824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    53.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .86632        .16701        .21758E-03   -.97654    
  22  Prefactor     .80914        .15886        .22558E-03   -.99392    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86523e-08
Minuit parameter uncertainties:
  1  6.65658e-06
  2  3.72871
  3  2.2829e-06
  4  5.87457e-05
  5  9.38572
  6  2.57675
  7  39.9714
  8  2.27938e-05
  9  1.00013e-06
  10  2.86775e-05
  11  7.1947
  12  0.500036
  13  55.1005
  14  1.01057e-05
  15  7.87003
  16  5.352e-05
  17  2.62451
  18  9.54609e-05
  19  2.44507e-05
  20  3.49022e-06
  21  0.167112
  22  0.158949
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  4.910e-01  5.000e-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:  8.091e-01  1.589e-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:  8.663e-01  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.38
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 2.78e-08 +/- 2.83e-08
Energy Flux (Fixed Index): 1.05e-05 +/- 1.07e-05

TS (Fixed Index): 3.38
Ra Dec: 344.529 -27.984
Photon Flux Upper Limit: 7.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/598636/likelihoodResults_456796801_457056001_4FGL_J2258.1-2759_daily_bin839.txt

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) = 7104.36894728
delta logL = 0.213823453823

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7104.36455019
delta logL = 0.218220547627

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44430       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6747       1.0000          .0000       5.0000    
     3 'Normalizat'    .87965       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80450       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7104.365     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44435        .45070        .46597E-04   -.39280E-04
   2  alpha         1.6748        .92339        .23696E-01   -.50442E-05
   3  Normalizat    .87964        .15543        .21614E-03    .24301E-04
   4  Prefactor     .80451        .15702        .22624E-03   -.30150E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.444354
  alpha      = 1.67482
  Normalizat = 0.879643
  Prefactor  = 0.804505
 **********
 **   18 **HESSE 
 **********

 FCN=   7104.365     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44435        .46505        .18639E-05   -1.5575    
   2  alpha         1.6748        .95119        .94786E-03   -.33638    
   3  Normalizat    .87964        .15558        .86455E-05   -.97179    
   4  Prefactor     .80451        .15719        .90495E-05   -.99562    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10254e-12
Minuit parameter uncertainties:
  1  0.465052
  2  0.97903
  3  0.155658
  4  0.157281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598636': 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) = 7104.36455018
delta logL = 0.218220557173

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  4.444e-01  4.651e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  1.675e+00  9.790e-01  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.045e-01  1.573e-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:  8.796e-01  1.557e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.83
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 1.67 +/- 0.98
Photon Flux (Free Index): 1.44e-08 +/- 2.17e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.05e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/598636/cmap_HighResolution_456796801_457056001_4FGL_J2258.1-2759_daily_bin839.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.82e-05', comment='SUCCESS', photon_flux='2.78e-08', energy_flux2='1.18e-05', photon_flux_error='2.83e-08', dlogl='2.18e-01', energy_flux='1.05e-05', photon_flux2='1.44e-08', job_status='DONE', time_completed='2021-09-29 03:19:16.393437', photon_index_error2='0.98', photon_index2='1.67', ts='3.38', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='7.47e-08', energy_flux_error2='1.05e-05', EG='0.87', time_epoch_completed='1632910756.39', return_code='0', job_id='598636', GAL2='0.80', EG2='0.88', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='2.17e-08', ts2='3.83', photon_index='2.29' WHERE bin_id='839' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:19:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 598636: <4FGL_J2258.1-2759_daily_bin839> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin839> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 03:05:23 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:05:25 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:05:25 2021
Terminated at Wed Sep 29 03:19:16 2021
Results reported at Wed Sep 29 03:19:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin839 344.529 -27.9843 456796801 457056001 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 :                                   674.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             330.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

