/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 137 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 = 7407
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2258.1-2759_daily_bin309
RA = 344.529, Dec = -27.9843
tmin = 319420801, tmax = 319680001
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='595927', job_status='RUN', time_executed='2021-09-29 02:58:28.137598', time_epoch_executed='1632909508.14' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='309'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595927

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595927/ft1_4FGL_J2258.1-2759_daily_bin309.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595927/ft2_4FGL_J2258.1-2759_daily_bin309.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595927/ft1_4FGL_J2258.1-2759_daily_bin309.fits outfile=/scratch/kocevski/595927/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin309.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=319420801.0 tmax=319680001.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.44
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595927/ft2_4FGL_J2258.1-2759_daily_bin309.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/595927/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin309.fits evtable="EVENTS" outfile="/scratch/kocevski/595927/ft1_filtered_4FGL_J2258.1-2759_daily_bin309.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.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595927/ft1_filtered_4FGL_J2258.1-2759_daily_bin309.fits" evtable="EVENTS" scfile=/scratch/kocevski/595927/ft2_4FGL_J2258.1-2759_daily_bin309.fits sctable="SC_DATA" outfile=/scratch/kocevski/595927/ltcube_319420801_319680001_4FGL_J2258.1-2759_daily_bin309.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/595927/ft2_4FGL_J2258.1-2759_daily_bin309.fits
.....................!
real 11.67
user 11.32
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595927/ft1_filtered_4FGL_J2258.1-2759_daily_bin309.fits evtable="EVENTS" scfile=/scratch/kocevski/595927/ft2_4FGL_J2258.1-2759_daily_bin309.fits sctable="SC_DATA" expcube=/scratch/kocevski/595927/ltcube_319420801_319680001_4FGL_J2258.1-2759_daily_bin309.fits outfile=/scratch/kocevski/595927/expmap_319420801_319680001_4FGL_J2258.1-2759_daily_bin309.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/595927/ltcube_319420801_319680001_4FGL_J2258.1-2759_daily_bin309.fits
.....................!
real 189.61
user 184.81
sys 4.49

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/595927/ft1_filtered_4FGL_J2258.1-2759_daily_bin309.fits scfile=/scratch/kocevski/595927/ft2_4FGL_J2258.1-2759_daily_bin309.fits outfile=/scratch/kocevski/595927/cmap_319420801_319680001_4FGL_J2258.1-2759_daily_bin309.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=344.529 yref=-27.9843 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595927/ft1_filtered_4FGL_J2258.1-2759_daily_bin309.fits scfile=/scratch/kocevski/595927/ft2_4FGL_J2258.1-2759_daily_bin309.fits outfile=/scratch/kocevski/595927/cmap_HighResolution_319420801_319680001_4FGL_J2258.1-2759_daily_bin309.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=344.529 yref=-27.9843 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595927/ft1_filtered_4FGL_J2258.1-2759_daily_bin309.fits evtable="EVENTS" scfile=/scratch/kocevski/595927/ft2_4FGL_J2258.1-2759_daily_bin309.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595927/Model_4FGL_J2258.1-2759_daily_bin309.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/595927/ft1_filtered_4FGL_J2258.1-2759_daily_bin309.fits.....................!
real 50.33
user 49.08
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6134       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9542       1.0000         .10000E-03   10000.    
     3 'norm      '    10.622       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9649       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.477       1.0000         .10000E-03   10000.    
     6 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.075       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.1315       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.631       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.2387       1.0000         .10000E-03   10000.    
    15 'norm      '    6.0265       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .62372       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.829       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .73528       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2415       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=   6331.692     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2364 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6136        9.0878        .22484E-06   -.40101E-04
   2  Prefactor     9.9561        7.0639        .76643E-06   -.49011E-03
   3  norm          10.622        11.152        .14664E-07   -.11732E-05
   4  Prefactor     3.9599        28.495       -.31967E-05   -.12934E-03
   5  Prefactor     12.478        11.691        .14510E-06   -.34880E-04
   6  norm          .10000E-03    .62153       -.49417E-07** at limit **
   7  Prefactor     28.070        27.731       -.12765E-05   -.21326E-03
   8  Prefactor     .10000E-03    3.4730       -.37878E-07** at limit **
   9  norm          .10000E-03    1.3738       -.76312E-07** at limit **
  10  Prefactor     .10000E-03    5.0014       -.29226E-07** at limit **
  11  Prefactor     .10000E-03    9.3671        .22895E-07** at limit **
  12  norm          1.1312        .60121       -.83247E-08   -.21391E-03
  13  Prefactor     22.632        42.844        .62664E-06    .27442E-04
  14  Prefactor     9.2338        10.416        .26290E-06    .16980E-04
  15  norm          6.0258        7.7867        .10887E-06   -.45686E-04
  16  Prefactor     .10000E-03    13.028        .56873E-07** at limit **
  17  norm          .62469        2.8021        .13258E-05   -.37087E-03
  18  Prefactor     24.827        29.124       -.17714E-05   -.18050E-03
  19  Prefactor     .10000E-03    30.002        .75338E-06** at limit **
  20  Prefactor     .10000E-03    30.368       -.54380E-06** at limit **
  21  Normalizat    .73514        .17367       -.12081E-06   -.74650E-04
  22  Prefactor     1.2416        .17100       -.10162E-06   -.69134E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.61359
  Prefactor  = 9.95608
  norm       = 10.6217
  Prefactor  = 3.9599
  Prefactor  = 12.4778
  norm       = 0.0001
  Prefactor  = 28.0699
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.13116
  Prefactor  = 22.632
  Prefactor  = 9.23377
  norm       = 6.0258
  Prefactor  = 0.0001
  norm       = 0.624694
  Prefactor  = 24.8267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.735143
  Prefactor  = 1.24157
 **********
 **   18 **HESSE 
 **********

 FCN=   6331.692     FROM HESSE     STATUS=OK           342 CALLS     2706 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6136        9.0877        .21255E-03   -1.5328    
   2  Prefactor     9.9561        7.2221        .63503E-03   -1.5077    
   3  norm          10.622        11.152        .12294E-03   -1.5056    
   4  Prefactor     3.9599        30.407        .20257E-03   -1.5310    
   5  Prefactor     12.478        11.699        .11341E-03   -1.5001    
   6  norm          .10000E-03    .62281        .61115E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.070        28.591        .75610E-04   -1.4648    
   8  Prefactor     .10000E-03    3.4876        .14479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.3830        .91015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.0075        .17371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.5757        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1312        .59176        .39934E-04   -1.5495    
  13  Prefactor     22.632        42.933        .84200E-04   -1.4756    
  14  Prefactor     9.2338        10.382        .13185E-03   -1.5100    
  15  norm          6.0258        7.7973        .16356E-03   -1.5217    
  16  Prefactor     .10000E-03    13.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .62469        3.0760        .25001E-03   -1.5550    
  18  Prefactor     24.827        29.130        .80391E-04   -1.4711    
  19  Prefactor     .10000E-03    30.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    30.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .73514        .20601        .26884E-03   -1.0252    
  22  Prefactor     1.2416        .20324        .21897E-03   -.85061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.46552e-10
