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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin720
RA = 344.529, Dec = -27.9843
tmin = 425952001, tmax = 426211201
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='597494', job_status='RUN', time_executed='2021-09-29 03:03:07.422641', time_epoch_executed='1632909787.42' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597494

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597494/ft1_4FGL_J2258.1-2759_daily_bin720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597494/ft2_4FGL_J2258.1-2759_daily_bin720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597494/ft1_4FGL_J2258.1-2759_daily_bin720.fits outfile=/scratch/kocevski/597494/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin720.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=425952001.0 tmax=426211201.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.64
user 3.40
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597494/ft1_filtered_4FGL_J2258.1-2759_daily_bin720.fits" evtable="EVENTS" scfile=/scratch/kocevski/597494/ft2_4FGL_J2258.1-2759_daily_bin720.fits sctable="SC_DATA" outfile=/scratch/kocevski/597494/ltcube_425952001_426211201_4FGL_J2258.1-2759_daily_bin720.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/597494/ft2_4FGL_J2258.1-2759_daily_bin720.fits
.....................!
real 11.92
user 11.58
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597494/ft1_filtered_4FGL_J2258.1-2759_daily_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/597494/ft2_4FGL_J2258.1-2759_daily_bin720.fits sctable="SC_DATA" expcube=/scratch/kocevski/597494/ltcube_425952001_426211201_4FGL_J2258.1-2759_daily_bin720.fits outfile=/scratch/kocevski/597494/expmap_425952001_426211201_4FGL_J2258.1-2759_daily_bin720.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/597494/ltcube_425952001_426211201_4FGL_J2258.1-2759_daily_bin720.fits
.....................!
real 191.90
user 187.43
sys 4.16

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/597494/ft1_filtered_4FGL_J2258.1-2759_daily_bin720.fits scfile=/scratch/kocevski/597494/ft2_4FGL_J2258.1-2759_daily_bin720.fits outfile=/scratch/kocevski/597494/cmap_425952001_426211201_4FGL_J2258.1-2759_daily_bin720.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597494/ft1_filtered_4FGL_J2258.1-2759_daily_bin720.fits scfile=/scratch/kocevski/597494/ft2_4FGL_J2258.1-2759_daily_bin720.fits outfile=/scratch/kocevski/597494/cmap_HighResolution_425952001_426211201_4FGL_J2258.1-2759_daily_bin720.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/597494/ft1_filtered_4FGL_J2258.1-2759_daily_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/597494/ft2_4FGL_J2258.1-2759_daily_bin720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/597494/Model_4FGL_J2258.1-2759_daily_bin720.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/597494/ft1_filtered_4FGL_J2258.1-2759_daily_bin720.fits.....................!
real 42.65
user 41.39
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.816       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8750       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9504       1.0000         .10000E-03   10000.    
     6 'norm      '    2.3201       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6610       1.0000         .10000E-03   10000.    
     9 'norm      '    7.1456       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9804       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.810       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4399       1.0000         .10000E-03   10000.    
    15 'norm      '    26.985       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.9669       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.028       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0646       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81249       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=   5012.849     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2877 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.715       -.61160E-07** at limit **
   2  Prefactor     19.814        10.837       -.15614E-06   -.71973E-04
   3  norm          .10000E-03    6.2655        .17112E-08** at limit **
   4  Prefactor     1.8552        48.461        .59115E-05    .46880E-04
   5  Prefactor     1.9510        5.8906       -.11490E-05   -.35082E-03
   6  norm          2.3203        1.7937        .21725E-08   -.12989E-04
   7  Prefactor     .10000E-03    9.7234       -.38735E-07** at limit **
   8  Prefactor     6.6585        10.280        .20516E-05   -.47174E-03
   9  norm          7.1457        5.3796       -.33915E-06   -.29046E-04
  10  Prefactor     5.9613        15.673        .18899E-05    .11949E-03
  11  Prefactor     .10000E-03    5.1144       -.20648E-09** at limit **
  12  norm          .10000E-03    .27949       -.25347E-07** at limit **
  13  Prefactor     24.808        41.537       -.93927E-06   -.35078E-04
  14  Prefactor     2.4410        12.175       -.15727E-06   -.75412E-04
  15  norm          26.984        12.188        .66847E-07    .64431E-05
  16  Prefactor     .10000E-03    111.48       -.11338E-05** at limit **
  17  norm          2.9669        3.1698        .94841E-07   -.62003E-04
  18  Prefactor     17.027        28.737       -.95226E-07   -.14742E-04
  19  Prefactor     .10000E-03    33.255       -.12790E-06** at limit **
  20  Prefactor     .10000E-03    18.719        .97809E-07** at limit **
  21  Normalizat    1.0647        .19552       -.53686E-06   -.17637E-04
  22  Prefactor     .81235        .18576       -.99590E-07   -.31106E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.8143
  norm       = 0.0001
  Prefactor  = 1.85521
  Prefactor  = 1.95104
  norm       = 2.32025
  Prefactor  = 0.0001
  Prefactor  = 6.65848
  norm       = 7.14571
  Prefactor  = 5.9613
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.8078
  Prefactor  = 2.44098
  norm       = 26.9839
  Prefactor  = 0.0001
  norm       = 2.96693
  Prefactor  = 17.0274
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06468
  Prefactor  = 0.812351
 **********
 **   18 **HESSE 
 **********

 FCN=   5012.849     FROM HESSE     STATUS=OK           348 CALLS     3225 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.814        10.868        .89976E-04   -1.4817    
   3  norm          .10000E-03    6.2673        .17309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8552        49.079        .30411E-03   -1.5436    
   5  Prefactor     1.9510        6.2622        .29715E-03   -1.5429    
   6  norm          2.3203        1.7908        .80910E-04   -1.5403    
   7  Prefactor     .10000E-03    9.7248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.6585        11.727        .77739E-03   -1.5192    
   9  norm          7.1457        5.3788        .12044E-03   -1.5173    
  10  Prefactor     5.9613        15.731        .16420E-03   -1.5220    
  11  Prefactor     .10000E-03    5.1387        .15585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .31674        .69981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.808        41.640        .80421E-04   -1.4711    
  14  Prefactor     2.4410        11.970        .26193E-03   -1.5395    
  15  norm          26.984        12.195        .77119E-04   -1.4669    
  16  Prefactor     .10000E-03    112.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.9669        3.1579        .12386E-03   -1.5363    
  18  Prefactor     17.027        28.731        .97060E-04   -1.4882    
  19  Prefactor     .10000E-03    33.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0647        .22934        .23093E-03   -.90894    
  22  Prefactor     .81235        .21708        .25225E-03   -.99275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.26812e-10
