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


Performing analysis on: 4FGL_J2259.8-1552_daily_bin1184
RA = 344.953, Dec = -15.8809
tmin = 546220801, tmax = 546480001
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='627494', job_status='RUN', time_executed='2021-09-29 04:52:24.158738', time_epoch_executed='1632916344.16' WHERE source_name='4FGL J2259.8-1552' and cadence='daily' and bin_id='1184'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/627494

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/627494/ft1_4FGL_J2259.8-1552_daily_bin1184.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/627494/ft1_4FGL_J2259.8-1552_daily_bin1184.fits outfile=/scratch/kocevski/627494/ft1_filteredMKT_4FGL_J2259.8-1552_daily_bin1184.fits ra=344.953 dec=-15.8809 rad=12.0 tmin=546220801.0 tmax=546480001.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.87
user 3.66
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.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/627494/ft1_filteredMKT_4FGL_J2259.8-1552_daily_bin1184.fits evtable="EVENTS" outfile="/scratch/kocevski/627494/ft1_filtered_4FGL_J2259.8-1552_daily_bin1184.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/627494/ft1_filtered_4FGL_J2259.8-1552_daily_bin1184.fits" evtable="EVENTS" scfile=/scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits sctable="SC_DATA" outfile=/scratch/kocevski/627494/ltcube_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.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/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits
.....................!
real 11.64
user 11.28
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/627494/ft1_filtered_4FGL_J2259.8-1552_daily_bin1184.fits evtable="EVENTS" scfile=/scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits sctable="SC_DATA" expcube=/scratch/kocevski/627494/ltcube_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.fits outfile=/scratch/kocevski/627494/expmap_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.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/627494/ltcube_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.fits
.....................!
real 191.19
user 185.58
sys 5.30

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2259.8-1552 @ 344.953 -15.8809

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/627494/ft1_filtered_4FGL_J2259.8-1552_daily_bin1184.fits scfile=/scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits outfile=/scratch/kocevski/627494/cmap_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.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.953 yref=-15.8809 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/627494/ft1_filtered_4FGL_J2259.8-1552_daily_bin1184.fits scfile=/scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits outfile=/scratch/kocevski/627494/cmap_HighResolution_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.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.953 yref=-15.8809 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/627494/ft1_filtered_4FGL_J2259.8-1552_daily_bin1184.fits evtable="EVENTS" scfile=/scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/627494/Model_4FGL_J2259.8-1552_daily_bin1184.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/627494/ft1_filtered_4FGL_J2259.8-1552_daily_bin1184.fits....................!
real 34.05
user 32.75
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/627494/ft1_filtered_4FGL_J2259.8-1552_daily_bin1184.fits', '/scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits', expMap='/scratch/kocevski/627494/expmap_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.fits', expCube='/scratch/kocevski/627494/ltcube_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/627494/Model_4FGL_J2259.8-1552_daily_bin1184.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2259.8-1552'

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  2.289e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/627494/ft1_filtered_4FGL_J2259.8-1552_daily_bin1184.fits
Spacecraft file(s): /scratch/kocevski/627494/ft2_4FGL_J2259.8-1552_daily_bin1184.fits
Exposure map: /scratch/kocevski/627494/expmap_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.fits
Exposure cube: /scratch/kocevski/627494/ltcube_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/627494/Model_4FGL_J2259.8-1552_daily_bin1184.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) = 3456.54205599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.742       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    15.453       1.0000         .10000E-03   10000.    
     5 'Prefactor '    408.34       1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.567       1.0000         .10000E-03   10000.    
     7 'norm      '    3.1631       1.0000         .10000E-03   10000.    
     8 'norm      '    2.4972       1.0000         .10000E-03   10000.    
     9 'Prefactor '    88.515       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.3400       1.0000         .10000E-03   10000.    
    12 'Prefactor '    189.73       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.1198       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1568       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16105E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .35213       1.0000         .10000E-03   10000.    
    21 'norm      '    18.842       1.0000         .10000E-03   10000.    
    22 'norm      '    5.0795       1.0000         .10000E-03   10000.    
    23 'Prefactor '    35.366       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.2198       1.0000         .10000E-03   10000.    
    27 'norm      '    46.473       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .78030       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .71197       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3456.391     FROM MIGRAD    STATUS=CONVERGED    751 CALLS     4421 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.738        29.705       -.57001E-06   -.91162E-05
   2  Prefactor     .10000E-03    87.847       -.68659E-04** at limit **
   3  Prefactor     .10000E-03    62.018        .61750E-04** at limit **
   4  norm          15.453        10.229       -.24483E-06    .37787E-04
   5  Prefactor     408.35        283.14        .45255E-05    .24670E-06
   6  Prefactor     38.561        21.631        .39049E-05   -.96136E-04
   7  norm          3.1627        1.6684       -.84170E-07   -.43641E-03
   8  norm          2.4979        3.7988        .45682E-05   -.19868E-03
   9  Prefactor     88.463        95.357       -.38454E-04   -.41742E-04
  10  Prefactor     .10000E-03    32.588        .14513E-04** at limit **
  11  norm          1.3397        1.6844        .13280E-06   -.62980E-03
  12  Prefactor     189.73        71.712       -.26678E-05   -.98987E-04
  13  Prefactor     .10000E-03    5.8755       -.44144E-07** at limit **
  14  Prefactor     .10000E-03    7.8133        .38240E-07** at limit **
  15  Prefactor     .10000E-03    29.294       -.71544E-05** at limit **
  16  Prefactor     7.1179        16.838       -.42603E-06   -.43903E-04
  17  Prefactor     3.1530        9.4116        .10487E-04   -.14772E-03
  18  Prefactor     .10000E-03    217.74        .13502E-03** at limit **
  19  Prefactor     .10000E-03    46.517       -.28536E-04** at limit **
  20  Prefactor     .87749E-01    21.363       -.43481E-05    .47345E-03
  21  norm          18.953        16.441       -.23803E-05    .12004E-03
  22  norm          5.0782        3.2890       -.78570E-07    .62036E-04
  23  Prefactor     35.344        65.565       -.21225E-04    .42615E-04
  24  Prefactor     .10000E-03    10.168        .21699E-06** at limit **
  25  Prefactor     .10000E-03    19.092        .35487E-07** at limit **
  26  norm          1.2198        1.0211        .79219E-07    .49828E-04
  27  norm          46.468        13.212       -.60528E-07    .73280E-04
  28  Normalizat    .78086        .27639        .83975E-05   -.17142E-03
  29  Prefactor     .71173        .21838       -.23869E-05    .12874E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.7376
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.4528
  Prefactor  = 408.354
  Prefactor  = 38.561
  norm       = 3.16274
  norm       = 2.49794
  Prefactor  = 88.4626
  Prefactor  = 0.0001
  norm       = 1.3397
  Prefactor  = 189.732
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.11786
  Prefactor  = 3.15302
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0877489
  norm       = 18.9532
  norm       = 5.07824
  Prefactor  = 35.3442
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.21984
  norm       = 46.4685
  Normalizat = 0.780858
  Prefactor  = 0.711732
 **********
 **   18 **HESSE 
 **********

 FCN=   3456.391     FROM HESSE     STATUS=OK           557 CALLS     4978 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.738        29.712        .77468E-04   -1.4673    
   2  Prefactor     .10000E-03    87.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    62.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.453        10.245        .10189E-03   -1.4922    
   5  Prefactor     408.35        283.25        .10106E-03   -1.1638    
   6  Prefactor     38.561        21.706        .64540E-04   -1.4465    
   7  norm          3.1627        1.6670        .52762E-04   -1.5352    
   8  norm          2.4979        3.7721        .11240E-03   -1.5392    
   9  Prefactor     88.463        95.323        .42706E-04   -1.3824    
  10  Prefactor     .10000E-03    32.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3397        1.6475        .76057E-04   -1.5476    
  12  Prefactor     189.73        70.881        .29319E-04   -1.2944    
  13  Prefactor     .10000E-03    5.8778        .13916E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.8360        .16025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    29.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.1179        16.832        .15034E-03   -1.5174    
  17  Prefactor     3.1530        9.3706        .22813E-03   -1.5353    
  18  Prefactor     .10000E-03    218.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    46.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .87749E-01    38.007        .75754E-01   -1.5649    
  21  norm          18.953        17.154        .92270E-04   -1.4837    
  22  norm          5.0782        3.2932        .82151E-04   -1.5257    
  23  Prefactor     35.344        65.696        .67388E-04   -1.4518    
  24  Prefactor     .10000E-03    10.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    19.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.2198        1.0101        .46605E-04   -1.5487    
  27  norm          46.468        13.291        .58816E-04   -1.4344    
  28  Normalizat    .78086        .32809        .30362E-03   -1.0078    
  29  Prefactor     .71173        .25839        .26370E-03   -1.0307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.96999e-09
