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


Performing analysis on: 4FGL_J1408.9-0751_daily_bin500
RA = 212.236, Dec = -7.8575
tmin = 368928001, tmax = 369187201
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='225268', job_status='RUN', time_executed='2021-09-09 03:13:49.667517', time_epoch_executed='1631182429.67' WHERE source_name='4FGL J1408.9-0751' and cadence='daily' and bin_id='500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225268

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225268/ft1_4FGL_J1408.9-0751_daily_bin500.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225268/ft2_4FGL_J1408.9-0751_daily_bin500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225268/ft1_4FGL_J1408.9-0751_daily_bin500.fits outfile=/scratch/kocevski/225268/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin500.fits ra=212.236 dec=-7.8575 rad=12.0 tmin=368928001.0 tmax=369187201.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.34
user 3.11
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225268/ft1_filtered_4FGL_J1408.9-0751_daily_bin500.fits" evtable="EVENTS" scfile=/scratch/kocevski/225268/ft2_4FGL_J1408.9-0751_daily_bin500.fits sctable="SC_DATA" outfile=/scratch/kocevski/225268/ltcube_368928001_369187201_4FGL_J1408.9-0751_daily_bin500.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/225268/ft2_4FGL_J1408.9-0751_daily_bin500.fits
.....................!
real 12.02
user 11.65
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225268/ft1_filtered_4FGL_J1408.9-0751_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/225268/ft2_4FGL_J1408.9-0751_daily_bin500.fits sctable="SC_DATA" expcube=/scratch/kocevski/225268/ltcube_368928001_369187201_4FGL_J1408.9-0751_daily_bin500.fits outfile=/scratch/kocevski/225268/expmap_368928001_369187201_4FGL_J1408.9-0751_daily_bin500.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/225268/ltcube_368928001_369187201_4FGL_J1408.9-0751_daily_bin500.fits
.....................!
real 192.57
user 187.37
sys 4.82

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/225268/ft1_filtered_4FGL_J1408.9-0751_daily_bin500.fits scfile=/scratch/kocevski/225268/ft2_4FGL_J1408.9-0751_daily_bin500.fits outfile=/scratch/kocevski/225268/cmap_368928001_369187201_4FGL_J1408.9-0751_daily_bin500.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225268/ft1_filtered_4FGL_J1408.9-0751_daily_bin500.fits scfile=/scratch/kocevski/225268/ft2_4FGL_J1408.9-0751_daily_bin500.fits outfile=/scratch/kocevski/225268/cmap_HighResolution_368928001_369187201_4FGL_J1408.9-0751_daily_bin500.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/225268/ft1_filtered_4FGL_J1408.9-0751_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/225268/ft2_4FGL_J1408.9-0751_daily_bin500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225268/Model_4FGL_J1408.9-0751_daily_bin500.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/225268/ft1_filtered_4FGL_J1408.9-0751_daily_bin500.fits.....................!
real 50.84
user 49.52
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    34.090       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8971       1.0000         .10000E-03   10000.    
     4 'norm      '    3.2651       1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    42.118       1.0000         .10000E-03   10000.    
     7 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2015       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    61.151       1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.055       1.0000         .10000E-03   10000.    
    15 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.3720       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.4904       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10443E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    25.132       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3070       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0085       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=   6160.920     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2488 TOTAL
                     EDM=   .61E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.6444        .32302E-07** at limit **
   2  Prefactor     34.078        26.006       -.27361E-06   -.11628E-03
   3  norm          1.8974        1.8357        .12677E-06   -.39472E-04
   4  norm          3.2681        4.9219        .20944E-06   -.14203E-05
   5  norm          .10000E-03    1.9674       -.58170E-07** at limit **
   6  norm          42.117        40.561        .69230E-07   -.21308E-05
   7  norm          .10000E-03    2.3338       -.10655E-06** at limit **
   8  Prefactor     2.2024        5.2474        .74563E-06   -.37805E-04
   9  Prefactor     .10000E-03    5.9425        .20889E-08** at limit **
  10  Prefactor     61.134        53.945       -.36398E-06   -.77747E-04
  11  norm          .10000E-03    4.7252       -.78044E-07** at limit **
  12  Prefactor     .10000E-03    5.6043        .56438E-07** at limit **
  13  norm          .10000E-03    1.7707        .12961E-07** at limit **
  14  Prefactor     17.043        21.480       -.86004E-08   -.83282E-04
  15  norm          .10000E-03    6.0477       -.54025E-07** at limit **
  16  norm          5.3727        9.1251       -.18347E-06   -.51396E-04
  17  Prefactor     5.4908        23.490        .64327E-05   -.45106E-04
  18  Prefactor     .10000E-03    40.286        .44126E-06** at limit **
  19  norm          25.129        25.733        .12023E-06   -.24037E-04
  20  Prefactor     .10000E-03    2.9225       -.24690E-08** at limit **
  21  Prefactor     .10000E-03    42.182       -.30455E-06** at limit **
  22  Normalizat    1.3069        .25168       -.68533E-08   -.37266E-04
  23  Prefactor     1.0085        .13362       -.51188E-06   -.32739E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 34.0781
  norm       = 1.89743
  norm       = 3.26808
  norm       = 0.0001
  norm       = 42.1174
  norm       = 0.0001
  Prefactor  = 2.20238
  Prefactor  = 0.0001
  Prefactor  = 61.1341
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.0429
  norm       = 0.0001
  norm       = 5.37272
  Prefactor  = 5.4908
  Prefactor  = 0.0001
  norm       = 25.1286
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.30688
  Prefactor  = 1.00851
 **********
 **   18 **HESSE 
 **********

 FCN=   6160.920     FROM HESSE     STATUS=OK           366 CALLS     2854 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.7846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.078        25.770        .68633E-04   -1.4540    
   3  norm          1.8974        1.8396        .98295E-04   -1.5432    
   4  norm          3.2681        4.8656        .16800E-03   -1.5346    
   5  norm          .10000E-03    1.9689        .10750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          42.117        40.568        .61770E-04   -1.4409    
   7  norm          .10000E-03    2.3391        .11707E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2024        5.2354        .26334E-03   -1.5411    
   9  Prefactor     .10000E-03    5.9451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     61.134        53.950        .51310E-04   -1.4143    
  11  norm          .10000E-03    4.7560        .16652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.6224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.8221        .20365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.043        21.507        .96983E-04   -1.4882    
  15  norm          .10000E-03    6.0601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.3727        9.1073        .17339E-03   -1.5244    
  17  Prefactor     5.4908        23.467        .85738E-03   -1.5239    
  18  Prefactor     .10000E-03    40.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          25.129        25.738        .79907E-04   -1.4705    
  20  Prefactor     .10000E-03    2.9310        .13101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    42.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3069        .29598        .32701E-03   -.83361    
  23  Prefactor     1.0085        .15691        .19849E-03   -.92447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29045e-10
