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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin330
RA = 344.529, Dec = -27.9843
tmin = 324864001, tmax = 325123201
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='595958', job_status='RUN', time_executed='2021-09-29 02:56:18.920764', time_epoch_executed='1632909378.92' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='330'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595958

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595958/ft1_4FGL_J2258.1-2759_daily_bin330.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595958/ft2_4FGL_J2258.1-2759_daily_bin330.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595958/ft1_4FGL_J2258.1-2759_daily_bin330.fits outfile=/scratch/kocevski/595958/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin330.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=324864001.0 tmax=325123201.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 5.67
user 5.44
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595958/ft2_4FGL_J2258.1-2759_daily_bin330.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/595958/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin330.fits evtable="EVENTS" outfile="/scratch/kocevski/595958/ft1_filtered_4FGL_J2258.1-2759_daily_bin330.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595958/ft1_filtered_4FGL_J2258.1-2759_daily_bin330.fits" evtable="EVENTS" scfile=/scratch/kocevski/595958/ft2_4FGL_J2258.1-2759_daily_bin330.fits sctable="SC_DATA" outfile=/scratch/kocevski/595958/ltcube_324864001_325123201_4FGL_J2258.1-2759_daily_bin330.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/595958/ft2_4FGL_J2258.1-2759_daily_bin330.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595958/ft1_filtered_4FGL_J2258.1-2759_daily_bin330.fits evtable="EVENTS" scfile=/scratch/kocevski/595958/ft2_4FGL_J2258.1-2759_daily_bin330.fits sctable="SC_DATA" expcube=/scratch/kocevski/595958/ltcube_324864001_325123201_4FGL_J2258.1-2759_daily_bin330.fits outfile=/scratch/kocevski/595958/expmap_324864001_325123201_4FGL_J2258.1-2759_daily_bin330.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/595958/ltcube_324864001_325123201_4FGL_J2258.1-2759_daily_bin330.fits
.....................!
real 190.64
user 185.34
sys 4.98

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/595958/ft1_filtered_4FGL_J2258.1-2759_daily_bin330.fits scfile=/scratch/kocevski/595958/ft2_4FGL_J2258.1-2759_daily_bin330.fits outfile=/scratch/kocevski/595958/cmap_324864001_325123201_4FGL_J2258.1-2759_daily_bin330.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595958/ft1_filtered_4FGL_J2258.1-2759_daily_bin330.fits scfile=/scratch/kocevski/595958/ft2_4FGL_J2258.1-2759_daily_bin330.fits outfile=/scratch/kocevski/595958/cmap_HighResolution_324864001_325123201_4FGL_J2258.1-2759_daily_bin330.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595958/ft1_filtered_4FGL_J2258.1-2759_daily_bin330.fits evtable="EVENTS" scfile=/scratch/kocevski/595958/ft2_4FGL_J2258.1-2759_daily_bin330.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595958/Model_4FGL_J2258.1-2759_daily_bin330.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/595958/ft1_filtered_4FGL_J2258.1-2759_daily_bin330.fits.....................!
real 37.25
user 35.99
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    15.241       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.597       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.1004       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.1079       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6268       1.0000         .10000E-03   10000.    
    12 'norm      '    .67071       1.0000         .10000E-03   10000.    
    13 'Prefactor '    34.013       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .58550E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.257       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5850       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2842       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .62039       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=   4140.057     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2446 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3868        .13344E-06** at limit **
   2  Prefactor     15.241        11.996       -.10286E-06   -.30471E-04
   3  norm          .10000E-03    6.0493       -.13681E-06** at limit **
   4  Prefactor     25.601        27.591       -.12420E-05   -.17242E-05
   5  Prefactor     .10000E-03    4.6669       -.96247E-07** at limit **
   6  norm          5.1006        2.9143       -.38018E-07   -.61295E-04
   7  Prefactor     .10000E-03    43.462        .45944E-06** at limit **
   8  Prefactor     .10000E-03    8.7806        .25664E-07** at limit **
   9  norm          6.1064        6.4317       -.78827E-07   -.23313E-03
  10  Prefactor     .10000E-03    7.6963       -.28875E-06** at limit **
  11  Prefactor     5.6310        17.282       -.32340E-05   -.26539E-03
  12  norm          .67104        1.6049        .57865E-06   -.75867E-03
  13  Prefactor     34.013        90.144       -.15480E-07    .13999E-05
  14  Prefactor     .10008E-03    10.225        .39600E-06** at limit **
  15  norm          .10000E-03    3.4375       -.11116E-06** at limit **
  16  Prefactor     .10000E-03    17.459        .49084E-06** at limit **
  17  norm          .10000E-03    1.0065       -.37053E-07** at limit **
  18  Prefactor     .10000E-03    18.943       -.53907E-06** at limit **
  19  Prefactor     34.234        103.65       -.34646E-04    .12869E-05
  20  Prefactor     6.5834        85.032       -.22913E-05   -.37082E-05
  21  Normalizat    1.2842        .21403        .17929E-05   -.15267E-03
  22  Prefactor     .62039        .19420       -.30291E-06   -.70327E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.2413
  norm       = 0.0001
  Prefactor  = 25.6011
  Prefactor  = 0.0001
  norm       = 5.10063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.10643
  Prefactor  = 0.0001
  Prefactor  = 5.63099
  norm       = 0.671037
  Prefactor  = 34.013
  Prefactor  = 0.000100078
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.2336
  Prefactor  = 6.5834
  Normalizat = 1.28419
  Prefactor  = 0.620389
 **********
 **   18 **HESSE 
 **********

 FCN=   4140.057     FROM HESSE     STATUS=OK           348 CALLS     2794 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3936        .15881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.241        12.018        .10259E-03   -1.4927    
   3  norm          .10000E-03    6.0499        .15457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.601        27.585        .79179E-04   -1.4696    
   5  Prefactor     .10000E-03    4.6757        .13575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.1006        2.9137        .79947E-04   -1.5256    
   7  Prefactor     .10000E-03    43.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.8139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.1064        6.2835        .13453E-03   -1.5214    
  10  Prefactor     .10000E-03    7.6962        .17421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.6310        16.148        .16935E-03   -1.5233    
  12  norm          .67104        1.3920        .63803E-04   -1.5544    
  13  Prefactor     34.013        90.533        .68711E-04   -1.4541    
  14  Prefactor     .10008E-03    21.890        .56344E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.4414        .11651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.0125        .63035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     34.234        103.19        .68466E-04   -1.4537    
  20  Prefactor     6.5834        85.132        .15638E-03   -1.5195    
  21  Normalizat    1.2842        .25835        .21556E-03   -.84040    
  22  Prefactor     .62039        .23167        .27963E-03   -1.0673    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91528e-10
