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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin964
RA = 344.529, Dec = -27.9843
tmin = 489196801, tmax = 489456001
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='598822', job_status='RUN', time_executed='2021-09-29 03:09:04.742505', time_epoch_executed='1632910144.74' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='964'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598822

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598822/ft1_4FGL_J2258.1-2759_daily_bin964.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598822/ft2_4FGL_J2258.1-2759_daily_bin964.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598822/ft1_4FGL_J2258.1-2759_daily_bin964.fits outfile=/scratch/kocevski/598822/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin964.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=489196801.0 tmax=489456001.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 4.93
user 4.69
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/598822/ft2_4FGL_J2258.1-2759_daily_bin964.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/598822/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin964.fits evtable="EVENTS" outfile="/scratch/kocevski/598822/ft1_filtered_4FGL_J2258.1-2759_daily_bin964.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.51
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598822/ft1_filtered_4FGL_J2258.1-2759_daily_bin964.fits" evtable="EVENTS" scfile=/scratch/kocevski/598822/ft2_4FGL_J2258.1-2759_daily_bin964.fits sctable="SC_DATA" outfile=/scratch/kocevski/598822/ltcube_489196801_489456001_4FGL_J2258.1-2759_daily_bin964.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/598822/ft2_4FGL_J2258.1-2759_daily_bin964.fits
.....................!
real 14.67
user 14.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598822/ft1_filtered_4FGL_J2258.1-2759_daily_bin964.fits evtable="EVENTS" scfile=/scratch/kocevski/598822/ft2_4FGL_J2258.1-2759_daily_bin964.fits sctable="SC_DATA" expcube=/scratch/kocevski/598822/ltcube_489196801_489456001_4FGL_J2258.1-2759_daily_bin964.fits outfile=/scratch/kocevski/598822/expmap_489196801_489456001_4FGL_J2258.1-2759_daily_bin964.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/598822/ltcube_489196801_489456001_4FGL_J2258.1-2759_daily_bin964.fits
.....................!
real 190.48
user 186.02
sys 4.14

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

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

This is gtbin version HEAD
real 0.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598822/ft1_filtered_4FGL_J2258.1-2759_daily_bin964.fits scfile=/scratch/kocevski/598822/ft2_4FGL_J2258.1-2759_daily_bin964.fits outfile=/scratch/kocevski/598822/cmap_HighResolution_489196801_489456001_4FGL_J2258.1-2759_daily_bin964.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598822/ft1_filtered_4FGL_J2258.1-2759_daily_bin964.fits evtable="EVENTS" scfile=/scratch/kocevski/598822/ft2_4FGL_J2258.1-2759_daily_bin964.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598822/Model_4FGL_J2258.1-2759_daily_bin964.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/598822/ft1_filtered_4FGL_J2258.1-2759_daily_bin964.fits.....................!
real 52.93
user 51.62
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4600       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    12.482       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.675       1.0000         .10000E-03   10000.    
     5 'Prefactor '    58.358       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 '    7.8486       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12360E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .27585       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .25518E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.4209       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11683E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.553       1.0000         .10000E-03   10000.    
    19 'Prefactor '    75.548       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.295       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .85649       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92591       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=   7016.712     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2423 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4493        30.827       -.14246E-05   -.71297E-04
   2  Prefactor     .10000E-03    4.2048       -.87811E-07** at limit **
   3  norm          12.482        15.291       -.10815E-06    .36292E-05
   4  Prefactor     15.676        16.555        .19411E-07    .80591E-06
   5  Prefactor     58.359        14.323       -.57905E-08    .34244E-04
   6  norm          .10000E-03    .57667       -.19554E-07** at limit **
   7  Prefactor     .10000E-03    12.455       -.10733E-07** at limit **
   8  Prefactor     7.8509        8.5285       -.43540E-07   -.50675E-04
   9  norm          .10000E-03    1.2827       -.14151E-06** at limit **
  10  Prefactor     .10000E-03    62.906       -.40554E-05** at limit **
  11  Prefactor     .10000E-03    2.6053       -.33431E-06** at limit **
  12  norm          .27539        .33378        .29594E-06    .31030E-02
  13  Prefactor     .10000E-03    31.081       -.40748E-06** at limit **
  14  Prefactor     .10000E-03    4.1892       -.76557E-06** at limit **
  15  norm          5.4218        5.6827        .17121E-07   -.13929E-03
  16  Prefactor     .10000E-03    48.214        .76529E-06** at limit **
  17  norm          .10000E-03    1.6880        .10111E-05** at limit **
  18  Prefactor     18.530        21.742        .41324E-06   -.14542E-03
  19  Prefactor     75.538        62.068       -.24538E-06    .46493E-05
  20  Prefactor     21.296        37.433       -.98347E-07   -.76896E-05
  21  Normalizat    .85634        .15689       -.13106E-05   -.88110E-04
  22  Prefactor     .92610        .15753        .12816E-05   -.15337E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44934
  Prefactor  = 0.0001
  norm       = 12.4822
  Prefactor  = 15.6759
  Prefactor  = 58.3589
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.85088
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.275389
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.42176
  Prefactor  = 0.000100002
  norm       = 0.000100001
  Prefactor  = 18.5303
  Prefactor  = 75.5377
  Prefactor  = 21.2958
  Normalizat = 0.856344
  Prefactor  = 0.926104
 **********
 **   18 **HESSE 
 **********

 FCN=   7016.712     FROM HESSE     STATUS=OK           360 CALLS     2783 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4493        31.697        .35612E-03   -1.5467    
   2  Prefactor     .10000E-03    4.2550        .16761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.482        15.285        .11338E-03   -1.5001    
   4  Prefactor     15.676        16.555        .10116E-03   -1.4916    
   5  Prefactor     58.359        14.339        .52517E-04   -1.4179    
   6  norm          .10000E-03    .58514        .62091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.8509        8.5383        .14313E-03   -1.5148    
   9  norm          .10000E-03    1.3087        .92632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3914        .63559E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.6629        .13210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .27539        .35360        .55726E-03   -1.5603    
  13  Prefactor     .10000E-03    31.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.988        .31789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.4218        5.6750        .17259E-03   -1.5242    
  16  Prefactor     .10000E-03    48.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.9244        .17056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.530        21.491        .92985E-04   -1.4847    
  19  Prefactor     75.538        62.141        .23098E-03   -1.3968    
  20  Prefactor     21.296        37.431        .86797E-04   -1.4785    
  21  Normalizat    .85634        .17995        .23452E-03   -.98012    
  22  Prefactor     .92610        .17981        .22867E-03   -.95235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17952e-09
