/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 79 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 = 7390
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1259.1-2311_daily_bin868
RA = 194.78, Dec = -23.1925
tmin = 464313601, tmax = 464572801
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='76065', job_status='RUN', time_executed='2021-09-06 13:42:42.353871', time_epoch_executed='1630960962.35' WHERE source_name='4FGL J1259.1-2311' and cadence='daily' and bin_id='868'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/76065

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/76065/ft1_4FGL_J1259.1-2311_daily_bin868.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/76065/ft1_4FGL_J1259.1-2311_daily_bin868.fits outfile=/scratch/kocevski/76065/ft1_filteredMKT_4FGL_J1259.1-2311_daily_bin868.fits ra=194.78 dec=-23.1925 rad=12.0 tmin=464313601.0 tmax=464572801.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.59
user 2.43
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.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/76065/ft1_filteredMKT_4FGL_J1259.1-2311_daily_bin868.fits evtable="EVENTS" outfile="/scratch/kocevski/76065/ft1_filtered_4FGL_J1259.1-2311_daily_bin868.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.28
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/76065/ft1_filtered_4FGL_J1259.1-2311_daily_bin868.fits" evtable="EVENTS" scfile=/scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits sctable="SC_DATA" outfile=/scratch/kocevski/76065/ltcube_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.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/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits
.....................!
real 10.03
user 9.64
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/76065/ft1_filtered_4FGL_J1259.1-2311_daily_bin868.fits evtable="EVENTS" scfile=/scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits sctable="SC_DATA" expcube=/scratch/kocevski/76065/ltcube_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.fits outfile=/scratch/kocevski/76065/expmap_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.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/76065/ltcube_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.fits
.....................!
real 148.82
user 143.98
sys 4.15

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 187 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1259.1-2311 @ 194.78 -23.1925

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/76065/ft1_filtered_4FGL_J1259.1-2311_daily_bin868.fits scfile=/scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits outfile=/scratch/kocevski/76065/cmap_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.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=194.78 yref=-23.1925 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.51
user 0.31
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/76065/ft1_filtered_4FGL_J1259.1-2311_daily_bin868.fits scfile=/scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits outfile=/scratch/kocevski/76065/cmap_HighResolution_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.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=194.78 yref=-23.1925 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.51
user 0.32
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/76065/ft1_filtered_4FGL_J1259.1-2311_daily_bin868.fits evtable="EVENTS" scfile=/scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/76065/Model_4FGL_J1259.1-2311_daily_bin868.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/76065/ft1_filtered_4FGL_J1259.1-2311_daily_bin868.fits.....................!
real 108.64
user 105.96
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/76065/ft1_filtered_4FGL_J1259.1-2311_daily_bin868.fits', '/scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits', expMap='/scratch/kocevski/76065/expmap_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.fits', expCube='/scratch/kocevski/76065/ltcube_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/76065/Model_4FGL_J1259.1-2311_daily_bin868.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1259.1-2311'

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.169e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/76065/ft1_filtered_4FGL_J1259.1-2311_daily_bin868.fits
Spacecraft file(s): /scratch/kocevski/76065/ft2_4FGL_J1259.1-2311_daily_bin868.fits
Exposure map: /scratch/kocevski/76065/expmap_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.fits
Exposure cube: /scratch/kocevski/76065/ltcube_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/76065/Model_4FGL_J1259.1-2311_daily_bin868.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) = 8287.24710576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51315E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11603E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12931E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11512E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2673       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0346       1.0000         .10000E-03   10000.    
     8 'norm      '    1.1923       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12316E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    11.223       1.0000         .10000E-03   10000.    
    11 'norm      '    8.6252       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.229       1.0000         .10000E-03   10000.    
    13 'norm      '    4.2780       1.0000         .10000E-03   10000.    
    14 'norm      '    .42778E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.2164       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.232       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15560E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .80901       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .97520E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4053       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0041       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8287.231     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2619 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    304.72        .64853E-05** at limit **
   2  Prefactor     .10000E-03    22.426        .47152E-06** at limit **
   3  Prefactor     .10000E-03    33.061        .55248E-06** at limit **
   4  Prefactor     .10000E-03    25.220       -.69574E-06** at limit **
   5  Prefactor     .10000E-03    10.966        .18266E-06** at limit **
   6  Prefactor     7.2674        2.6500        .15983E-07    .18121E-04
   7  Prefactor     1.0359        7.5044       -.35832E-05   -.39812E-04
   8  norm          1.1924        .79848        .37710E-07    .65970E-04
   9  Prefactor     .10000E-03    643.76       -.57281E-05** at limit **
  10  norm          11.224        9.6110        .73096E-07    .44314E-04
  11  norm          8.6179        7.0723        .72120E-06    .11325E-03
  12  Prefactor     10.227        6.7965        .40014E-07    .11758E-03
  13  norm          4.2776        3.9906       -.34838E-07   -.58230E-05
  14  norm          .10000E-03    1.0629       -.71801E-07** at limit **
  15  norm          5.2163        4.4568        .57860E-08   -.13548E-04
  16  Prefactor     .10000E-03    3.7551        .52606E-07** at limit **
  17  Prefactor     20.204        19.984        .39918E-06   -.12550E-03
  18  Prefactor     .10000E-03    47.555       -.45950E-06** at limit **
  19  Prefactor     .78729        7.0322       -.33989E-06   -.91399E-04
  20  Prefactor     .10000E-03    78.191        .17862E-04** at limit **
  21  norm          .10000E-03    11.468       -.25499E-07** at limit **
  22  Normalizat    1.4054        .25069       -.40602E-06   -.46030E-04
  23  Prefactor     1.0041        .11489       -.26883E-06   -.12823E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.26737
  Prefactor  = 1.03588
  norm       = 1.19244
  Prefactor  = 0.000100001
  norm       = 11.224
  norm       = 8.61788
  Prefactor  = 10.2268
  norm       = 4.27761
  norm       = 0.0001
  norm       = 5.21632
  Prefactor  = 0.0001
  Prefactor  = 20.2043
  Prefactor  = 0.0001
  Prefactor  = 0.787293
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.40539
  Prefactor  = 1.00406
 **********
 **   18 **HESSE 
 **********

 FCN=   8287.231     FROM HESSE     STATUS=OK           378 CALLS     2997 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    301.05        .21145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    22.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.2674        2.6504        .87152E-04   -1.5169    
   7  Prefactor     1.0359        7.3850        .48481E-03   -1.5504    
   8  norm          1.1924        .80016        .64189E-04   -1.5490    
   9  Prefactor     .10000E-03    650.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.224        9.6140        .11959E-03   -1.5038    
  11  norm          8.6179        7.0745        .13649E-03   -1.5121    
  12  Prefactor     10.227        6.7823        .12528E-03   -1.5068    
  13  norm          4.2776        3.9872        .17011E-03   -1.5294    
  14  norm          .10000E-03    9.7877        .18221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.2163        4.4559        .17273E-03   -1.5251    
  16  Prefactor     .10000E-03    3.7592        .17229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.204        19.713        .89045E-04   -1.4809    
  18  Prefactor     .10000E-03    47.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .78729        51.133        .45520E-02   -1.5531    
  20  Prefactor     .10000E-03    76.886        .48789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    11.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4054        .29805        .36469E-03   -.80473    
  23  Prefactor     1.0041        .13717        .19411E-03   -.92594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68685e-10