Minuit parameter uncertainties:
  1  4.22682e-06
  2  12.0204
  3  6.15505e-07
  4  27.5988
  5  3.8107e-06
  6  2.91375
  7  6.27009e-06
  8  2.63718e-06
  9  6.28414
  10  6.78033e-06
  11  16.1607
  12  1.39208
  13  90.9017
  14  0.00260869
  15  1.71432e-06
  16  1.86744e-06
  17  6.51578e-07
  18  4.01083e-05
  19  103.736
  20  47.4308
  21  0.258608
  22  0.232029
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  6.710e-01  1.392e+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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  6.204e-01  2.320e-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.284e+00  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.73
Ra Dec: 344.529 -27.984
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/595958/likelihoodResults_324864001_325123201_4FGL_J2258.1-2759_daily_bin330.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) = 4139.54746562
delta logL = 0.509917506066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4139.54542428
delta logL = 0.511958839843

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39229       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2678       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65030       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=   4139.545     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      241 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39144        5.6104        .71318E-02    .99116E-03
   2  alpha         3.2694        4.1329        .31988        .35649E-04
   3  Normalizat    1.2336        .53440E-01    .49522E-01   -.98954E-05
   4  Prefactor     .65020        .50605E-01    .61802E-01    .85277E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.391438
  alpha      = 3.26939
  Normalizat = 1.23358
  Prefactor  = 0.650197
 **********
 **   18 **HESSE 
 **********

 FCN=   4139.545     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39144        .82533        .32113E-04   -1.5583    
   2  alpha         3.2694        1.3351        .12409E-01    .31283    
   3  Normalizat    1.2336        .24854        .21893E-03   -.85571    
   4  Prefactor     .65020        .22971        .27340E-03   -1.0551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04595e-09
Minuit parameter uncertainties:
  1  0.825352
  2  1.41758
  3  0.248782
  4  0.23004
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595958': 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) = 4139.54542297
delta logL = 0.511960150439

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.914e-01  8.254e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  3.269e+00  1.418e+00  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:  6.502e-01  2.300e-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.234e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.80
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 3.27 +/- 1.42
Photon Flux (Free Index): 8.35e-08 +/- 7.20e-08
Energy Flux (Free Index): 1.69e-05 +/- 1.53e-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/595958/cmap_HighResolution_324864001_325123201_4FGL_J2258.1-2759_daily_bin330.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.23e-05', comment='SUCCESS', energy_flux2='1.69e-05', dlogl='5.12e-01', photon_flux2='8.35e-08', job_status='DONE', time_completed='2021-09-29 03:05:17.062553', photon_index_error2='1.42', photon_index2='3.27', ts='0.73', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.53e-05', EG='1.28', time_epoch_completed='1632909917.06', return_code='0', job_id='595958', GAL2='0.65', EG2='1.23', return_code2='0', photon_flux_error2='7.20e-08', ts2='1.80', photon_index='2.29' WHERE bin_id='330' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:05:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 595958: <4FGL_J2258.1-2759_daily_bin330> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin330 344.529 -27.9843 324864001 325123201 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 :                                   531.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   551 sec.
    Turnaround time :                            553 sec.

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

