/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 40 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 = 7248
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1312.8-0425_daily_bin465
RA = 198.217, Dec = -4.4196
tmin = 359856001, tmax = 360115201
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='368685', job_status='RUN', time_executed='2021-09-07 05:52:53.054969', time_epoch_executed='1631019173.06' WHERE source_name='4FGL J1312.8-0425' and cadence='daily' and bin_id='465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/368685

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/368685/ft1_4FGL_J1312.8-0425_daily_bin465.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/368685/ft1_4FGL_J1312.8-0425_daily_bin465.fits outfile=/scratch/kocevski/368685/ft1_filteredMKT_4FGL_J1312.8-0425_daily_bin465.fits ra=198.217 dec=-4.4196 rad=12.0 tmin=359856001.0 tmax=360115201.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 5.81
user 3.04
sys 0.35

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.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/368685/ft1_filteredMKT_4FGL_J1312.8-0425_daily_bin465.fits evtable="EVENTS" outfile="/scratch/kocevski/368685/ft1_filtered_4FGL_J1312.8-0425_daily_bin465.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 4.33
user 0.35
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/368685/ft1_filtered_4FGL_J1312.8-0425_daily_bin465.fits" evtable="EVENTS" scfile=/scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits sctable="SC_DATA" outfile=/scratch/kocevski/368685/ltcube_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.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/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits
.....................!
real 16.76
user 13.93
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/368685/ft1_filtered_4FGL_J1312.8-0425_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits sctable="SC_DATA" expcube=/scratch/kocevski/368685/ltcube_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.fits outfile=/scratch/kocevski/368685/expmap_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.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/368685/ltcube_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.fits
.....................!
real 207.24
user 187.36
sys 5.27

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

