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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin233
RA = 150.294, Dec = 29.188
tmin = 299721601, tmax = 299980801
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='654792', job_status='RUN', time_executed='2021-09-01 09:49:18.974534', time_epoch_executed='1630514958.97' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='233'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654792

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654792/ft1_4FGL_J1001.1+2911_daily_bin233.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654792/ft2_4FGL_J1001.1+2911_daily_bin233.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654792/ft1_4FGL_J1001.1+2911_daily_bin233.fits outfile=/scratch/kocevski/654792/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin233.fits ra=150.294 dec=29.188 rad=12.0 tmin=299721601.0 tmax=299980801.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.38
user 3.16
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654792/ft2_4FGL_J1001.1+2911_daily_bin233.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/654792/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin233.fits evtable="EVENTS" outfile="/scratch/kocevski/654792/ft1_filtered_4FGL_J1001.1+2911_daily_bin233.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.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654792/ft1_filtered_4FGL_J1001.1+2911_daily_bin233.fits evtable="EVENTS" scfile=/scratch/kocevski/654792/ft2_4FGL_J1001.1+2911_daily_bin233.fits sctable="SC_DATA" expcube=/scratch/kocevski/654792/ltcube_299721601_299980801_4FGL_J1001.1+2911_daily_bin233.fits outfile=/scratch/kocevski/654792/expmap_299721601_299980801_4FGL_J1001.1+2911_daily_bin233.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/654792/ltcube_299721601_299980801_4FGL_J1001.1+2911_daily_bin233.fits
.....................!
real 189.79
user 185.36
sys 4.05

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/654792/ft1_filtered_4FGL_J1001.1+2911_daily_bin233.fits scfile=/scratch/kocevski/654792/ft2_4FGL_J1001.1+2911_daily_bin233.fits outfile=/scratch/kocevski/654792/cmap_299721601_299980801_4FGL_J1001.1+2911_daily_bin233.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.50
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654792/ft1_filtered_4FGL_J1001.1+2911_daily_bin233.fits scfile=/scratch/kocevski/654792/ft2_4FGL_J1001.1+2911_daily_bin233.fits outfile=/scratch/kocevski/654792/cmap_HighResolution_299721601_299980801_4FGL_J1001.1+2911_daily_bin233.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 1.01
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0602       1.0000         .10000E-03   10000.    
     3 'Prefactor '    72.256       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.057       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.645       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1272       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7926       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.549       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   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 '    1.8142       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .38425E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98723       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0192       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=   5636.379     FROM MIGRAD    STATUS=CONVERGED    971 CALLS     3157 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7193        .95551E-03** at limit **
   2  norm          1.0603        1.2332        .47609E-04    .58265E-04
   3  Prefactor     72.260        56.097        .47229E-04    .28404E-05
   4  Prefactor     .10000E-03    3.7726        .27844E-02** at limit **
   5  Prefactor     .10000E-03    24.245        .18142E-02** at limit **
   6  Prefactor     .10000E-03    21.684        .18142E-02** at limit **
   7  Prefactor     16.058        24.278        .99951E-04   -.10806E-04
   8  Prefactor     .10000E-03    32.818        .18142E-02** at limit **
   9  Prefactor     11.645        7.9911        .58697E-03   -.14821E-03
  10  Prefactor     .10000E-03    6.5115        .36285E-03** at limit **
  11  Prefactor     3.1272        2.3896        .96162E-04   -.26884E-03
  12  norm          .10000E-03    7.1604        .18142E-02** at limit **
  13  Prefactor     2.7948        3.1246        .13327E-03   -.16967E-03
  14  Prefactor     22.548        36.190        .84352E-04    .60649E-05
  15  Prefactor     .10000E-03    4.1340        .21511E-02** at limit **
  16  norm          .10000E-03    3.9851        .14597E-02** at limit **
  17  Prefactor     .10000E-03    15.187        .18142E-02** at limit **
  18  Prefactor     .10000E-03    10.092        .18142E-02** at limit **
  19  Prefactor     .10000E-03    1.7000        .95136E-03** at limit **
  20  Prefactor     1.8122        8.0329        .31013E-03   -.19003E-03
  21  Prefactor     .75876E-02    4.5354        .25763E-01    .24612E-03
  22  Prefactor     .10000E-03    11.452        .18142E-02** at limit **
  23  Normalizat    .98721        .19468        .22254E-03    .23347E-04
  24  Prefactor     1.0192        .21398        .24972E-03   -.26484E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.06029
  Prefactor  = 72.2603
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 16.0577
  Prefactor  = 0.0001
  Prefactor  = 11.6452
  Prefactor  = 0.0001
  Prefactor  = 3.12715
  norm       = 0.0001
  Prefactor  = 2.79477
  Prefactor  = 22.5484
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.81225
  Prefactor  = 0.00758761
  Prefactor  = 0.0001
  Normalizat = 0.987212
  Prefactor  = 1.01917
 **********
 **   18 **HESSE 
 **********

 FCN=   5636.379     FROM HESSE     STATUS=OK           383 CALLS     3540 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7196        .19110E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0603        1.2332        .19044E-05   -1.5502    
   3  Prefactor     72.260        56.094        .94458E-05   -1.4006    
   4  Prefactor     .10000E-03    3.7883        .55688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.251        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.684        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.058        24.275        .39980E-05   -1.4906    
   8  Prefactor     .10000E-03    32.821        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.645        7.9886        .23479E-04   -1.5025    
  10  Prefactor     .10000E-03    6.5118        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.1272        2.3893        .38465E-05   -1.5354    
  12  norm          .10000E-03    7.1641        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7948        3.1223        .53307E-05   -1.5374    
  14  Prefactor     22.548        36.194        .33741E-05   -1.4758    
  15  Prefactor     .10000E-03    4.1422        .43022E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.9856        .29194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.187        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.092        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.7001        .19027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.8122        7.9372        .12405E-04   -1.5439    
  21  Prefactor     .75876E-02    2.7097        .34873E-01   -1.5691    
  22  Prefactor     .10000E-03    11.452        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98721        .19472        .89015E-05   -.93460    
  24  Prefactor     1.0192        .21417        .49945E-04   -.92093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76323e-10
