/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 228 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7413
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2258.1-2759_daily_bin126
RA = 344.529, Dec = -27.9843
tmin = 271987201, tmax = 272246401
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='595684', job_status='RUN', time_executed='2021-09-29 02:59:38.133040', time_epoch_executed='1632909578.13' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='126'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595684

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595684/ft1_4FGL_J2258.1-2759_daily_bin126.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595684/ft2_4FGL_J2258.1-2759_daily_bin126.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595684/ft1_4FGL_J2258.1-2759_daily_bin126.fits outfile=/scratch/kocevski/595684/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin126.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=271987201.0 tmax=272246401.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 1.65
user 1.46
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595684/ft2_4FGL_J2258.1-2759_daily_bin126.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/595684/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin126.fits evtable="EVENTS" outfile="/scratch/kocevski/595684/ft1_filtered_4FGL_J2258.1-2759_daily_bin126.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/595684/ft1_filtered_4FGL_J2258.1-2759_daily_bin126.fits" evtable="EVENTS" scfile=/scratch/kocevski/595684/ft2_4FGL_J2258.1-2759_daily_bin126.fits sctable="SC_DATA" outfile=/scratch/kocevski/595684/ltcube_271987201_272246401_4FGL_J2258.1-2759_daily_bin126.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/595684/ft2_4FGL_J2258.1-2759_daily_bin126.fits
.....................!
real 12.04
user 11.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595684/ft1_filtered_4FGL_J2258.1-2759_daily_bin126.fits evtable="EVENTS" scfile=/scratch/kocevski/595684/ft2_4FGL_J2258.1-2759_daily_bin126.fits sctable="SC_DATA" expcube=/scratch/kocevski/595684/ltcube_271987201_272246401_4FGL_J2258.1-2759_daily_bin126.fits outfile=/scratch/kocevski/595684/expmap_271987201_272246401_4FGL_J2258.1-2759_daily_bin126.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/595684/ltcube_271987201_272246401_4FGL_J2258.1-2759_daily_bin126.fits
.....................!
real 190.29
user 185.02
sys 4.90

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/595684/ft1_filtered_4FGL_J2258.1-2759_daily_bin126.fits scfile=/scratch/kocevski/595684/ft2_4FGL_J2258.1-2759_daily_bin126.fits outfile=/scratch/kocevski/595684/cmap_271987201_272246401_4FGL_J2258.1-2759_daily_bin126.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595684/ft1_filtered_4FGL_J2258.1-2759_daily_bin126.fits scfile=/scratch/kocevski/595684/ft2_4FGL_J2258.1-2759_daily_bin126.fits outfile=/scratch/kocevski/595684/cmap_HighResolution_271987201_272246401_4FGL_J2258.1-2759_daily_bin126.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595684/ft1_filtered_4FGL_J2258.1-2759_daily_bin126.fits evtable="EVENTS" scfile=/scratch/kocevski/595684/ft2_4FGL_J2258.1-2759_daily_bin126.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595684/Model_4FGL_J2258.1-2759_daily_bin126.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/595684/ft1_filtered_4FGL_J2258.1-2759_daily_bin126.fits.....................!
real 47.84
user 46.46
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    7.8517       1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.1109       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10482E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6438       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.642       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6996       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3670       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10562E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4565       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9758       1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.1742       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1788       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .57933       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=   6096.815     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2351 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2174        .11168E-06** at limit **
   2  Prefactor     7.8553        9.4030       -.83531E-06   -.16691E-03
   3  norm          .10000E-03    8.1465        .22894E-06** at limit **
   4  Prefactor     .10000E-03    20.102        .13614E-04** at limit **
   5  Prefactor     .10000E-03    3.3197       -.15773E-07** at limit **
   6  norm          3.1109        1.9018       -.13070E-06    .23832E-03
   7  Prefactor     .10000E-03    16.872       -.76344E-05** at limit **
   8  Prefactor     .10000E-03    16.730        .17416E-05** at limit **
   9  norm          .10000E-03    2.7929       -.82842E-07** at limit **
  10  Prefactor     7.6504        15.147       -.12730E-05   -.37735E-04
  11  Prefactor     10.643        11.768       -.11510E-06   -.50717E-04
  12  norm          2.6988        .89495       -.17703E-07    .73184E-04
  13  Prefactor     2.2899        130.24       -.14804E-03    .15562E-04
  14  Prefactor     .10000E-03    6.7882       -.15536E-06** at limit **
  15  norm          1.4555        7.6559       -.27828E-05   -.71144E-03
  16  Prefactor     3.9813        42.174       -.20594E-05   -.13750E-04
  17  norm          .10000E-03    1.9936       -.31784E-06** at limit **
  18  Prefactor     8.1736        15.962       -.13054E-05    .25494E-06
  19  Prefactor     .10000E-03    34.256       -.46502E-04** at limit **
  20  Prefactor     .10000E-03    42.829        .48909E-04** at limit **
  21  Normalizat    1.1786        .16109        .27620E-05    .14008E-03
  22  Prefactor     .57958        .14906        .63906E-06    .25786E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.85531
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.11089
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.65045
  Prefactor  = 10.6428
  norm       = 2.69881
  Prefactor  = 2.28992
  Prefactor  = 0.0001
  norm       = 1.45554
  Prefactor  = 3.98134
  norm       = 0.0001
  Prefactor  = 8.17363
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17861
  Prefactor  = 0.579584
 **********
 **   18 **HESSE 
 **********

 FCN=   6096.815     FROM HESSE     STATUS=OK           342 CALLS     2693 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.8553        9.4570        .14310E-03   -1.5147    
   3  norm          .10000E-03    8.1761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.3365        .13892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.1109        1.8975        .81444E-04   -1.5355    
   7  Prefactor     .10000E-03    16.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.264        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.8694        .25394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.6504        15.021        .14505E-03   -1.5155    
  11  Prefactor     10.643        12.103        .12282E-03   -1.5055    
  12  norm          2.6988        .93222        .32549E-04   -1.5379    
  13  Prefactor     2.2899        132.09        .26634E-03   -1.5405    
  14  Prefactor     .10000E-03    6.8334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4555        7.6975        .35672E-03   -1.5467    
  16  Prefactor     3.9813        42.141        .20228E-03   -1.5309    
  17  norm          .10000E-03    2.0841        .21487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.1736        15.942        .14023E-03   -1.5136    
  19  Prefactor     .10000E-03    34.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    42.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1786        .18848        .20176E-03   -.87266    
  22  Prefactor     .57958        .17341        .26982E-03   -1.0845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8348e-09
