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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin111
RA = 150.294, Dec = 29.188
tmin = 268099201, tmax = 268358401
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='654616', job_status='RUN', time_executed='2021-09-01 09:48:42.402677', time_epoch_executed='1630514922.4' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='111'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654616

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654616/ft1_4FGL_J1001.1+2911_daily_bin111.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654616/ft2_4FGL_J1001.1+2911_daily_bin111.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654616/ft1_4FGL_J1001.1+2911_daily_bin111.fits outfile=/scratch/kocevski/654616/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin111.fits ra=150.294 dec=29.188 rad=12.0 tmin=268099201.0 tmax=268358401.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.42
user 1.27
sys 0.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654616/ft2_4FGL_J1001.1+2911_daily_bin111.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/654616/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin111.fits evtable="EVENTS" outfile="/scratch/kocevski/654616/ft1_filtered_4FGL_J1001.1+2911_daily_bin111.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.48
user 0.33
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654616/ft1_filtered_4FGL_J1001.1+2911_daily_bin111.fits" evtable="EVENTS" scfile=/scratch/kocevski/654616/ft2_4FGL_J1001.1+2911_daily_bin111.fits sctable="SC_DATA" outfile=/scratch/kocevski/654616/ltcube_268099201_268358401_4FGL_J1001.1+2911_daily_bin111.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/654616/ft2_4FGL_J1001.1+2911_daily_bin111.fits
.....................!
real 12.93
user 12.58
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654616/ft1_filtered_4FGL_J1001.1+2911_daily_bin111.fits evtable="EVENTS" scfile=/scratch/kocevski/654616/ft2_4FGL_J1001.1+2911_daily_bin111.fits sctable="SC_DATA" expcube=/scratch/kocevski/654616/ltcube_268099201_268358401_4FGL_J1001.1+2911_daily_bin111.fits outfile=/scratch/kocevski/654616/expmap_268099201_268358401_4FGL_J1001.1+2911_daily_bin111.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/654616/ltcube_268099201_268358401_4FGL_J1001.1+2911_daily_bin111.fits
.....................!
real 191.52
user 186.61
sys 4.27

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/654616/ft1_filtered_4FGL_J1001.1+2911_daily_bin111.fits scfile=/scratch/kocevski/654616/ft2_4FGL_J1001.1+2911_daily_bin111.fits outfile=/scratch/kocevski/654616/cmap_268099201_268358401_4FGL_J1001.1+2911_daily_bin111.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 2.46
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654616/ft1_filtered_4FGL_J1001.1+2911_daily_bin111.fits scfile=/scratch/kocevski/654616/ft2_4FGL_J1001.1+2911_daily_bin111.fits outfile=/scratch/kocevski/654616/cmap_HighResolution_268099201_268358401_4FGL_J1001.1+2911_daily_bin111.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.37
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25465       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0245       1.0000         .10000E-03   10000.    
     3 'Prefactor '    94.643       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.5455       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    133.32       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.109       1.0000         .10000E-03   10000.    
     8 'Prefactor '    107.72       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5694       1.0000         .10000E-03   10000.    
    12 'norm      '    4.3696       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.9437       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11334E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .66935       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .78794       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10308E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .68152       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .95927       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85127       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=   4270.404     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2861 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .25082        2.6765       -.71799E-06   -.11744E-03
   2  norm          1.0243        1.1989       -.60956E-07    .80820E-04
   3  Prefactor     94.589        51.857       -.14133E-05    .54533E-05
   4  Prefactor     2.5448        3.0424       -.14647E-06   -.11225E-03
   5  Prefactor     .10000E-03    12.227        .95794E-06** at limit **
   6  Prefactor     133.23        76.114       -.35997E-04    .56745E-05
   7  Prefactor     12.220        69.340        .14185E-04    .44059E-05
   8  Prefactor     107.70        68.729       -.76292E-05    .90302E-05
   9  Prefactor     .10000E-03    1.7480        .66757E-07** at limit **
  10  Prefactor     .10000E-03    3.7624       -.12755E-06** at limit **
  11  Prefactor     4.5691        2.5233       -.59744E-07    .40674E-04
  12  norm          4.3664        9.3960        .24820E-06   -.15450E-03
  13  Prefactor     6.9483        4.4606       -.37716E-06    .49630E-04
  14  Prefactor     .10000E-03    23.544        .61824E-06** at limit **
  15  Prefactor     .10000E-03    5.2256       -.42692E-07** at limit **
  16  norm          .10000E-03    5.3124       -.30745E-06** at limit **
  17  Prefactor     .40983        54.072        .48197E-06   -.17100E-03
  18  Prefactor     .10000E-03    45.447        .49516E-06** at limit **
  19  Prefactor     .78339        4.4271       -.11580E-05   -.12028E-03
  20  Prefactor     .10000E-03    8.0740       -.30635E-06** at limit **
  21  Prefactor     .67919        1.6474       -.61302E-06   -.12918E-02
  22  Prefactor     .10000E-03    13.928       -.91479E-06** at limit **
  23  Normalizat    .95920        .18908        .22614E-05    .12275E-03
  24  Prefactor     .85178        .19936        .19407E-05    .13137E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.250819
  norm       = 1.02426
  Prefactor  = 94.5893
  Prefactor  = 2.5448
  Prefactor  = 0.0001
  Prefactor  = 133.23
  Prefactor  = 12.2199
  Prefactor  = 107.7
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.5691
  norm       = 4.36641
  Prefactor  = 6.94833
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.409827
  Prefactor  = 0.0001
  Prefactor  = 0.783391
  Prefactor  = 0.0001
  Prefactor  = 0.679192
  Prefactor  = 0.0001
  Normalizat = 0.959205
  Prefactor  = 0.851779
 **********
 **   18 **HESSE 
 **********

 FCN=   4270.404     FROM HESSE     STATUS=OK           413 CALLS     3274 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .25082        11.275        .20697E-02   -1.5608    
   2  norm          1.0243        1.1826        .75128E-04   -1.5506    
   3  Prefactor     94.589        51.862        .20656E-03   -1.3760    
   4  Prefactor     2.5448        3.0321        .11951E-03   -1.5389    
   5  Prefactor     .10000E-03    12.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     133.23        76.081        .17438E-03   -1.3394    
   7  Prefactor     12.220        70.202        .11512E-03   -1.5009    
   8  Prefactor     107.70        68.868        .38749E-04   -1.3629    
   9  Prefactor     .10000E-03    1.7511        .84372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.7680        .12379E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.5691        2.5239        .74410E-04   -1.5280    
  12  norm          4.3664        9.3883        .19268E-03   -1.5290    
  13  Prefactor     6.9483        4.4551        .10522E-03   -1.5181    
  14  Prefactor     .10000E-03    23.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.4470        .29076E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.3178        .14710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .40983        60.777        .14890       -1.5580    
  18  Prefactor     .10000E-03    45.533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .78339        14.227        .25887E-02   -1.5531    
  20  Prefactor     .10000E-03    8.4542        .36240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .67919        1.4696        .12663E-02   -1.5543    
  22  Prefactor     .10000E-03    13.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .95920        .22069        .22238E-03   -.94410    
  24  Prefactor     .85178        .23119        .25877E-03   -.97847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30533e-08
