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


Performing analysis on: 4FGL_J1408.9-0751_daily_bin719
RA = 212.236, Dec = -7.8575
tmin = 425692801, tmax = 425952001
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='226744', job_status='RUN', time_executed='2021-09-09 03:15:41.275159', time_epoch_executed='1631182541.28' WHERE source_name='4FGL J1408.9-0751' and cadence='daily' and bin_id='719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/226744

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/226744/ft1_4FGL_J1408.9-0751_daily_bin719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/226744/ft2_4FGL_J1408.9-0751_daily_bin719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/226744/ft1_4FGL_J1408.9-0751_daily_bin719.fits outfile=/scratch/kocevski/226744/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin719.fits ra=212.236 dec=-7.8575 rad=12.0 tmin=425692801.0 tmax=425952001.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.59
user 3.37
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/226744/ft2_4FGL_J1408.9-0751_daily_bin719.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/226744/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin719.fits evtable="EVENTS" outfile="/scratch/kocevski/226744/ft1_filtered_4FGL_J1408.9-0751_daily_bin719.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/226744/ft1_filtered_4FGL_J1408.9-0751_daily_bin719.fits" evtable="EVENTS" scfile=/scratch/kocevski/226744/ft2_4FGL_J1408.9-0751_daily_bin719.fits sctable="SC_DATA" outfile=/scratch/kocevski/226744/ltcube_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.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/226744/ft2_4FGL_J1408.9-0751_daily_bin719.fits
.....................!
real 11.73
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/226744/ft1_filtered_4FGL_J1408.9-0751_daily_bin719.fits evtable="EVENTS" scfile=/scratch/kocevski/226744/ft2_4FGL_J1408.9-0751_daily_bin719.fits sctable="SC_DATA" expcube=/scratch/kocevski/226744/ltcube_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.fits outfile=/scratch/kocevski/226744/expmap_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.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/226744/ltcube_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.fits
.....................!
real 191.77
user 186.44
sys 4.80

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/226744/ft1_filtered_4FGL_J1408.9-0751_daily_bin719.fits scfile=/scratch/kocevski/226744/ft2_4FGL_J1408.9-0751_daily_bin719.fits outfile=/scratch/kocevski/226744/cmap_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/226744/ft1_filtered_4FGL_J1408.9-0751_daily_bin719.fits scfile=/scratch/kocevski/226744/ft2_4FGL_J1408.9-0751_daily_bin719.fits outfile=/scratch/kocevski/226744/cmap_HighResolution_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/226744/ft1_filtered_4FGL_J1408.9-0751_daily_bin719.fits evtable="EVENTS" scfile=/scratch/kocevski/226744/ft2_4FGL_J1408.9-0751_daily_bin719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/226744/Model_4FGL_J1408.9-0751_daily_bin719.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/226744/ft1_filtered_4FGL_J1408.9-0751_daily_bin719.fits.....................!
real 66.46
user 65.13
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/226744/ft1_filtered_4FGL_J1408.9-0751_daily_bin719.fits', '/scratch/kocevski/226744/ft2_4FGL_J1408.9-0751_daily_bin719.fits', expMap='/scratch/kocevski/226744/expmap_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.fits', expCube='/scratch/kocevski/226744/ltcube_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/226744/Model_4FGL_J1408.9-0751_daily_bin719.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/226744/ft1_filtered_4FGL_J1408.9-0751_daily_bin719.fits
Spacecraft file(s): /scratch/kocevski/226744/ft2_4FGL_J1408.9-0751_daily_bin719.fits
Exposure map: /scratch/kocevski/226744/expmap_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.fits
Exposure cube: /scratch/kocevski/226744/ltcube_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/226744/Model_4FGL_J1408.9-0751_daily_bin719.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) = 8813.89632238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3234       1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.342       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8719       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7146       1.0000         .10000E-03   10000.    
     5 'norm      '    .95374       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.3502       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .40580E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.6727       1.0000         .10000E-03   10000.    
    13 'norm      '    4.3770       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      '    8.9802       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    17.547       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10621E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    36.408       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .93076       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0918       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.

 FCN=   8813.894     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2542 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3240        9.9842        .16814E-05    .31293E-03
   2  Prefactor     29.323        29.524       -.23818E-05    .24554E-03
   3  norm          1.8720        1.2776        .77846E-07    .11200E-03
   4  norm          3.7189        6.3435        .22676E-05    .14248E-02
   5  norm          .95241        3.4110        .18222E-05    .39595E-03
   6  norm          .10000E-03    10.752        .69137E-06** at limit **
   7  norm          2.3504        3.1987        .11103E-05    .96498E-03
   8  Prefactor     .38887E-01    4.9954       -.39411E-05    .12966E-02
   9  Prefactor     .10000E-03    10.843        .49192E-06** at limit **
  10  Prefactor     .10000E-03    21.506        .16628E-05** at limit **
  11  norm          .10000E-03    3.3229       -.36075E-06** at limit **
  12  Prefactor     8.6741        9.7602        .51864E-06    .60998E-05
  13  norm          4.3770        2.6481        .77339E-07    .20825E-03
  14  Prefactor     .10000E-03    6.3680        .19942E-06** at limit **
  15  norm          .10000E-03    2.9341       -.14862E-06** at limit **
  16  norm          8.9798        5.7917       -.39690E-07    .48859E-04
  17  Prefactor     .10000E-03    17.654       -.38396E-05** at limit **
  18  Prefactor     .10000E-03    7.9571       -.12991E-05** at limit **
  19  norm          17.547        12.275       -.15602E-06   -.98999E-04
  20  Prefactor     .10000E-03    3.0385        .48416E-05** at limit **
  21  Prefactor     36.393        59.196        .36734E-06   -.16377E-03
  22  Normalizat    .93066        .20289       -.22536E-05    .89304E-04
  23  Prefactor     1.0919        .10665        .76194E-07   -.18880E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.324
  Prefactor  = 29.3231
  norm       = 1.87201
  norm       = 3.71886
  norm       = 0.952406
  norm       = 0.0001
  norm       = 2.35035
  Prefactor  = 0.0388866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.67409
  norm       = 4.377
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.97984
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.5473
  Prefactor  = 0.0001
  Prefactor  = 36.3926
  Normalizat = 0.930663
  Prefactor  = 1.09188
 **********
 **   18 **HESSE 
 **********

 FCN=   8813.894     FROM HESSE     STATUS=OK           378 CALLS     2920 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3240        9.9935        .87096E-03   -1.5246    
   2  Prefactor     29.323        30.019        .73963E-04   -1.4624    
   3  norm          1.8720        1.2711        .83872E-04   -1.5434    
   4  norm          3.7189        6.4345        .84944E-03   -1.5322    
   5  norm          .95241        3.3083        .30225E-03   -1.5513    
   6  norm          .10000E-03    10.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.3504        3.1950        .95316E-03   -1.5401    
   8  Prefactor     .38887E-01    4.7860        .41341E-01   -1.5669    
   9  Prefactor     .10000E-03    10.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.3505        .16695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.6741        9.7716        .13611E-03   -1.5119    
  13  norm          4.3770        2.6471        .11155E-03   -1.5290    
  14  Prefactor     .10000E-03    6.3792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.9370        .15705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.9798        5.7900        .13375E-03   -1.5109    
  17  Prefactor     .10000E-03    17.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.9867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          17.547        12.280        .95614E-04   -1.4870    
  20  Prefactor     .10000E-03    3.0511        .15872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     36.393        59.130        .66420E-04   -1.4501    
  22  Normalizat    .93066        .23229        .34994E-03   -.95391    
  23  Prefactor     1.0919        .12269        .17991E-03   -.89727    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95161e-09
