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


Performing analysis on: 4FGL_J1408.9-0751_daily_bin575
RA = 212.236, Dec = -7.8575
tmin = 388368001, tmax = 388627201
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='225391', job_status='RUN', time_executed='2021-09-09 03:13:20.874548', time_epoch_executed='1631182400.87' WHERE source_name='4FGL J1408.9-0751' and cadence='daily' and bin_id='575'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225391

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225391/ft1_4FGL_J1408.9-0751_daily_bin575.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225391/ft2_4FGL_J1408.9-0751_daily_bin575.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225391/ft1_4FGL_J1408.9-0751_daily_bin575.fits outfile=/scratch/kocevski/225391/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin575.fits ra=212.236 dec=-7.8575 rad=12.0 tmin=388368001.0 tmax=388627201.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 4.40
user 4.18
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225391/ft1_filtered_4FGL_J1408.9-0751_daily_bin575.fits" evtable="EVENTS" scfile=/scratch/kocevski/225391/ft2_4FGL_J1408.9-0751_daily_bin575.fits sctable="SC_DATA" outfile=/scratch/kocevski/225391/ltcube_388368001_388627201_4FGL_J1408.9-0751_daily_bin575.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/225391/ft2_4FGL_J1408.9-0751_daily_bin575.fits
.....................!
real 11.82
user 11.49
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225391/ft1_filtered_4FGL_J1408.9-0751_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/225391/ft2_4FGL_J1408.9-0751_daily_bin575.fits sctable="SC_DATA" expcube=/scratch/kocevski/225391/ltcube_388368001_388627201_4FGL_J1408.9-0751_daily_bin575.fits outfile=/scratch/kocevski/225391/expmap_388368001_388627201_4FGL_J1408.9-0751_daily_bin575.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/225391/ltcube_388368001_388627201_4FGL_J1408.9-0751_daily_bin575.fits
.....................!
real 190.79
user 186.29
sys 4.12

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/225391/ft1_filtered_4FGL_J1408.9-0751_daily_bin575.fits scfile=/scratch/kocevski/225391/ft2_4FGL_J1408.9-0751_daily_bin575.fits outfile=/scratch/kocevski/225391/cmap_388368001_388627201_4FGL_J1408.9-0751_daily_bin575.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225391/ft1_filtered_4FGL_J1408.9-0751_daily_bin575.fits scfile=/scratch/kocevski/225391/ft2_4FGL_J1408.9-0751_daily_bin575.fits outfile=/scratch/kocevski/225391/cmap_HighResolution_388368001_388627201_4FGL_J1408.9-0751_daily_bin575.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.51
user 0.38
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/225391/ft1_filtered_4FGL_J1408.9-0751_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/225391/ft2_4FGL_J1408.9-0751_daily_bin575.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225391/Model_4FGL_J1408.9-0751_daily_bin575.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/225391/ft1_filtered_4FGL_J1408.9-0751_daily_bin575.fits.....................!
real 63.56
user 62.15
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1617       1.0000         .10000E-03   10000.    
     3 'norm      '    3.0894       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    11.279       1.0000         .10000E-03   10000.    
     6 'norm      '    44.482       1.0000         .10000E-03   10000.    
     7 'norm      '    .15793       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0866       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.784       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.578       1.0000         .10000E-03   10000.    
    13 'norm      '    4.5886       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    28.633       1.0000         .10000E-03   10000.    
    16 'norm      '    16.390       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4438       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0368       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=   7761.942     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2478 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6243        .90712E-02** at limit **
   2  Prefactor     9.1597        14.287        .33103E-02   -.13940E-03
   3  norm          3.0894        1.8608        .57685E-02    .37313E-03
   4  norm          .10000E-03    1.9665        .90712E-02** at limit **
   5  norm          11.278        9.1159        .29822E-02   -.68794E-03
   6  norm          44.482        44.176        .15028E-02    .79356E-04
   7  norm          .15605        3.8616        .57338E-01    .72093E-03
   8  Prefactor     2.0886        6.3537        .71456E-02    .72607E-03
   9  Prefactor     .10001E-03    7.5363        .90712E-02** at limit **
  10  Prefactor     36.785        38.728        .16520E-02   -.86664E-03
  11  norm          .10000E-03    3.4352        .90712E-02** at limit **
  12  Prefactor     13.577        14.777        .27175E-02    .38798E-04
  13  norm          4.5887        2.5377        .46978E-02    .78345E-04
  14  Prefactor     .10000E-03    8.9419        .90712E-02** at limit **
  15  norm          28.634        15.615        .18718E-02    .17207E-04
  16  norm          16.390        8.9638        .24733E-02   -.37954E-04
  17  Prefactor     .10003E-03    6.7625        .90712E-02** at limit **
  18  Prefactor     .10000E-03    47.131        .90712E-02** at limit **
  19  norm          .10002E-03    6.5553        .90712E-02** at limit **
  20  Prefactor     .10000E-03    2.8147        .90712E-02** at limit **
  21  Prefactor     .10000E-03    32.080        .90712E-02** at limit **
  22  Normalizat    1.4438        .24582        .77374E-01    .28056E-04
  23  Prefactor     1.0368        .12650        .40754E-01    .37384E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.15974
  norm       = 3.0894
  norm       = 0.0001
  norm       = 11.2784
  norm       = 44.4817
  norm       = 0.156049
  Prefactor  = 2.08858
  Prefactor  = 0.000100008
  Prefactor  = 36.785
  norm       = 0.0001
  Prefactor  = 13.5773
  norm       = 4.58868
  Prefactor  = 0.000100001
  norm       = 28.6335
  norm       = 16.3897
  Prefactor  = 0.000100027
  Prefactor  = 0.000100001
  norm       = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 1.44382
  Prefactor  = 1.03675
 **********
 **   18 **HESSE 
 **********

 FCN=   7761.942     FROM HESSE     STATUS=OK           368 CALLS     2846 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1597        14.247        .13241E-03   -1.5103    
   3  norm          3.0894        1.8613        .89171E-04   -1.5356    
   4  norm          .10000E-03    1.9710        .12024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          11.278        9.0555        .11929E-03   -1.5036    
   6  norm          44.482        44.200        .60113E-04   -1.4373    
   7  norm          .15605        29.903        .33286E-02   -1.5629    
   8  Prefactor     2.0886        6.3032        .28582E-03   -1.5419    
   9  Prefactor     .10001E-03    7.5405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     36.785        38.694        .66080E-04   -1.4494    
  11  norm          .10000E-03    3.4428        .15930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.577        14.800        .10870E-03   -1.4971    
  13  norm          4.5887        2.5380        .10029E-03   -1.5280    
  14  Prefactor     .10000E-03    8.9531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.634        15.619        .74871E-04   -1.4637    
  16  norm          16.390        8.9631        .98931E-04   -1.4898    
  17  Prefactor     .10003E-03    6.7702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    47.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    6.5683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8376        .14432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    32.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.4438        .28862        .34243E-03   -.79370    
  23  Prefactor     1.0368        .14923        .20832E-03   -.91514    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21478e-08
