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


Performing analysis on: 4FGL_J1259.1-2311_daily_bin197
RA = 194.78, Dec = -23.1925
tmin = 290390401, tmax = 290649601
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='72747', job_status='RUN', time_executed='2021-09-06 13:31:14.050292', time_epoch_executed='1630960274.05' WHERE source_name='4FGL J1259.1-2311' and cadence='daily' and bin_id='197'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/72747

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/72747/ft1_4FGL_J1259.1-2311_daily_bin197.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/72747/ft2_4FGL_J1259.1-2311_daily_bin197.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/72747/ft1_4FGL_J1259.1-2311_daily_bin197.fits outfile=/scratch/kocevski/72747/ft1_filteredMKT_4FGL_J1259.1-2311_daily_bin197.fits ra=194.78 dec=-23.1925 rad=12.0 tmin=290390401.0 tmax=290649601.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.52
user 3.23
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/72747/ft1_filtered_4FGL_J1259.1-2311_daily_bin197.fits" evtable="EVENTS" scfile=/scratch/kocevski/72747/ft2_4FGL_J1259.1-2311_daily_bin197.fits sctable="SC_DATA" outfile=/scratch/kocevski/72747/ltcube_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.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/72747/ft2_4FGL_J1259.1-2311_daily_bin197.fits
.....................!
real 12.02
user 11.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/72747/ft1_filtered_4FGL_J1259.1-2311_daily_bin197.fits evtable="EVENTS" scfile=/scratch/kocevski/72747/ft2_4FGL_J1259.1-2311_daily_bin197.fits sctable="SC_DATA" expcube=/scratch/kocevski/72747/ltcube_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.fits outfile=/scratch/kocevski/72747/expmap_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.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/72747/ltcube_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.fits
.....................!
real 191.69
user 185.57
sys 5.05

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/72747/ft1_filtered_4FGL_J1259.1-2311_daily_bin197.fits scfile=/scratch/kocevski/72747/ft2_4FGL_J1259.1-2311_daily_bin197.fits outfile=/scratch/kocevski/72747/cmap_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/72747/ft1_filtered_4FGL_J1259.1-2311_daily_bin197.fits scfile=/scratch/kocevski/72747/ft2_4FGL_J1259.1-2311_daily_bin197.fits outfile=/scratch/kocevski/72747/cmap_HighResolution_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/72747/ft1_filtered_4FGL_J1259.1-2311_daily_bin197.fits evtable="EVENTS" scfile=/scratch/kocevski/72747/ft2_4FGL_J1259.1-2311_daily_bin197.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/72747/Model_4FGL_J1259.1-2311_daily_bin197.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/72747/ft1_filtered_4FGL_J1259.1-2311_daily_bin197.fits....................!
real 102.28
user 100.69
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/72747/ft1_filtered_4FGL_J1259.1-2311_daily_bin197.fits', '/scratch/kocevski/72747/ft2_4FGL_J1259.1-2311_daily_bin197.fits', expMap='/scratch/kocevski/72747/expmap_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.fits', expCube='/scratch/kocevski/72747/ltcube_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/72747/Model_4FGL_J1259.1-2311_daily_bin197.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/72747/ft1_filtered_4FGL_J1259.1-2311_daily_bin197.fits
Spacecraft file(s): /scratch/kocevski/72747/ft2_4FGL_J1259.1-2311_daily_bin197.fits
Exposure map: /scratch/kocevski/72747/expmap_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.fits
Exposure cube: /scratch/kocevski/72747/ltcube_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/72747/Model_4FGL_J1259.1-2311_daily_bin197.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) = 6241.55242794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3277       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.8688       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    91.726       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.700       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.260       1.0000         .10000E-03   10000.    
     8 'norm      '    4.0411       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .79370E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    10.221       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3782       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.9027       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.591       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.611       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0308       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3340       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88774       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=   6241.549     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2570 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2248        339.26        .49384E-05    .11098E-05
   2  Prefactor     7.8774        61.615        .23681E-06   -.22426E-05
   3  Prefactor     .10000E-03    26.063        .80060E-05** at limit **
   4  Prefactor     91.734        67.653        .14782E-05   -.24645E-04
   5  Prefactor     .10000E-03    13.084       -.29809E-06** at limit **
   6  Prefactor     10.701        3.6846       -.17213E-08    .15373E-04
   7  Prefactor     15.259        13.245        .55275E-07    .17649E-04
   8  norm          4.0412        1.6432       -.24215E-07    .23162E-04
   9  Prefactor     .10000E-03    46.856       -.10702E-06** at limit **
  10  norm          .10000E-03    7.8961       -.33394E-06** at limit **
  11  norm          10.194        9.6882       -.64814E-06    .33670E-04
  12  Prefactor     1.4007        17.439        .28027E-05    .15132E-04
  13  norm          .10000E-03    1.7166       -.71541E-07** at limit **
  14  norm          3.9024        2.6965        .79049E-08    .11958E-04
  15  norm          .10000E-03    2.7057       -.94497E-07** at limit **
  16  Prefactor     10.591        10.143       -.10217E-07    .86255E-05
  17  Prefactor     .10000E-03    7.0716       -.14145E-06** at limit **
  18  Prefactor     15.612        20.771        .31321E-07    .43388E-05
  19  Prefactor     3.0333        14.074       -.22883E-06   -.11710E-05
  20  Prefactor     .10000E-03    4.6131       -.97545E-07** at limit **
  21  norm          .10000E-03    11.146        .33784E-07** at limit **
  22  Normalizat    1.3337        .29168        .21435E-05    .17836E-04
  23  Prefactor     .88774        .12894       -.78899E-06    .18173E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22479
  Prefactor  = 7.87736
  Prefactor  = 0.0001
  Prefactor  = 91.7337
  Prefactor  = 0.0001
  Prefactor  = 10.7005
  Prefactor  = 15.2592
  norm       = 4.04124
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.1943
  Prefactor  = 1.40066
  norm       = 0.0001
  norm       = 3.90242
  norm       = 0.0001
  Prefactor  = 10.5915
  Prefactor  = 0.0001
  Prefactor  = 15.6119
  Prefactor  = 3.03334
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.33372
  Prefactor  = 0.887742
 **********
 **   18 **HESSE 
 **********

 FCN=   6241.549     FROM HESSE     STATUS=OK           372 CALLS     2942 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2248        342.18        .15957E-03   -1.5209    
   2  Prefactor     7.8774        61.654        .14294E-03   -1.5147    
   3  Prefactor     .10000E-03    26.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     91.734        66.978        .20979E-03   -1.3789    
   5  Prefactor     .10000E-03    13.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.701        3.6850        .86396E-04   -1.5054    
   7  Prefactor     15.259        13.249        .10253E-03   -1.4927    
   8  norm          4.0412        1.6412        .61208E-04   -1.5306    
   9  Prefactor     .10000E-03    46.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    48.912        .42055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.194        9.9512        .12533E-03   -1.5069    
  12  Prefactor     1.4007        18.436        .18545E-02   -1.5471    
  13  norm          .10000E-03    1.7204        .10109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.9024        2.6980        .10465E-03   -1.5313    
  15  norm          .10000E-03    2.7137        .12692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.591        10.147        .61558E-03   -1.5057    
  17  Prefactor     .10000E-03    7.1028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.612        20.738        .10137E-03   -1.4918    
  19  Prefactor     3.0333        13.999        .23309E-03   -1.5360    
  20  Prefactor     .10000E-03    4.6270        .16572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    11.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3337        .34067        .36513E-03   -.82565    
  23  Prefactor     .88774        .15279        .19556E-03   -.96571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.92654e-11
