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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin37
RA = 150.294, Dec = 29.188
tmin = 248918401, tmax = 249177601
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='654501', job_status='RUN', time_executed='2021-09-01 09:47:04.439645', time_epoch_executed='1630514824.44' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='37'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654501

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654501/ft1_4FGL_J1001.1+2911_daily_bin37.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654501/ft2_4FGL_J1001.1+2911_daily_bin37.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654501/ft1_4FGL_J1001.1+2911_daily_bin37.fits outfile=/scratch/kocevski/654501/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin37.fits ra=150.294 dec=29.188 rad=12.0 tmin=248918401.0 tmax=249177601.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 1.96
user 1.76
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654501/ft2_4FGL_J1001.1+2911_daily_bin37.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/654501/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin37.fits evtable="EVENTS" outfile="/scratch/kocevski/654501/ft1_filtered_4FGL_J1001.1+2911_daily_bin37.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.61
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654501/ft1_filtered_4FGL_J1001.1+2911_daily_bin37.fits" evtable="EVENTS" scfile=/scratch/kocevski/654501/ft2_4FGL_J1001.1+2911_daily_bin37.fits sctable="SC_DATA" outfile=/scratch/kocevski/654501/ltcube_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.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/654501/ft2_4FGL_J1001.1+2911_daily_bin37.fits
.....................!
real 12.48
user 12.12
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654501/ft1_filtered_4FGL_J1001.1+2911_daily_bin37.fits evtable="EVENTS" scfile=/scratch/kocevski/654501/ft2_4FGL_J1001.1+2911_daily_bin37.fits sctable="SC_DATA" expcube=/scratch/kocevski/654501/ltcube_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.fits outfile=/scratch/kocevski/654501/expmap_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.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/654501/ltcube_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.fits
.....................!
real 191.01
user 185.57
sys 5.06

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/654501/ft1_filtered_4FGL_J1001.1+2911_daily_bin37.fits scfile=/scratch/kocevski/654501/ft2_4FGL_J1001.1+2911_daily_bin37.fits outfile=/scratch/kocevski/654501/cmap_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654501/ft1_filtered_4FGL_J1001.1+2911_daily_bin37.fits scfile=/scratch/kocevski/654501/ft2_4FGL_J1001.1+2911_daily_bin37.fits outfile=/scratch/kocevski/654501/cmap_HighResolution_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.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.53
user 0.36
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/654501/ft1_filtered_4FGL_J1001.1+2911_daily_bin37.fits', '/scratch/kocevski/654501/ft2_4FGL_J1001.1+2911_daily_bin37.fits', expMap='/scratch/kocevski/654501/expmap_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.fits', expCube='/scratch/kocevski/654501/ltcube_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/654501/Model_4FGL_J1001.1+2911_daily_bin37.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/654501/ft1_filtered_4FGL_J1001.1+2911_daily_bin37.fits
Spacecraft file(s): /scratch/kocevski/654501/ft2_4FGL_J1001.1+2911_daily_bin37.fits
Exposure map: /scratch/kocevski/654501/expmap_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.fits
Exposure cube: /scratch/kocevski/654501/ltcube_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/654501/Model_4FGL_J1001.1+2911_daily_bin37.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) = 5171.66151922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17254E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .40520       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.091       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16346       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.943       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.859       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2748       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.2435       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4260       1.0000         .10000E-03   10000.    
    12 'norm      '    1.1558       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5118       1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.199       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2615       1.0000         .10000E-03   10000.    
    16 'norm      '    14.153       1.0000         .10000E-03   10000.    
    17 'Prefactor '    82.949       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .29931E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0396       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89268       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=   5171.656     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2787 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1.6811       -.22835E-06** at limit **
   2  norm          .40511        1.1345       -.13131E-06   -.27795E-03
   3  Prefactor     13.078        42.253       -.25707E-04   -.48473E-05
   4  Prefactor     .15836        1.7396        .16146E-06    .20240E-04
   5  Prefactor     23.939        23.181       -.28765E-05    .14327E-04
   6  Prefactor     20.852        39.977       -.11109E-04    .68188E-05
   7  Prefactor     .10000E-03    16.067        .12151E-04** at limit **
   8  Prefactor     .10000E-03    14.317       -.14123E-04** at limit **
   9  Prefactor     1.2742        5.6232       -.16281E-05   -.24955E-04
  10  Prefactor     4.2427        9.2737        .16808E-06    .36579E-05
  11  Prefactor     1.4259        1.3186       -.40831E-07    .95412E-04
  12  norm          1.1530        2.9649        .74867E-07   -.14690E-02
  13  Prefactor     1.5116        3.8364       -.13683E-05   -.19957E-03
  14  Prefactor     29.192        38.236       -.96378E-05   -.14233E-05
  15  Prefactor     1.2615        3.1754        .87947E-06   -.96201E-03
  16  norm          14.152        10.484        .12691E-07   -.75494E-05
  17  Prefactor     82.947        53.197       -.21737E-05    .98744E-05
  18  Prefactor     .10000E-03    10.196        .21634E-05** at limit **
  19  Prefactor     .10000E-03    2.2451        .94066E-07** at limit **
  20  Prefactor     .10000E-03    9.8794        .29378E-05** at limit **
  21  Prefactor     .10000E-03    1.4271       -.34519E-06** at limit **
  22  Prefactor     .10000E-03    8.9681       -.24128E-05** at limit **
  23  Normalizat    1.0395        .16886        .75486E-06    .14787E-03
  24  Prefactor     .89288        .18038        .30252E-05    .56138E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  norm       = 0.40511
  Prefactor  = 13.0779
  Prefactor  = 0.158359
  Prefactor  = 23.9387
  Prefactor  = 20.8516
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.27425
  Prefactor  = 4.24265
  Prefactor  = 1.42595
  norm       = 1.15304
  Prefactor  = 1.51159
  Prefactor  = 29.1919
  Prefactor  = 1.26152
  norm       = 14.1523
  Prefactor  = 82.947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.03952
  Prefactor  = 0.892875
 **********
 **   18 **HESSE 
 **********

 FCN=   5171.656     FROM HESSE     STATUS=OK           417 CALLS     3204 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    2.7590        .34418E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .40511        .95330        .12327E-02   -1.5581    
   3  Prefactor     13.078        42.337        .11071E-03   -1.4985    
   4  Prefactor     .15836        12.110        .17843E-02   -1.5628    
   5  Prefactor     23.939        23.154        .81863E-04   -1.4729    
   6  Prefactor     20.852        39.954        .87699E-04   -1.4794    
   7  Prefactor     .10000E-03    16.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.2742        5.5799        .31992E-03   -1.5482    
  10  Prefactor     4.2427        9.2449        .19560E-03   -1.5296    
  11  Prefactor     1.4259        1.3333        .77044E-04   -1.5469    
  12  norm          1.1530        11.931        .21474E-02   -1.5493    
  13  Prefactor     1.5116        3.6797        .18587E-03   -1.5462    
  14  Prefactor     29.192        38.253        .74144E-04   -1.4627    
  15  Prefactor     1.2615        3.1432        .90032E-03   -1.5483    
  16  norm          14.152        10.487        .10647E-03   -1.4955    
  17  Prefactor     82.947        53.248        .44103E-04   -1.3884    
  18  Prefactor     .10000E-03    10.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.2712        .10521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.085        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.9290        .16434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.9751        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0395        .19253        .21338E-03   -.91718    
  24  Prefactor     .89288        .20827        .25290E-03   -.96391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54693e-08
