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


Performing analysis on: 4FGL_J1408.9-0751_daily_bin556
RA = 212.236, Dec = -7.8575
tmin = 383443201, tmax = 383702401
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='225356', job_status='RUN', time_executed='2021-09-09 03:14:25.085562', time_epoch_executed='1631182465.09' WHERE source_name='4FGL J1408.9-0751' and cadence='daily' and bin_id='556'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225356

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225356/ft1_4FGL_J1408.9-0751_daily_bin556.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225356/ft2_4FGL_J1408.9-0751_daily_bin556.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225356/ft1_4FGL_J1408.9-0751_daily_bin556.fits outfile=/scratch/kocevski/225356/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin556.fits ra=212.236 dec=-7.8575 rad=12.0 tmin=383443201.0 tmax=383702401.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.38
user 3.15
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225356/ft1_filtered_4FGL_J1408.9-0751_daily_bin556.fits" evtable="EVENTS" scfile=/scratch/kocevski/225356/ft2_4FGL_J1408.9-0751_daily_bin556.fits sctable="SC_DATA" outfile=/scratch/kocevski/225356/ltcube_383443201_383702401_4FGL_J1408.9-0751_daily_bin556.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/225356/ft2_4FGL_J1408.9-0751_daily_bin556.fits
.....................!
real 11.75
user 11.43
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225356/ft1_filtered_4FGL_J1408.9-0751_daily_bin556.fits evtable="EVENTS" scfile=/scratch/kocevski/225356/ft2_4FGL_J1408.9-0751_daily_bin556.fits sctable="SC_DATA" expcube=/scratch/kocevski/225356/ltcube_383443201_383702401_4FGL_J1408.9-0751_daily_bin556.fits outfile=/scratch/kocevski/225356/expmap_383443201_383702401_4FGL_J1408.9-0751_daily_bin556.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/225356/ltcube_383443201_383702401_4FGL_J1408.9-0751_daily_bin556.fits
.....................!
real 192.39
user 187.45
sys 4.49

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/225356/ft1_filtered_4FGL_J1408.9-0751_daily_bin556.fits scfile=/scratch/kocevski/225356/ft2_4FGL_J1408.9-0751_daily_bin556.fits outfile=/scratch/kocevski/225356/cmap_383443201_383702401_4FGL_J1408.9-0751_daily_bin556.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225356/ft1_filtered_4FGL_J1408.9-0751_daily_bin556.fits scfile=/scratch/kocevski/225356/ft2_4FGL_J1408.9-0751_daily_bin556.fits outfile=/scratch/kocevski/225356/cmap_HighResolution_383443201_383702401_4FGL_J1408.9-0751_daily_bin556.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/225356/ft1_filtered_4FGL_J1408.9-0751_daily_bin556.fits evtable="EVENTS" scfile=/scratch/kocevski/225356/ft2_4FGL_J1408.9-0751_daily_bin556.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225356/Model_4FGL_J1408.9-0751_daily_bin556.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/225356/ft1_filtered_4FGL_J1408.9-0751_daily_bin556.fits.....................!
real 63.27
user 61.88
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2151       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.312       1.0000         .10000E-03   10000.    
     3 'norm      '    .71160       1.0000         .10000E-03   10000.    
     4 'norm      '    5.3873       1.0000         .10000E-03   10000.    
     5 'norm      '    4.6377       1.0000         .10000E-03   10000.    
     6 'norm      '    14.827       1.0000         .10000E-03   10000.    
     7 'norm      '    2.5076       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1567       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.167       1.0000         .10000E-03   10000.    
    11 'norm      '    12.401       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.974       1.0000         .10000E-03   10000.    
    13 'norm      '    .66576       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5076       1.0000         .10000E-03   10000.    
    15 'norm      '    11.613       1.0000         .10000E-03   10000.    
    16 'norm      '    8.0391       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.405       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0040       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1461       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=   7954.264     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2560 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2139        12.780       -.10054E-06   -.35080E-04
   2  Prefactor     22.326        38.663        .21995E-05    .48956E-04
   3  norm          .71161        1.6528        .65680E-06   -.10606E-03
   4  norm          5.3828        8.5603       -.60723E-06   -.83747E-04
   5  norm          4.6382        8.0236        .12226E-06   -.50202E-04
   6  norm          14.823        24.333       -.76404E-06   -.32170E-04
   7  norm          2.5077        4.3997        .39553E-06   -.39332E-04
   8  Prefactor     2.1568        3.0758        .76747E-07   -.41766E-04
   9  Prefactor     .10000E-03    4.6396        .60153E-09** at limit **
  10  Prefactor     20.158        37.913       -.20440E-05   -.41686E-04
  11  norm          12.401        7.0659       -.26568E-07   -.53065E-04
  12  Prefactor     16.976        16.670        .26739E-06   -.35954E-05
  13  norm          .66568        2.1571        .12123E-05   -.15860E-03
  14  Prefactor     5.5071        27.830        .49236E-06   -.86728E-05
  15  norm          11.612        10.321        .21852E-07   -.24663E-05
  16  norm          8.0390        5.5341       -.79313E-07   -.69448E-04
  17  Prefactor     .10000E-03    7.6212        .21643E-08** at limit **
  18  Prefactor     11.404        19.253        .49398E-07   -.29249E-05
  19  norm          .10000E-03    4.9206        .17250E-07** at limit **
  20  Prefactor     .10000E-03    2.0913        .21122E-07** at limit **
  21  Prefactor     .10000E-03    25.789        .42614E-07** at limit **
  22  Normalizat    1.0039        .23454       -.20828E-05   -.54733E-04
  23  Prefactor     1.1461        .12036        .44775E-06   -.22361E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.2139
  Prefactor  = 22.3264
  norm       = 0.711612
  norm       = 5.38276
  norm       = 4.63815
  norm       = 14.823
  norm       = 2.50773
  Prefactor  = 2.15675
  Prefactor  = 0.0001
  Prefactor  = 20.1578
  norm       = 12.4012
  Prefactor  = 16.9758
  norm       = 0.665684
  Prefactor  = 5.50711
  norm       = 11.6122
  norm       = 8.03897
  Prefactor  = 0.0001
  Prefactor  = 11.4042
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.00394
  Prefactor  = 1.14608
 **********
 **   18 **HESSE 
 **********

 FCN=   7954.264     FROM HESSE     STATUS=OK           378 CALLS     2938 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2139        12.758        .16102E-03   -1.5209    
   2  Prefactor     22.326        40.196        .84798E-04   -1.4763    
   3  norm          .71161        1.6578        .16357E-03   -1.5539    
   4  norm          5.3828        8.7519        .17314E-03   -1.5244    
   5  norm          4.6382        7.9361        .18689E-03   -1.5277    
   6  norm          14.823        24.402        .10402E-03   -1.4938    
   7  norm          2.5077        4.3970        .24016E-03   -1.5391    
   8  Prefactor     2.1568        3.0531        .17858E-03   -1.5414    
   9  Prefactor     .10000E-03    4.6406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.158        38.271        .89189E-04   -1.4810    
  11  norm          12.401        7.0559        .11375E-03   -1.5004    
  12  Prefactor     16.976        16.610        .97212E-04   -1.4884    
  13  norm          .66568        2.1938        .22552E-03   -1.5545    
  14  Prefactor     5.5071        27.657        .17120E-03   -1.5239    
  15  norm          11.612        10.323        .11756E-03   -1.5026    
  16  norm          8.0390        5.5280        .14141E-03   -1.5141    
  17  Prefactor     .10000E-03    7.6356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.404        19.272        .11863E-03   -1.5032    
  19  norm          .10000E-03    4.9282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.1044        .12595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0039        .26148        .36856E-03   -.92899    
  23  Prefactor     1.1461        .13622        .18907E-03   -.88007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14954e-10
