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


Performing analysis on: 4FGL_J1408.9-0751_daily_bin175
RA = 212.236, Dec = -7.8575
tmin = 284688001, tmax = 284947201
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='222232', job_status='RUN', time_executed='2021-09-09 03:04:33.268255', time_epoch_executed='1631181873.27' WHERE source_name='4FGL J1408.9-0751' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222232

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222232/ft1_4FGL_J1408.9-0751_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222232/ft1_4FGL_J1408.9-0751_daily_bin175.fits outfile=/scratch/kocevski/222232/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin175.fits ra=212.236 dec=-7.8575 rad=12.0 tmin=284688001.0 tmax=284947201.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.40
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.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/222232/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin175.fits evtable="EVENTS" outfile="/scratch/kocevski/222232/ft1_filtered_4FGL_J1408.9-0751_daily_bin175.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222232/ft1_filtered_4FGL_J1408.9-0751_daily_bin175.fits" evtable="EVENTS" scfile=/scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits sctable="SC_DATA" outfile=/scratch/kocevski/222232/ltcube_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.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/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits
.....................!
real 11.87
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222232/ft1_filtered_4FGL_J1408.9-0751_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/222232/ltcube_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.fits outfile=/scratch/kocevski/222232/expmap_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.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/222232/ltcube_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.fits
.....................!
real 191.86
user 186.22
sys 5.32

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

Setting source of interest to:
4FGL J1408.9-0751 @ 212.236 -7.8575

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/222232/ft1_filtered_4FGL_J1408.9-0751_daily_bin175.fits scfile=/scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits outfile=/scratch/kocevski/222232/cmap_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.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=212.236 yref=-7.8575 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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222232/ft1_filtered_4FGL_J1408.9-0751_daily_bin175.fits scfile=/scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits outfile=/scratch/kocevski/222232/cmap_HighResolution_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.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=212.236 yref=-7.8575 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.37
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222232/ft1_filtered_4FGL_J1408.9-0751_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222232/Model_4FGL_J1408.9-0751_daily_bin175.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/222232/ft1_filtered_4FGL_J1408.9-0751_daily_bin175.fits.....................!
real 63.51
user 62.25
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222232/ft1_filtered_4FGL_J1408.9-0751_daily_bin175.fits', '/scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits', expMap='/scratch/kocevski/222232/expmap_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.fits', expCube='/scratch/kocevski/222232/ltcube_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222232/Model_4FGL_J1408.9-0751_daily_bin175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1408.9-0751'

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  1.948e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  7.373e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.104e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/222232/ft1_filtered_4FGL_J1408.9-0751_daily_bin175.fits
Spacecraft file(s): /scratch/kocevski/222232/ft2_4FGL_J1408.9-0751_daily_bin175.fits
Exposure map: /scratch/kocevski/222232/expmap_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.fits
Exposure cube: /scratch/kocevski/222232/ltcube_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222232/Model_4FGL_J1408.9-0751_daily_bin175.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) = 7815.23116449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.799       1.0000         .10000E-03   10000.    
     3 'norm      '    12.516       1.0000         .10000E-03   10000.    
     4 'norm      '    .10438E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.2083       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1568       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.218       1.0000         .10000E-03   10000.    
    11 'norm      '    6.2659       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .41642E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.2401       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.099       1.0000         .10000E-03   10000.    
    19 'norm      '    .15043       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .60988E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10417E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1268       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2139       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7815.226     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     2142 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.7258       -.10672E-05** at limit **
   2  Prefactor     10.798        6.3185       -.17206E-04   -.94305E-02
   3  norm          12.517        2.6812       -.11130E-05    .44242E-03
   4  norm          .10000E-03    2.7688       -.39235E-05** at limit **
   5  norm          4.2087        1.4167        .39722E-05    .73771E-03
   6  norm          .10000E-03    11.218       -.12552E-04** at limit **
   7  norm          1.1553        4.2181        .11971E-05   -.17046E-04
   8  Prefactor     .10000E-03    2.0183       -.33605E-05** at limit **
   9  Prefactor     .10000E-03    12.776        .17550E-04** at limit **
  10  Prefactor     15.212        1.2767       -.18855E-05   -.19458E-03
  11  norm          6.2658        1.1932        .24096E-05    .23453E-02
  12  Prefactor     .10000E-03    8.2793        .74432E-05** at limit **
  13  norm          .10004E-03    .97293       -.73011E-05** at limit **
  14  Prefactor     .10000E-03    6.3875        .21560E-07** at limit **
  15  norm          .10000E-03    3.8075       -.31222E-05** at limit **
  16  norm          .10000E-03    2.5714        .23585E-05** at limit **
  17  Prefactor     8.2381        2.9366        .92052E-05    .16333E-02
  18  Prefactor     10.121        23.033        .70577E-04   -.18804E-02
  19  norm          .10085E-03    281.58       -.36766E-04** at limit **
  20  Prefactor     .10007E-03    32.749       -.10419E-04** at limit **
  21  Prefactor     .10641E-03    41.658        .89282E-04** at limit **
  22  Normalizat    1.1265        .27205        .99196E-05   -.75762E-04
  23  Prefactor     1.2142        .14652       -.34353E-05   -.13415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.7985
  norm       = 12.5168
  norm       = 0.0001
  norm       = 4.20872
  norm       = 0.0001
  norm       = 1.15535
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 15.2121
  norm       = 6.26579
  Prefactor  = 0.0001
  norm       = 0.000100035
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 8.2381
  Prefactor  = 10.1214
  norm       = 0.000100848
  Prefactor  = 0.000100068
  Prefactor  = 0.00010641
  Normalizat = 1.12649
  Prefactor  = 1.21422
 **********
 **   18 **HESSE 
 **********

 FCN=   7815.226     FROM HESSE     STATUS=OK           434 CALLS     2576 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.7151        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.798        13.838        .30479E-02   -1.5051    
   3  norm          12.517        2.6748        .28306E-02   -1.5000    
   4  norm          .10000E-03    2.7574        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.2087        5.9201        .49111E-02   -1.5298    
   6  norm          .10000E-03    11.707        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1553        4.2409        .10728E-01   -1.5493    
   8  Prefactor     .10000E-03    2.0082        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.813        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.212        27.751        .25668E-02   -1.4928    
  11  norm          6.2658        6.7650        .40091E-02   -1.5207    
  12  Prefactor     .10000E-03    8.2346        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10004E-03    1.1375        .62169E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.3963        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.8071        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.5650        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.2381        17.769        .34916E-02   -1.5134    
  18  Prefactor     10.121        29.446        .31522E-02   -1.5072    
  19  norm          .10085E-03    16.190        .11947       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10007E-03    5.6287        .71140E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10641E-03    197.99        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1265        .24222        .84936E-01   -.88906    
  23  Prefactor     1.2142        .12963        .34309E-01   -.85895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46115e-07
