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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin131
RA = 344.529, Dec = -27.9843
tmin = 273283201, tmax = 273542401
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='595691', job_status='RUN', time_executed='2021-09-29 02:55:54.141322', time_epoch_executed='1632909354.14' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='131'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595691/ft1_4FGL_J2258.1-2759_daily_bin131.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595691/ft2_4FGL_J2258.1-2759_daily_bin131.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595691/ft1_4FGL_J2258.1-2759_daily_bin131.fits outfile=/scratch/kocevski/595691/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin131.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=273283201.0 tmax=273542401.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.69
user 1.52
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595691/ft2_4FGL_J2258.1-2759_daily_bin131.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/595691/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin131.fits evtable="EVENTS" outfile="/scratch/kocevski/595691/ft1_filtered_4FGL_J2258.1-2759_daily_bin131.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595691/ft1_filtered_4FGL_J2258.1-2759_daily_bin131.fits" evtable="EVENTS" scfile=/scratch/kocevski/595691/ft2_4FGL_J2258.1-2759_daily_bin131.fits sctable="SC_DATA" outfile=/scratch/kocevski/595691/ltcube_273283201_273542401_4FGL_J2258.1-2759_daily_bin131.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/595691/ft2_4FGL_J2258.1-2759_daily_bin131.fits
.....................!
real 13.94
user 13.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595691/ft1_filtered_4FGL_J2258.1-2759_daily_bin131.fits evtable="EVENTS" scfile=/scratch/kocevski/595691/ft2_4FGL_J2258.1-2759_daily_bin131.fits sctable="SC_DATA" expcube=/scratch/kocevski/595691/ltcube_273283201_273542401_4FGL_J2258.1-2759_daily_bin131.fits outfile=/scratch/kocevski/595691/expmap_273283201_273542401_4FGL_J2258.1-2759_daily_bin131.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/595691/ltcube_273283201_273542401_4FGL_J2258.1-2759_daily_bin131.fits
.....................!
real 193.03
user 187.22
sys 5.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/595691/ft1_filtered_4FGL_J2258.1-2759_daily_bin131.fits scfile=/scratch/kocevski/595691/ft2_4FGL_J2258.1-2759_daily_bin131.fits outfile=/scratch/kocevski/595691/cmap_273283201_273542401_4FGL_J2258.1-2759_daily_bin131.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/595691/ft1_filtered_4FGL_J2258.1-2759_daily_bin131.fits scfile=/scratch/kocevski/595691/ft2_4FGL_J2258.1-2759_daily_bin131.fits outfile=/scratch/kocevski/595691/cmap_HighResolution_273283201_273542401_4FGL_J2258.1-2759_daily_bin131.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595691/ft1_filtered_4FGL_J2258.1-2759_daily_bin131.fits evtable="EVENTS" scfile=/scratch/kocevski/595691/ft2_4FGL_J2258.1-2759_daily_bin131.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595691/Model_4FGL_J2258.1-2759_daily_bin131.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/595691/ft1_filtered_4FGL_J2258.1-2759_daily_bin131.fits.....................!
real 50.35
user 49.04
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.241       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    16.497       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13829E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.255       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15154E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.2368       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    20.509       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10551E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    41.973       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0790       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80009       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=   6492.048     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2728 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.241        13.298       -.38638E-07    .40285E-04
   2  Prefactor     .10000E-03    6.7793       -.44547E-07** at limit **
   3  norm          16.497        16.908        .78606E-07    .72370E-04
   4  Prefactor     .10000E-03    8.1588        .20969E-07** at limit **
   5  Prefactor     .10000E-03    19.332       -.85114E-05** at limit **
   6  norm          .10000E-03    .60874        .20513E-07** at limit **
   7  Prefactor     .10000E-03    19.735       -.91529E-06** at limit **
   8  Prefactor     .10000E-03    15.444       -.13159E-04** at limit **
   9  norm          .10000E-03    1.7164        .13045E-06** at limit **
  10  Prefactor     13.257        15.679       -.39033E-05    .46488E-03
  11  Prefactor     .10115E-03    8.9838       -.13766E-05** at limit **
  12  norm          4.2371        .94609        .22272E-06    .37587E-02
  13  Prefactor     .10000E-03    17.708        .20154E-04** at limit **
  14  Prefactor     .10000E-03    3.2475       -.96303E-08** at limit **
  15  norm          20.510        8.2754       -.29200E-07    .27384E-04
  16  Prefactor     .10000E-03    13.758        .28860E-05** at limit **
  17  norm          .10000E-03    1.4107        .35101E-07** at limit **
  18  Prefactor     .10060E-03    18.660       -.14011E-05** at limit **
  19  Prefactor     .10000E-03    51.646        .24831E-04** at limit **
  20  Prefactor     41.961        46.622       -.49748E-05    .14843E-06
  21  Normalizat    1.0787        .16502        .95114E-06    .66118E-03
  22  Prefactor     .80026        .16045       -.13944E-06    .49521E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2409
  Prefactor  = 0.0001
  norm       = 16.4966
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.2572
  Prefactor  = 0.000101153
  norm       = 4.23708
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.5101
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100604
  Prefactor  = 0.0001
  Prefactor  = 41.9612
  Normalizat = 1.07875
  Prefactor  = 0.800261
 **********
 **   18 **HESSE 
 **********

 FCN=   6492.048     FROM HESSE     STATUS=OK           342 CALLS     3070 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.241        13.299        .96458E-04   -1.4877    
   2  Prefactor     .10000E-03    6.8948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.497        16.902        .98608E-04   -1.4895    
   4  Prefactor     .10000E-03    8.1749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.069        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .61455        .61370E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.7420        .10292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.257        14.748        .11002E-03   -1.4980    
  11  Prefactor     .10115E-03    49.601        .37011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.2371        .89945        .30554E-04   -1.5296    
  13  Prefactor     .10000E-03    17.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.2559        .14172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          20.510        8.2802        .88443E-04   -1.4802    
  16  Prefactor     .10000E-03    13.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.4505        .18663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10060E-03    21.795        .10345       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    51.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     41.961        46.664        .61876E-04   -1.4412    
  21  Normalizat    1.0787        .19000        .22509E-03   -.90437    
  22  Prefactor     .80026        .18597        .25496E-03   -.99719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25646e-08