Minuit parameter uncertainties:
  1  0.000317115
  2  0.953338
  3  42.4348
  4  2.76932
  5  23.1627
  6  40.0056
  7  7.35303e-06
  8  2.27407e-05
  9  5.3336
  10  9.24798
  11  1.33336
  12  7.41956
  13  3.68029
  14  38.2851
  15  3.14361
  16  10.488
  17  53.279
  18  3.92782e-06
  19  7.24127e-06
  20  4.08241e-05
  21  8.221e-05
  22  9.42143e-06
  23  0.192664
  24  0.208457
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.426e+00  1.333e+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

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  8.929e-01  2.085e-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:  1.040e+00  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.92
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 1.78e-08
Energy Flux (Fixed Index): 7.58e-06 +/- 7.09e-06

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) = 5168.81840707
delta logL = 2.83748437222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5168.81727193
delta logL = 2.83861951568

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26329       1.0000         .10000E-03   10000.    
     2 'Index     '    .64070       1.0000          .0000       10.000    
     3 'Normalizat'    1.0513       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89021       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.

 FCN=   5168.817     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      213 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26275        .28539        .81422E-02   -.65492E-03
   2  Index         .63992        .39209        .20495       -.30813E-04
   3  Normalizat    1.0515        .15951        .40467E-01    .68177E-05
   4  Prefactor     .88997        .17749        .44880E-01    .11320E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.262746
  Index      = 0.639919
  Normalizat = 1.05154
  Prefactor  = 0.889972
 **********
 **   18 **HESSE 
 **********

 FCN=   5168.817     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26275        .66016        .31843E-03   -1.5605    
   2  Index         .63992        .77863        .92004E-03   -1.0593    
   3  Normalizat    1.0515        .18264        .21224E-03   -.91323    
   4  Prefactor     .88997        .20316        .25325E-03   -.96492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65709e-12
Minuit parameter uncertainties:
  1  0.660183
  2  0.792402
  3  0.182746
  4  0.203332
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654501': 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) = 5168.81727065
delta logL = 2.8386207964

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.627e-01  6.602e-01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  6.399e-01  7.924e-01  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:  8.900e-01  2.033e-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:  1.052e+00  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.59
Ra Dec: 150.294 29.188
Photon Index (Free Index): 0.64 +/- 0.79
Photon Flux (Free Index): 3.42e-09 +/- 3.60e-09
Energy Flux (Free Index): 9.89e-05 +/- 1.26e-04

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/654501/cmap_HighResolution_248918401_249177601_4FGL_J1001.1+2911_daily_bin37.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='9.89e-05', photon_flux_error='1.78e-08', dlogl='2.84e+00', energy_flux='7.58e-06', photon_flux2='3.42e-09', job_status='DONE', time_completed='2021-09-01 09:56:15.483421', photon_index_error2='0.79', photon_index2='0.64', ts='5.92', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='1.26e-04', EG='1.04', time_epoch_completed='1630515375.48', return_code='0', job_id='654501', GAL2='0.89', EG2='1.05', return_code2='0', energy_flux_error='7.09e-06', photon_flux_error2='3.60e-09', ts2='11.59', photon_index='2.27' WHERE bin_id='37' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 09:56:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 654501: <4FGL_J1001.1+2911_daily_bin37> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin37> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:35 2021
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:37 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:45:37 2021
Terminated at Wed Sep  1 09:56:16 2021
Results reported at Wed Sep  1 09:56:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin37 150.294 29.188 248918401 249177601 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 :                                   549.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            641 sec.

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

