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


Performing analysis on: 4FGL_J1231.1-1412_daily_bin886
RA = 187.798, Dec = -14.2014
tmin = 468979201, tmax = 469238401
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='766568', job_status='RUN', time_executed='2021-09-05 22:03:30.062337', time_epoch_executed='1630904610.06' WHERE source_name='4FGL J1231.1-1412' and cadence='daily' and bin_id='886'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/766568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/766568/ft1_4FGL_J1231.1-1412_daily_bin886.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/766568/ft2_4FGL_J1231.1-1412_daily_bin886.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/766568/ft1_4FGL_J1231.1-1412_daily_bin886.fits outfile=/scratch/kocevski/766568/ft1_filteredMKT_4FGL_J1231.1-1412_daily_bin886.fits ra=187.798 dec=-14.2014 rad=12.0 tmin=468979201.0 tmax=469238401.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.71
user 3.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/766568/ft2_4FGL_J1231.1-1412_daily_bin886.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/766568/ft1_filteredMKT_4FGL_J1231.1-1412_daily_bin886.fits evtable="EVENTS" outfile="/scratch/kocevski/766568/ft1_filtered_4FGL_J1231.1-1412_daily_bin886.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 1.10
user 0.39
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/766568/ft1_filtered_4FGL_J1231.1-1412_daily_bin886.fits" evtable="EVENTS" scfile=/scratch/kocevski/766568/ft2_4FGL_J1231.1-1412_daily_bin886.fits sctable="SC_DATA" outfile=/scratch/kocevski/766568/ltcube_468979201_469238401_4FGL_J1231.1-1412_daily_bin886.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/766568/ft2_4FGL_J1231.1-1412_daily_bin886.fits
.....................!
real 19.14
user 18.19
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/766568/ft1_filtered_4FGL_J1231.1-1412_daily_bin886.fits evtable="EVENTS" scfile=/scratch/kocevski/766568/ft2_4FGL_J1231.1-1412_daily_bin886.fits sctable="SC_DATA" expcube=/scratch/kocevski/766568/ltcube_468979201_469238401_4FGL_J1231.1-1412_daily_bin886.fits outfile=/scratch/kocevski/766568/expmap_468979201_469238401_4FGL_J1231.1-1412_daily_bin886.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/766568/ltcube_468979201_469238401_4FGL_J1231.1-1412_daily_bin886.fits
.....................!
real 193.78
user 188.16
sys 4.83

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/766568/ft1_filtered_4FGL_J1231.1-1412_daily_bin886.fits scfile=/scratch/kocevski/766568/ft2_4FGL_J1231.1-1412_daily_bin886.fits outfile=/scratch/kocevski/766568/cmap_468979201_469238401_4FGL_J1231.1-1412_daily_bin886.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/766568/ft1_filtered_4FGL_J1231.1-1412_daily_bin886.fits scfile=/scratch/kocevski/766568/ft2_4FGL_J1231.1-1412_daily_bin886.fits outfile=/scratch/kocevski/766568/cmap_HighResolution_468979201_469238401_4FGL_J1231.1-1412_daily_bin886.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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/766568/ft1_filtered_4FGL_J1231.1-1412_daily_bin886.fits evtable="EVENTS" scfile=/scratch/kocevski/766568/ft2_4FGL_J1231.1-1412_daily_bin886.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/766568/Model_4FGL_J1231.1-1412_daily_bin886.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/766568/ft1_filtered_4FGL_J1231.1-1412_daily_bin886.fits.....................!
real 73.98
user 72.56
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5727       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.040       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.2767       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.461       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10813E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.589       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2810       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.552       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.667       1.0000         .10000E-03   10000.    
    17 'norm      '    4.2339       1.0000         .10000E-03   10000.    
    18 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.6531       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6532       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .77769       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=   9079.706     FROM MIGRAD    STATUS=CONVERGED    511 CALLS     2521 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5734        4.1518       -.45602E-07   -.18469E-03
   2  Prefactor     19.042        17.825       -.42606E-06    .22912E-04
   3  Prefactor     .10000E-03    7.1058        .63485E-06** at limit **
   4  norm          9.2761        4.5624       -.63479E-06   -.25249E-02
   5  Prefactor     .10000E-03    11.987        .47927E-05** at limit **
   6  Prefactor     .10000E-03    12.125       -.49458E-05** at limit **
   7  Prefactor     37.463        31.840        .51792E-06   -.72958E-05
   8  Prefactor     .10000E-03    150.87       -.23288E-05** at limit **
   9  Prefactor     .10000E-03    7.9372       -.10973E-05** at limit **
  10  Prefactor     21.583        31.067       -.63467E-06    .28932E-04
  11  Prefactor     .10000E-03    2.2670       -.14006E-07** at limit **
  12  Prefactor     7.2810        2.3963       -.37538E-07    .63559E-04
  13  Prefactor     .10000E-03    5.8723       -.38039E-06** at limit **
  14  Prefactor     18.554        12.164        .14975E-05   -.26258E-03
  15  Prefactor     .10000E-03    47.922       -.81303E-06** at limit **
  16  Prefactor     48.674        67.647        .73835E-05   -.90204E-04
  17  norm          4.2340        .46247        .47952E-08   -.19745E-05
  18  norm          .10000E-03    3.7519       -.21855E-06** at limit **
  19  norm          .10000E-03    4.4858       -.43711E-06** at limit **
  20  Prefactor     .10000E-03    2.1477        .90410E-07** at limit **
  21  Prefactor     1.6529        15.704       -.30309E-05   -.22226E-03
  22  Normalizat    1.6529        .23091        .28544E-06    .23914E-04
  23  Prefactor     .77780        .12127       -.19350E-06    .37433E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.57337
  Prefactor  = 19.0418
  Prefactor  = 0.0001
  norm       = 9.27606
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 37.4634
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 21.5834
  Prefactor  = 0.0001
  Prefactor  = 7.28104
  Prefactor  = 0.0001
  Prefactor  = 18.5544
  Prefactor  = 0.0001
  Prefactor  = 48.6741
  norm       = 4.23403
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.6529
  Normalizat = 1.65293
  Prefactor  = 0.777805
 **********
 **   18 **HESSE 
 **********

 FCN=   9079.706     FROM HESSE     STATUS=OK           366 CALLS     2887 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5734        4.1519        .14487E-03   -1.5195    
   2  Prefactor     19.042        17.843        .91788E-04   -1.4835    
   3  Prefactor     .10000E-03    7.1243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.2761        5.0273        .65792E-03   -1.5099    
   5  Prefactor     .10000E-03    11.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.463        31.827        .65482E-04   -1.4483    
   8  Prefactor     .10000E-03    152.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.9149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.583        31.033        .86205E-04   -1.4778    
  11  Prefactor     .10000E-03    2.2761        .14006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.2810        2.3963        .81916E-04   -1.5168    
  13  Prefactor     .10000E-03    5.9058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.554        12.033        .92987E-04   -1.4846    
  15  Prefactor     .10000E-03    47.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     48.674        66.011        .57481E-04   -1.4311    
  17  norm          4.2340        .46411        .20594E-04   -1.5296    
  18  norm          .10000E-03    3.7755        .18023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.6729        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.1660        .13628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.6529        16.919        .32831E-03   -1.5451    
  22  Normalizat    1.6529        .27336        .32890E-03   -.73567    
  23  Prefactor     .77780        .14242        .24518E-03   -1.0055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55823e-09
