/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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


Waiting 1 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7458
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1312.8-0425_daily_bin935
RA = 198.217, Dec = -4.4196
tmin = 481680001, tmax = 481939201
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='373671', job_status='RUN', time_executed='2021-09-07 06:06:50.838039', time_epoch_executed='1631020010.84' WHERE source_name='4FGL J1312.8-0425' and cadence='daily' and bin_id='935'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373671

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373671/ft1_4FGL_J1312.8-0425_daily_bin935.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373671/ft2_4FGL_J1312.8-0425_daily_bin935.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373671/ft1_4FGL_J1312.8-0425_daily_bin935.fits outfile=/scratch/kocevski/373671/ft1_filteredMKT_4FGL_J1312.8-0425_daily_bin935.fits ra=198.217 dec=-4.4196 rad=12.0 tmin=481680001.0 tmax=481939201.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.70
user 3.42
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/373671/ft1_filtered_4FGL_J1312.8-0425_daily_bin935.fits" evtable="EVENTS" scfile=/scratch/kocevski/373671/ft2_4FGL_J1312.8-0425_daily_bin935.fits sctable="SC_DATA" outfile=/scratch/kocevski/373671/ltcube_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.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/373671/ft2_4FGL_J1312.8-0425_daily_bin935.fits
.....................!
real 16.54
user 16.08
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373671/ft1_filtered_4FGL_J1312.8-0425_daily_bin935.fits evtable="EVENTS" scfile=/scratch/kocevski/373671/ft2_4FGL_J1312.8-0425_daily_bin935.fits sctable="SC_DATA" expcube=/scratch/kocevski/373671/ltcube_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.fits outfile=/scratch/kocevski/373671/expmap_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.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/373671/ltcube_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.fits
.....................!
real 192.60
user 186.65
sys 4.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/373671/ft1_filtered_4FGL_J1312.8-0425_daily_bin935.fits scfile=/scratch/kocevski/373671/ft2_4FGL_J1312.8-0425_daily_bin935.fits outfile=/scratch/kocevski/373671/cmap_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/373671/ft1_filtered_4FGL_J1312.8-0425_daily_bin935.fits scfile=/scratch/kocevski/373671/ft2_4FGL_J1312.8-0425_daily_bin935.fits outfile=/scratch/kocevski/373671/cmap_HighResolution_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/373671/ft1_filtered_4FGL_J1312.8-0425_daily_bin935.fits evtable="EVENTS" scfile=/scratch/kocevski/373671/ft2_4FGL_J1312.8-0425_daily_bin935.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/373671/Model_4FGL_J1312.8-0425_daily_bin935.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/373671/ft1_filtered_4FGL_J1312.8-0425_daily_bin935.fits.....................!
real 68.66
user 66.84
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/373671/ft1_filtered_4FGL_J1312.8-0425_daily_bin935.fits', '/scratch/kocevski/373671/ft2_4FGL_J1312.8-0425_daily_bin935.fits', expMap='/scratch/kocevski/373671/expmap_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.fits', expCube='/scratch/kocevski/373671/ltcube_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/373671/Model_4FGL_J1312.8-0425_daily_bin935.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/373671/ft1_filtered_4FGL_J1312.8-0425_daily_bin935.fits
Spacecraft file(s): /scratch/kocevski/373671/ft2_4FGL_J1312.8-0425_daily_bin935.fits
Exposure map: /scratch/kocevski/373671/expmap_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.fits
Exposure cube: /scratch/kocevski/373671/ltcube_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/373671/Model_4FGL_J1312.8-0425_daily_bin935.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) = 9119.04423153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6882       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.4258       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    11.992       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2721       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .24592E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10533E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.9250       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12266E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.202       1.0000         .10000E-03   10000.    
    15 'norm      '    2.0917       1.0000         .10000E-03   10000.    
    16 'norm      '    16.184       1.0000         .10000E-03   10000.    
    17 'norm      '    2.9398       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.1957       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0798       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99530       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=   9119.017     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2438 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6887        5.0232        .77610E-07   -.76268E-05
   2  Prefactor     9.4279        10.487        .52589E-06   -.12160E-04
   3  Prefactor     .10000E-03    4.1521        .36951E-06** at limit **
   4  Prefactor     .10000E-03    50.077        .89003E-06** at limit **
   5  Prefactor     .10000E-03    24.260        .52673E-06** at limit **
   6  norm          11.990        18.504       -.37917E-06    .22342E-04
   7  norm          2.2718        .31011       -.82634E-07    .20896E-02
   8  Prefactor     .10000E-03    380.00       -.59437E-05** at limit **
   9  norm          .10000E-03    14.323       -.25349E-06** at limit **
  10  norm          1.9253        4.9312       -.12431E-05    .26237E-05
  11  Prefactor     .10000E-03    7.4724        .39507E-06** at limit **
  12  Prefactor     .10000E-03    76.550        .16554E-04** at limit **
  13  Prefactor     .10000E-03    6.5596        .50146E-06** at limit **
  14  Prefactor     27.194        25.387        .25244E-06   -.35518E-04
  15  norm          2.0918        1.2538        .67711E-07   -.17972E-03
  16  norm          16.186        6.2933        .52460E-07   -.81982E-04
  17  norm          2.9393        3.6908       -.45135E-07    .34972E-06
  18  norm          .10000E-03    10.942        .53981E-07** at limit **
  19  Prefactor     2.1963        3.5754        .17272E-06    .12010E-04
  20  Prefactor     .10000E-03    5.1440        .90660E-07** at limit **
  21  Normalizat    1.0798        .19280       -.19661E-05   -.55710E-04
  22  Prefactor     .99525        .12975       -.57571E-06   -.24929E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.68869
  Prefactor  = 9.42794
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.9901
  norm       = 2.27185
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 1.92527
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.1943
  norm       = 2.09178
  norm       = 16.1864
  norm       = 2.93932
  norm       = 0.0001
  Prefactor  = 2.19626
  Prefactor  = 0.0001
  Normalizat = 1.07981
  Prefactor  = 0.995249
 **********
 **   18 **HESSE 
 **********

 FCN=   9119.017     FROM HESSE     STATUS=OK           342 CALLS     2780 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6887        5.0261        .16842E-03   -1.5231    
   2  Prefactor     9.4279        10.491        .13053E-03   -1.5094    
   3  Prefactor     .10000E-03    4.2260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    50.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.990        18.490        .11568E-03   -1.5015    
   7  norm          2.2718        .30969        .18451E-04   -1.5407    
   8  Prefactor     .10000E-03    380.27        .40068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    14.824        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9253        4.9330        .14972E-02   -1.5430    
  11  Prefactor     .10000E-03    7.7486        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    74.991        .48023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.7207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.194        25.665        .76812E-04   -1.4665    
  15  norm          2.0918        1.2500        .78608E-04   -1.5419    
  16  norm          16.186        6.3627        .98293E-04   -1.4903    
  17  norm          2.9393        3.6791        .97906E-03   -1.5365    
  18  norm          .10000E-03    10.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.1963        3.5608        .22260E-03   -1.5412    
  20  Prefactor     .10000E-03    5.1523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0798        .22205        .31779E-03   -.90403    
  22  Prefactor     .99525        .15288        .23141E-03   -.92888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57521e-10