Minuit parameter uncertainties:
  1  9.09115
  2  7.22276
  3  11.1546
  4  21.9616
  5  11.7012
  6  3.29406e-06
  7  28.6054
  8  1.80604e-06
  9  2.85043e-06
  10  9.59217e-07
  11  1.84225e-05
  12  0.591763
  13  42.992
  14  10.3837
  15  7.79865
  16  6.95765e-06
  17  2.7724
  18  29.1469
  19  0.000196135
  20  0.000145411
  21  0.206224
  22  0.203372
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.131e+00  5.918e-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.242e+00  2.034e-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:  7.351e-01  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.39
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 2.42e-05 +/- 1.26e-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) = 6331.60341749
delta logL = 0.0885879042671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6331.59490946
delta logL = 0.0970959299029

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0011       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5253       1.0000          .0000       5.0000    
     3 'Normalizat'    .71984       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2514       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=   6331.595     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0006        7.1330        .81245E-02    .35414E-03
   2  alpha         2.5258        3.7580        .29339        .46168E-04
   3  Normalizat    .71999        .69591E-01    .61398E-01    .13857E-04
   4  Prefactor     1.2512        .59522E-01    .49364E-01    .49887E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.00061
  alpha      = 2.52585
  Normalizat = 0.719989
  Prefactor  = 1.25123
 **********
 **   18 **HESSE 
 **********

 FCN=   6331.595     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0006        .61844        .36260E-04   -1.5508    
   2  alpha         2.5258        .56402        .11294E-01    .10339E-01
   3  Normalizat    .71999        .19878        .27159E-03   -1.0311    
   4  Prefactor     1.2512        .20354        .21823E-03   -.84769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92948e-09
Minuit parameter uncertainties:
  1  0.618448
  2  0.56892
  3  0.198984
  4  0.203673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595927': 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) = 6331.59490831
delta logL = 0.0970970854796

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.001e+00  6.184e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.526e+00  5.689e-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:  1.251e+00  2.037e-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:  7.200e-01  1.990e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.62
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.53 +/- 0.57
Photon Flux (Free Index): 7.54e-08 +/- 4.27e-08
Energy Flux (Free Index): 2.31e-05 +/- 1.13e-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/595927/cmap_HighResolution_319420801_319680001_4FGL_J2258.1-2759_daily_bin309.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='2.31e-05', photon_flux_error='3.35e-08', dlogl='9.71e-02', energy_flux='2.42e-05', photon_flux2='7.54e-08', job_status='DONE', time_completed='2021-09-29 03:08:01.901957', photon_index_error2='0.57', photon_index2='2.53', ts='8.39', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', energy_flux_error2='1.13e-05', EG='0.74', time_epoch_completed='1632910081.9', return_code='0', job_id='595927', GAL2='1.25', EG2='0.72', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='4.27e-08', ts2='8.62', photon_index='2.29' WHERE bin_id='309' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:08:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 595927: <4FGL_J2258.1-2759_daily_bin309> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin309> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:56:01 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:56:03 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:56:03 2021
Terminated at Wed Sep 29 03:08:02 2021
Results reported at Wed Sep 29 03:08:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin309 344.529 -27.9843 319420801 319680001 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 :                                   570.01 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             294.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            721 sec.

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

