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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin419
RA = 150.294, Dec = 29.188
tmin = 347932801, tmax = 348192001
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='656218', job_status='RUN', time_executed='2021-09-01 09:53:48.848755', time_epoch_executed='1630515228.85' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='419'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656218

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656218/ft1_4FGL_J1001.1+2911_daily_bin419.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656218/ft1_4FGL_J1001.1+2911_daily_bin419.fits outfile=/scratch/kocevski/656218/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin419.fits ra=150.294 dec=29.188 rad=12.0 tmin=347932801.0 tmax=348192001.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.52
user 3.24
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.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/656218/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin419.fits evtable="EVENTS" outfile="/scratch/kocevski/656218/ft1_filtered_4FGL_J1001.1+2911_daily_bin419.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.54
user 0.33
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656218/ft1_filtered_4FGL_J1001.1+2911_daily_bin419.fits" evtable="EVENTS" scfile=/scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits sctable="SC_DATA" outfile=/scratch/kocevski/656218/ltcube_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.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/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits
.....................!
real 13.34
user 12.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656218/ft1_filtered_4FGL_J1001.1+2911_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits sctable="SC_DATA" expcube=/scratch/kocevski/656218/ltcube_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.fits outfile=/scratch/kocevski/656218/expmap_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.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/656218/ltcube_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.fits
.....................!
real 190.30
user 185.25
sys 4.39

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