Minuit parameter uncertainties:
  1  5.02652
  2  10.4926
  3  3.59138e-05
  4  2.35841e-05
  5  0.000158317
  6  18.4992
  7  0.309693
  8  0.00027192
  9  0.000249957
  10  4.93402
  11  4.81748e-05
  12  0.000215626
  13  6.92774e-05
  14  25.6757
  15  1.24998
  16  6.36296
  17  3.67934
  18  1.43948e-05
  19  3.56117
  20  7.42784e-06
  21  0.222239
  22  0.152943
Done.

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

Extracting fit parameters...

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  1.000e-04  2.500e-04  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:  9.952e-01  1.529e-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.080e+00  2.222e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.217 -4.420
Photon Flux Upper Limit: 6.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.39e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/373671/likelihoodResults_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9119.01688278
delta logL = -0.000322069377944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9119.01656081
delta logL = -9.94605215965e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2215       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0797       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99533       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9118.998     FROM MIGRAD    STATUS=CONVERGED    135 CALLS      288 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87933E-01    .30888        .15591E-01   -.32743E-02
   2  alpha         5.0000        4.6516        .16592    ** at limit **
   3  Normalizat    1.0642        .21542        .31779E-03    .36061E-04
   4  Prefactor     1.0022        .15190        .23141E-03    .53256E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0879328
  alpha      = 5
  Normalizat = 1.06422
  Prefactor  = 1.00218
 **********
 **   18 **HESSE 
 **********

 FCN=   9118.998     FROM HESSE     STATUS=OK            27 CALLS      315 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87933E-01    .60939        .96783E-03   -1.5767    
   2  alpha         5.0000        4.6169        .66366E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0642        .22717        .12711E-04   -.90909    
   4  Prefactor     1.0022        .15533        .92562E-05   -.92657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50553e-08
Minuit parameter uncertainties:
  1  0.462714
  2  0.000162411
  3  0.227378
  4  0.155401
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373671': 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) = 9118.99841394
delta logL = 0.0181467736747

Extracting fit parameters...

4FGL J1312.8-0425
   Spectrum: LogParabola
311         norm:  8.793e-02  4.627e-01  1.000e-04  1.000e+04 ( 1.000e-12)
312        alpha:  5.000e+00  1.624e-04  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.002e+00  1.554e-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.064e+00  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.217 -4.420

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/373671/cmap_HighResolution_481680001_481939201_4FGL_J1312.8-0425_daily_bin935.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.39e-05', job_status='DONE', photon_flux_upper_limit='6.44e-08', time_completed='2021-09-07 06:20:42.518387', job_id='373671', GAL2='1.00', fit_tolerance='1e-08', EG2='1.06', EG='1.08', time_epoch_completed='1631020842.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.81e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='935' AND source_name='4FGL J1312.8-0425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:20:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 373671: <4FGL_J1312.8-0425_daily_bin935> in cluster <slac> Done

Job <4FGL_J1312.8-0425_daily_bin935> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep  7 06:05:42 2021
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:06:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 06:06:40 2021
Terminated at Tue Sep  7 06:20:43 2021
Results reported at Tue Sep  7 06:20:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1312.8-0425_daily_bin935 198.217 -4.4196 481680001 481939201 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 :                                   819.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            901 sec.

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

