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


Performing analysis on: 4FGL_J1408.9-0751_daily_bin305
RA = 212.236, Dec = -7.8575
tmin = 318384001, tmax = 318643201
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='222462', job_status='RUN', time_executed='2021-09-09 03:03:25.763241', time_epoch_executed='1631181805.76' WHERE source_name='4FGL J1408.9-0751' and cadence='daily' and bin_id='305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222462

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222462/ft1_4FGL_J1408.9-0751_daily_bin305.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222462/ft2_4FGL_J1408.9-0751_daily_bin305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222462/ft1_4FGL_J1408.9-0751_daily_bin305.fits outfile=/scratch/kocevski/222462/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin305.fits ra=212.236 dec=-7.8575 rad=12.0 tmin=318384001.0 tmax=318643201.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.25
user 3.02
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222462/ft1_filtered_4FGL_J1408.9-0751_daily_bin305.fits" evtable="EVENTS" scfile=/scratch/kocevski/222462/ft2_4FGL_J1408.9-0751_daily_bin305.fits sctable="SC_DATA" outfile=/scratch/kocevski/222462/ltcube_318384001_318643201_4FGL_J1408.9-0751_daily_bin305.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/222462/ft2_4FGL_J1408.9-0751_daily_bin305.fits
.....................!
real 11.80
user 11.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222462/ft1_filtered_4FGL_J1408.9-0751_daily_bin305.fits evtable="EVENTS" scfile=/scratch/kocevski/222462/ft2_4FGL_J1408.9-0751_daily_bin305.fits sctable="SC_DATA" expcube=/scratch/kocevski/222462/ltcube_318384001_318643201_4FGL_J1408.9-0751_daily_bin305.fits outfile=/scratch/kocevski/222462/expmap_318384001_318643201_4FGL_J1408.9-0751_daily_bin305.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/222462/ltcube_318384001_318643201_4FGL_J1408.9-0751_daily_bin305.fits
.....................!
real 190.17
user 185.28
sys 4.53

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/222462/ft1_filtered_4FGL_J1408.9-0751_daily_bin305.fits scfile=/scratch/kocevski/222462/ft2_4FGL_J1408.9-0751_daily_bin305.fits outfile=/scratch/kocevski/222462/cmap_318384001_318643201_4FGL_J1408.9-0751_daily_bin305.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222462/ft1_filtered_4FGL_J1408.9-0751_daily_bin305.fits scfile=/scratch/kocevski/222462/ft2_4FGL_J1408.9-0751_daily_bin305.fits outfile=/scratch/kocevski/222462/cmap_HighResolution_318384001_318643201_4FGL_J1408.9-0751_daily_bin305.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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222462/ft1_filtered_4FGL_J1408.9-0751_daily_bin305.fits evtable="EVENTS" scfile=/scratch/kocevski/222462/ft2_4FGL_J1408.9-0751_daily_bin305.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222462/Model_4FGL_J1408.9-0751_daily_bin305.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/222462/ft1_filtered_4FGL_J1408.9-0751_daily_bin305.fits.....................!
real 51.78
user 50.40
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.354       1.0000         .10000E-03   10000.    
     2 'Prefactor '    42.663       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0545       1.0000         .10000E-03   10000.    
     4 'norm      '    .11839E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10688E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    19.656       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2423       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5783       1.0000         .10000E-03   10000.    
    13 'norm      '    5.2662       1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.089       1.0000         .10000E-03   10000.    
    15 'norm      '    9.8154       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.061       1.0000         .10000E-03   10000.    
    19 'norm      '    .10172E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0249       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0962       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=   6121.950     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2501 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.351        14.535       -.13834E-06   -.14460E-04
   2  Prefactor     42.653        23.664       -.68447E-05   -.12205E-03
   3  norm          2.0542        1.6658       -.36889E-06   -.32102E-03
   4  norm          .10000E-03    3.6917        .12560E-05** at limit **
   5  norm          .10000E-03    11.307        .55227E-06** at limit **
   6  norm          19.656        21.027       -.15524E-06    .79645E-05
   7  norm          .10000E-03    2.7874        .42962E-06** at limit **
   8  Prefactor     2.2424        3.8481       -.32555E-06   -.41974E-03
   9  Prefactor     .10000E-03    11.418       -.24695E-05** at limit **
  10  Prefactor     .10000E-03    29.828        .13696E-04** at limit **
  11  norm          .10000E-03    2.0509        .30279E-06** at limit **
  12  Prefactor     5.5762        12.963        .11340E-06   -.45598E-04
  13  norm          5.2657        2.8665        .14180E-06    .11017E-03
  14  Prefactor     34.081        28.559       -.91414E-05    .18236E-04
  15  norm          9.8153        9.0074       -.66159E-07    .40906E-04
  16  norm          .10000E-03    1.7953       -.25672E-06** at limit **
  17  Prefactor     .10000E-03    32.211       -.30810E-04** at limit **
  18  Prefactor     17.037        29.436       -.39206E-04    .66678E-05
  19  norm          .10000E-03    7.8596        .15095E-05** at limit **
  20  Prefactor     .10000E-03    2.0924       -.43713E-06** at limit **
  21  Prefactor     .10000E-03    30.000        .11184E-04** at limit **
  22  Normalizat    1.0253        .25574        .30022E-05    .14094E-03
  23  Prefactor     1.0961        .13425        .24188E-05    .11786E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.3515
  Prefactor  = 42.6532
  norm       = 2.05421
  norm       = 0.000100001
  norm       = 0.000100001
  norm       = 19.6556
  norm       = 0.0001
  Prefactor  = 2.24245
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.5762
  norm       = 5.26569
  Prefactor  = 34.0811
  norm       = 9.81527
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0372
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02529
  Prefactor  = 1.09608
 **********
 **   18 **HESSE 
 **********

 FCN=   6121.950     FROM HESSE     STATUS=OK           366 CALLS     2867 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.351        14.543        .81171E-04   -1.4721    
   2  Prefactor     42.653        23.521        .61375E-04   -1.4401    
   3  norm          2.0542        1.6633        .86793E-04   -1.5421    
   4  norm          .10000E-03    3.7512        .29192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    11.579        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          19.656        21.028        .90341E-04   -1.4821    
   7  norm          .10000E-03    2.8199        .12756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2424        3.8249        .19404E-03   -1.5408    
   9  Prefactor     .10000E-03    11.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    29.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.0536        .10940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.5762        12.956        .17010E-03   -1.5236    
  13  norm          5.2657        2.8672        .93987E-04   -1.5249    
  14  Prefactor     34.081        28.678        .68635E-04   -1.4540    
  15  norm          9.8153        9.0094        .12790E-03   -1.5081    
  16  norm          .10000E-03    1.7969        .10238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    32.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.037        29.440        .96965E-04   -1.4882    
  19  norm          .10000E-03    7.8736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.0950        .11053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    30.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0253        .29587        .35872E-03   -.92188    
  23  Prefactor     1.0961        .15549        .18970E-03   -.89592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.78037e-10
