/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 4 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 = 7428
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0405.6-1308_daily_bin16
RA = 61.4189, Dec = -13.1438
tmin = 243475201, tmax = 243734401
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='232655', job_status='RUN', time_executed='2021-08-20 03:37:11.863755', time_epoch_executed='1629455831.86' WHERE source_name='4FGL J0405.6-1308' and cadence='daily' and bin_id='16'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/232655

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/232655/ft1_4FGL_J0405.6-1308_daily_bin16.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/232655/ft1_4FGL_J0405.6-1308_daily_bin16.fits outfile=/scratch/kocevski/232655/ft1_filteredMKT_4FGL_J0405.6-1308_daily_bin16.fits ra=61.4189 dec=-13.1438 rad=12.0 tmin=243475201.0 tmax=243734401.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 6.39
user 1.21
sys 5.12

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.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/232655/ft1_filteredMKT_4FGL_J0405.6-1308_daily_bin16.fits evtable="EVENTS" outfile="/scratch/kocevski/232655/ft1_filtered_4FGL_J0405.6-1308_daily_bin16.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 5.48
user 0.32
sys 5.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/232655/ft1_filtered_4FGL_J0405.6-1308_daily_bin16.fits" evtable="EVENTS" scfile=/scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits sctable="SC_DATA" outfile=/scratch/kocevski/232655/ltcube_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.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/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits
.....................!
real 17.83
user 11.91
sys 5.88

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/232655/ft1_filtered_4FGL_J0405.6-1308_daily_bin16.fits evtable="EVENTS" scfile=/scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits sctable="SC_DATA" expcube=/scratch/kocevski/232655/ltcube_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.fits outfile=/scratch/kocevski/232655/expmap_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.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/232655/ltcube_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.fits
.....................!
real 197.13
user 185.50
sys 11.29

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 147 point sources and 0 extended sources

Setting source of interest to:
4FGL J0405.6-1308 @ 61.4189 -13.1438

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/232655/ft1_filtered_4FGL_J0405.6-1308_daily_bin16.fits scfile=/scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits outfile=/scratch/kocevski/232655/cmap_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.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=61.4189 yref=-13.1438 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 5.38
user 0.36
sys 4.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/232655/ft1_filtered_4FGL_J0405.6-1308_daily_bin16.fits scfile=/scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits outfile=/scratch/kocevski/232655/cmap_HighResolution_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.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=61.4189 yref=-13.1438 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 5.43
user 0.37
sys 5.02

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/232655/ft1_filtered_4FGL_J0405.6-1308_daily_bin16.fits evtable="EVENTS" scfile=/scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/232655/Model_4FGL_J0405.6-1308_daily_bin16.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/232655/ft1_filtered_4FGL_J0405.6-1308_daily_bin16.fits....................!
real 104.51
user 96.69
sys 7.63

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/232655/ft1_filtered_4FGL_J0405.6-1308_daily_bin16.fits', '/scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits', expMap='/scratch/kocevski/232655/expmap_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.fits', expCube='/scratch/kocevski/232655/ltcube_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/232655/Model_4FGL_J0405.6-1308_daily_bin16.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0405.6-1308'

4FGL J0405.6-1308
   Spectrum: PowerLaw
265    Prefactor:  3.495e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.548e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  5.776e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/232655/ft1_filtered_4FGL_J0405.6-1308_daily_bin16.fits
Spacecraft file(s): /scratch/kocevski/232655/ft2_4FGL_J0405.6-1308_daily_bin16.fits
Exposure map: /scratch/kocevski/232655/expmap_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.fits
Exposure cube: /scratch/kocevski/232655/ltcube_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/232655/Model_4FGL_J0405.6-1308_daily_bin16.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) = 8125.18879361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20393E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .58325E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    136.85       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2104       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .75133       1.0000         .10000E-03   10000.    
     8 'norm      '    5.3778       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.065       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18955       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.184       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.334       1.0000         .10000E-03   10000.    
    16 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    42.218       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.0952       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79508       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94259       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4720E+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=   8125.158     FROM MIGRAD    STATUS=CONVERGED    842 CALLS     2770 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2954        .25455E-02** at limit **
   2  Prefactor     .10000E-03    5.5118        .18142E-02** at limit **
   3  Prefactor     .10000E-03    37.513        .40632E-02** at limit **
   4  Prefactor     136.82        51.539        .17215E-03    .30708E-04
   5  Prefactor     .10000E-03    5.4002        .16128E-02** at limit **
   6  Prefactor     3.2102        4.1972        .10013E-02    .62301E-03
   7  Prefactor     .78795        84.440        .59806E-02    .79398E-04
   8  norm          5.3769        1.6739        .59683E-04   -.72574E-04
   9  Prefactor     19.053        18.280        .91729E-04   -.64943E-04
  10  Prefactor     .18395        8.7521        .17303E-02   -.93820E-04
  11  Prefactor     21.175        25.702        .87024E-04    .39192E-04
  12  Prefactor     .10000E-03    2.0847        .12669E-02** at limit **
  13  norm          .10000E-03    9.1363        .18142E-02** at limit **
  14  Prefactor     .10000E-03    1.6286        .11127E-02** at limit **
  15  norm          10.334        4.8551        .12464E-03   -.12405E-04
  16  norm          .10000E-03    3.1436        .15503E-02** at limit **
  17  Prefactor     .10000E-03    1.4034        .10415E-02** at limit **
  18  Prefactor     .10000E-03    8.8620        .18142E-02** at limit **
  19  Prefactor     42.217        19.451        .61697E-04    .21375E-04
  20  Prefactor     2.0949        2.9990        .18269E-03    .68453E-05
  21  Normalizat    .79485        .17811        .28776E-03   -.39902E-05
  22  Prefactor     .94278        .12078        .18813E-03    .18059E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 136.819
  Prefactor  = 0.0001
  Prefactor  = 3.21022
  Prefactor  = 0.787949
  norm       = 5.37694
  Prefactor  = 19.0532
  Prefactor  = 0.18395
  Prefactor  = 21.1751
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.3336
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.2172
  Prefactor  = 2.09493
  Normalizat = 0.794847
  Prefactor  = 0.942781
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.158     FROM HESSE     STATUS=OK           326 CALLS     3096 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3132        .50909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5123        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    37.907        .81264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     136.82        51.466        .68860E-05   -1.3363    
   5  Prefactor     .10000E-03    5.4544        .32256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.2102        4.1952        .20025E-03   -1.5350    
   7  Prefactor     .78795        83.305        .23922E-03   -1.5530    
   8  norm          5.3769        1.6666        .23873E-05   -1.5244    
   9  Prefactor     19.053        18.085        .36692E-05   -1.4835    
  10  Prefactor     .18395        8.6019        .69211E-04   -1.5622    
  11  Prefactor     21.175        25.681        .34809E-05   -1.4787    
  12  Prefactor     .10000E-03    2.0849        .25337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    9.1383        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.6290        .22254E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.334        4.8546        .49856E-05   -1.5065    
  16  norm          .10000E-03    3.1447        .31006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.4034        .20831E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.8642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     42.217        19.446        .24679E-05   -1.4408    
  20  Prefactor     2.0949        2.9989        .73075E-05   -1.5418    
  21  Normalizat    .79485        .17739        .11510E-04   -1.0026    
  22  Prefactor     .94278        .12076        .37626E-04   -.94662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31757e-10