Minuit parameter uncertainties:
  1  4.15209
  2  17.8483
  3  3.42609e-07
  4  5.02755
  5  0.000193745
  6  0.000207123
  7  31.8413
  8  0.00082688
  9  4.38646e-05
  10  31.0565
  11  4.99942e-06
  12  2.39628
  13  5.61307e-06
  14  12.035
  15  5.28505e-05
  16  66.1109
  17  0.464111
  18  3.44374e-07
  19  5.78999e-05
  20  1.19917e-05
  21  10.5801
  22  0.273606
  23  0.142485
Done.

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

Extracting fit parameters...

4FGL J1231.1-1412
   Spectrum: PLSuperExpCutoff2
335    Prefactor:  7.281e+00  2.396e+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:  7.778e-01  1.425e-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.653e+00  2.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 43.06
Ra Dec: 187.798 -14.201
Photon Index (Fixed Index): 0.63 +/- 0.00
Photon Flux (Fixed Index): 7.87e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 6.75e-05 +/- 2.22e-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) = 9079.69564426
delta logL = 0.010324899662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9079.6938144
delta logL = 0.0121547623748

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1380       1.0000         .10000E-03   10000.    
     2 'Index1    '    .54048       1.0000          .0000       10.000    
     3 'Normalizat'    1.6588       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77716       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.

 FCN=   9079.694     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      201 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1418        34.602        .37536E-02   -.10058E-03
   2  Index1        .54156        8.2133        .40236        .28330E-04
   3  Normalizat    1.6586        .54441        .74238E-01    .57843E-05
   4  Prefactor     .77722        .82316E-01    .43419E-01    .17385E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.14179
  Index1     = 0.541557
  Normalizat = 1.6586
  Prefactor  = 0.777216
 **********
 **   18 **HESSE 
 **********

 FCN=   9079.694     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1418        2.5536        .81948E-04   -1.5173    
   2  Index1        .54156        .54672        .16023E-01   -1.1011    
   3  Normalizat    1.6586        .26330        .32847E-03   -.73414    
   4  Prefactor     .77722        .14103        .24530E-03   -1.0057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7576e-12
