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


Performing analysis on: 4FGL_J1408.9-0751_daily_bin1090
RA = 212.236, Dec = -7.8575
tmin = 521856001, tmax = 522115201
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='228463', job_status='RUN', time_executed='2021-09-09 03:24:35.719212', time_epoch_executed='1631183075.72' WHERE source_name='4FGL J1408.9-0751' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/228463

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/228463/ft1_4FGL_J1408.9-0751_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/228463/ft2_4FGL_J1408.9-0751_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/228463/ft1_4FGL_J1408.9-0751_daily_bin1090.fits outfile=/scratch/kocevski/228463/ft1_filteredMKT_4FGL_J1408.9-0751_daily_bin1090.fits ra=212.236 dec=-7.8575 rad=12.0 tmin=521856001.0 tmax=522115201.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.78
user 3.49
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/228463/ft1_filtered_4FGL_J1408.9-0751_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/228463/ft2_4FGL_J1408.9-0751_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/228463/ltcube_521856001_522115201_4FGL_J1408.9-0751_daily_bin1090.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/228463/ft2_4FGL_J1408.9-0751_daily_bin1090.fits
.....................!
real 12.06
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/228463/ft1_filtered_4FGL_J1408.9-0751_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/228463/ft2_4FGL_J1408.9-0751_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/228463/ltcube_521856001_522115201_4FGL_J1408.9-0751_daily_bin1090.fits outfile=/scratch/kocevski/228463/expmap_521856001_522115201_4FGL_J1408.9-0751_daily_bin1090.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/228463/ltcube_521856001_522115201_4FGL_J1408.9-0751_daily_bin1090.fits
.....................!
real 190.86
user 184.93
sys 5.50

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/228463/ft1_filtered_4FGL_J1408.9-0751_daily_bin1090.fits scfile=/scratch/kocevski/228463/ft2_4FGL_J1408.9-0751_daily_bin1090.fits outfile=/scratch/kocevski/228463/cmap_521856001_522115201_4FGL_J1408.9-0751_daily_bin1090.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.65
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/228463/ft1_filtered_4FGL_J1408.9-0751_daily_bin1090.fits scfile=/scratch/kocevski/228463/ft2_4FGL_J1408.9-0751_daily_bin1090.fits outfile=/scratch/kocevski/228463/cmap_HighResolution_521856001_522115201_4FGL_J1408.9-0751_daily_bin1090.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/228463/ft1_filtered_4FGL_J1408.9-0751_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/228463/ft2_4FGL_J1408.9-0751_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/228463/Model_4FGL_J1408.9-0751_daily_bin1090.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/228463/ft1_filtered_4FGL_J1408.9-0751_daily_bin1090.fits.....................!
real 65.61
user 64.09
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    19.359       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2775       1.0000         .10000E-03   10000.    
     4 'norm      '    5.8189       1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1840       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6486       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.587       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9489       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.8638       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.119       1.0000         .10000E-03   10000.    
    15 'norm      '    13.540       1.0000         .10000E-03   10000.    
    16 'norm      '    7.5291       1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.078       1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.660       1.0000         .10000E-03   10000.    
    19 'norm      '    15.046       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .14783E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    58.788       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .92621       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90331       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=   8604.521     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2535 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1712       -.14978E-06** at limit **
   2  Prefactor     19.356        25.935        .97715E-06   -.23210E-04
   3  norm          3.2776        1.4700       -.52321E-07    .13042E-03
   4  norm          5.8187        5.1571       -.53038E-06    .12025E-03
   5  norm          .10000E-03    2.9148       -.12996E-06** at limit **
   6  norm          .10000E-03    10.396       -.72794E-07** at limit **
   7  norm          1.1838        2.3606        .25450E-05   -.19259E-02
   8  Prefactor     2.6487        3.8065        .13115E-07   -.19976E-04
   9  Prefactor     28.588        20.130       -.71939E-06    .11402E-04
  10  Prefactor     2.9481        33.286        .50300E-06   -.17012E-05
  11  norm          .10000E-03    1.6976       -.11463E-06** at limit **
  12  Prefactor     5.8641        7.3519       -.20287E-07    .18991E-04
  13  norm          .10000E-03    .92876       -.16610E-06** at limit **
  14  Prefactor     19.119        19.441       -.25016E-07    .29322E-04
  15  norm          13.539        9.2588        .39923E-08    .25862E-04
  16  norm          7.5292        5.6020       -.18381E-06    .49710E-04
  17  Prefactor     31.077        17.082        .32506E-06    .98851E-04
  18  Prefactor     16.660        14.321        .22471E-06    .42617E-04
  19  norm          15.046        10.181        .36754E-06    .11959E-03
  20  Prefactor     .10002E-03    10.596        .74737E-05** at limit **
  21  Prefactor     58.808        48.319        .18822E-05    .21149E-03
  22  Normalizat    .92612        .18116        .19734E-05    .46312E-03
  23  Prefactor     .90336        .98163E-01   -.34979E-06    .34874E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.3562
  norm       = 3.27757
  norm       = 5.81866
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.18381
  Prefactor  = 2.64867
  Prefactor  = 28.5884
  Prefactor  = 2.94809
  norm       = 0.0001
  Prefactor  = 5.86413
  norm       = 0.0001
  Prefactor  = 19.1193
  norm       = 13.5394
  norm       = 7.52919
  Prefactor  = 31.0773
  Prefactor  = 16.6601
  norm       = 15.0461
  Prefactor  = 0.000100018
  Prefactor  = 58.8081
  Normalizat = 0.92612
  Prefactor  = 0.903364
 **********
 **   18 **HESSE 
 **********

 FCN=   8604.521     FROM HESSE     STATUS=OK           378 CALLS     2913 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.1952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.356        26.086        .91029E-04   -1.4828    
   3  norm          3.2776        1.4729        .71908E-04   -1.5346    
   4  norm          5.8187        5.1743        .12504E-03   -1.5225    
   5  norm          .10000E-03    2.9297        .15438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1838        3.8835        .15823E-02   -1.5490    
   8  Prefactor     2.6487        3.7897        .20513E-03   -1.5382    
   9  Prefactor     28.588        20.224        .74931E-04   -1.4638    
  10  Prefactor     2.9481        33.407        .23650E-03   -1.5365    
  11  norm          .10000E-03    1.7043        .11802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.8641        7.3465        .16584E-03   -1.5224    
  13  norm          .10000E-03    .97354        .17469E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.119        19.459        .91599E-04   -1.4833    
  15  norm          13.539        9.2599        .10886E-03   -1.4972    
  16  norm          7.5292        5.6010        .14616E-03   -1.5159    
  17  Prefactor     31.077        17.085        .71873E-04   -1.4592    
  18  Prefactor     16.660        14.322        .98124E-04   -1.4891    
  19  norm          15.046        10.181        .10326E-03   -1.4932    
  20  Prefactor     .10002E-03    13.743        .31706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     58.808        49.118        .52325E-04   -1.4173    
  22  Normalizat    .92612        .21351        .32309E-03   -.95548    
  23  Prefactor     .90336        .11395        .17862E-03   -.96024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.57253e-09