Minuit parameter uncertainties:
  1  13.301
  2  8.31749e-06
  3  16.9068
  4  2.67559e-06
  5  0.000147919
  6  1.64432e-06
  7  3.51387e-05
  8  0.000138957
  9  1.44556e-05
  10  14.752
  11  0.0151393
  12  0.89945
  13  6.26199e-06
  14  7.08005e-06
  15  8.28063
  16  2.85702e-06
  17  1.67554e-07
  18  0.00725869
  19  5.71053e-06
  20  46.7049
  21  0.190124
  22  0.18612
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  4.237e+00  8.994e-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.003e-01  1.861e-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.079e+00  1.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 96.54
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 2.40e-07 +/- 5.09e-08
Energy Flux (Fixed Index): 9.05e-05 +/- 1.92e-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) = 6489.93414965
delta logL = 2.1140647952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6489.92703018
delta logL = 2.1211842598

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8884       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8354       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1451       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76415       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=   6489.927     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      197 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8887        1.0908        .45481E-03    .20076E-02
   2  alpha         1.8355        .23397        .15964        .75131E-05
   3  Normalizat    1.1451        .16433        .36403E-01    .31040E-04
   4  Prefactor     .76417        .16109        .43249E-01    .98779E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.88867
  alpha      = 1.83546
  Normalizat = 1.14509
  Prefactor  = 0.764167
 **********
 **   18 **HESSE 
 **********

 FCN=   6489.927     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8887        1.0047        .18193E-04   -1.5266    
   2  alpha         1.8355        .22186        .68366E-02   -.26905    
   3  Normalizat    1.1451        .18982        .21999E-03   -.88317    
   4  Prefactor     .76417        .18603        .26071E-03   -1.0106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.86319e-11
Minuit parameter uncertainties:
  1  1.00466
  2  0.222171
  3  0.189933
  4  0.186184
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595691': 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) = 6489.92703009
delta logL = 2.12118435491

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  4.889e+00  1.005e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  1.835e+00  2.222e-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:  7.642e-01  1.862e-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.145e+00  1.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 102.39
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 1.84 +/- 0.22
Photon Flux (Free Index): 1.78e-07 +/- 4.76e-08
Energy Flux (Free Index): 1.14e-04 +/- 2.85e-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/595691/cmap_HighResolution_273283201_273542401_4FGL_J2258.1-2759_daily_bin131.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.40e-07', energy_flux2='1.14e-04', photon_flux_error='5.09e-08', dlogl='2.12e+00', energy_flux='9.05e-05', photon_flux2='1.78e-07', job_status='DONE', time_completed='2021-09-29 03:05:55.581256', photon_index_error2='0.22', photon_index2='1.84', ts='96.54', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='2.85e-05', EG='1.08', time_epoch_completed='1632909955.58', return_code='0', job_id='595691', GAL2='0.76', EG2='1.15', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='4.76e-08', ts2='102.39', photon_index='2.29' WHERE bin_id='131' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:05:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 595691: <4FGL_J2258.1-2759_daily_bin131> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin131 344.529 -27.9843 273283201 273542401 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 :                                   600.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            615 sec.

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

