/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 75 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 = 7424
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin538
RA = 150.294, Dec = 29.188
tmin = 378777601, tmax = 379036801
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='656400', job_status='RUN', time_executed='2021-09-01 09:53:44.028949', time_epoch_executed='1630515224.03' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='538'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656400

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656400/ft1_4FGL_J1001.1+2911_daily_bin538.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656400/ft2_4FGL_J1001.1+2911_daily_bin538.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656400/ft1_4FGL_J1001.1+2911_daily_bin538.fits outfile=/scratch/kocevski/656400/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin538.fits ra=150.294 dec=29.188 rad=12.0 tmin=378777601.0 tmax=379036801.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 5.64
user 4.37
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/656400/ft2_4FGL_J1001.1+2911_daily_bin538.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/656400/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin538.fits evtable="EVENTS" outfile="/scratch/kocevski/656400/ft1_filtered_4FGL_J1001.1+2911_daily_bin538.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 1.08
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656400/ft1_filtered_4FGL_J1001.1+2911_daily_bin538.fits" evtable="EVENTS" scfile=/scratch/kocevski/656400/ft2_4FGL_J1001.1+2911_daily_bin538.fits sctable="SC_DATA" outfile=/scratch/kocevski/656400/ltcube_378777601_379036801_4FGL_J1001.1+2911_daily_bin538.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/656400/ft2_4FGL_J1001.1+2911_daily_bin538.fits
.....................!
real 13.78
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656400/ft1_filtered_4FGL_J1001.1+2911_daily_bin538.fits evtable="EVENTS" scfile=/scratch/kocevski/656400/ft2_4FGL_J1001.1+2911_daily_bin538.fits sctable="SC_DATA" expcube=/scratch/kocevski/656400/ltcube_378777601_379036801_4FGL_J1001.1+2911_daily_bin538.fits outfile=/scratch/kocevski/656400/expmap_378777601_379036801_4FGL_J1001.1+2911_daily_bin538.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/656400/ltcube_378777601_379036801_4FGL_J1001.1+2911_daily_bin538.fits
.....................!
real 191.98
user 187.09
sys 3.79

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/656400/ft1_filtered_4FGL_J1001.1+2911_daily_bin538.fits scfile=/scratch/kocevski/656400/ft2_4FGL_J1001.1+2911_daily_bin538.fits outfile=/scratch/kocevski/656400/cmap_378777601_379036801_4FGL_J1001.1+2911_daily_bin538.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 1.20
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656400/ft1_filtered_4FGL_J1001.1+2911_daily_bin538.fits scfile=/scratch/kocevski/656400/ft2_4FGL_J1001.1+2911_daily_bin538.fits outfile=/scratch/kocevski/656400/cmap_HighResolution_378777601_379036801_4FGL_J1001.1+2911_daily_bin538.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.58
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9874       1.0000         .10000E-03   10000.    
     2 'norm      '    2.2522       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10382E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.1562       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43237       1.0000         .10000E-03   10000.    
     6 'Prefactor '    58.242       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.786       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .78560       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10397E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.5613       1.0000         .10000E-03   10000.    
    12 'norm      '    10.044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.9653       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .86506E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .24896E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    .10190E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12774E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.765       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67539E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    25.257       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90535       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0882       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.

 FCN=   4835.486     FROM MIGRAD    STATUS=CONVERGED   1024 CALLS     3591 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9871        2.5491        .12307E-03   -.16165E-04
   2  norm          2.2524        1.6703        .74704E-04   -.26480E-04
   3  Prefactor     .10000E-03    17.344        .18142E-02** at limit **
   4  Prefactor     1.1574        3.6972        .22346E-03   -.33771E-03
   5  Prefactor     .21155        28.951        .94077E-01   -.21176E-03
   6  Prefactor     58.288        50.186        .52569E-04   -.36246E-04
   7  Prefactor     28.765        37.179        .74673E-04   -.20401E-04
   8  Prefactor     .10000E-03    17.287        .18142E-02** at limit **
   9  Prefactor     .78554        6.9227        .34318E-03   -.37325E-03
  10  Prefactor     .10000E-03    10.768        .18142E-02** at limit **
  11  Prefactor     1.5615        2.1496        .11557E-03   -.31057E-03
  12  norm          10.042        7.1870        .12643E-03   -.48196E-04
  13  Prefactor     4.9598        4.0171        .11773E-03   -.11592E-02
  14  Prefactor     .10076E-03    55.398        .13608    ** at limit **
  15  Prefactor     .10002E-03    52.962        .21003E-02** at limit **
  16  norm          .10000E-03    27.362        .18142E-02** at limit **
  17  Prefactor     .10000E-03    72.531        .18142E-02** at limit **
  18  Prefactor     30.732        48.204        .72237E-04   -.33343E-03
  19  Prefactor     .64062E-01    17.667        .41198E-01   -.12934E-03
  20  Prefactor     .10000E-03    2.8243        .11365E-02** at limit **
  21  Prefactor     .10000E-03    .72073        .57375E-03** at limit **
  22  Prefactor     25.254        22.777        .79708E-04   -.26244E-04
  23  Normalizat    .90528        .20510        .23025E-03   -.65819E-03
  24  Prefactor     1.0884        .22579        .24185E-03   -.54156E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.98707
  norm       = 2.25238
  Prefactor  = 0.0001
  Prefactor  = 1.15738
  Prefactor  = 0.211546
  Prefactor  = 58.2883
  Prefactor  = 28.7653
  Prefactor  = 0.0001
  Prefactor  = 0.785541
  Prefactor  = 0.0001
  Prefactor  = 1.56146
  norm       = 10.0422
  Prefactor  = 4.95977
  Prefactor  = 0.000100763
  Prefactor  = 0.000100017
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.7321
  Prefactor  = 0.0640621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.2545
  Normalizat = 0.905283
  Prefactor  = 1.08841
 **********
 **   18 **HESSE 
 **********

 FCN=   4835.486     FROM HESSE     STATUS=OK           403 CALLS     3994 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9871        2.5491        .49230E-05   -1.5426    
   2  norm          2.2524        1.6702        .29882E-05   -1.5408    
   3  Prefactor     .10000E-03    17.344        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.1574        3.6957        .89385E-05   -1.5493    
   5  Prefactor     .21155        26.962        .98554E-01   -1.5616    
   6  Prefactor     58.288        50.184        .10514E-04   -1.4180    
   7  Prefactor     28.765        37.171        .29869E-05   -1.4635    
   8  Prefactor     .10000E-03    17.287        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .78554        6.9181        .13727E-04   -1.5531    
  10  Prefactor     .10000E-03    10.775        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5615        2.1493        .46226E-05   -1.5458    
  12  norm          10.042        7.1866        .50574E-05   -1.5074    
  13  Prefactor     4.9598        3.9987        .47090E-05   -1.5263    
  14  Prefactor     .10076E-03    57.082        .13351       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10002E-03    53.870        .84011E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    27.386        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    72.537        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.732        44.323        .14447E-04   -1.4599    
  19  Prefactor     .64062E-01    11.578        .48552E-01   -1.5657    
  20  Prefactor     .10000E-03    2.8247        .22729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .72076        .11475E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     25.254        22.776        .31883E-05   -1.4702    
  23  Normalizat    .90528        .20492        .46050E-04   -.96275    
  24  Prefactor     1.0884        .22587        .48369E-04   -.89838    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0563e-09
