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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin837
RA = 344.529, Dec = -27.9843
tmin = 456278401, tmax = 456537601
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='598633', job_status='RUN', time_executed='2021-09-29 03:08:38.307398', time_epoch_executed='1632910118.31' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='837'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598633

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598633/ft1_4FGL_J2258.1-2759_daily_bin837.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598633/ft2_4FGL_J2258.1-2759_daily_bin837.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598633/ft1_4FGL_J2258.1-2759_daily_bin837.fits outfile=/scratch/kocevski/598633/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin837.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=456278401.0 tmax=456537601.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.03
user 4.78
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/598633/ft2_4FGL_J2258.1-2759_daily_bin837.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/598633/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin837.fits evtable="EVENTS" outfile="/scratch/kocevski/598633/ft1_filtered_4FGL_J2258.1-2759_daily_bin837.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/598633/ft1_filtered_4FGL_J2258.1-2759_daily_bin837.fits" evtable="EVENTS" scfile=/scratch/kocevski/598633/ft2_4FGL_J2258.1-2759_daily_bin837.fits sctable="SC_DATA" outfile=/scratch/kocevski/598633/ltcube_456278401_456537601_4FGL_J2258.1-2759_daily_bin837.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/598633/ft2_4FGL_J2258.1-2759_daily_bin837.fits
.....................!
real 11.73
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598633/ft1_filtered_4FGL_J2258.1-2759_daily_bin837.fits evtable="EVENTS" scfile=/scratch/kocevski/598633/ft2_4FGL_J2258.1-2759_daily_bin837.fits sctable="SC_DATA" expcube=/scratch/kocevski/598633/ltcube_456278401_456537601_4FGL_J2258.1-2759_daily_bin837.fits outfile=/scratch/kocevski/598633/expmap_456278401_456537601_4FGL_J2258.1-2759_daily_bin837.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/598633/ltcube_456278401_456537601_4FGL_J2258.1-2759_daily_bin837.fits
.....................!
real 192.82
user 187.17
sys 5.31

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/598633/ft1_filtered_4FGL_J2258.1-2759_daily_bin837.fits scfile=/scratch/kocevski/598633/ft2_4FGL_J2258.1-2759_daily_bin837.fits outfile=/scratch/kocevski/598633/cmap_456278401_456537601_4FGL_J2258.1-2759_daily_bin837.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.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598633/ft1_filtered_4FGL_J2258.1-2759_daily_bin837.fits evtable="EVENTS" scfile=/scratch/kocevski/598633/ft2_4FGL_J2258.1-2759_daily_bin837.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598633/Model_4FGL_J2258.1-2759_daily_bin837.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/598633/ft1_filtered_4FGL_J2258.1-2759_daily_bin837.fits.....................!
real 40.16
user 38.94
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.905       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.1399       1.0000         .10000E-03   10000.    
     3 'norm      '    8.7466       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8810       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2419       1.0000         .10000E-03   10000.    
     6 'norm      '    4.1512       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2286       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3121       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.532       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8381       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.462       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19292E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99371       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .61689       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=   4839.448     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2352 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.906        14.257        .24269E-05    .77056E-03
   2  Prefactor     4.1393        5.5164        .31806E-05   -.17744E-02
   3  norm          8.7440        14.657       -.34081E-05   -.46705E-03
   4  Prefactor     6.8772        20.285       -.29233E-05   -.11153E-03
   5  Prefactor     4.2424        11.340       -.46351E-06   -.15198E-03
   6  norm          4.1598        3.3903        .32125E-06    .36310E-05
   7  Prefactor     2.9926        178.06       -.49415E-05   -.33845E-04
   8  Prefactor     3.3101        9.6280        .30724E-05    .30365E-03
   9  norm          .10000E-03    .93627        .52066E-08** at limit **
  10  Prefactor     .10000E-03    3.1166       -.17366E-07** at limit **
  11  Prefactor     .10000E-03    2.0348        .33228E-07** at limit **
  12  norm          .10000E-03    .11886        .11201E-07** at limit **
  13  Prefactor     37.525        45.238       -.63925E-06   -.36760E-04
  14  Prefactor     .10000E-03    2.9242        .13062E-07** at limit **
  15  norm          .10000E-03    2.4167        .32778E-07** at limit **
  16  Prefactor     .10000E-03    21.994        .18453E-06** at limit **
  17  norm          1.8374        2.5882        .33099E-06   -.76516E-04
  18  Prefactor     20.441        26.608       -.26064E-05   -.28482E-03
  19  Prefactor     .10001E-03    175.79        .40130E-05** at limit **
  20  Prefactor     .10000E-03    12.043       -.22240E-07** at limit **
  21  Normalizat    .99403        .16161       -.38891E-07   -.52818E-04
  22  Prefactor     .61655        .15459       -.41521E-06   -.12987E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.9059
  Prefactor  = 4.13932
  norm       = 8.74402
  Prefactor  = 6.87716
  Prefactor  = 4.24237
  norm       = 4.15982
  Prefactor  = 2.99263
  Prefactor  = 3.31007
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 37.5248
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.83739
  Prefactor  = 20.4409
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Normalizat = 0.994025
  Prefactor  = 0.616551
 **********
 **   18 **HESSE 
 **********

 FCN=   4839.448     FROM HESSE     STATUS=OK           340 CALLS     2692 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.906        14.625        .89774E-04   -1.4815    
   2  Prefactor     4.1393        6.4238        .99053E-03   -1.5301    
   3  norm          8.7440        15.014        .13553E-03   -1.5116    
   4  Prefactor     6.8772        20.336        .15295E-03   -1.5183    
   5  Prefactor     4.2424        11.265        .19564E-03   -1.5296    
   6  norm          4.1598        3.3544        .81749E-04   -1.5300    
   7  Prefactor     2.9926        172.48        .22544E-03   -1.5362    
   8  Prefactor     3.3101        9.7967        .22244E-03   -1.5344    
   9  norm          .10000E-03    .93905        .65725E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.1198        .11994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.0475        .96857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .12281        .46767E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.525        45.314        .65421E-04   -1.4482    
  14  Prefactor     .10000E-03    2.9369        .11615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.4282        .10561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    22.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8374        2.5621        .12356E-03   -1.5437    
  18  Prefactor     20.441        26.992        .88544E-04   -1.4803    
  19  Prefactor     .10001E-03    177.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99403        .19534        .19361E-03   -.93231    
  22  Prefactor     .61655        .18484        .24081E-03   -1.0689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.03784e-09