Minuit parameter uncertainties:
  1  0.00489666
  2  1.50781e-05
  3  9.6153e-05
  4  0.000101259
  5  1.20025e-05
  6  2.65043
  7  5.53243
  8  0.80017
  9  0.00194971
  10  9.61527
  11  7.07519
  12  6.78285
  13  3.98747
  14  4.39477e-05
  15  4.45618
  16  2.46207e-06
  17  19.7191
  18  0.000242519
  19  12.7002
  20  0.000127322
  21  5.28045e-06
  22  0.298416
  23  0.137219
Done.

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

Extracting fit parameters...

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.023e+01  6.783e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.089e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  1.004e+00  1.372e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.405e+00  2.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.77
Ra Dec: 194.780 -23.192
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 7.64e-08 +/- 5.07e-08
Energy Flux (Fixed Index): 4.30e-05 +/- 2.85e-05

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) = 8287.11741749
delta logL = 0.114036868319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8287.08009043
delta logL = 0.151363931185

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.243       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8542       1.0000          .0000       10.000    
     3 'Normalizat'    1.4189       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+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=   8287.080     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      281 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.244        8.3729        .11448E-03   -.59364E-03
   2  Index         1.8542        .44755        .63543E-02   -.22737E-03
   3  Normalizat    1.4189        .29503        .36338E-03    .13503E-03
   4  Prefactor     1.0031        .13648        .19428E-03    .30473E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.2436
  Index      = 1.85417
  Normalizat = 1.41888
  Prefactor  = 1.00315
 **********
 **   18 **HESSE 
 **********

 FCN=   8287.080     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.244        8.2816        .22897E-04   -1.5008    
   2  Index         1.8542        .44253        .25417E-03   -.68048    
   3  Normalizat    1.4189        .29521        .14535E-04   -.80084    
   4  Prefactor     1.0031        .13661        .38856E-04   -.92625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.86981e-10
Minuit parameter uncertainties:
  1  8.28242
  2  0.443488
  3  0.295566
  4  0.136656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/76065': 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) = 8287.08009041
delta logL = 0.151363950246

Extracting fit parameters...

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.224e+01  8.282e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  1.854e+00  4.435e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  2.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  1.003e+00  1.367e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.419e+00  2.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.09
Ra Dec: 194.780 -23.192
Photon Index (Free Index): 1.85 +/- 0.44
Photon Flux (Free Index): 5.48e-08 +/- 5.46e-08
Energy Flux (Free Index): 5.59e-05 +/- 4.70e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/76065/cmap_HighResolution_464313601_464572801_4FGL_J1259.1-2311_daily_bin868.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.64e-08', energy_flux2='5.59e-05', photon_flux_error='5.07e-08', dlogl='1.51e-01', energy_flux='4.30e-05', photon_flux2='5.48e-08', job_status='DONE', time_completed='2021-09-06 13:53:20.442967', photon_index_error2='0.44', photon_index2='1.85', ts='10.77', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='4.70e-05', EG='1.41', time_epoch_completed='1630961600.44', return_code='0', job_id='76065', GAL2='1.00', EG2='1.42', return_code2='0', energy_flux_error='2.85e-05', photon_flux_error2='5.46e-08', ts2='11.09', photon_index='2.09' WHERE bin_id='868' AND source_name='4FGL J1259.1-2311' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 13:53:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 76065: <4FGL_J1259.1-2311_daily_bin868> in cluster <slac> Done

Job <4FGL_J1259.1-2311_daily_bin868> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep  6 13:41:02 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 13:41:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 13:41:04 2021
Terminated at Mon Sep  6 13:53:21 2021
Results reported at Mon Sep  6 13:53:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1259.1-2311_daily_bin868 194.78 -23.1925 464313601 464572801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1259.1-2311 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   631.28 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             331.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            739 sec.

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

