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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin800
RA = 344.529, Dec = -27.9843
tmin = 446688001, tmax = 446947201
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='598576', job_status='RUN', time_executed='2021-09-29 03:05:37.737482', time_epoch_executed='1632909937.74' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='800'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598576

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598576/ft1_4FGL_J2258.1-2759_daily_bin800.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598576/ft2_4FGL_J2258.1-2759_daily_bin800.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598576/ft1_4FGL_J2258.1-2759_daily_bin800.fits outfile=/scratch/kocevski/598576/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin800.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=446688001.0 tmax=446947201.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.37
user 3.17
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598576/ft1_filtered_4FGL_J2258.1-2759_daily_bin800.fits" evtable="EVENTS" scfile=/scratch/kocevski/598576/ft2_4FGL_J2258.1-2759_daily_bin800.fits sctable="SC_DATA" outfile=/scratch/kocevski/598576/ltcube_446688001_446947201_4FGL_J2258.1-2759_daily_bin800.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/598576/ft2_4FGL_J2258.1-2759_daily_bin800.fits
.....................!
real 11.97
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598576/ft1_filtered_4FGL_J2258.1-2759_daily_bin800.fits evtable="EVENTS" scfile=/scratch/kocevski/598576/ft2_4FGL_J2258.1-2759_daily_bin800.fits sctable="SC_DATA" expcube=/scratch/kocevski/598576/ltcube_446688001_446947201_4FGL_J2258.1-2759_daily_bin800.fits outfile=/scratch/kocevski/598576/expmap_446688001_446947201_4FGL_J2258.1-2759_daily_bin800.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/598576/ltcube_446688001_446947201_4FGL_J2258.1-2759_daily_bin800.fits
.....................!
real 190.60
user 185.24
sys 5.04

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/598576/ft1_filtered_4FGL_J2258.1-2759_daily_bin800.fits scfile=/scratch/kocevski/598576/ft2_4FGL_J2258.1-2759_daily_bin800.fits outfile=/scratch/kocevski/598576/cmap_446688001_446947201_4FGL_J2258.1-2759_daily_bin800.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598576/ft1_filtered_4FGL_J2258.1-2759_daily_bin800.fits scfile=/scratch/kocevski/598576/ft2_4FGL_J2258.1-2759_daily_bin800.fits outfile=/scratch/kocevski/598576/cmap_HighResolution_446688001_446947201_4FGL_J2258.1-2759_daily_bin800.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1736       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    22.474       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15126E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .10529E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10445E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9062       1.0000         .10000E-03   10000.    
    12 'norm      '    .18596       1.0000         .10000E-03   10000.    
    13 'Prefactor '    45.608       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.9579       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12980E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10094E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.783       1.0000         .10000E-03   10000.    
    19 'Prefactor '    56.914       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0715       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81985       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=   5755.441     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2392 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1756        11.000        .32231E-05   -.49098E-04
   2  Prefactor     .10000E-03    2.2428       -.51070E-07** at limit **
   3  norm          22.495        24.931        .15749E-05    .12466E-04
   4  Prefactor     .10000E-03    7.0595        .13984E-08** at limit **
   5  Prefactor     .10170E-03    5.5076        .33787E-06** at limit **
   6  norm          .10000E-03    2.0263       -.16067E-06** at limit **
   7  Prefactor     .10000E-03    69.633       -.68147E-05** at limit **
   8  Prefactor     .10000E-03    10.044       -.36705E-06** at limit **
   9  norm          .10000E-03    2.0207        .26018E-06** at limit **
  10  Prefactor     .10000E-03    6.1992        .16709E-06** at limit **
  11  Prefactor     1.9109        7.7667       -.41868E-05   -.70645E-03
  12  norm          .18543        .51405        .44648E-06   -.25625E-02
  13  Prefactor     45.609        37.386        .69574E-07    .98915E-05
  14  Prefactor     .10000E-03    3.6563        .18100E-07** at limit **
  15  norm          6.9556        7.4575        .15144E-06   -.50131E-04
  16  Prefactor     .10000E-03    107.87       -.15024E-04** at limit **
  17  norm          .10000E-03    1.0528       -.26176E-07** at limit **
  18  Prefactor     30.782        28.114        .33448E-05    .30973E-04
  19  Prefactor     56.831        74.904       -.89302E-04    .15683E-05
  20  Prefactor     .10000E-03    105.41       -.55791E-05** at limit **
  21  Normalizat    1.0711        .16558        .30577E-05    .37897E-05
  22  Prefactor     .82032        .16129        .12557E-05    .14850E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.17555
  Prefactor  = 0.0001
  norm       = 22.4951
  Prefactor  = 0.0001
  Prefactor  = 0.000101705
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.91093
  norm       = 0.185432
  Prefactor  = 45.6091
  Prefactor  = 0.0001
  norm       = 6.95564
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.7819
  Prefactor  = 56.8314
  Prefactor  = 0.000100001
  Normalizat = 1.07113
  Prefactor  = 0.820317
 **********
 **   18 **HESSE 
 **********

 FCN=   5755.441     FROM HESSE     STATUS=OK           348 CALLS     2740 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1756        10.989        .16157E-03   -1.5211    
   2  Prefactor     .10000E-03    2.2497        .11095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          22.495        24.872        .84492E-04   -1.4759    
   4  Prefactor     .10000E-03    7.0677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10170E-03    97.201        .34067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.1129        .21033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    70.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.1379        .20135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.2057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9109        8.1921        .25539E-03   -1.5431    
  12  norm          .18543        .49010        .56825E-03   -1.5622    
  13  Prefactor     45.609        37.397        .59369E-04   -1.4356    
  14  Prefactor     .10000E-03    3.6860        .14155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.9556        7.4545        .15209E-03   -1.5180    
  16  Prefactor     .10000E-03    109.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.0625        .75916E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.782        28.106        .72215E-04   -1.4598    
  19  Prefactor     56.831        74.906        .26588E-03   -1.4199    
  20  Prefactor     .10000E-03    107.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0711        .19474        .21307E-03   -.90684    
  22  Prefactor     .82032        .18940        .24046E-03   -.98984    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69507e-08