Minuit parameter uncertainties:
  1  3.7189e-06
  2  1.23322
  3  56.1353
  4  4.49279e-05
  5  0.000263599
  6  0.000126344
  7  24.2903
  8  0.000254281
  9  7.98934
  10  5.79362e-05
  11  2.38938
  12  1.73319e-05
  13  3.12247
  14  36.229
  15  1.20437e-05
  16  1.29377e-06
  17  8.11952e-05
  18  3.9346e-05
  19  1.10554e-06
  20  7.58676
  21  0.284894
  22  3.00934e-05
  23  0.194859
  24  0.21435
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.127e+00  2.389e+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.019e+00  2.143e-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.872e-01  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.75
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.17e-08 +/- 3.19e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 1.27e-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) = 5635.93210441
delta logL = 0.447048813337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5635.92857739
delta logL = 0.450575830223

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8974       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9511       1.0000          .0000       10.000    
     3 'Normalizat'    .94271       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0489       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=   5635.929     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      285 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8975        2.3402        .30198E-04    .93064E-03
   2  Index         2.9509        .82093        .47324E-02    .12172E-03
   3  Normalizat    .94274        .19357        .22685E-03    .20458E-03
   4  Prefactor     1.0489        .21542        .24645E-03    .25185E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.89751
  Index      = 2.95087
  Normalizat = 0.942742
  Prefactor  = 1.04891
 **********
 **   18 **HESSE 
 **********

 FCN=   5635.929     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8975        2.0161        .12079E-05   -1.5432    
   2  Index         2.9509        .70730        .18930E-03   -.42226    
   3  Normalizat    .94274        .19295        .45371E-04   -.94974    
   4  Prefactor     1.0489        .21505        .49290E-04   -.91116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34806e-10
Minuit parameter uncertainties:
  1  2.01618
  2  0.710165
  3  0.193088
  4  0.215231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654792': 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) = 5635.92857728
delta logL = 0.450575941183

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.898e+00  2.016e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.951e+00  7.102e-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:  1.049e+00  2.152e-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.427e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.72
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.95 +/- 0.71
Photon Flux (Free Index): 7.71e-08 +/- 5.25e-08
Energy Flux (Free Index): 1.58e-05 +/- 9.20e-06

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/654792/cmap_HighResolution_299721601_299980801_4FGL_J1001.1+2911_daily_bin233.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.17e-08', energy_flux2='1.58e-05', photon_flux_error='3.19e-08', dlogl='4.51e-01', energy_flux='1.66e-05', photon_flux2='7.71e-08', job_status='DONE', time_completed='2021-09-01 09:59:42.039086', photon_index_error2='0.71', photon_index2='2.95', ts='4.75', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='9.20e-06', EG='0.99', time_epoch_completed='1630515582.04', return_code='0', job_id='654792', GAL2='1.05', EG2='0.94', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='5.25e-08', ts2='5.72', photon_index='2.27' WHERE bin_id='233' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 09:59:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 654792: <4FGL_J1001.1+2911_daily_bin233> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin233> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:46:01 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:46:03 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:46:03 2021
Terminated at Wed Sep  1 09:59:42 2021
Results reported at Wed Sep  1 09:59:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin233 150.294 29.188 299721601 299980801 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 :                                   607.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

