/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 145 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 = 7553
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin749
RA = 150.294, Dec = 29.188
tmin = 433468801, tmax = 433728001
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='659256', job_status='RUN', time_executed='2021-09-01 10:03:12.245095', time_epoch_executed='1630515792.25' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659256

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659256/ft1_4FGL_J1001.1+2911_daily_bin749.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659256/ft2_4FGL_J1001.1+2911_daily_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659256/ft1_4FGL_J1001.1+2911_daily_bin749.fits outfile=/scratch/kocevski/659256/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin749.fits ra=150.294 dec=29.188 rad=12.0 tmin=433468801.0 tmax=433728001.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 6.21
user 5.79
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659256/ft1_filtered_4FGL_J1001.1+2911_daily_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/659256/ft2_4FGL_J1001.1+2911_daily_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/659256/ltcube_433468801_433728001_4FGL_J1001.1+2911_daily_bin749.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/659256/ft2_4FGL_J1001.1+2911_daily_bin749.fits
.....................!
real 12.86
user 11.96
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659256/ft1_filtered_4FGL_J1001.1+2911_daily_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/659256/ft2_4FGL_J1001.1+2911_daily_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/659256/ltcube_433468801_433728001_4FGL_J1001.1+2911_daily_bin749.fits outfile=/scratch/kocevski/659256/expmap_433468801_433728001_4FGL_J1001.1+2911_daily_bin749.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/659256/ltcube_433468801_433728001_4FGL_J1001.1+2911_daily_bin749.fits
.....................!
real 194.39
user 184.96
sys 6.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/659256/ft1_filtered_4FGL_J1001.1+2911_daily_bin749.fits scfile=/scratch/kocevski/659256/ft2_4FGL_J1001.1+2911_daily_bin749.fits outfile=/scratch/kocevski/659256/cmap_433468801_433728001_4FGL_J1001.1+2911_daily_bin749.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.74
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659256/ft1_filtered_4FGL_J1001.1+2911_daily_bin749.fits scfile=/scratch/kocevski/659256/ft2_4FGL_J1001.1+2911_daily_bin749.fits outfile=/scratch/kocevski/659256/cmap_HighResolution_433468801_433728001_4FGL_J1001.1+2911_daily_bin749.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.82
user 0.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.4382       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.223       1.0000         .10000E-03   10000.    
     6 'Prefactor '    77.666       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    44.885       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9745       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.378       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.3132       1.0000         .10000E-03   10000.    
    12 'norm      '    5.1479       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10386E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1588       1.0000         .10000E-03   10000.    
    16 'norm      '    8.8290       1.0000         .10000E-03   10000.    
    17 'Prefactor '    111.42       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14079E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3190       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7775       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7284       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88439       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92251       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=   4576.717     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2722 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4868       -.16243E-06** at limit **
   2  norm          1.4383        1.3522        .40850E-07   -.39335E-04
   3  Prefactor     .10000E-03    16.537       -.11647E-04** at limit **
   4  Prefactor     .10000E-03    1.0121        .10226E-06** at limit **
   5  Prefactor     32.221        33.234       -.15219E-05    .55415E-05
   6  Prefactor     77.662        86.094       -.44139E-05    .87226E-05
   7  Prefactor     .10000E-03    24.075       -.69801E-05** at limit **
   8  Prefactor     44.883        49.989       -.12084E-05    .14095E-04
   9  Prefactor     9.9744        6.3475       -.11212E-05   -.19344E-04
  10  Prefactor     17.378        9.3159       -.21416E-08   -.19160E-05
  11  Prefactor     5.3132        2.6718       -.63777E-08   -.14191E-04
  12  norm          5.1479        5.3219        .35625E-05    .58472E-04
  13  Prefactor     .10000E-03    1.4970        .19178E-07** at limit **
  14  Prefactor     .10000E-03    96.584       -.62995E-04** at limit **
  15  Prefactor     3.1588        4.5311       -.28782E-06   -.57120E-03
  16  norm          8.8284        9.8378       -.92151E-06   -.89257E-03
  17  Prefactor     111.43        71.923        .25838E-05   -.10987E-04
  18  Prefactor     .10000E-03    74.650        .52636E-04** at limit **
  19  Prefactor     3.3082        5.9503       -.14739E-05   -.13634E-02
  20  Prefactor     3.7767        6.1828       -.18757E-05   -.24492E-03
  21  Prefactor     1.7286        1.7854        .52317E-09    .40005E-04
  22  Prefactor     .10000E-03    17.303        .15800E-04** at limit **
  23  Normalizat    .88445        .18922        .11499E-05   -.19872E-04
  24  Prefactor     .92239        .20445       -.46053E-07    .54515E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.43826
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.2215
  Prefactor  = 77.6616
  Prefactor  = 0.0001
  Prefactor  = 44.8834
  Prefactor  = 9.97437
  Prefactor  = 17.3777
  Prefactor  = 5.31319
  norm       = 5.14792
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 3.15884
  norm       = 8.82837
  Prefactor  = 111.428
  Prefactor  = 0.0001
  Prefactor  = 3.30824
  Prefactor  = 3.77669
  Prefactor  = 1.72861
  Prefactor  = 0.0001
  Normalizat = 0.88445
  Prefactor  = 0.922385
 **********
 **   18 **HESSE 
 **********

 FCN=   4576.717     FROM HESSE     STATUS=OK           401 CALLS     3123 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4934        .80549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4383        1.3413        .74134E-04   -1.5468    
   3  Prefactor     .10000E-03    16.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.0160        .66442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     32.221        33.357        .70588E-04   -1.4572    
   6  Prefactor     77.662        86.144        .45567E-04   -1.3943    
   7  Prefactor     .10000E-03    24.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     44.883        50.016        .59843E-04   -1.4367    
   9  Prefactor     9.9744        6.3484        .12688E-03   -1.5076    
  10  Prefactor     17.378        9.3313        .96077E-04   -1.4874    
  11  Prefactor     5.3132        2.6726        .75223E-04   -1.5247    
  12  norm          5.1479        5.3193        .15410E-03   -1.5254    
  13  Prefactor     .10000E-03    1.5052        .80719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    96.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.1588        4.5176        .16011E-03   -1.5352    
  16  norm          8.8284        9.8735        .67448E-03   -1.5114    
  17  Prefactor     111.43        71.930        .38107E-04   -1.3593    
  18  Prefactor     .10000E-03    75.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3082        5.9556        .20870E-03   -1.5344    
  20  Prefactor     3.7767        6.1786        .20731E-03   -1.5319    
  21  Prefactor     1.7286        1.7843        .88853E-04   -1.5445    
  22  Prefactor     .10000E-03    17.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .88445        .22308        .22970E-03   -.97009    
  24  Prefactor     .92239        .23986        .25513E-03   -.95363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79611e-09