Minuit parameter uncertainties:
  1  13.5636
  2  9.78533e-07
  3  15.2897
  4  16.5595
  5  14.3395
  6  4.03984e-07
  7  3.63382e-06
  8  8.5396
  9  5.9707e-06
  10  0.000121909
  11  1.71196e-05
  12  0.353599
  13  5.15799e-05
  14  8.59683e-05
  15  5.67555
  16  0.00060385
  17  8.22625e-05
  18  21.4997
  19  62.1946
  20  37.4723
  21  0.180075
  22  0.179926
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.754e-01  3.536e-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:  9.261e-01  1.799e-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.563e-01  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/598822/likelihoodResults_489196801_489456001_4FGL_J2258.1-2759_daily_bin964.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) = 7016.58734249
delta logL = 0.124280628569

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7016.57981215
delta logL = 0.131810963582

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34266       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8309       1.0000          .0000       5.0000    
     3 'Normalizat'    .86428       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91933       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=   7016.580     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      230 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34272        18.264        .10611E-01    .14204E-02
   2  alpha         1.8309        3.7268        .43189       -.53031E-05
   3  Normalizat    .86418        .58265E-01    .44443E-01    .15438E-04
   4  Prefactor     .91940        .64006E-01    .45251E-01    .11266E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.342716
  alpha      = 1.83093
  Normalizat = 0.864179
  Prefactor  = 0.919404
 **********
 **   18 **HESSE 
 **********

 FCN=   7016.580     FROM HESSE     STATUS=OK            35 CALLS      265 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34272        .38304        .57249E-03   -1.5591    
   2  alpha         1.8309        .81163        .24561E-01   -.27093    
   3  Normalizat    .86418        .17492        .23353E-03   -.97730    
   4  Prefactor     .91940        .17826        .22936E-03   -.95466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3924e-09
Minuit parameter uncertainties:
  1  0.383042
  2  0.827833
  3  0.175035
  4  0.17837
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598822': 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) = 7016.57981198
delta logL = 0.131811134223

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.427e-01  3.830e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  1.831e+00  8.278e-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:  9.194e-01  1.784e-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.642e-01  1.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.19
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 1.83 +/- 0.83
Photon Flux (Free Index): 1.24e-08 +/- 1.58e-08
Energy Flux (Free Index): 8.04e-06 +/- 1.00e-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/598822/cmap_HighResolution_489196801_489456001_4FGL_J2258.1-2759_daily_bin964.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.32e-05', comment='SUCCESS', energy_flux2='8.04e-06', dlogl='1.32e-01', photon_flux2='1.24e-08', job_status='DONE', time_completed='2021-09-29 03:20:26.638055', photon_index_error2='0.83', photon_index2='1.83', ts='0.92', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='6.15e-08', energy_flux_error2='1.00e-05', EG='0.86', time_epoch_completed='1632910826.64', return_code='0', job_id='598822', GAL2='0.92', EG2='0.86', return_code2='0', photon_flux_error2='1.58e-08', ts2='1.19', photon_index='2.29' WHERE bin_id='964' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:20:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 598822: <4FGL_J2258.1-2759_daily_bin964> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin964> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 03:05:36 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:05:37 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:37 2021
Terminated at Wed Sep 29 03:20:27 2021
Results reported at Wed Sep 29 03:20:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin964 344.529 -27.9843 489196801 489456001 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 :                                   679.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            891 sec.

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