Minuit parameter uncertainties:
  1  29.7286
  2  3.28654e-06
  3  0.000120768
  4  10.2462
  5  284.224
  6  21.7102
  7  1.66707
  8  3.77247
  9  95.488
  10  1.96976e-05
  11  1.64757
  12  70.9128
  13  3.77423e-06
  14  9.10662e-06
  15  0.000105623
  16  16.8437
  17  9.37493
  18  0.000504564
  19  0.000254161
  20  3.65267
  21  17.1584
  22  3.29332
  23  65.8309
  24  7.73669e-05
  25  3.35822e-05
  26  1.01013
  27  13.2915
  28  0.32892
  29  0.258828
Done.

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

Extracting fit parameters...

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  7.118e+00  1.684e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  7.117e-01  2.588e-01  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  7.809e-01  3.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 344.953 -15.881
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/627494/likelihoodResults_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.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) = 3456.36508457
delta logL = 0.0261992539804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3456.36215862
delta logL = 0.0291252029947

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3711       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8412       1.0000          .0000       10.000    
     3 'Normalizat'    .78742       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70808       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5160E+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=   3456.362     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      236 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3714        18.133        .13856E-03   -.19290E-03
   2  Index         1.8420        1.1191        .11819E-01   -.51294E-04
   3  Normalizat    .78754        .29648        .30244E-03    .42890E-04
   4  Prefactor     .70793        .25008        .26433E-03    .71503E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.37144
  Index      = 1.84197
  Normalizat = 0.78754
  Prefactor  = 0.70793
 **********
 **   18 **HESSE 
 **********

 FCN=   3456.362     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3714        18.131        .55423E-05   -1.5129    
   2  Index         1.8420        1.1190        .47276E-03   -.68362    
   3  Normalizat    .78754        .29667        .12098E-04   -1.0053    
   4  Prefactor     .70793        .25030        .10573E-04   -1.0322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14778e-10
