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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin53
RA = 150.294, Dec = 29.188
tmin = 253065601, tmax = 253324801
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='654526', job_status='RUN', time_executed='2021-09-01 09:47:02.678833', time_epoch_executed='1630514822.68' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654526

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654526/ft1_4FGL_J1001.1+2911_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654526/ft2_4FGL_J1001.1+2911_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654526/ft1_4FGL_J1001.1+2911_daily_bin53.fits outfile=/scratch/kocevski/654526/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin53.fits ra=150.294 dec=29.188 rad=12.0 tmin=253065601.0 tmax=253324801.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.40
user 1.22
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654526/ft2_4FGL_J1001.1+2911_daily_bin53.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/654526/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin53.fits evtable="EVENTS" outfile="/scratch/kocevski/654526/ft1_filtered_4FGL_J1001.1+2911_daily_bin53.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654526/ft1_filtered_4FGL_J1001.1+2911_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/654526/ft2_4FGL_J1001.1+2911_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/654526/ltcube_253065601_253324801_4FGL_J1001.1+2911_daily_bin53.fits outfile=/scratch/kocevski/654526/expmap_253065601_253324801_4FGL_J1001.1+2911_daily_bin53.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/654526/ltcube_253065601_253324801_4FGL_J1001.1+2911_daily_bin53.fits
.....................!
real 193.40
user 187.31
sys 5.08

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/654526/ft1_filtered_4FGL_J1001.1+2911_daily_bin53.fits scfile=/scratch/kocevski/654526/ft2_4FGL_J1001.1+2911_daily_bin53.fits outfile=/scratch/kocevski/654526/cmap_253065601_253324801_4FGL_J1001.1+2911_daily_bin53.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654526/ft1_filtered_4FGL_J1001.1+2911_daily_bin53.fits scfile=/scratch/kocevski/654526/ft2_4FGL_J1001.1+2911_daily_bin53.fits outfile=/scratch/kocevski/654526/cmap_HighResolution_253065601_253324801_4FGL_J1001.1+2911_daily_bin53.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.3986       1.0000         .10000E-03   10000.    
     3 'Prefactor '    50.225       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6983       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.990       1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.782       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.8143       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.2546       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5697       1.0000         .10000E-03   10000.    
    12 'norm      '    8.0908       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14897E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.387       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10786E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.780       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.2339       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .26034E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2696       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92084       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89784       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=   6632.952     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2722 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9569        .39790E-07** at limit **
   2  norm          1.3984        1.6349       -.35299E-07   -.14035E-03
   3  Prefactor     50.223        34.241       -.15318E-05   -.24775E-04
   4  Prefactor     4.6985        3.0665        .76014E-07   -.10080E-02
   5  Prefactor     .10000E-03    9.6423        .61007E-07** at limit **
   6  Prefactor     .10000E-03    40.059        .63213E-06** at limit **
   7  Prefactor     28.990        32.846       -.59424E-06    .16192E-05
   8  Prefactor     27.775        37.322       -.70350E-05   -.54281E-04
   9  Prefactor     8.8143        6.2359       -.12655E-06   -.31957E-04
  10  Prefactor     3.2564        5.1776        .37559E-06   -.14798E-02
  11  Prefactor     3.5701        2.4250       -.45942E-07    .12351E-04
  12  norm          8.0910        6.8615       -.10849E-06   -.85852E-05
  13  Prefactor     .10000E-03    1.9737       -.36487E-06** at limit **
  14  Prefactor     42.391        39.922        .31997E-05    .33937E-04
  15  Prefactor     .10000E-03    2.0333       -.32281E-06** at limit **
  16  norm          .10000E-03    3.2139       -.53532E-07** at limit **
  17  Prefactor     39.790        43.845        .10279E-04    .10300E-03
  18  Prefactor     .10000E-03    25.694       -.28174E-06** at limit **
  19  Prefactor     4.2312        4.0828        .36454E-06   -.18864E-02
  20  Prefactor     .10000E-03    3.3414       -.52456E-07** at limit **
  21  Prefactor     3.2703        1.8254       -.48254E-07    .29895E-05
  22  Prefactor     .10000E-03    10.566        .64552E-07** at limit **
  23  Normalizat    .92075        .15683        .25497E-06    .14852E-03
  24  Prefactor     .89798        .16736       -.32195E-06    .11221E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.39842
  Prefactor  = 50.2232
  Prefactor  = 4.69851
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.9898
  Prefactor  = 27.7753
  Prefactor  = 8.81431
  Prefactor  = 3.25645
  Prefactor  = 3.57008
  norm       = 8.091
  Prefactor  = 0.0001
  Prefactor  = 42.3909
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 39.7899
  Prefactor  = 0.0001
  Prefactor  = 4.23125
  Prefactor  = 0.0001
  Prefactor  = 3.27026
  Prefactor  = 0.0001
  Normalizat = 0.920749
  Prefactor  = 0.897985
 **********
 **   18 **HESSE 
 **********

 FCN=   6632.952     FROM HESSE     STATUS=OK           405 CALLS     3127 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9759        .11123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3984        1.6101        .10721E-03   -1.5471    
   3  Prefactor     50.223        34.264        .56587E-04   -1.4289    
   4  Prefactor     4.6985        3.1178        .55590E-03   -1.5274    
   5  Prefactor     .10000E-03    9.6599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    40.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.990        32.908        .74410E-04   -1.4631    
   8  Prefactor     27.775        37.529        .76007E-04   -1.4653    
   9  Prefactor     8.8143        6.2438        .13501E-03   -1.5114    
  10  Prefactor     3.2564        7.3354        .11225E-02   -1.5347    
  11  Prefactor     3.5701        2.4250        .98516E-04   -1.5330    
  12  norm          8.0910        6.8633        .14095E-03   -1.5139    
  13  Prefactor     .10000E-03    4.4745        .21664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     42.391        39.878        .61574E-04   -1.4405    
  15  Prefactor     .10000E-03    3.5463        .21988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.2185        .14259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     39.790        43.924        .63552E-04   -1.4446    
  18  Prefactor     .10000E-03    25.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.2312        4.9116        .92514E-03   -1.5297    
  20  Prefactor     .10000E-03    13.203        .28766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.2703        1.8203        .79358E-04   -1.5346    
  22  Prefactor     .10000E-03    10.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .92075        .18477        .22717E-03   -.95735    
  24  Prefactor     .89798        .19613        .25368E-03   -.96212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33953e-09