Minuit parameter uncertainties:
  1  12.7641
  2  40.2443
  3  1.65788
  4  8.75401
  5  7.93785
  6  24.4179
  7  4.39756
  8  3.05336
  9  3.29922e-07
  10  38.3178
  11  7.05638
  12  16.6149
  13  2.1941
  14  24.7006
  15  10.325
  16  5.52836
  17  1.93539e-06
  18  19.2826
  19  1.3474e-06
  20  1.06804e-06
  21  5.51356e-06
  22  0.261817
  23  0.136261
Done.

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

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  6.657e-01  2.194e+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.146e+00  1.363e-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.004e+00  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/225356/likelihoodResults_383443201_383702401_4FGL_J1408.9-0751_daily_bin556.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): 0
logL (Free Index) = 7954.23218673
delta logL = 0.0322359661677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7954.22832242
delta logL = 0.0361002757718

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .81775       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6676       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1426       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7954.228     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      221 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81752        8.0506         .0000        .25962E-02
   2  alpha         1.6677        3.3339         .0000       -.15691E-02
   3  Normalizat    1.0132        .22038         .0000        .23750E-04
   4  Prefactor     1.1427        .11982         .0000       -.15903E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.817517
  alpha      = 1.66773
  Normalizat = 1.01317
  Prefactor  = 1.14265
 **********
 **   18 **HESSE 
 **********

 FCN=   7954.228     FROM HESSE     STATUS=OK            35 CALLS      256 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81752        2.3487        .21107E-03   -1.5527    
   2  alpha         1.6677        1.2418        .50000       -.33938    
   3  Normalizat    1.0132        .24629        .36703E-03   -.92590    
   4  Prefactor     1.1427        .13399        .18930E-03   -.88115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8763e-10
Minuit parameter uncertainties:
  1  2.34894
  2  1.30782
  3  0.246572
  4  0.134026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225356': 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) = 7954.22832241
delta logL = 0.0361002871077

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  8.175e-01  2.349e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  1.668e+00  1.308e+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.143e+00  1.340e-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.013e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-05', job_status='DONE', photon_flux_upper_limit='9.74e-08', time_completed='2021-09-09 03:25:59.504540', job_id='225356', GAL2='1.14', fit_tolerance='1e-08', EG2='1.01', EG='1.00', time_epoch_completed='1631183159.5', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='3.61e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='556' AND source_name='4FGL J1408.9-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:25:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 225356: <4FGL_J1408.9-0751_daily_bin556> in cluster <slac> Done

Job <4FGL_J1408.9-0751_daily_bin556> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 03:10:29 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:10:31 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:31 2021
Terminated at Thu Sep  9 03:26:00 2021
Results reported at Thu Sep  9 03:26:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1408.9-0751_daily_bin556 212.236 -7.8575 383443201 383702401 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 :                                   692.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            931 sec.

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