Setting source of interest to:
4FGL J1001.1+2911 @ 150.294 29.188

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/656218/ft1_filtered_4FGL_J1001.1+2911_daily_bin419.fits scfile=/scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits outfile=/scratch/kocevski/656218/cmap_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.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=150.294 yref=29.188 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656218/ft1_filtered_4FGL_J1001.1+2911_daily_bin419.fits scfile=/scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits outfile=/scratch/kocevski/656218/cmap_HighResolution_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.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=150.294 yref=29.188 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/656218/ft1_filtered_4FGL_J1001.1+2911_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/656218/Model_4FGL_J1001.1+2911_daily_bin419.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/656218/ft1_filtered_4FGL_J1001.1+2911_daily_bin419.fits.....................!
real 51.01
user 49.54
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/656218/ft1_filtered_4FGL_J1001.1+2911_daily_bin419.fits', '/scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits', expMap='/scratch/kocevski/656218/expmap_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.fits', expCube='/scratch/kocevski/656218/ltcube_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/656218/Model_4FGL_J1001.1+2911_daily_bin419.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1001.1+2911'

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.010e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/656218/ft1_filtered_4FGL_J1001.1+2911_daily_bin419.fits
Spacecraft file(s): /scratch/kocevski/656218/ft2_4FGL_J1001.1+2911_daily_bin419.fits
Exposure map: /scratch/kocevski/656218/expmap_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.fits
Exposure cube: /scratch/kocevski/656218/ltcube_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/656218/Model_4FGL_J1001.1+2911_daily_bin419.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) = 5742.74983151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7271       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2732       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.1529       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.233       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.902       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.3186       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.373       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.5172       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .66894       1.0000         .10000E-03   10000.    
    16 'norm      '    9.6623       1.0000         .10000E-03   10000.    
    17 'Prefactor '    43.787       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.5247       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.8528       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.2030       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.6380       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .57449       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3730       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5742.749     FROM MIGRAD    STATUS=CONVERGED    523 CALLS     2678 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7271        3.3708        .24796E-06    .19963E-04
   2  norm          1.2732        1.2830        .38082E-08    .69364E-05
   3  Prefactor     .10000E-03    20.696       -.86023E-06** at limit **
   4  Prefactor     6.1529        4.0164        .13328E-06    .12067E-04
   5  Prefactor     23.234        26.760        .32103E-06   -.57655E-07
   6  Prefactor     .10000E-03    26.546        .33700E-05** at limit **
   7  Prefactor     34.900        34.964       -.79393E-07   -.17287E-04
   8  Prefactor     4.3157        113.85        .54897E-06   -.53795E-05
   9  Prefactor     13.373        7.2916        .14098E-07   -.55508E-04
  10  Prefactor     .10000E-03    2.6035        .33705E-08** at limit **
  11  Prefactor     .10000E-03    .99890        .13813E-07** at limit **
  12  norm          1.5181        5.7289        .13722E-05   -.93663E-04
  13  Prefactor     .10000E-03    2.1455       -.25333E-06** at limit **
  14  Prefactor     .10000E-03    33.882       -.28924E-05** at limit **
  15  Prefactor     .66812        4.3654        .21780E-05   -.12262E-03
  16  norm          9.6622        10.096       -.31050E-07   -.34705E-04
  17  Prefactor     43.784        54.724       -.38477E-06   -.22633E-04
  18  Prefactor     9.5257        34.783       -.39405E-06   -.43785E-05
  19  Prefactor     3.8525        7.3552        .22910E-06   -.90211E-04
  20  Prefactor     4.2029        6.1181        .21867E-06   -.37284E-04
  21  Prefactor     3.6381        2.5790        .59491E-07   -.32221E-04
  22  Prefactor     .10000E-03    7.6882        .10085E-07** at limit **
  23  Normalizat    .57456        .16994       -.10348E-05   -.72233E-04
  24  Prefactor     1.3729        .18485       -.17011E-06   -.83289E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.72715
  norm       = 1.27317
  Prefactor  = 0.0001
  Prefactor  = 6.15286
  Prefactor  = 23.2338
  Prefactor  = 0.000100001
  Prefactor  = 34.9004
  Prefactor  = 4.31574
  Prefactor  = 13.3726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.51808
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.668116
  norm       = 9.66224
  Prefactor  = 43.7839
  Prefactor  = 9.52574
  Prefactor  = 3.85246
  Prefactor  = 4.20292
  Prefactor  = 3.63806
  Prefactor  = 0.0001
  Normalizat = 0.574559
  Prefactor  = 1.37286
 **********
 **   18 **HESSE 
 **********

 FCN=   5742.749     FROM HESSE     STATUS=OK           403 CALLS     3081 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7271        3.3598        .15022E-03   -1.5378    
   2  norm          1.2732        1.2925        .83457E-04   -1.5482    
   3  Prefactor     .10000E-03    20.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.1529        4.0132        .11601E-03   -1.5212    
   5  Prefactor     23.234        26.754        .83103E-04   -1.4744    
   6  Prefactor     .10000E-03    27.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     34.900        35.018        .67833E-04   -1.4526    
   8  Prefactor     4.3157        114.21        .19385E-03   -1.5292    
   9  Prefactor     13.373        7.2862        .10953E-03   -1.4976    
  10  Prefactor     .10000E-03    2.6059        .11941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.0099        .73891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.5181        5.7725        .34191E-03   -1.5462    
  13  Prefactor     .10000E-03    2.1889        .10856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    34.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .66812        4.5067        .29882E-03   -1.5544    
  16  norm          9.6622        10.087        .12892E-03   -1.5086    
  17  Prefactor     43.784        54.825        .60586E-04   -1.4384    
  18  Prefactor     9.5257        35.049        .12985E-03   -1.5091    
  19  Prefactor     3.8525        7.3661        .18671E-03   -1.5315    
  20  Prefactor     4.2029        6.1007        .19657E-03   -1.5298    
  21  Prefactor     3.6381        2.5692        .96584E-04   -1.5326    
  22  Prefactor     .10000E-03    7.6914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .57456        .19603        .28851E-03   -1.0908    
  24  Prefactor     1.3729        .21587        .22286E-03   -.81166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14391e-10
