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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin381
RA = 344.529, Dec = -27.9843
tmin = 338083201, tmax = 338342401
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='596997', job_status='RUN', time_executed='2021-09-29 03:02:45.419917', time_epoch_executed='1632909765.42' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='381'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/596997

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/596997/ft1_4FGL_J2258.1-2759_daily_bin381.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/596997/ft2_4FGL_J2258.1-2759_daily_bin381.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/596997/ft1_4FGL_J2258.1-2759_daily_bin381.fits outfile=/scratch/kocevski/596997/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin381.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=338083201.0 tmax=338342401.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 6.68
user 6.40
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/596997/ft1_filtered_4FGL_J2258.1-2759_daily_bin381.fits" evtable="EVENTS" scfile=/scratch/kocevski/596997/ft2_4FGL_J2258.1-2759_daily_bin381.fits sctable="SC_DATA" outfile=/scratch/kocevski/596997/ltcube_338083201_338342401_4FGL_J2258.1-2759_daily_bin381.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/596997/ft2_4FGL_J2258.1-2759_daily_bin381.fits
.....................!
real 11.37
user 11.04
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/596997/ft1_filtered_4FGL_J2258.1-2759_daily_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/596997/ft2_4FGL_J2258.1-2759_daily_bin381.fits sctable="SC_DATA" expcube=/scratch/kocevski/596997/ltcube_338083201_338342401_4FGL_J2258.1-2759_daily_bin381.fits outfile=/scratch/kocevski/596997/expmap_338083201_338342401_4FGL_J2258.1-2759_daily_bin381.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/596997/ltcube_338083201_338342401_4FGL_J2258.1-2759_daily_bin381.fits
.....................!
real 190.41
user 185.53
sys 4.56

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/596997/ft1_filtered_4FGL_J2258.1-2759_daily_bin381.fits scfile=/scratch/kocevski/596997/ft2_4FGL_J2258.1-2759_daily_bin381.fits outfile=/scratch/kocevski/596997/cmap_338083201_338342401_4FGL_J2258.1-2759_daily_bin381.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/596997/ft1_filtered_4FGL_J2258.1-2759_daily_bin381.fits scfile=/scratch/kocevski/596997/ft2_4FGL_J2258.1-2759_daily_bin381.fits outfile=/scratch/kocevski/596997/cmap_HighResolution_338083201_338342401_4FGL_J2258.1-2759_daily_bin381.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/596997/ft1_filtered_4FGL_J2258.1-2759_daily_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/596997/ft2_4FGL_J2258.1-2759_daily_bin381.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/596997/Model_4FGL_J2258.1-2759_daily_bin381.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/596997/ft1_filtered_4FGL_J2258.1-2759_daily_bin381.fits.....................!
real 43.61
user 42.30
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6489       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5999       1.0000         .10000E-03   10000.    
     3 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.629       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.057       1.0000         .10000E-03   10000.    
     6 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    45.947       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.4984       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0707       1.0000         .10000E-03   10000.    
    12 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1141       1.0000         .10000E-03   10000.    
    15 'norm      '    9.9133       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.640       1.0000         .10000E-03   10000.    
    19 'Prefactor '    33.139       1.0000         .10000E-03   10000.    
    20 'Prefactor '    154.57       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .74739       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95640       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=   5389.126     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2337 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6486        7.1809        .33089E-05   -.12193E-02
   2  Prefactor     4.6000        6.1282        .94219E-06    .94183E-04
   3  norm          .10000E-03    34.403       -.17390E-05** at limit **
   4  Prefactor     30.628        17.358        .62023E-07    .33354E-04
   5  Prefactor     22.059        14.194       -.13102E-06   -.79690E-05
   6  norm          .10000E-03    1.4417       -.21082E-07** at limit **
   7  Prefactor     45.950        42.854        .20549E-05    .85296E-04
   8  Prefactor     .10000E-03    34.856       -.64527E-05** at limit **
   9  norm          3.4985        3.5616        .85157E-07    .27014E-04
  10  Prefactor     .10000E-03    6.6832        .28287E-07** at limit **
  11  Prefactor     9.0707        9.8070       -.12131E-07   -.10384E-04
  12  norm          .10000E-03    .21704        .10448E-07** at limit **
  13  Prefactor     .10000E-03    24.420       -.22406E-05** at limit **
  14  Prefactor     6.1166        10.909       -.22565E-06   -.83788E-04
  15  norm          9.9135        7.4054        .25058E-06    .39758E-05
  16  Prefactor     .10001E-03    30.702        .10285E-04** at limit **
  17  norm          .10000E-03    1.3940       -.11789E-07** at limit **
  18  Prefactor     40.647        28.774        .34452E-05    .25163E-03
  19  Prefactor     33.141        86.068        .25103E-05    .23887E-04
  20  Prefactor     154.58        77.870        .34837E-05    .12533E-03
  21  Normalizat    .74724        .17443       -.14484E-05    .13103E-03
  22  Prefactor     .95648        .16685       -.47613E-07    .34524E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.64856
  Prefactor  = 4.59999
  norm       = 0.0001
  Prefactor  = 30.6285
  Prefactor  = 22.0593
  norm       = 0.0001
  Prefactor  = 45.9498
  Prefactor  = 0.000100001
  norm       = 3.49853
  Prefactor  = 0.0001
  Prefactor  = 9.0707
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.11661
  norm       = 9.91355
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 40.6467
  Prefactor  = 33.1412
  Prefactor  = 154.576
  Normalizat = 0.747237
  Prefactor  = 0.956478
 **********
 **   18 **HESSE 
 **********

 FCN=   5389.126     FROM HESSE     STATUS=OK           340 CALLS     2677 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6486        12.072        .12524E-02   -1.5382    
   2  Prefactor     4.6000        6.1276        .18767E-03   -1.5279    
   3  norm          .10000E-03    34.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     30.628        17.359        .72396E-04   -1.4601    
   5  Prefactor     22.059        14.194        .85286E-04   -1.4768    
   6  norm          .10000E-03    1.4851        .17077E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     45.950        42.609        .59150E-04   -1.4351    
   8  Prefactor     .10000E-03    35.794        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.4985        3.5478        .12851E-03   -1.5334    
  10  Prefactor     .10000E-03    6.6881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.0707        9.5878        .13308E-03   -1.5106    
  12  norm          .10000E-03    .23397        .62936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    24.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1166        10.765        .16237E-03   -1.5213    
  15  norm          9.9135        7.4047        .12727E-03   -1.5078    
  16  Prefactor     .10001E-03    31.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.4322        .16918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.647        28.919        .62878E-04   -1.4432    
  19  Prefactor     33.141        86.043        .69609E-04   -1.4556    
  20  Prefactor     154.58        78.044        .16213E-03   -1.3215    
  21  Normalizat    .74724        .20407        .24765E-03   -1.0206    
  22  Prefactor     .95648        .19644        .22272E-03   -.94195    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.60482e-09