Minuit parameter uncertainties:
  1  18.1425
  2  1.13517
  3  0.297279
  4  0.250702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/627494': 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) = 3456.36215817
delta logL = 0.0291256512

Extracting fit parameters...

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  8.371e+00  1.814e+01  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  1.842e+00  1.135e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  7.079e-01  2.507e-01  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  7.875e-01  2.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
Ra Dec: 344.953 -15.881

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/627494/cmap_HighResolution_546220801_546480001_4FGL_J2259.8-1552_daily_bin1184.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', job_status='DONE', photon_flux_upper_limit='1.47e-07', time_completed='2021-09-29 05:02:05.100461', job_id='627494', GAL2='0.71', fit_tolerance='1e-08', EG2='0.79', EG='0.78', time_epoch_completed='1632916925.1', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.91e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1184' AND source_name='4FGL J2259.8-1552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:02:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 627494: <4FGL_J2259.8-1552_daily_bin1184> in cluster <slac> Done

Job <4FGL_J2259.8-1552_daily_bin1184> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep 29 04:50:58 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 04:51:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 04:51:00 2021
Terminated at Wed Sep 29 05:02:05 2021
Results reported at Wed Sep 29 05:02:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2259.8-1552_daily_bin1184 344.953 -15.8809 546220801 546480001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2259.8-1552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   566.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             303.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   665 sec.
    Turnaround time :                            667 sec.

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