Minuit parameter uncertainties:
  1  3.36003
  2  1.29251
  3  6.89849e-05
  4  4.01337
  5  26.7674
  6  0.000318298
  7  35.0387
  8  44.4973
  9  7.2867
  10  1.41747e-07
  11  7.89182e-07
  12  5.77466
  13  1.41417e-05
  14  0.000270939
  15  3.47055
  16  10.0883
  17  54.8881
  18  35.125
  19  7.36785
  20  6.10158
  21  2.56924
  22  9.52628e-07
  23  0.196265
  24  0.216012
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  7.892e-07  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.373e+00  2.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  5.746e-01  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 5.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656218/likelihoodResults_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.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) = 5742.7539158
delta logL = -0.0046491184421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5742.74926727
delta logL = -5.90108356846e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2833       1.0000          .0000       10.000    
     3 'Normalizat'    .57458       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3729       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5742.749     FROM MIGRAD    STATUS=FAILED        87 CALLS      238 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    160.04        .74528E-03** at limit **
   2  Index         2.2993        5.1346        .50000       -.13351E-03
   3  Normalizat    .57456        .65832E-01    .28851E-03    .20853E-03
   4  Prefactor     1.3729        .75975E-01    .22286E-03    .23953E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5742.749     FROM SIMPLEX   STATUS=UNCHANGED    167 CALLS      405 TOTAL
                     EDM=   .95E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    160.04        .16249E-03** at limit **
   2  Index         2.2993        5.1346        .16757E-04   -.13351E-03
   3  Normalizat    .57456        .65832E-01    .83798E-06    .20853E-03
   4  Prefactor     1.3729        .75975E-01    .18722E-06    .23953E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5741.265     FROM MIGRAD    STATUS=CONVERGED    182 CALLS      587 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .63242E-02    .19391E-03** at limit **
   2  Index         7.8977        2.6809        .12436        .12612E-04
   3  Normalizat    .45912        .51162E-01    .11540E-03    .88661E-04
   4  Prefactor     1.4617        .58143E-01    .44572E-03    .70677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.89767
  Normalizat = 0.459124
  Prefactor  = 1.46173
 **********
 **   18 **HESSE 
 **********

 FCN=   5741.265     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      624 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .16668E-01    .14980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.8977        7.4451        .50201E-02    .61816    
   3  Normalizat    .45912        .96774E-01    .46162E-05   -1.1435    
   4  Prefactor     1.4617        .11053        .17829E-04   -.78617    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.37306e-08
Minuit parameter uncertainties:
  1  3.60232e-06
  2  4.18896
  3  0.0968096
  4  0.110543
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656218': 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) = 5741.26521968
delta logL = 1.48404699822

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  3.602e-06  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  7.898e+00  4.189e+00  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.462e+00  1.105e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  4.591e-01  9.681e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.31
Ra Dec: 150.294 29.188
Photon Index (Free Index): 7.90 +/- 4.19
Photon Flux (Free Index): 8.46e-08 +/- 7.33e-07
Energy Flux (Free Index): 9.85e-06 +/- 8.48e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/656218/cmap_HighResolution_347932801_348192001_4FGL_J1001.1+2911_daily_bin419.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.52e-03', comment='SUCCESS', energy_flux2='9.85e-06', dlogl='1.48e+00', photon_flux2='8.46e-08', job_status='DONE', time_completed='2021-09-01 10:04:43.483669', photon_index_error2='4.19', photon_index2='7.90', ts='-0.00', fit_tolerance='1e-08', GAL='1.37', photon_index_error='0.00', photon_flux_upper_limit='5.90e-08', energy_flux_error2='8.48e-05', EG='0.57', time_epoch_completed='1630515883.48', return_code='0', job_id='656218', GAL2='1.46', EG2='0.46', return_code2='102', photon_flux_error2='7.33e-07', ts2='3.31', photon_index='2.27' WHERE bin_id='419' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 656218: <4FGL_J1001.1+2911_daily_bin419> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin419> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:50:53 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:50:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 09:50:55 2021
Terminated at Wed Sep  1 10:04:44 2021
Results reported at Wed Sep  1 10:04:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin419 150.294 29.188 347932801 348192001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1001.1+2911 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   653.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            831 sec.

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

