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


Performing analysis on: 4FGL_J1231.1-1412_daily_bin272
RA = 187.798, Dec = -14.2014
tmin = 309830401, tmax = 310089601
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='761987', job_status='RUN', time_executed='2021-09-05 21:48:27.258929', time_epoch_executed='1630903707.26' WHERE source_name='4FGL J1231.1-1412' and cadence='daily' and bin_id='272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/761987

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/761987/ft1_4FGL_J1231.1-1412_daily_bin272.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/761987/ft1_4FGL_J1231.1-1412_daily_bin272.fits outfile=/scratch/kocevski/761987/ft1_filteredMKT_4FGL_J1231.1-1412_daily_bin272.fits ra=187.798 dec=-14.2014 rad=12.0 tmin=309830401.0 tmax=310089601.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.73
user 3.29
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.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/761987/ft1_filteredMKT_4FGL_J1231.1-1412_daily_bin272.fits evtable="EVENTS" outfile="/scratch/kocevski/761987/ft1_filtered_4FGL_J1231.1-1412_daily_bin272.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.55
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/761987/ft1_filtered_4FGL_J1231.1-1412_daily_bin272.fits" evtable="EVENTS" scfile=/scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits sctable="SC_DATA" outfile=/scratch/kocevski/761987/ltcube_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.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/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits
.....................!
real 16.82
user 16.21
sys 0.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/761987/ft1_filtered_4FGL_J1231.1-1412_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits sctable="SC_DATA" expcube=/scratch/kocevski/761987/ltcube_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.fits outfile=/scratch/kocevski/761987/expmap_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.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/761987/ltcube_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.fits
.....................!
real 193.20
user 186.88
sys 5.76

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

Setting source of interest to:
4FGL J1231.1-1412 @ 187.798 -14.2014

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/761987/ft1_filtered_4FGL_J1231.1-1412_daily_bin272.fits scfile=/scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits outfile=/scratch/kocevski/761987/cmap_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.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=187.798 yref=-14.2014 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.60
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/761987/ft1_filtered_4FGL_J1231.1-1412_daily_bin272.fits scfile=/scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits outfile=/scratch/kocevski/761987/cmap_HighResolution_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.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=187.798 yref=-14.2014 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.60
user 0.44
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/761987/ft1_filtered_4FGL_J1231.1-1412_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/761987/Model_4FGL_J1231.1-1412_daily_bin272.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/761987/ft1_filtered_4FGL_J1231.1-1412_daily_bin272.fits.....................!
real 57.47
user 55.86
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/761987/ft1_filtered_4FGL_J1231.1-1412_daily_bin272.fits', '/scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits', expMap='/scratch/kocevski/761987/expmap_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.fits', expCube='/scratch/kocevski/761987/ltcube_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/761987/Model_4FGL_J1231.1-1412_daily_bin272.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1231.1-1412'

4FGL J1231.1-1412
   Spectrum: PLSuperExpCutoff2
