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


Performing analysis on: 4FGL_J1231.1-1412_daily_bin839
RA = 187.798, Dec = -14.2014
tmin = 456796801, tmax = 457056001
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='765258', job_status='RUN', time_executed='2021-09-05 22:00:42.852063', time_epoch_executed='1630904442.85' WHERE source_name='4FGL J1231.1-1412' and cadence='daily' and bin_id='839'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/765258

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/765258/ft1_4FGL_J1231.1-1412_daily_bin839.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/765258/ft2_4FGL_J1231.1-1412_daily_bin839.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/765258/ft1_4FGL_J1231.1-1412_daily_bin839.fits outfile=/scratch/kocevski/765258/ft1_filteredMKT_4FGL_J1231.1-1412_daily_bin839.fits ra=187.798 dec=-14.2014 rad=12.0 tmin=456796801.0 tmax=457056001.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.41
user 3.17
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/765258/ft2_4FGL_J1231.1-1412_daily_bin839.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/765258/ft1_filteredMKT_4FGL_J1231.1-1412_daily_bin839.fits evtable="EVENTS" outfile="/scratch/kocevski/765258/ft1_filtered_4FGL_J1231.1-1412_daily_bin839.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/765258/ft1_filtered_4FGL_J1231.1-1412_daily_bin839.fits" evtable="EVENTS" scfile=/scratch/kocevski/765258/ft2_4FGL_J1231.1-1412_daily_bin839.fits sctable="SC_DATA" outfile=/scratch/kocevski/765258/ltcube_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.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/765258/ft2_4FGL_J1231.1-1412_daily_bin839.fits
.....................!
real 15.43
user 15.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/765258/ft1_filtered_4FGL_J1231.1-1412_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/765258/ft2_4FGL_J1231.1-1412_daily_bin839.fits sctable="SC_DATA" expcube=/scratch/kocevski/765258/ltcube_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.fits outfile=/scratch/kocevski/765258/expmap_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.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/765258/ltcube_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.fits
.....................!
real 191.12
user 185.98
sys 4.64

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/765258/ft1_filtered_4FGL_J1231.1-1412_daily_bin839.fits scfile=/scratch/kocevski/765258/ft2_4FGL_J1231.1-1412_daily_bin839.fits outfile=/scratch/kocevski/765258/cmap_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/765258/ft1_filtered_4FGL_J1231.1-1412_daily_bin839.fits scfile=/scratch/kocevski/765258/ft2_4FGL_J1231.1-1412_daily_bin839.fits outfile=/scratch/kocevski/765258/cmap_HighResolution_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.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.58
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/765258/ft1_filtered_4FGL_J1231.1-1412_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/765258/ft2_4FGL_J1231.1-1412_daily_bin839.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/765258/Model_4FGL_J1231.1-1412_daily_bin839.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/765258/ft1_filtered_4FGL_J1231.1-1412_daily_bin839.fits.....................!
real 61.17
user 59.67
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/765258/ft1_filtered_4FGL_J1231.1-1412_daily_bin839.fits', '/scratch/kocevski/765258/ft2_4FGL_J1231.1-1412_daily_bin839.fits', expMap='/scratch/kocevski/765258/expmap_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.fits', expCube='/scratch/kocevski/765258/ltcube_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/765258/Model_4FGL_J1231.1-1412_daily_bin839.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/765258/ft1_filtered_4FGL_J1231.1-1412_daily_bin839.fits
Spacecraft file(s): /scratch/kocevski/765258/ft2_4FGL_J1231.1-1412_daily_bin839.fits
Exposure map: /scratch/kocevski/765258/expmap_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.fits
Exposure cube: /scratch/kocevski/765258/ltcube_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/765258/Model_4FGL_J1231.1-1412_daily_bin839.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) = 7250.53032292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.743       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.6752       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3498       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    81.859       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9961       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0176       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1481       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.2763       1.0000         .10000E-03   10000.    
    18 'norm      '    12.859       1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12935E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.1528       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1591       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0281       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=   7250.515     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2527 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.743        5.5298        .16103E-07   -.17313E-04
   2  Prefactor     .10000E-03    5.8997        .32279E-07** at limit **
   3  Prefactor     .10000E-03    21.779       -.10653E-05** at limit **
   4  norm          1.6727        4.9372        .21267E-05    .20177E-03
   5  Prefactor     .10000E-03    19.149       -.24659E-07** at limit **
   6  Prefactor     4.3509        18.210        .41496E-06    .20754E-05
   7  Prefactor     .10000E-03    25.140       -.72044E-07** at limit **
   8  Prefactor     .10000E-03    119.52       -.50743E-05** at limit **
   9  Prefactor     .10000E-03    12.601       -.16863E-05** at limit **
  10  Prefactor     81.785        53.196       -.11470E-06   -.61629E-04
  11  Prefactor     3.9965        6.5238        .37502E-06    .26592E-04
  12  Prefactor     8.0177        3.2444       -.43383E-07   -.25217E-04
  13  Prefactor     .10000E-03    4.4472        .98232E-08** at limit **
  14  Prefactor     6.1484        17.545        .40341E-06   -.22381E-05
  15  Prefactor     .10000E-03    51.279        .11888E-06** at limit **
  16  Prefactor     .10000E-03    50.373        .79280E-07** at limit **
  17  norm          7.2762        .66944        .36510E-08   -.12763E-03
  18  norm          12.859        8.9256        .17614E-07   -.53570E-04
  19  norm          .10000E-03    5.9239        .16157E-06** at limit **
  20  Prefactor     .10005E-03    6.1135        .13716E-05** at limit **
  21  Prefactor     6.1532        8.2125        .50124E-07   -.14020E-06
  22  Normalizat    1.1592        .29065       -.91639E-06   -.80849E-04
  23  Prefactor     1.0280        .15216        .84411E-07   -.19139E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.743
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.67273
  Prefactor  = 0.0001
  Prefactor  = 4.3509
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 81.7845
  Prefactor  = 3.9965
  Prefactor  = 8.01774
  Prefactor  = 0.0001
  Prefactor  = 6.1484
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.2762
  norm       = 12.8595
  norm       = 0.0001
  Prefactor  = 0.000100054
  Prefactor  = 6.15316
  Normalizat = 1.1592
  Prefactor  = 1.02796
 **********
 **   18 **HESSE 
 **********

 FCN=   7250.515     FROM HESSE     STATUS=OK           370 CALLS     2897 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.743        5.5299        .12224E-03   -1.5052    
   2  Prefactor     .10000E-03    5.9032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.6727        5.0311        .31775E-03   -1.5449    
   5  Prefactor     .10000E-03    19.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3509        18.223        .19313E-03   -1.5291    
   7  Prefactor     .10000E-03    25.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    121.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     81.785        53.054        .22197E-03   -1.3897    
  11  Prefactor     3.9965        6.5030        .20175E-03   -1.5308    
  12  Prefactor     8.0177        3.2433        .90726E-04   -1.5142    
  13  Prefactor     .10000E-03    4.4507        .17537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.1484        17.577        .16191E-03   -1.5212    
  15  Prefactor     .10000E-03    51.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    50.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.2762        .67186        .20185E-04   -1.5168    
  18  norm          12.859        8.9263        .11170E-03   -1.4991    
  19  norm          .10000E-03    5.9916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10005E-03    22.873        .34947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.1532        8.2088        .16185E-03   -1.5212    
  22  Normalizat    1.1592        .34260        .40474E-03   -.87873    
  23  Prefactor     1.0280        .17936        .23180E-03   -.91803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4504e-09