Minuit parameter uncertainties:
  1  2.5536
  2  0.552182
  3  0.263517
  4  0.141095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/766568': 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) = 9079.69381211
delta logL = 0.0121570517022

Extracting fit parameters...

4FGL J1231.1-1412
   Spectrum: PLSuperExpCutoff2
335    Prefactor:  7.142e+00  2.554e+00  1.000e-04  1.000e+04 ( 1.000e-11)
336       Index1:  5.416e-01  5.522e-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:  7.772e-01  1.411e-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.659e+00  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 42.99
Ra Dec: 187.798 -14.201
Photon Index (Free Index): 0.54 +/- 0.55
Photon Flux (Free Index): 7.25e-08 +/- 4.39e-08
Energy Flux (Free Index): 6.86e-05 +/- 2.40e-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/766568/cmap_HighResolution_468979201_469238401_4FGL_J1231.1-1412_daily_bin886.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.87e-08', energy_flux2='6.86e-05', photon_flux_error='2.59e-08', dlogl='1.22e-02', energy_flux='6.75e-05', photon_flux2='7.25e-08', job_status='DONE', time_completed='2021-09-05 22:16:39.681960', photon_index_error2='0.55', photon_index2='0.54', ts='43.06', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.65', time_epoch_completed='1630905399.68', return_code='0', job_id='766568', GAL2='0.78', EG2='1.66', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='4.39e-08', ts2='42.99', photon_index='0.63' WHERE bin_id='886' AND source_name='4FGL J1231.1-1412' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 22:16:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 766568: <4FGL_J1231.1-1412_daily_bin886> in cluster <slac> Done

Job <4FGL_J1231.1-1412_daily_bin886> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep  5 22:00:36 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 22:00:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 22:00:47 2021
Terminated at Sun Sep  5 22:16:40 2021
Results reported at Sun Sep  5 22:16:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1231.1-1412_daily_bin886 187.798 -14.2014 468979201 469238401 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 :                                   783.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            964 sec.

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