Minuit parameter uncertainties:
  1  2.54922
  2  1.67019
  3  1.23847e-05
  4  3.69647
  5  4.7776
  6  50.2209
  7  37.2013
  8  3.32575e-05
  9  4.66282
  10  3.06598e-05
  11  2.14945
  12  7.18719
  13  3.9989
  14  0.0132129
  15  0.00190169
  16  6.85535e-05
  17  0.000214266
  18  44.3709
  19  1.72142
  20  4.00303e-06
  21  1.24283e-06
  22  22.7834
  23  0.205095
  24  0.226072
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.561e+00  2.149e+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:  1.088e+00  2.261e-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:  9.053e-01  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/656400/likelihoodResults_378777601_379036801_4FGL_J1001.1+2911_daily_bin538.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4835.24864242
delta logL = 0.237304664517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4835.01315129
delta logL = 0.472795794845

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 'Index     '    7.7211       1.0000          .0000       10.000    
     3 'Normalizat'    .83835       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1514       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=   4835.013     FROM MIGRAD    STATUS=CONVERGED    120 CALLS      501 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .32138E-02    .33630E-03** at limit **
   2  Index         7.7211        2.7550        .15073        .14351E-03
   3  Normalizat    .83831        .41523E-01    .44109E-01    .37264E-04
   4  Prefactor     1.1513        .46791E-01    .53420E-01   -.88008E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.72108
  Normalizat = 0.838308
  Prefactor  = 1.15132
 **********
 **   18 **HESSE 
 **********

 FCN=   4835.013     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      542 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .29140E-01    .14883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.7211        8.1373        .56727E-02    .57545    
   3  Normalizat    .83831        .10546        .23829E-03   -.98663    
   4  Prefactor     1.1513        .11880        .23619E-03   -.87843    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.69761e-09
Minuit parameter uncertainties:
  1  2.92189e-09
  2  5.72991
  3  0.105484
  4  0.118827
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656400': 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) = 4835.01314856
delta logL = 0.472798527017

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  2.922e-09  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  7.721e+00  5.730e+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.151e+00  1.188e-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:  8.383e-01  1.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 150.294 29.188
Photon Index (Free Index): 7.72 +/- 5.73
Photon Flux (Free Index): 5.82e-08 +/- 6.92e-07
Energy Flux (Free Index): 6.80e-06 +/- 8.03e-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/656400/cmap_HighResolution_378777601_379036801_4FGL_J1001.1+2911_daily_bin538.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.97e-03', comment='SUCCESS', energy_flux2='6.80e-06', dlogl='4.73e-01', photon_flux2='5.82e-08', job_status='DONE', time_completed='2021-09-01 10:05:02.335160', photon_index_error2='5.73', photon_index2='7.72', ts='0.71', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='9.10e-08', energy_flux_error2='8.03e-05', EG='0.91', time_epoch_completed='1630515902.34', return_code='0', job_id='656400', GAL2='1.15', EG2='0.84', return_code2='102', photon_flux_error2='6.92e-07', ts2='1.78', photon_index='2.27' WHERE bin_id='538' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:05:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 656400: <4FGL_J1001.1+2911_daily_bin538> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin538> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:51:09 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:51:11 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:51:11 2021
Terminated at Wed Sep  1 10:05:03 2021
Results reported at Wed Sep  1 10:05:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin538 150.294 29.188 378777601 379036801 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 :                                   667.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            834 sec.

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