Minuit parameter uncertainties:
  1  5.53018
  2  1.74341e-06
  3  0.000180108
  4  5.0324
  5  1.21795e-05
  6  17.8179
  7  4.10497e-05
  8  0.000783533
  9  7.2912e-05
  10  53.0844
  11  6.50417
  12  3.2434
  13  4.95251e-07
  14  17.5914
  15  3.05283e-05
  16  3.50384e-05
  17  0.671859
  18  8.9272
  19  1.642e-05
  20  0.00223249
  21  8.21027
  22  0.343266
  23  0.179462
Done.

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

Extracting fit parameters...

4FGL J1231.1-1412
   Spectrum: PLSuperExpCutoff2
335    Prefactor:  8.018e+00  3.243e+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.028e+00  1.795e-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.159e+00  3.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.95
Ra Dec: 187.798 -14.201
Photon Index (Fixed Index): 0.63 +/- 0.00
Photon Flux (Fixed Index): 8.66e-08 +/- 3.50e-08
Energy Flux (Fixed Index): 7.43e-05 +/- 3.01e-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) = 7249.81862521
delta logL = 0.696481537759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7249.78167657
delta logL = 0.733430178051

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8023       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.1118       1.0000          .0000       10.000    
     3 'Normalizat'    1.1226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0306       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=   7249.782     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      244 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8025        3.0024        .81689E-04   -.51493E-05
   2  Index1        1.1118        .37925        .75353E-02    .31617E-03
   3  Normalizat    1.1226        .32400        .41009E-03   -.95642E-05
   4  Prefactor     1.0306        .17642        .23123E-03   -.15880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.80254
  Index1     = 1.11185
  Normalizat = 1.12261
  Prefactor  = 1.03059
 **********
 **   18 **HESSE 
 **********

 FCN=   7249.782     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .29E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8025        2.9782        .32676E-05   -1.5149    
   2  Index1        1.1118        .37604        .15071E-02   -.89089    
   3  Normalizat    1.1226        .32422        .16404E-04   -.89029    
   4  Prefactor     1.0306        .17658        .92493E-05   -.91717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88649e-13