Minuit parameter uncertainties:
  1  14.6277
  2  6.42487
  3  15.0201
  4  20.3563
  5  11.2703
  6  3.35455
  7  45.5762
  8  9.80143
  9  1.61242e-07
  10  1.20005e-06
  11  5.28814e-07
  12  8.73584e-08
  13  45.3558
  14  1.03024e-06
  15  8.80644e-07
  16  2.23877e-05
  17  2.56223
  18  27.0079
  19  0.00214801
  20  2.27273e-06
  21  0.195483
  22  0.18502
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  8.736e-08  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.166e-01  1.850e-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:  9.940e-01  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/598633/likelihoodResults_456278401_456537601_4FGL_J2258.1-2759_daily_bin837.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) = 4839.44772741
delta logL = -5.56829700145e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4839.44766145
delta logL = 1.02764279291e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10313E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1128       1.0000          .0000       5.0000    
     3 'Normalizat'    .99424       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61652       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=   4839.448     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      229 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.2532        .90712E-02** at limit **
   2  alpha         1.7884        3.0803        .41793       -.88155E-06
   3  Normalizat    .99403        .19142E-01    .46095E-01    .63888E-05
   4  Prefactor     .61655        .19240E-01    .41279E-01    .18259E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.78841
  Normalizat = 0.994028
  Prefactor  = 0.61655
 **********
 **   18 **HESSE 
 **********

 FCN=   4839.448     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .19840        .24910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7884        4.0483        .50000       -.28862    
   3  Normalizat    .99403        .18119        .19361E-03   -.93231    
   4  Prefactor     .61655        .18199        .24081E-03   -1.0689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33456e-12
Minuit parameter uncertainties:
  1  5.99493e-07
  2  56.506
  3  0.181298
  4  0.182169
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598633': 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) = 4839.44762951
delta logL = 4.22190305471e-05

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  5.995e-07  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  1.788e+00  5.651e+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:  6.165e-01  1.822e-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:  9.940e-01  1.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/598633/cmap_HighResolution_456278401_456537601_4FGL_J2258.1-2759_daily_bin837.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-05', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2021-09-29 03:17:58.894819', job_id='598633', GAL2='0.62', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632910678.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='4.22e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='837' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:17:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 598633: <4FGL_J2258.1-2759_daily_bin837> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin837> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 03:05:23 2021
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:05:25 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:25 2021
Terminated at Wed Sep 29 03:17:59 2021
Results reported at Wed Sep 29 03:17:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin837 344.529 -27.9843 456278401 456537601 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 :                                   559.29 sec.
    Max Memory :                                 1160 MB
    Average Memory :                             274.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