Minuit parameter uncertainties:
  1  14.545
  2  23.5259
  3  1.66338
  4  0.000147507
  5  0.000188334
  6  21.0355
  7  6.38622e-06
  8  3.82537
  9  1.38921e-05
  10  3.33306e-05
  11  1.94018e-06
  12  12.9626
  13  2.86731
  14  28.6895
  15  9.01065
  16  2.34966e-06
  17  1.67166e-05
  18  29.4648
  19  9.2266e-05
  20  2.59495e-06
  21  3.5167e-06
  22  0.296348
  23  0.155552
Done.

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

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  5.266e+00  2.867e+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.096e+00  1.556e-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.025e+00  2.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.15
Ra Dec: 212.236 -7.857
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 8.46e-08 +/- 4.60e-08
Energy Flux (Fixed Index): 3.15e-05 +/- 1.72e-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) = 6121.36336129
delta logL = 0.586911508229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6121.36334113
delta logL = 0.586931669376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.0926       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8046       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0810       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=   6121.363     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      231 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.0951        23.313        .37657E-02    .49316E-03
   2  alpha         1.8049        3.3515        .31194        .12251E-04
   3  Normalizat    1.0676        .31468        .79561E-01    .44687E-04
   4  Prefactor     1.0809        .15061        .38358E-01   -.10700E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.09513
  alpha      = 1.8049
  Normalizat = 1.0676
  Prefactor  = 1.08095
 **********
 **   18 **HESSE 
 **********

 FCN=   6121.363     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.0951        3.8468        .54439E-03   -1.5175    
   2  alpha         1.8049        .43947        .12221E-01   -.28175    
   3  Normalizat    1.0676        .27970        .35219E-03   -.90799    
   4  Prefactor     1.0809        .15273        .19073E-03   -.90078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32215e-11
Minuit parameter uncertainties:
  1  3.84693
  2  0.441958
  3  0.280089
  4  0.152794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222462': 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) = 6121.36334051
delta logL = 0.586932292762

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  7.095e+00  3.847e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.805e+00  4.420e-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.081e+00  1.528e-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.068e+00  2.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.30
Ra Dec: 212.236 -7.857
Photon Index (Free Index): 1.80 +/- 0.44
Photon Flux (Free Index): 5.53e-08 +/- 3.79e-08
Energy Flux (Free Index): 5.22e-05 +/- 4.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/222462/cmap_HighResolution_318384001_318643201_4FGL_J1408.9-0751_daily_bin305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.46e-08', energy_flux2='5.22e-05', photon_flux_error='4.60e-08', dlogl='5.87e-01', energy_flux='3.15e-05', photon_flux2='5.53e-08', job_status='DONE', time_completed='2021-09-09 03:12:32.166319', photon_index_error2='0.44', photon_index2='1.80', ts='7.15', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='4.17e-05', EG='1.03', time_epoch_completed='1631182352.17', return_code='0', job_id='222462', GAL2='1.08', EG2='1.07', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='3.79e-08', ts2='8.30', photon_index='2.33' WHERE bin_id='305' AND source_name='4FGL J1408.9-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:12:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 222462: <4FGL_J1408.9-0751_daily_bin305> in cluster <slac> Done

Job <4FGL_J1408.9-0751_daily_bin305> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep  9 03:00:45 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:00:48 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:48 2021
Terminated at Thu Sep  9 03:12:32 2021
Results reported at Thu Sep  9 03:12:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1408.9-0751_daily_bin305 212.236 -7.8575 318384001 318643201 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 :                                   545.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            707 sec.

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