Minuit parameter uncertainties:
  1  2.97823
  2  0.376939
  3  0.324799
  4  0.176681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/765258': 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) = 7249.78167655
delta logL = 0.733430192726

Extracting fit parameters...

4FGL J1231.1-1412
   Spectrum: PLSuperExpCutoff2
335    Prefactor:  7.803e+00  2.978e+00  1.000e-04  1.000e+04 ( 1.000e-11)
336       Index1:  1.112e+00  3.769e-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.031e+00  1.767e-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.123e+00  3.248e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.25
Ra Dec: 187.798 -14.201
Photon Index (Free Index): 1.11 +/- 0.38
Photon Flux (Free Index): 1.36e-07 +/- 6.47e-08
Energy Flux (Free Index): 6.94e-05 +/- 2.51e-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/765258/cmap_HighResolution_456796801_457056001_4FGL_J1231.1-1412_daily_bin839.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.66e-08', energy_flux2='6.94e-05', photon_flux_error='3.50e-08', dlogl='7.33e-01', energy_flux='7.43e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-05 22:12:06.524748', photon_index_error2='0.38', photon_index2='1.11', ts='23.95', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.51e-05', EG='1.16', time_epoch_completed='1630905126.52', return_code='0', job_id='765258', GAL2='1.03', EG2='1.12', return_code2='0', energy_flux_error='3.01e-05', photon_flux_error2='6.47e-08', ts2='25.25', photon_index='0.63' WHERE bin_id='839' AND source_name='4FGL J1231.1-1412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 22:12:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 765258: <4FGL_J1231.1-1412_daily_bin839> in cluster <slac> Done

Job <4FGL_J1231.1-1412_daily_bin839> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 21:56:16 2021
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 21:57:01 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:57:01 2021
Terminated at Sun Sep  5 22:12:07 2021
Results reported at Sun Sep  5 22:12:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1231.1-1412_daily_bin839 187.798 -14.2014 456796801 457056001 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 :                                   682.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             263.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            951 sec.

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