Minuit parameter uncertainties:
  1  3.80524e-05
  2  13.8421
  3  2.67481
  4  9.5745e-06
  5  5.92093
  6  1.1274e-05
  7  4.24197
  8  7.81446e-06
  9  0.000163418
  10  27.7748
  11  6.76579
  12  3.24368e-05
  13  0.000401515
  14  2.78989e-05
  15  1.84075e-05
  16  9.81578e-06
  17  17.7802
  18  29.488
  19  0.00741225
  20  0.0012411
  21  0.0714865
  22  0.242457
  23  0.129667
Done.

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

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  1.000e-04  4.015e-04  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.331e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  7.373e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.104e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.214e+00  1.297e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.126e+00  2.425e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 212.236 -7.857
Photon Flux Upper Limit: 9.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.72e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222232/likelihoodResults_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.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): 102
logL (Free Index) = 7815.22657866
delta logL = -0.000315466061693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7815.22622781
delta logL = 3.53850364263e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25823E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4566       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1264       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2143       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5320E+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=   7814.928     FROM MIGRAD    STATUS=CONVERGED    160 CALLS      339 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30365E-01    2.7198        .20871E-03   -.11842E-02
   2  alpha         4.7886        4.7495        .69543E-01   -.13376E-04
   3  Normalizat    1.0581        .18630        .38676E-03    .55779E-03
   4  Prefactor     1.2354        .94483E-01    .19445E-03    .10309E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0303645
  alpha      = 4.78861
  Normalizat = 1.05814
  Prefactor  = 1.23543
 **********
 **   18 **HESSE 
 **********

 FCN=   7814.928     FROM HESSE     STATUS=OK            27 CALLS      366 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30365E-01    2.6981        .83485E-05   -1.5673    
   2  alpha         4.7886        4.6774        .27817E-02    1.1566    
   3  Normalizat    1.0581        .28491        .77353E-04   -.91107    
   4  Prefactor     1.2354        .14671        .38891E-04   -.85248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0261e-09
Minuit parameter uncertainties:
  1  0.571535
  2  8.46412
  3  0.285318
  4  0.146757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222232': 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) = 7814.92815409
delta logL = 0.298109106398

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  3.036e-02  5.715e-01  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  4.789e+00  8.464e+00  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  7.373e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  1.104e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.235e+00  1.468e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.058e+00  2.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 212.236 -7.857

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/222232/cmap_HighResolution_284688001_284947201_4FGL_J1408.9-0751_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.72e-05', job_status='DONE', photon_flux_upper_limit='9.96e-08', time_completed='2021-09-09 03:15:48.944597', job_id='222232', GAL2='1.24', fit_tolerance='1e-08', EG2='1.06', EG='1.13', time_epoch_completed='1631182548.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='2.98e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='175' AND source_name='4FGL J1408.9-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:15:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 222232: <4FGL_J1408.9-0751_daily_bin175> in cluster <slac> Done

Job <4FGL_J1408.9-0751_daily_bin175> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 03:00:24 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:00:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 03:00:26 2021
Terminated at Thu Sep  9 03:15:49 2021
Results reported at Thu Sep  9 03:15:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1408.9-0751_daily_bin175 212.236 -7.8575 284688001 284947201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1408.9-0751 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   671.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