Minuit parameter uncertainties:
  1  4.08418e-05
  2  6.75088e-06
  3  0.000822091
  4  51.4833
  5  9.44986e-05
  6  4.19557
  7  16.2259
  8  1.66663
  9  18.0905
  10  2.5155
  11  25.6941
  12  3.21379e-06
  13  2.28084e-05
  14  7.21277e-06
  15  4.85479
  16  1.12564e-05
  17  1.91838e-06
  18  9.60699e-06
  19  19.4488
  20  2.99913
  21  0.177521
  22  0.120797
Done.

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

Extracting fit parameters...

4FGL J0405.6-1308
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  3.214e-06  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.548e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  5.776e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
469    Prefactor:  9.428e-01  1.208e-01  0.000e+00  1.000e+01 ( 1.000e+00)
470        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
471        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
468   Normalization:  7.948e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 61.419 -13.144
Photon Flux Upper Limit: 5.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/232655/likelihoodResults_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.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) = 8125.16069418
delta logL = -0.00228583007538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8125.15840823
delta logL = 1.1754946172e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5365       1.0000          .0000       10.000    
     3 'Normalizat'    .79483       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94279       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4720E+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=   8125.158     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      253 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.507        .12736E-01** at limit **
   2  Index         2.1784        8.7809        .50000       -.48476E-07
   3  Normalizat    .79485        .92517E-02    .28776E-03    .33755E-03
   4  Prefactor     .94278        .65841E-02    .18813E-03    .54785E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17836
  Normalizat = 0.794849
  Prefactor  = 0.94278
 **********
 **   18 **HESSE 
 **********

 FCN=   8125.158     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    139.83        .13265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1784        8.6405        .50000       -.59962    
   3  Normalizat    .79485        .33027E-01    .11510E-04   -1.0026    
   4  Prefactor     .94278        .23504E-01    .37626E-04   -.94662    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.21374e-10
Minuit parameter uncertainties:
  1  9.27739e-05
  2  667.3
  3  0.0330276
  4  0.0235046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/232655': 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) = 8125.15840623
delta logL = 2.11908900383e-06

Extracting fit parameters...

4FGL J0405.6-1308
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  9.277e-05  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.178e+00  6.673e+02  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  5.776e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
469    Prefactor:  9.428e-01  2.350e-02  0.000e+00  1.000e+01 ( 1.000e+00)
470        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
471        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
468   Normalization:  7.948e-01  3.303e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 61.419 -13.144

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/232655/cmap_HighResolution_243475201_243734401_4FGL_J0405.6-1308_daily_bin16.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-03', job_status='DONE', photon_flux_upper_limit='5.10e-08', time_completed='2021-08-20 03:50:19.945339', job_id='232655', GAL2='0.94', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1629456619.95', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.12e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='16' AND source_name='4FGL J0405.6-1308' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 03:50:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 232655: <4FGL_J0405.6-1308_daily_bin16> in cluster <slac> Done

Job <4FGL_J0405.6-1308_daily_bin16> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 20 03:35:39 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 03:35:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 03:35:40 2021
Terminated at Fri Aug 20 03:50:21 2021
Results reported at Fri Aug 20 03:50:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0405.6-1308_daily_bin16 61.4189 -13.1438 243475201 243734401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0405.6-1308 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   864.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            882 sec.

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