Minuit parameter uncertainties:
  1  9.99664
  2  30.0344
  3  1.27116
  4  6.43569
  5  3.3089
  6  5.16328e-05
  7  3.19526
  8  0.86177
  9  6.17046e-05
  10  0.000132864
  11  1.10855e-05
  12  9.77337
  13  2.6472
  14  2.14829e-05
  15  1.45448e-06
  16  5.79038
  17  0.000116153
  18  5.56463e-05
  19  12.2813
  20  2.71774e-06
  21  59.2258
  22  0.232538
  23  0.122719
Done.

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

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  4.377e+00  2.647e+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

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.092e+00  1.227e-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:  9.307e-01  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.74
Ra Dec: 212.236 -7.857
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 7.03e-08 +/- 4.25e-08
Energy Flux (Fixed Index): 2.62e-05 +/- 1.59e-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) = 8813.47552234
delta logL = 0.418449419505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8813.46597945
delta logL = 0.427992318817

Fit tolerance = 1e-08

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

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

 FCN=   8813.466     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      268 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2129        14.960        .69075E-02    .66264E-03
   2  alpha         2.9983        3.7196        .25184        .10542E-03
   3  Normalizat    .86753        .69162E-01    .81558E-01    .39696E-04
   4  Prefactor     1.1147        .34371E-01    .37060E-01   -.16578E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.21294
  alpha      = 2.99827
  Normalizat = 0.867529
  Prefactor  = 1.11471
 **********
 **   18 **HESSE 
 **********

 FCN=   8813.466     FROM HESSE     STATUS=OK            33 CALLS      301 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2129        5.2479        .67365E-04   -1.5410    
   2  alpha         2.9983        1.3909        .94566E-02    .20065    
   3  Normalizat    .86753        .24319        .36107E-03   -.97611    
   4  Prefactor     1.1147        .12858        .17830E-03   -.88998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.52424e-08
Minuit parameter uncertainties:
  1  5.24895
  2  1.47912
  3  0.243495
  4  0.128618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/226744': 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) = 8813.46597403
delta logL = 0.427997730241

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  2.213e+00  5.249e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.998e+00  1.479e+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.115e+00  1.286e-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:  8.675e-01  2.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.79
Ra Dec: 212.236 -7.857
Photon Index (Free Index): 3.00 +/- 1.48
Photon Flux (Free Index): 1.12e-07 +/- 7.47e-08
Energy Flux (Free Index): 2.41e-05 +/- 1.51e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/226744/cmap_HighResolution_425692801_425952001_4FGL_J1408.9-0751_daily_bin719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.03e-08', energy_flux2='2.41e-05', photon_flux_error='4.25e-08', dlogl='4.28e-01', energy_flux='2.62e-05', photon_flux2='1.12e-07', job_status='DONE', time_completed='2021-09-09 03:26:50.765361', photon_index_error2='1.48', photon_index2='3.00', ts='4.74', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.51e-05', EG='0.93', time_epoch_completed='1631183210.77', return_code='0', job_id='226744', GAL2='1.11', EG2='0.87', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='7.47e-08', ts2='5.79', photon_index='2.33' WHERE bin_id='719' AND source_name='4FGL J1408.9-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:26:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 226744: <4FGL_J1408.9-0751_daily_bin719> in cluster <slac> Done

Job <4FGL_J1408.9-0751_daily_bin719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep  9 03:15:24 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:15:27 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:15:27 2021
Terminated at Thu Sep  9 03:26:51 2021
Results reported at Thu Sep  9 03:26:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1408.9-0751_daily_bin719 212.236 -7.8575 425692801 425952001 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 :                                   667.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             379.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            687 sec.

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