335    Prefactor:  6.774e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
336       Index1:  6.283e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
338    Expfactor:  1.283e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
339       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/761987/ft1_filtered_4FGL_J1231.1-1412_daily_bin272.fits
Spacecraft file(s): /scratch/kocevski/761987/ft2_4FGL_J1231.1-1412_daily_bin272.fits
Exposure map: /scratch/kocevski/761987/expmap_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.fits
Exposure cube: /scratch/kocevski/761987/ltcube_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/761987/Model_4FGL_J1231.1-1412_daily_bin272.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) = 6821.30371928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23814E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    45.902       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.664       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7281       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.0948       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.821       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2585       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3803       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.260       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.049       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2166       1.0000         .10000E-03   10000.    
    18 'norm      '    12.002       1.0000         .10000E-03   10000.    
    19 'norm      '    .82021       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0909       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.009       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2387       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6821.300     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2525 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.9258        .28130E-06** at limit **
   2  Prefactor     45.903        27.559        .74416E-07   -.21032E-04
   3  Prefactor     22.660        20.659       -.92851E-06   -.62373E-05
   4  norm          3.7321        6.9128        .16977E-05   -.83614E-04
   5  Prefactor     .10000E-03    15.035        .50279E-06** at limit **
   6  Prefactor     5.0954        16.078        .24321E-06   -.29011E-06
   7  Prefactor     .10000E-03    21.723       -.12777E-05** at limit **
   8  Prefactor     15.770        50.343        .56580E-05   -.20524E-04
   9  Prefactor     .10000E-03    7.5639       -.69551E-08** at limit **
  10  Prefactor     .10000E-03    14.746        .35367E-06** at limit **
  11  Prefactor     2.2589        7.1804        .26153E-06    .21138E-06
  12  Prefactor     8.3801        3.5858        .16041E-08    .27727E-04
  13  Prefactor     12.260        15.921        .40976E-06   -.12406E-04
  14  Prefactor     .10000E-03    10.180       -.53887E-06** at limit **
  15  Prefactor     .10000E-03    32.702        .57691E-06** at limit **
  16  Prefactor     39.105        74.137       -.65713E-05   -.74695E-05
  17  norm          1.2166        .31493        .57213E-08   -.16048E-04
  18  norm          12.004        10.834        .97170E-07   -.21004E-04
  19  norm          .80907        7.6443        .27452E-05    .85051E-04
  20  Prefactor     2.0929        4.8332       -.11531E-06   -.47453E-04
  21  Prefactor     17.010        14.492        .58138E-07   -.34702E-06
  22  Normalizat    1.2383        .26797       -.24524E-06   -.30626E-04
  23  Prefactor     1.0396        .14412       -.16630E-06   -.35855E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 45.9033
  Prefactor  = 22.6602
  norm       = 3.73206
  Prefactor  = 0.0001
  Prefactor  = 5.09544
  Prefactor  = 0.0001
  Prefactor  = 15.7697
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.25885
  Prefactor  = 8.38006
  Prefactor  = 12.2601
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.1049
  norm       = 1.21665
  norm       = 12.0035
  norm       = 0.809069
  Prefactor  = 2.09291
  Prefactor  = 17.0104
  Normalizat = 1.23832
  Prefactor  = 1.03961
 **********
 **   18 **HESSE 
 **********

 FCN=   6821.300     FROM HESSE     STATUS=OK           378 CALLS     2903 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7837        .26706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     45.903        27.097        .59179E-04   -1.4352    
   3  Prefactor     22.660        20.640        .84137E-04   -1.4756    
   4  norm          3.7321        6.9096        .10457E-02   -1.5322    
   5  Prefactor     .10000E-03    15.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0954        16.096        .17813E-03   -1.5256    
   7  Prefactor     .10000E-03    21.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.770        50.118        .10070E-03   -1.4914    
   9  Prefactor     .10000E-03    7.5646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2589        7.1162        .27335E-03   -1.5407    
  12  Prefactor     8.3801        3.5632        .87260E-04   -1.5129    
  13  Prefactor     12.260        15.939        .57203E-03   -1.5008    
  14  Prefactor     .10000E-03    10.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    32.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     39.105        73.995        .64142E-04   -1.4456    
  17  norm          1.2166        .31540        .22655E-04   -1.5487    
  18  norm          12.004        10.832        .11563E-03   -1.5015    
  19  norm          .80907        7.4770        .40080E-03   -1.5528    
  20  Prefactor     2.0929        4.7425        .25744E-03   -1.5419    
  21  Prefactor     17.010        14.503        .97112E-04   -1.4883    
  22  Normalizat    1.2383        .31151        .36472E-03   -.85427    
  23  Prefactor     1.0396        .16770        .21758E-03   -.91421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.01848e-11
Minuit parameter uncertainties:
  1  4.30864e-05
  2  27.104
  3  20.6468
  4  6.91103
  5  9.79026e-06
  6  16.1097
  7  3.02719e-05
  8  50.2526
  9  1.75657e-05
  10  2.88662e-05
  11  7.11883
  12  3.56325
  13  15.9441
  14  7.10288e-06
  15  2.1347e-05
  16  74.1696
  17  0.315404
  18  10.8333
  19  4.91963
  20  4.74335
  21  14.5057
  22  0.311978
  23  0.16778