Minuit parameter uncertainties:
  1  11.3126
  2  6.12848
  3  0.000137282
  4  17.3614
  5  14.1957
  6  1.1116e-05
  7  42.6377
  8  0.000280528
  9  3.54797
  10  6.70919e-06
  11  9.58943
  12  2.05883e-06
  13  0.000154778
  14  10.7686
  15  7.40538
  16  0.000872531
  17  7.73659e-06
  18  28.9294
  19  86.3676
  20  78.0964
  21  0.20428
  22  0.196582
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  2.059e-06  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.565e-01  1.966e-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:  7.472e-01  2.043e-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: 5.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/596997/likelihoodResults_338083201_338342401_4FGL_J2258.1-2759_daily_bin381.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): 102
logL (Free Index) = 5389.12641007
delta logL = -0.000233963416576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5389.12577165
delta logL = 0.000404460489335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32809E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.9984       1.0000          .0000       5.0000    
     3 'Normalizat'    .74719       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95674       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5389.126     FROM MIGRAD    STATUS=FAILED       107 CALLS      301 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36635E-03    3.5393        .24127E-02** at limit **
   2  alpha         5.0000        4.8106        .18523E-01** at limit **
   3  Normalizat    .74565        .51857        .24788E-03   -.76373E-03
   4  Prefactor     .95743        .16171        .22262E-03    .10135E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5389.126     FROM SIMPLEX   STATUS=UNCHANGED    104 CALLS      405 TOTAL
                     EDM=   .89E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36635E-03    3.5393        .33348E-04** at limit **
   2  alpha         5.0000        4.8106        .14793    ** at limit **
   3  Normalizat    .74565        .51857        .48001E-04   -.76373E-03
   4  Prefactor     .95743        .16171        .13837E-04    .10135E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5389.126     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      463 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36480E-03    .24116E-01    .23912E-02** at limit **
   2  alpha         5.0000        3.3190        .37046E-02** at limit **
   3  Normalizat    .74568        .21100        .49576E-04   -.22932E-04
   4  Prefactor     .95740        .20079        .44524E-04   -.26300E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0003648
  alpha      = 5
  Normalizat = 0.74568
  Prefactor  = 0.957403
 **********
 **   18 **HESSE 
 **********

 FCN=   5389.126     FROM HESSE     STATUS=OK            33 CALLS      496 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36480E-03    .22370E-01    .24008E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        4.3043        .74093E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .74568        .20977        .99152E-05   -1.0212    
   4  Prefactor     .95740        .20035        .89048E-05   -.94163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63631e-10
Minuit parameter uncertainties:
  1  0.00486763
  2  0.000328921
  3  0.209995
  4  0.200507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/596997': 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) = 5389.12571827
delta logL = 0.000457842093965

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.648e-04  4.868e-03  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  5.000e+00  3.289e-04  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  9.574e-01  2.005e-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:  7.457e-01  2.100e-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/596997/cmap_HighResolution_338083201_338342401_4FGL_J2258.1-2759_daily_bin381.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-05', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2021-09-29 03:12:53.928031', job_id='596997', GAL2='0.96', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632910373.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='4.58e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='381' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:12:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 596997: <4FGL_J2258.1-2759_daily_bin381> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin381> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 03:00:21 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:00:23 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:23 2021
Terminated at Wed Sep 29 03:12:54 2021
Results reported at Wed Sep 29 03:12:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin381 344.529 -27.9843 338083201 338342401 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 :                                   605.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             228.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            753 sec.

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