Minuit parameter uncertainties:
  1  1.48484e-05
  2  9.45875
  3  1.15849e-05
  4  2.51767e-05
  5  1.06225e-05
  6  1.89754
  7  3.41755e-06
  8  5.20185e-05
  9  3.65607e-06
  10  15.0284
  11  12.1055
  12  0.932227
  13  34.8638
  14  4.99268e-06
  15  6.6956
  16  25.9287
  17  1.3266e-05
  18  15.9498
  19  3.39407e-05
  20  0.000112139
  21  0.188593
  22  0.173574
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.699e+00  9.322e-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:  5.796e-01  1.736e-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.179e+00  1.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 43.58
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 1.53e-07 +/- 5.28e-08
Energy Flux (Fixed Index): 5.77e-05 +/- 1.99e-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) = 6096.52345706
delta logL = 0.29141006297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6096.48816339
delta logL = 0.326703735196

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9543       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0465       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56541       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=   6096.488     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      209 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9543        3.9790        .59068E-02    .67028E-04
   2  alpha         2.0465        1.2871        .19761        .29873E-04
   3  Normalizat    1.2024        .18231        .34832E-01    .94462E-06
   4  Prefactor     .56541        .16301        .61717E-01    .26764E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.95427
  alpha      = 2.04653
  Normalizat = 1.20243
  Prefactor  = 0.565411
 **********
 **   18 **HESSE 
 **********

 FCN=   6096.488     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .36E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9543        .83360        .35401E-04   -1.5364    
   2  alpha         2.0465        .29795        .82598E-02   -.18240    
   3  Normalizat    1.2024        .17751        .20027E-03   -.86528    
   4  Prefactor     .56541        .17049        .27306E-03   -1.0906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57238e-13
Minuit parameter uncertainties:
  1  0.833606
  2  0.29868
  3  0.177596
  4  0.170649
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595684': 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) = 6096.48816339
delta logL = 0.326703739355

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.954e+00  8.336e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.047e+00  2.987e-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:  5.654e-01  1.706e-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.202e+00  1.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 45.56
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.05 +/- 0.30
Photon Flux (Free Index): 1.30e-07 +/- 4.54e-08
Energy Flux (Free Index): 6.34e-05 +/- 1.94e-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/595684/cmap_HighResolution_271987201_272246401_4FGL_J2258.1-2759_daily_bin126.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.53e-07', energy_flux2='6.34e-05', photon_flux_error='5.28e-08', dlogl='3.27e-01', energy_flux='5.77e-05', photon_flux2='1.30e-07', job_status='DONE', time_completed='2021-09-29 03:08:49.533287', photon_index_error2='0.30', photon_index2='2.05', ts='43.58', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='1.18', time_epoch_completed='1632910129.53', return_code='0', job_id='595684', GAL2='0.57', EG2='1.20', return_code2='0', energy_flux_error='1.99e-05', photon_flux_error2='4.54e-08', ts2='45.56', photon_index='2.29' WHERE bin_id='126' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:08:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 595684: <4FGL_J2258.1-2759_daily_bin126> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin126 344.529 -27.9843 271987201 272246401 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 :                                   548.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            790 sec.

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