Minuit parameter uncertainties:
  1  0.000105191
  2  14.252
  3  1.86133
  4  1.78826e-06
  5  9.05662
  6  44.2321
  7  4.32113
  8  6.30519
  9  0.000491427
  10  38.7201
  11  3.25653e-07
  12  14.8038
  13  2.53811
  14  0.000141123
  15  15.6212
  16  8.96388
  17  0.000862664
  18  0.000322346
  19  0.000646729
  20  3.78455e-06
  21  0.000464795
  22  0.288949
  23  0.149286
Done.

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

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  4.589e+00  2.538e+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.037e+00  1.493e-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.444e+00  2.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.49
Ra Dec: 212.236 -7.857
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 7.37e-08 +/- 4.08e-08
Energy Flux (Fixed Index): 2.75e-05 +/- 1.52e-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) = 7761.49663072
delta logL = 0.445076376767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7761.46842775
delta logL = 0.473279353096

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4847       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8682       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4724       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0291       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=   7761.468     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      267 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4848        3.1506        .11519E-03   -.11814E-02
   2  alpha         1.8682        .47013        .13850E-01   -.10196E-03
   3  Normalizat    1.4724        .27675        .33972E-03    .13266E-03
   4  Prefactor     1.0291        .14611        .20903E-03    .95561E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.48476
  alpha      = 1.86821
  Normalizat = 1.47237
  Prefactor  = 1.02914
 **********
 **   18 **HESSE 
 **********

 FCN=   7761.468     FROM HESSE     STATUS=OK            23 CALLS      290 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4848        3.1510        .23037E-04   -1.5240    
   2  alpha         1.8682        .47011        .55401E-03   -.25549    
   3  Normalizat    1.4724        .27695        .13589E-04   -.78558    
   4  Prefactor     1.0291        .14623        .83611E-05   -.91765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.64793e-10
Minuit parameter uncertainties:
  1  3.15107
  2  0.473122
  3  0.277237
  4  0.146284
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225391': 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) = 7761.46842775
delta logL = 0.473279354155

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  5.485e+00  3.151e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.868e+00  4.731e-01  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.029e+00  1.463e-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.472e+00  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.44
Ra Dec: 212.236 -7.857
Photon Index (Free Index): 1.87 +/- 0.47
Photon Flux (Free Index): 4.60e-08 +/- 3.74e-08
Energy Flux (Free Index): 3.77e-05 +/- 2.76e-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/225391/cmap_HighResolution_388368001_388627201_4FGL_J1408.9-0751_daily_bin575.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.37e-08', energy_flux2='3.77e-05', photon_flux_error='4.08e-08', dlogl='4.73e-01', energy_flux='2.75e-05', photon_flux2='4.60e-08', job_status='DONE', time_completed='2021-09-09 03:23:31.794971', photon_index_error2='0.47', photon_index2='1.87', ts='9.49', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.76e-05', EG='1.44', time_epoch_completed='1631183011.8', return_code='0', job_id='225391', GAL2='1.03', EG2='1.47', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='3.74e-08', ts2='10.44', photon_index='2.33' WHERE bin_id='575' AND source_name='4FGL J1408.9-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:23:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 225391: <4FGL_J1408.9-0751_daily_bin575> in cluster <slac> Done

Job <4FGL_J1408.9-0751_daily_bin575> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 03:10:32 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:10:34 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:10:34 2021
Terminated at Thu Sep  9 03:23:35 2021
Results reported at Thu Sep  9 03:23:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1408.9-0751_daily_bin575 212.236 -7.8575 388368001 388627201 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 :                                   611.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            783 sec.

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