Done.

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

Extracting fit parameters...

4FGL J1231.1-1412
   Spectrum: PLSuperExpCutoff2
335    Prefactor:  8.380e+00  3.563e+00  1.000e-04  1.000e+04 ( 1.000e-11)
336       Index1:  6.283e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
337        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
338    Expfactor:  1.283e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
339       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  1.040e+00  1.678e-01  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  1.238e+00  3.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.97
Ra Dec: 187.798 -14.201
Photon Index (Fixed Index): 0.63 +/- 0.00
Photon Flux (Fixed Index): 9.05e-08 +/- 3.85e-08
Energy Flux (Fixed Index): 7.77e-05 +/- 3.30e-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) = 6820.86268533
delta logL = 0.437518752712

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6820.85471646
delta logL = 0.445487626836

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2151       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.0532       1.0000          .0000       10.000    
     3 'Normalizat'    1.1963       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0471       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6210E+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=   6820.855     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      240 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2150        3.1016        .79351E-04    .15280E-02
   2  Index1        1.0531        .43614        .78471E-02    .11443E-03
   3  Normalizat    1.1964        .30007        .36989E-03   -.68386E-04
   4  Prefactor     1.0471        .16499        .21670E-03   -.16826E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.21502
  Index1     = 1.05305
  Normalizat = 1.1964
  Prefactor  = 1.04711
 **********
 **   18 **HESSE 
 **********

 FCN=   6820.855     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2150        3.0671        .15870E-04   -1.5135    
   2  Index1        1.0531        .43088        .31388E-03   -.90981    
   3  Normalizat    1.1964        .29999        .14796E-04   -.86714    
   4  Prefactor     1.0471        .16506        .43340E-04   -.91175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59943e-10
Minuit parameter uncertainties:
  1  3.06713
  2  0.432309
  3  0.300426
  4  0.165136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/761987': 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) = 6820.85471637
delta logL = 0.445487711527

Extracting fit parameters...

4FGL J1231.1-1412
   Spectrum: PLSuperExpCutoff2
335    Prefactor:  8.215e+00  3.067e+00  1.000e-04  1.000e+04 ( 1.000e-11)
336       Index1:  1.053e+00  4.323e-01  0.000e+00  1.000e+01 (-1.000e+00)
337        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
338    Expfactor:  1.283e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
339       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
618    Prefactor:  1.047e+00  1.651e-01  0.000e+00  1.000e+01 ( 1.000e+00)
619        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
620        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
617   Normalization:  1.196e+00  3.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.75
Ra Dec: 187.798 -14.201
Photon Index (Free Index): 1.05 +/- 0.43
Photon Flux (Free Index): 1.34e-07 +/- 6.73e-08
Energy Flux (Free Index): 7.24e-05 +/- 2.59e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/761987/cmap_HighResolution_309830401_310089601_4FGL_J1231.1-1412_daily_bin272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.05e-08', energy_flux2='7.24e-05', photon_flux_error='3.85e-08', dlogl='4.45e-01', energy_flux='7.77e-05', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-09-05 21:59:24.208073', photon_index_error2='0.43', photon_index2='1.05', ts='18.97', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.59e-05', EG='1.24', time_epoch_completed='1630904364.21', return_code='0', job_id='761987', GAL2='1.05', EG2='1.20', return_code2='0', energy_flux_error='3.30e-05', photon_flux_error2='6.73e-08', ts2='19.75', photon_index='0.63' WHERE bin_id='272' AND source_name='4FGL J1231.1-1412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 21:59:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 761987: <4FGL_J1231.1-1412_daily_bin272> in cluster <slac> Done

Job <4FGL_J1231.1-1412_daily_bin272> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep  5 21:45:50 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 21:46:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 21:46:16 2021
Terminated at Sun Sep  5 21:59:24 2021
Results reported at Sun Sep  5 21:59:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1231.1-1412_daily_bin272 187.798 -14.2014 309830401 310089601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1231.1-1412 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   652.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            814 sec.

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