Minuit parameter uncertainties:
  1  1.28885e-06
  2  1.34132
  3  3.296e-07
  4  1.31138e-07
  5  33.3767
  6  86.2826
  7  3.27593e-06
  8  50.0631
  9  6.34888
  10  9.33205
  11  2.67271
  12  5.31979
  13  5.43888e-07
  14  0.000832234
  15  4.51813
  16  9.8753
  17  71.9861
  18  0.000197857
  19  5.95664
  20  6.17967
  21  1.78435
  22  4.37421e-05
  23  0.223313
  24  0.240138
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  5.313e+00  2.673e+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:  9.224e-01  2.401e-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.844e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.81
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 7.09e-08 +/- 3.57e-08
Energy Flux (Fixed Index): 2.82e-05 +/- 1.42e-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) = 4575.58914236
delta logL = 1.12785806447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4575.56481103
delta logL = 1.15218939367

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1590       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6687       1.0000          .0000       10.000    
     3 'Normalizat'    .92231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89763       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=   4575.565     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      205 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1598        3.4548        .40442E-02   -.18088E-04
   2  Index         1.6688        .34136        .14209       -.26643E-04
   3  Normalizat    .92239        .17897        .45186E-01    .31749E-05
   4  Prefactor     .89755        .20276        .44975E-01    .25880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.15978
  Index      = 1.66875
  Normalizat = 0.922386
  Prefactor  = 0.897546
 **********
 **   18 **HESSE 
 **********

 FCN=   4575.565     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1598        3.5097        .89050E-04   -1.5212    
   2  Index         1.6688        .37190        .58434E-02   -.72917    
   3  Normalizat    .92239        .20898        .22559E-03   -.95678    
   4  Prefactor     .89755        .23687        .25835E-03   -.96227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05141e-12
Minuit parameter uncertainties:
  1  3.50979
  2  0.37252
  3  0.20916
  4  0.23714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659256': 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) = 4575.56481093
delta logL = 1.15218949535

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  6.160e+00  3.510e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.669e+00  3.725e-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.975e-01  2.371e-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.224e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.13
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.67 +/- 0.37
Photon Flux (Free Index): 3.97e-08 +/- 2.87e-08
Energy Flux (Free Index): 7.18e-05 +/- 6.57e-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/659256/cmap_HighResolution_433468801_433728001_4FGL_J1001.1+2911_daily_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.09e-08', energy_flux2='7.18e-05', photon_flux_error='3.57e-08', dlogl='1.15e+00', energy_flux='2.82e-05', photon_flux2='3.97e-08', job_status='DONE', time_completed='2021-09-01 10:12:31.501958', photon_index_error2='0.37', photon_index2='1.67', ts='16.81', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='6.57e-05', EG='0.88', time_epoch_completed='1630516351.5', return_code='0', job_id='659256', GAL2='0.90', EG2='0.92', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='2.87e-08', ts2='19.13', photon_index='2.27' WHERE bin_id='749' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:12:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 659256: <4FGL_J1001.1+2911_daily_bin749> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:27 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 10:00:28 2021
Terminated at Wed Sep  1 10:12:32 2021
Results reported at Wed Sep  1 10:12:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin749 150.294 29.188 433468801 433728001 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 :                                   546.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            725 sec.

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