Minuit parameter uncertainties:
  1  3.36335
  2  1.18267
  3  51.8872
  4  3.03229
  5  1.52731e-05
  6  76.137
  7  58.6832
  8  68.9191
  9  1.43043e-05
  10  8.82103e-06
  11  2.52395
  12  9.3915
  13  4.45534
  14  9.54045e-06
  15  2.51098e-05
  16  7.84943e-06
  17  9.99073
  18  2.26124e-06
  19  6.6783
  20  3.5256e-05
  21  1.46971
  22  1.4462e-05
  23  0.220903
  24  0.231457
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.569e+00  2.524e+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.518e-01  2.315e-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.592e-01  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.99
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.10e-08 +/- 3.37e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 1.34e-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) = 4270.12856188
delta logL = 0.275810844256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4270.08360687
delta logL = 0.320765850112

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7254       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9480       1.0000          .0000       10.000    
     3 'Normalizat'    .97070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84393       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=   4270.084     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7261        11.430        .41966E-02   -.31090E-04
   2  Index         1.9477        1.2164        .13351        .45170E-04
   3  Normalizat    .97073        .18234        .45799E-01   -.19306E-04
   4  Prefactor     .84388        .20083        .44286E-01    .23401E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.72607
  Index      = 1.94766
  Normalizat = 0.97073
  Prefactor  = 0.843883
 **********
 **   18 **HESSE 
 **********

 FCN=   4270.084     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7261        3.3042        .84337E-04   -1.5229    
   2  Index         1.9477        .38240        .54918E-02   -.65665    
   3  Normalizat    .97073        .20491        .22120E-03   -.94018    
   4  Prefactor     .84388        .22669        .12991E-02   -.98130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.347e-12
Minuit parameter uncertainties:
  1  3.30432
  2  0.382998
  3  0.205073
  4  0.226942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654616': 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) = 4270.08360651
delta logL = 0.320766205406

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  5.726e+00  3.304e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.948e+00  3.830e-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.439e-01  2.269e-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.707e-01  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.61
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.95 +/- 0.38
Photon Flux (Free Index): 4.94e-08 +/- 3.16e-08
Energy Flux (Free Index): 3.90e-05 +/- 3.45e-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/654616/cmap_HighResolution_268099201_268358401_4FGL_J1001.1+2911_daily_bin111.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.10e-08', energy_flux2='3.90e-05', photon_flux_error='3.37e-08', dlogl='3.21e-01', energy_flux='2.43e-05', photon_flux2='4.94e-08', job_status='DONE', time_completed='2021-09-01 09:57:32.017346', photon_index_error2='0.38', photon_index2='1.95', ts='9.99', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='3.45e-05', EG='0.96', time_epoch_completed='1630515452.02', return_code='0', job_id='654616', GAL2='0.84', EG2='0.97', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='3.16e-08', ts2='10.61', photon_index='2.27' WHERE bin_id='111' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 09:57:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 654616: <4FGL_J1001.1+2911_daily_bin111> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin111 150.294 29.188 268099201 268358401 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 :                                   510.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            706 sec.

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