Setting source of interest to:
4FGL J1312.8-0425 @ 198.217 -4.4196

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/368685/ft1_filtered_4FGL_J1312.8-0425_daily_bin465.fits scfile=/scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits outfile=/scratch/kocevski/368685/cmap_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.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=198.217 yref=-4.4196 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/368685/ft1_filtered_4FGL_J1312.8-0425_daily_bin465.fits scfile=/scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits outfile=/scratch/kocevski/368685/cmap_HighResolution_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.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=198.217 yref=-4.4196 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/368685/ft1_filtered_4FGL_J1312.8-0425_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/368685/Model_4FGL_J1312.8-0425_daily_bin465.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/368685/ft1_filtered_4FGL_J1312.8-0425_daily_bin465.fits.....................!
real 47.34
user 44.67
sys 2.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/368685/ft1_filtered_4FGL_J1312.8-0425_daily_bin465.fits', '/scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits', expMap='/scratch/kocevski/368685/expmap_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.fits', expCube='/scratch/kocevski/368685/ltcube_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/368685/Model_4FGL_J1312.8-0425_daily_bin465.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1312.8-0425'

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  7.815e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.205e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  1.653e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  5.956e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/368685/ft1_filtered_4FGL_J1312.8-0425_daily_bin465.fits
Spacecraft file(s): /scratch/kocevski/368685/ft2_4FGL_J1312.8-0425_daily_bin465.fits
Exposure map: /scratch/kocevski/368685/expmap_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.fits
Exposure cube: /scratch/kocevski/368685/ltcube_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/368685/Model_4FGL_J1312.8-0425_daily_bin465.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) = 5608.81621785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8691       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.615       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13537E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.684       1.0000         .10000E-03   10000.    
     6 'norm      '    62.195       1.0000         .10000E-03   10000.    
     7 'norm      '    .22025E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    20.443       1.0000         .10000E-03   10000.    
    10 'norm      '    5.0151       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5104       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1956       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10730E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.852       1.0000         .10000E-03   10000.    
    17 'norm      '    .10184E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.478       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.978       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0025       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1202       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5608.806     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2393 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8654        8.1677       -.66966E-05    .12985E-03
   2  Prefactor     33.620        20.845       -.52072E-06   -.66358E-05
   3  Prefactor     .10001E-03    7.2691        .54963E-05** at limit **
   4  Prefactor     .10000E-03    137.67       -.14500E-05** at limit **
   5  Prefactor     42.686        36.742        .17073E-05   -.67913E-04
   6  norm          62.156        38.505       -.14377E-04   -.12652E-03
   7  norm          .22072E-01    .15727       -.22601E-06   -.21012E-02
   8  Prefactor     .10000E-03    24.519       -.10832E-05** at limit **
   9  norm          20.444        12.507        .44102E-06   -.70959E-04
  10  norm          5.0153        7.2199        .19589E-05   -.16305E-03
  11  Prefactor     .10000E-03    4.5934        .38169E-07** at limit **
  12  Prefactor     2.5139        22.961        .43179E-05   -.15161E-03
  13  Prefactor     7.1967        10.661       -.11969E-05   -.71032E-04
  14  Prefactor     .10000E-03    15.675        .10331E-05** at limit **
  15  norm          .10000E-03    .95252       -.13190E-06** at limit **
  16  norm          12.854        5.4629        .15773E-07   -.13013E-03
  17  norm          .10000E-03    6.4671       -.70714E-07** at limit **
  18  norm          11.477        21.502       -.85093E-06   -.18437E-03
  19  Prefactor     13.979        8.2254        .16173E-05   -.28893E-03
  20  Prefactor     .10000E-03    7.6168        .99455E-07** at limit **
  21  Normalizat    1.0024        .25128        .10259E-05   -.42457E-03
  22  Prefactor     1.1202        .17372        .46144E-06   -.48060E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.86537
  Prefactor  = 33.6198
  Prefactor  = 0.000100006
  Prefactor  = 0.000100002
  Prefactor  = 42.6864
  norm       = 62.156
  norm       = 0.0220719
  Prefactor  = 0.0001
  norm       = 20.4436
  norm       = 5.0153
  Prefactor  = 0.0001
  Prefactor  = 2.51388
  Prefactor  = 7.19674
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.8542
  norm       = 0.0001
  norm       = 11.4767
  Prefactor  = 13.9794
  Prefactor  = 0.0001
  Normalizat = 1.00241
  Prefactor  = 1.12015
 **********
 **   18 **HESSE 
 **********

 FCN=   5608.806     FROM HESSE     STATUS=OK           348 CALLS     2741 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8654        8.1633        .13459E-03   -1.5112    
   2  Prefactor     33.620        20.838        .69115E-04   -1.4548    
   3  Prefactor     .10001E-03    79.185        .37410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    138.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     42.686        36.258        .30680E-03   -1.4400    
   6  norm          62.156        38.545        .50880E-04   -1.4130    
   7  norm          .22072E-01    .32118        .53780E-03   -1.5678    
   8  Prefactor     .10000E-03    24.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          20.444        12.499        .88586E-04   -1.4803    
  10  norm          5.0153        7.2090        .17957E-03   -1.5260    
  11  Prefactor     .10000E-03    4.6028        .15673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5139        22.820        .25788E-03   -1.5391    
  13  Prefactor     7.1967        10.660        .14953E-03   -1.5171    
  14  Prefactor     .10000E-03    15.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.8150        .14118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.854        5.4431        .10805E-03   -1.4991    
  17  norm          .10000E-03    6.5157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.477        21.530        .59123E-03   -1.5030    
  19  Prefactor     13.979        8.2155        .10713E-03   -1.4960    
  20  Prefactor     .10000E-03    7.6237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0024        .28835        .32692E-03   -.92950    
  22  Prefactor     1.1202        .20243        .22188E-03   -.88825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8962e-10