Minuit parameter uncertainties:
  1  6.06087e-08
  2  1.61015
  3  34.2771
  4  3.11793
  5  2.26921e-06
  6  5.64994e-05
  7  32.9281
  8  37.561
  9  6.2443
  10  7.33743
  11  2.42509
  12  6.86401
  13  1.06685e-05
  14  39.9031
  15  1.80263e-05
  16  1.09826e-06
  17  43.9601
  18  2.74951e-05
  19  4.91207
  20  4.98292e-05
  21  1.82034
  22  6.5687e-06
  23  0.184895
  24  0.196284
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.570e+00  2.425e+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.980e-01  1.963e-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.207e-01  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.67
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.77e-08 +/- 3.24e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.29e-05

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) = 6632.61053642
delta logL = 0.341363484298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6632.59245266
delta logL = 0.359447243083

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5504       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7604       1.0000          .0000       10.000    
     3 'Normalizat'    .88417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92352       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=   6632.592     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5494        21.897        .63919E-02    .40220E-03
   2  Index         2.7611        2.8422        .14572        .12808E-03
   3  Normalizat    .88454        .53394E-01    .44699E-01    .26275E-04
   4  Prefactor     .92324        .52793E-01    .45304E-01    .25234E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54941
  Index      = 2.76115
  Normalizat = 0.884537
  Prefactor  = 0.923239
 **********
 **   18 **HESSE 
 **********

 FCN=   6632.592     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5494        2.4615        .69324E-04   -1.5389    
   2  Index         2.7611        .65754        .50862E-02   -.46427    
   3  Normalizat    .88454        .18293        .23116E-03   -.97006    
   4  Prefactor     .92324        .19748        .25047E-03   -.95334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03289e-11
Minuit parameter uncertainties:
  1  2.46165
  2  0.659931
  3  0.183062
  4  0.197629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654526': 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) = 6632.59244758
delta logL = 0.359452323816

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.549e+00  2.462e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.761e+00  6.599e-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:  9.232e-01  1.976e-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.845e-01  1.831e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.43
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.76 +/- 0.66
Photon Flux (Free Index): 7.47e-08 +/- 4.94e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.00e-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/654526/cmap_HighResolution_253065601_253324801_4FGL_J1001.1+2911_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.77e-08', energy_flux2='1.72e-05', photon_flux_error='3.24e-08', dlogl='3.59e-01', energy_flux='1.90e-05', photon_flux2='7.47e-08', job_status='DONE', time_completed='2021-09-01 09:57:24.378293', photon_index_error2='0.66', photon_index2='2.76', ts='5.67', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.00e-05', EG='0.92', time_epoch_completed='1630515444.38', return_code='0', job_id='654526', GAL2='0.92', EG2='0.88', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='4.94e-08', ts2='6.43', photon_index='2.27' WHERE bin_id='53' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 09:57:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 654526: <4FGL_J1001.1+2911_daily_bin53> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin53 150.294 29.188 253065601 253324801 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 :                                   615.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            708 sec.

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

