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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin423
RA = 344.529, Dec = -27.9843
tmin = 348969601, tmax = 349228801
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='597061', job_status='RUN', time_executed='2021-09-29 03:02:16.164011', time_epoch_executed='1632909736.16' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='423'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597061

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597061/ft1_4FGL_J2258.1-2759_daily_bin423.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597061/ft2_4FGL_J2258.1-2759_daily_bin423.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597061/ft1_4FGL_J2258.1-2759_daily_bin423.fits outfile=/scratch/kocevski/597061/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin423.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=348969601.0 tmax=349228801.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.76
user 3.53
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597061/ft1_filtered_4FGL_J2258.1-2759_daily_bin423.fits" evtable="EVENTS" scfile=/scratch/kocevski/597061/ft2_4FGL_J2258.1-2759_daily_bin423.fits sctable="SC_DATA" outfile=/scratch/kocevski/597061/ltcube_348969601_349228801_4FGL_J2258.1-2759_daily_bin423.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/597061/ft2_4FGL_J2258.1-2759_daily_bin423.fits
.....................!
real 11.96
user 11.60
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597061/ft1_filtered_4FGL_J2258.1-2759_daily_bin423.fits evtable="EVENTS" scfile=/scratch/kocevski/597061/ft2_4FGL_J2258.1-2759_daily_bin423.fits sctable="SC_DATA" expcube=/scratch/kocevski/597061/ltcube_348969601_349228801_4FGL_J2258.1-2759_daily_bin423.fits outfile=/scratch/kocevski/597061/expmap_348969601_349228801_4FGL_J2258.1-2759_daily_bin423.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/597061/ltcube_348969601_349228801_4FGL_J2258.1-2759_daily_bin423.fits
.....................!
real 191.11
user 185.46
sys 5.32

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/597061/ft1_filtered_4FGL_J2258.1-2759_daily_bin423.fits scfile=/scratch/kocevski/597061/ft2_4FGL_J2258.1-2759_daily_bin423.fits outfile=/scratch/kocevski/597061/cmap_348969601_349228801_4FGL_J2258.1-2759_daily_bin423.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597061/ft1_filtered_4FGL_J2258.1-2759_daily_bin423.fits scfile=/scratch/kocevski/597061/ft2_4FGL_J2258.1-2759_daily_bin423.fits outfile=/scratch/kocevski/597061/cmap_HighResolution_348969601_349228801_4FGL_J2258.1-2759_daily_bin423.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.031       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    18.504       1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.334       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10496E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11355E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.181       1.0000         .10000E-03   10000.    
     9 'norm      '    17.403       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.347       1.0000         .10000E-03   10000.    
    12 'norm      '    .56466       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10645E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.085       1.0000         .10000E-03   10000.    
    16 'Prefactor '    47.567       1.0000         .10000E-03   10000.    
    17 'norm      '    .30431E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .32303       1.0000         .10000E-03   10000.    
    19 'Prefactor '    66.695       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11252E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0493       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95477       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3838.911     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1983 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.011        2.4897        .16440E-06    .11779E-02
   2  Prefactor     .10000E-03    6.1661        .11540E-06** at limit **
   3  norm          18.492        3.8942        .66583E-06   -.18444E-02
   4  Prefactor     36.314        2.4612        .25056E-06   -.48099E-03
   5  Prefactor     .10000E-03    9.9210       -.18981E-06** at limit **
   6  norm          .10000E-03    1.3305        .22595E-06** at limit **
   7  Prefactor     .10184E-03    24.530        .19560E-05** at limit **
   8  Prefactor     11.163        9.6763        .41104E-06   -.11199E-01
   9  norm          17.413        8.7936        .24172E-06   -.21157E-02
  10  Prefactor     .10000E-03    13.456        .14334E-06** at limit **
  11  Prefactor     36.375        22.517       -.22608E-05    .36883E-02
  12  norm          .56181        1.4447        .73165E-06    .17421E-03
  13  Prefactor     .10044E-03    30.016       -.16446E-05** at limit **
  14  Prefactor     .10000E-03    8.2089        .18156E-06** at limit **
  15  norm          11.086        1.6416        .12715E-06   -.29134E-03
  16  Prefactor     47.563        1.7443       -.67611E-07    .48518E-02
  17  norm          .10000E-03    8.5742       -.93819E-06** at limit **
  18  Prefactor     .20317E-03    6699.3        .79318E-04** at limit **
  19  Prefactor     66.588        12.002        .97363E-06   -.19220E-02
  20  Prefactor     .10056E-03    24.816        .10016E-05** at limit **
  21  Normalizat    1.0496        .30597        .91702E-05    .29304E-03
  22  Prefactor     .95480        .28099       -.54671E-05    .18220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.0111
  Prefactor  = 0.0001
  norm       = 18.4918
  Prefactor  = 36.3144
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000101837
  Prefactor  = 11.1634
  norm       = 17.4132
  Prefactor  = 0.0001
  Prefactor  = 36.375
  norm       = 0.561815
  Prefactor  = 0.000100444
  Prefactor  = 0.0001
  norm       = 11.0862
  Prefactor  = 47.563
  norm       = 0.0001
  Prefactor  = 0.000203166
  Prefactor  = 66.5875
  Prefactor  = 0.000100558
  Normalizat = 1.04962
  Prefactor  = 0.954798
 **********
 **   18 **HESSE 
 **********

 FCN=   3838.911     FROM HESSE     STATUS=OK           400 CALLS     2383 TOTAL
                     EDM=   .94E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.011        36.735        .14174E-02   -1.4292    
   2  Prefactor     .10000E-03    6.1518        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          18.492        22.528        .23277E-02   -1.4848    
   4  Prefactor     36.314        35.749        .16622E-02   -1.4502    
   5  Prefactor     .10000E-03    9.8928        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.3204        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10184E-03    27.369        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.163        19.830        .29954E-02   -1.5040    
   9  norm          17.413        8.9186        .24002E-02   -1.4873    
  10  Prefactor     .10000E-03    13.468        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.375        26.975        .16619E-02   -1.4501    
  12  norm          .56181        1.7360        .11532E-01   -1.5558    
  13  Prefactor     .10044E-03    30.814        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.2077        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.086        13.061        .30083E-02   -1.5042    
  16  Prefactor     47.563        75.099        .14535E-02   -1.4328    
  17  norm          .10000E-03    4.2368        .38040E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .20317E-03    72.361        .12821       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     66.588        113.05        .12286E-02   -1.4074    
  20  Prefactor     .10056E-03    25.742        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0496        .27151        .60790E-01   -.91386    
  22  Prefactor     .95480        .23780        .45699E-01   -.94252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40858e-07