Minuit parameter uncertainties:
  1  92.8675
  2  44.1386
  3  7.3101e-05
  4  67.0336
  5  1.34433e-05
  6  3.68509
  7  13.2519
  8  1.64122
  9  2.33565e-05
  10  7.2595e-05
  11  9.95283
  12  10.1667
  13  1.25986e-06
  14  2.6981
  15  1.85803e-06
  16  10.1482
  17  4.45792e-06
  18  20.7479
  19  13.0379
  20  2.68603e-06
  21  1.54329e-06
  22  0.341252
  23  0.152867
Done.

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

Extracting fit parameters...

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.401e+00  1.017e+01  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:  8.877e-01  1.529e-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.334e+00  3.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 194.780 -23.192
Photon Flux Upper Limit: 1.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/72747/likelihoodResults_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.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) = 6241.5486053
delta logL = 7.04363264958e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6241.54860401
delta logL = 8.34095953905e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4007       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0932       1.0000          .0000       10.000    
     3 'Normalizat'    1.3337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88771       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=   6241.549     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      233 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3881        14.986        .18331E-02   -.22210E-03
   2  Index         2.0950        1.5884        .12691E-01   -.85321E-04
   3  Normalizat    1.3337        .33393        .36514E-03   -.65665E-04
   4  Prefactor     .88776        .15198        .19556E-03   -.22822E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38809
  Index      = 2.09496
  Normalizat = 1.33365
  Prefactor  = 0.887762
 **********
 **   18 **HESSE 
 **********

 FCN=   6241.549     FROM HESSE     STATUS=OK            27 CALLS      260 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3881        11.091        .73323E-04   -1.5472    
   2  Index         2.0950        1.3790        .50766E-03   -.61997    
   3  Normalizat    1.3337        .33385        .14605E-04   -.82567    
   4  Prefactor     .88776        .15165        .39112E-04   -.96570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97388e-10
Minuit parameter uncertainties:
  1  7.84893
  2  1.40681
  3  0.33439
  4  0.151719
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/72747': 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) = 6241.54860243
delta logL = 9.91929027805e-06

Extracting fit parameters...

4FGL J1259.1-2311
   Spectrum: PowerLaw
284    Prefactor:  1.388e+00  7.849e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.095e+00  1.407e+00  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:  8.878e-01  1.517e-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.334e+00  3.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 194.780 -23.192

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/72747/cmap_HighResolution_290390401_290649601_4FGL_J1259.1-2311_daily_bin197.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2021-09-06 13:43:35.402556', job_id='72747', GAL2='0.89', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1630961015.4', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='9.92e-06', ts2='0.04', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='197' AND source_name='4FGL J1259.1-2311' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 13:43:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 72747: <4FGL_J1259.1-2311_daily_bin197> in cluster <slac> Done

Job <4FGL_J1259.1-2311_daily_bin197> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Mon Sep  6 13:30:58 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 13:30:59 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:30:59 2021
Terminated at Mon Sep  6 13:43:36 2021
Results reported at Mon Sep  6 13:43:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1259.1-2311_daily_bin197 194.78 -23.1925 290390401 290649601 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 :                                   732.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             361.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            758 sec.

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