Minuit parameter uncertainties:
  1  10.9925
  2  8.14897e-06
  3  24.8833
  4  1.71393e-05
  5  0.0257884
  6  2.47276e-05
  7  0.00037171
  8  7.11059e-05
  9  4.96756e-05
  10  4.31339e-05
  11  7.91481
  12  0.490106
  13  37.4158
  14  5.67571e-06
  15  7.45549
  16  4.56555e-05
  17  3.097e-06
  18  28.1177
  19  75.0303
  20  0.000775774
  21  0.194866
  22  0.189551
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.854e-01  4.901e-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.203e-01  1.896e-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.071e+00  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/598576/likelihoodResults_446688001_446947201_4FGL_J2258.1-2759_daily_bin800.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) = 5755.43549927
delta logL = 0.00582182753078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5755.43478664
delta logL = 0.00653445374246

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17430       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4371       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82121       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=   5755.435     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17427        9.6938        .98597E-02    .24522E-02
   2  alpha         2.4372        3.0266        .41168        .12085E-04
   3  Normalizat    1.0696        .37304E-01    .39401E-01   -.74737E-05
   4  Prefactor     .82116        .37203E-01    .43993E-01    .12885E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.174273
  alpha      = 2.43719
  Normalizat = 1.06961
  Prefactor  = 0.821164
 **********
 **   18 **HESSE 
 **********

 FCN=   5755.435     FROM HESSE     STATUS=OK            35 CALLS      236 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17427        .33376        .54122E-03   -1.5624    
   2  alpha         2.4372        1.3598        .30617E-01   -.25128E-01
   3  Normalizat    1.0696        .18737        .21321E-03   -.90733    
   4  Prefactor     .82116        .18809        .24035E-03   -.98953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46304e-10
Minuit parameter uncertainties:
  1  0.333759
  2  1.43785
  3  0.187485
  4  0.188237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598576': 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) = 5755.4347866
delta logL = 0.00653449587935

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.743e-01  3.338e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.437e+00  1.438e+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:  8.212e-01  1.882e-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.070e+00  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
Ra Dec: 344.529 -27.984

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/598576/cmap_HighResolution_446688001_446947201_4FGL_J2258.1-2759_daily_bin800.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.16e-05', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2021-09-29 03:15:38.484116', job_id='598576', GAL2='0.82', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1632910538.48', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='6.53e-03', ts2='0.51', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='800' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:15:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 598576: <4FGL_J2258.1-2759_daily_bin800> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin800 344.529 -27.9843 446688001 446947201 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 :                                   598.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             322.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   618 sec.
    Turnaround time :                            620 sec.

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