Minuit parameter uncertainties:
  1  36.7515
  2  1.52357e-05
  3  22.5388
  4  35.7705
  5  7.55921e-07
  6  5.44963e-06
  7  0.014186
  8  19.8417
  9  8.91931
  10  3.95135e-05
  11  26.9843
  12  1.73612
  13  0.00740336
  14  1.71138e-05
  15  13.0646
  16  75.2489
  17  3.08015e-05
  18  0.173012
  19  113.415
  20  0.00758068
  21  0.271873
  22  0.23806
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  5.618e-01  1.736e+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:  9.548e-01  2.381e-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.050e+00  2.719e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/597061/likelihoodResults_348969601_349228801_4FGL_J2258.1-2759_daily_bin423.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) = 3838.61481467
delta logL = 0.296552174728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3838.40738566
delta logL = 0.503981186242

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .36197E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .94175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0315       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=   3838.407     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      278 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36165E-01    1.2538        .23200E-02    .36363E-02
   2  alpha         5.0000        2.5489        .46387    ** at limit **
   3  Normalizat    .94224        .13703        .45433E-01    .76661E-05
   4  Prefactor     1.0312        .11548        .41140E-01    .58365E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0361654
  alpha      = 5
  Normalizat = 0.942238
  Prefactor  = 1.03124
 **********
 **   18 **HESSE 
 **********

 FCN=   3838.407     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .28E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36165E-01    .35166E-01    .10366E-04   -1.5670    
   2  alpha         5.0000        3.8683        .57370E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .94224        .30154        .28079E-03   -.94991    
   4  Prefactor     1.0312        .27917        .25642E-03   -.91695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83907e-13
Minuit parameter uncertainties:
  1  0.0351661
  2  2.14622e-07
  3  0.302085
  4  0.279564
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597061': 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) = 3838.40738386
delta logL = 0.503982984843

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.617e-02  3.517e-02  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  5.000e+00  2.146e-07  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:  1.031e+00  2.796e-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.422e-01  3.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.42
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.36e-07 +/- 1.32e-07
Energy Flux (Free Index): 1.92e-05 +/- 1.86e-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/597061/cmap_HighResolution_348969601_349228801_4FGL_J2258.1-2759_daily_bin423.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.37e-05', comment='SUCCESS', energy_flux2='1.92e-05', dlogl='5.04e-01', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-29 03:10:43.669226', photon_index_error2='0.00', photon_index2='5.00', ts='0.28', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.69e-07', energy_flux_error2='1.86e-05', EG='1.05', time_epoch_completed='1632910243.67', return_code='0', job_id='597061', GAL2='1.03', EG2='0.94', return_code2='0', photon_flux_error2='1.32e-07', ts2='1.42', photon_index='2.29' WHERE bin_id='423' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:10:43 PDT 2021


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

Job <4FGL_J2258.1-2759_daily_bin423> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 03:00:26 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:00:27 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:00:27 2021
Terminated at Wed Sep 29 03:10:44 2021
Results reported at Wed Sep 29 03:10:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin423 344.529 -27.9843 348969601 349228801 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 :                                   496.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            618 sec.

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