Minuit parameter uncertainties:
  1  9.79662e-06
  2  10.8688
  3  1.53123e-06
  4  19.101
  5  6.26432
  6  1.79081
  7  4.55568e-07
  8  11.7306
  9  5.37921
  10  15.7415
  11  1.94129e-05
  12  3.78026e-06
  13  41.6886
  14  10.814
  15  12.1963
  16  0.00028106
  17  3.15812
  18  28.7542
  19  1.71618e-05
  20  1.15112e-05
  21  0.229554
  22  0.217305
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  3.780e-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:  8.124e-01  2.173e-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.065e+00  2.296e-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: 6.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/597494/likelihoodResults_425952001_426211201_4FGL_J2258.1-2759_daily_bin720.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) = 5012.8640734
delta logL = -0.0147701224714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5012.84930756
delta logL = -4.27512077295e-06

Fit tolerance = 1e-08

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

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

 FCN=   5012.849     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      249 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .58598        .69920E-03** at limit **
   2  alpha         2.4317        3.4115        .16534       -.71244E-06
   3  Normalizat    1.0647        .22065        .23093E-03   -.48491E-04
   4  Prefactor     .81235        .21440        .25225E-03   -.80178E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.43169
  Normalizat = 1.06468
  Prefactor  = 0.812351
 **********
 **   18 **HESSE 
 **********

 FCN=   5012.849     FROM HESSE     STATUS=OK            23 CALLS      272 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .32109        .13984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4317        2.9060        .66134E-02   -.27327E-01
   3  Normalizat    1.0647        .22088        .92373E-05   -.90894    
   4  Prefactor     .81235        .21463        .10090E-04   -.99275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04127e-09
Minuit parameter uncertainties:
  1  1.58256e-05
  2  69.6918
  3  0.221071
  4  0.214848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597494': 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) = 5012.84930117
delta logL = 2.11171391129e-06

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  1.583e-05  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.432e+00  6.969e+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:  8.124e-01  2.148e-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.065e+00  2.211e-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/597494/cmap_HighResolution_425952001_426211201_4FGL_J2258.1-2759_daily_bin720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.60e-05', job_status='DONE', photon_flux_upper_limit='6.90e-08', time_completed='2021-09-29 03:12:55.979188', job_id='597494', GAL2='0.81', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632910375.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.11e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='720' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:12:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 597494: <4FGL_J2258.1-2759_daily_bin720> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin720 344.529 -27.9843 425952001 426211201 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 :                                   586.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            714 sec.

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