Minuit parameter uncertainties:
  1  5.26538e-06
  2  25.7782
  3  1.83963
  4  4.86623
  5  8.44819e-08
  6  40.5949
  7  1.27958e-06
  8  5.23651
  9  4.02587e-06
  10  53.9931
  11  1.29819e-05
  12  3.07512e-05
  13  9.0895e-07
  14  21.5167
  15  1.81921e-05
  16  9.10969
  17  22.7178
  18  0.000221358
  19  25.7489
  20  5.64514e-07
  21  0.000208362
  22  0.296365
  23  0.156978
Done.

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

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  1.000e-04  9.089e-07  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.009e+00  1.570e-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.307e+00  2.964e-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.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.38e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/225268/likelihoodResults_368928001_369187201_4FGL_J1408.9-0751_daily_bin500.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) = 6160.92240755
delta logL = -0.00261585724093

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6160.91979163
delta logL = 6.58646968077e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3163       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0085       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=   6160.920     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      241 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    299.58        .20557E-02** at limit **
   2  alpha         2.0377        3.4883        .16517        .42674E-08
   3  Normalizat    1.3069        .10154        .32701E-03    .29284E-03
   4  Prefactor     1.0085        .55345E-01    .19849E-03    .51521E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.03772
  Normalizat = 1.30688
  Prefactor  = 1.00851
 **********
 **   18 **HESSE 
 **********

 FCN=   6160.920     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9999        .41115E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0377        3.9811        .66069E-02   -.18598    
   3  Normalizat    1.3069        .28038        .65402E-04   -.83361    
   4  Prefactor     1.0085        .15291        .39699E-04   -.92446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82091e-10
Minuit parameter uncertainties:
  1  3.2967e-06
  2  134.633
  3  0.280703
  4  0.152979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225268': 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) = 6160.91978926
delta logL = 2.43219710683e-06

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  1.000e-04  3.297e-06  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.038e+00  1.346e+02  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.009e+00  1.530e-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.307e+00  2.807e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/225268/cmap_HighResolution_368928001_369187201_4FGL_J1408.9-0751_daily_bin500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-05', job_status='DONE', photon_flux_upper_limit='9.06e-08', time_completed='2021-09-09 03:23:48.700749', job_id='225268', GAL2='1.01', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1631183028.7', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.43e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='500' AND source_name='4FGL J1408.9-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:23:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 225268: <4FGL_J1408.9-0751_daily_bin500> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1408.9-0751_daily_bin500 212.236 -7.8575 368928001 369187201 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 :                                   597.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            807 sec.

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