Minuit parameter uncertainties:
  1  2.53808e-05
  2  26.1009
  3  1.47295
  4  5.17467
  5  1.80687e-05
  6  9.10115e-06
  7  3.88431
  8  3.79005
  9  20.2288
  10  19.8617
  11  1.37291e-05
  12  7.34762
  13  1.35653e-05
  14  19.4651
  15  9.26088
  16  5.60139
  17  17.0878
  18  14.3249
  19  10.1823
  20  0.00100052
  21  49.1522
  22  0.213707
  23  0.113985
Done.

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

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  1.000e-04  1.357e-05  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:  9.034e-01  1.140e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.261e-01  2.137e-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: 5.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/228463/likelihoodResults_521856001_522115201_4FGL_J1408.9-0751_daily_bin1090.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) = 8604.52557382
delta logL = -0.00489808140628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8604.52067568
delta logL = 5.8773366618e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3260       1.0000          .0000       5.0000    
     3 'Normalizat'    .92612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90336       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=   8604.521     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      250 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    63.216        .17500E-02** at limit **
   2  alpha         2.1752        3.7997        .50000        .38472E-07
   3  Normalizat    .92612        .39621E-01    .32309E-03    .36996E-03
   4  Prefactor     .90337        .21811E-01    .17862E-03    .75061E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.17524
  Normalizat = 0.926117
  Prefactor  = 0.903366
 **********
 **   18 **HESSE 
 **********

 FCN=   8604.521     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      279 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    211.31        .35000E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1752        3.0168        .50000       -.13027    
   3  Normalizat    .92612        .11671        .12924E-04   -.95548    
   4  Prefactor     .90337        .64216E-01    .35724E-04   -.96024    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.36687e-08
Minuit parameter uncertainties:
  1  0.000499764
  2  1392.2
  3  0.116746
  4  0.0642215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/228463': 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): 102
logL (Free Index) = 8604.52067488
delta logL = 8.5214014689e-07

Extracting fit parameters...

4FGL J1408.9-0751
   Spectrum: LogParabola
290         norm:  1.000e-04  4.998e-04  1.000e-04  1.000e+04 ( 1.000e-12)
291        alpha:  2.175e+00  1.392e+03  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:  9.034e-01  6.422e-02  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  9.261e-01  1.167e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/228463/cmap_HighResolution_521856001_522115201_4FGL_J1408.9-0751_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-05', job_status='DONE', photon_flux_upper_limit='5.33e-08', time_completed='2021-09-09 03:37:15.524454', job_id='228463', GAL2='0.90', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1631183835.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='8.52e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1090' AND source_name='4FGL J1408.9-0751' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 03:37:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 228463: <4FGL_J1408.9-0751_daily_bin1090> in cluster <slac> Done

Job <4FGL_J1408.9-0751_daily_bin1090> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 03:20:40 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 03:20:42 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:20:42 2021
Terminated at Thu Sep  9 03:37:16 2021
Results reported at Thu Sep  9 03:37:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1408.9-0751_daily_bin1090 212.236 -7.8575 521856001 522115201 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 :                                   730.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   993 sec.
    Turnaround time :                            996 sec.

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