Minuit parameter uncertainties:
  1  8.16431
  2  20.8423
  3  0.00136237
  4  0.00114727
  5  36.2771
  6  38.5605
  7  0.168011
  8  5.07242e-05
  9  12.501
  10  7.21029
  11  1.37732e-06
  12  15.1554
  13  10.6624
  14  5.33539e-05
  15  2.32869e-05
  16  5.44336
  17  2.47798e-05
  18  21.5446
  19  8.2162
  20  6.90536e-06
  21  0.2888
  22  0.202571
Done.

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

Extracting fit parameters...

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  2.044e+01  1.250e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  2.205e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
313         beta:  1.653e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  5.956e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  1.120e+00  2.026e-01  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.002e+00  2.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.52
Ra Dec: 198.217 -4.420
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 6.80e-08 +/- 4.15e-08
Energy Flux (Fixed Index): 2.52e-05 +/- 1.54e-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) = 5608.24402885
delta logL = 0.562172019872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5608.20030948
delta logL = 0.605891385147

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.013       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4981       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0391       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1092       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5750E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5608.200     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      213 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.971        10.977        .25022E-02    .32395E-05
   2  alpha         1.4968        .45936        .35263       -.29471E-04
   3  Normalizat    1.0386        .23989        .72723E-01    .31951E-05
   4  Prefactor     1.1094        .17170        .37248E-01   -.34237E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.9706
  alpha      = 1.49683
  Normalizat = 1.03857
  Prefactor  = 1.1094
 **********
 **   18 **HESSE 
 **********

 FCN=   5608.200     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.971        15.128        .10009E-03   -1.4908    
   2  alpha         1.4968        .67208        .14559E-01   -.41290    
   3  Normalizat    1.0386        .28020        .32180E-03   -.91749    
   4  Prefactor     1.1094        .20066        .22286E-03   -.89167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22898e-09
Minuit parameter uncertainties:
  1  15.1312
  2  0.682119
  3  0.280596
  4  0.200794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/368685': 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) = 5608.20030283
delta logL = 0.60589803407

Extracting fit parameters...

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  1.597e+01  1.513e+01  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  1.497e+00  6.821e-01  0.000e+00  5.000e+00 ( 1.000e+00)
313         beta:  1.653e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
314           Eb:  5.956e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
572    Prefactor:  1.109e+00  2.008e-01  0.000e+00  1.000e+01 ( 1.000e+00)
573        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
574        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
571   Normalization:  1.039e+00  2.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.71
Ra Dec: 198.217 -4.420
Photon Index (Free Index): 1.50 +/- 0.68
Photon Flux (Free Index): 3.40e-08 +/- 3.72e-08
Energy Flux (Free Index): 3.45e-05 +/- 2.72e-05

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/368685/cmap_HighResolution_359856001_360115201_4FGL_J1312.8-0425_daily_bin465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.80e-08', energy_flux2='3.45e-05', photon_flux_error='4.15e-08', dlogl='6.06e-01', energy_flux='2.52e-05', photon_flux2='3.40e-08', job_status='DONE', time_completed='2021-09-07 06:02:34.699146', photon_index_error2='0.68', photon_index2='1.50', ts='5.52', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='2.72e-05', EG='1.00', time_epoch_completed='1631019754.7', return_code='0', job_id='368685', GAL2='1.11', EG2='1.04', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='3.72e-08', ts2='6.71', photon_index='2.21' WHERE bin_id='465' AND source_name='4FGL J1312.8-0425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:02:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 368685: <4FGL_J1312.8-0425_daily_bin465> in cluster <slac> Done

Job <4FGL_J1312.8-0425_daily_bin465> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Sep  7 05:50:46 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 05:51:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 05:51:16 2021
Terminated at Tue Sep  7 06:02:35 2021
Results reported at Tue Sep  7 06:02:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1312.8-0425_daily_bin465 198.217 -4.4196 359856001 360115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1312.8-0425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   554.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   679 sec.
    Turnaround time :                            709 sec.

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

