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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin52
RA = 150.294, Dec = 29.188
tmin = 252806401, tmax = 253065601
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='654524', job_status='RUN', time_executed='2021-09-01 09:49:19.793436', time_epoch_executed='1630514959.79' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='52'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654524

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654524/ft1_4FGL_J1001.1+2911_daily_bin52.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654524/ft2_4FGL_J1001.1+2911_daily_bin52.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654524/ft1_4FGL_J1001.1+2911_daily_bin52.fits outfile=/scratch/kocevski/654524/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin52.fits ra=150.294 dec=29.188 rad=12.0 tmin=252806401.0 tmax=253065601.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.25
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654524/ft2_4FGL_J1001.1+2911_daily_bin52.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/654524/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin52.fits evtable="EVENTS" outfile="/scratch/kocevski/654524/ft1_filtered_4FGL_J1001.1+2911_daily_bin52.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.51
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654524/ft1_filtered_4FGL_J1001.1+2911_daily_bin52.fits" evtable="EVENTS" scfile=/scratch/kocevski/654524/ft2_4FGL_J1001.1+2911_daily_bin52.fits sctable="SC_DATA" outfile=/scratch/kocevski/654524/ltcube_252806401_253065601_4FGL_J1001.1+2911_daily_bin52.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/654524/ft2_4FGL_J1001.1+2911_daily_bin52.fits
.....................!
real 13.03
user 12.68
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654524/ft1_filtered_4FGL_J1001.1+2911_daily_bin52.fits evtable="EVENTS" scfile=/scratch/kocevski/654524/ft2_4FGL_J1001.1+2911_daily_bin52.fits sctable="SC_DATA" expcube=/scratch/kocevski/654524/ltcube_252806401_253065601_4FGL_J1001.1+2911_daily_bin52.fits outfile=/scratch/kocevski/654524/expmap_252806401_253065601_4FGL_J1001.1+2911_daily_bin52.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/654524/ltcube_252806401_253065601_4FGL_J1001.1+2911_daily_bin52.fits
.....................!
real 193.29
user 188.92
sys 3.98

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/654524/ft1_filtered_4FGL_J1001.1+2911_daily_bin52.fits scfile=/scratch/kocevski/654524/ft2_4FGL_J1001.1+2911_daily_bin52.fits outfile=/scratch/kocevski/654524/cmap_252806401_253065601_4FGL_J1001.1+2911_daily_bin52.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.52
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4586       1.0000         .10000E-03   10000.    
     3 'Prefactor '    47.576       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.1939       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.139       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4642       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .29693       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8156       1.0000         .10000E-03   10000.    
    12 'norm      '    .17385E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .79169       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6156       1.0000         .10000E-03   10000.    
    16 'norm      '    10.126       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.757       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .54840       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.7891       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0520       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0743       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=   7660.005     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2772 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0482        .77756E-07** at limit **
   2  norm          1.4588        1.1390        .11905E-07   -.59608E-05
   3  Prefactor     47.539        49.066        .34218E-07   -.72240E-04
   4  Prefactor     7.1955        4.2220        .28993E-06    .83016E-04
   5  Prefactor     .10000E-03    20.328        .39524E-06** at limit **
   6  Prefactor     .10000E-03    15.512       -.27629E-06** at limit **
   7  Prefactor     29.183        42.551        .87703E-06    .38746E-04
   8  Prefactor     2.3810        147.52       -.27578E-06   -.30664E-04
   9  Prefactor     .39003        3.7894       -.17675E-05    .11497E-02
  10  Prefactor     .10000E-03    3.5557        .18695E-06** at limit **
  11  Prefactor     3.8135        2.3336        .87803E-07    .59676E-04
  12  norm          .10213E-03    4.0268        .15193E-05** at limit **
  13  Prefactor     .79233        2.0844        .15121E-05    .82879E-03
  14  Prefactor     .10000E-03    22.656       -.14809E-06** at limit **
  15  Prefactor     1.6160        3.3379        .60113E-08   -.27941E-03
  16  norm          10.130        9.5944        .30419E-07   -.77763E-04
  17  Prefactor     .10000E-03    13.942        .13789E-06** at limit **
  18  Prefactor     16.766        16.635       -.87642E-07   -.71344E-04
  19  Prefactor     .10000E-03    1.2460       -.85237E-08** at limit **
  20  Prefactor     .10000E-03    3.8161        .16635E-06** at limit **
  21  Prefactor     .54916        1.4147        .10458E-05    .56197E-03
  22  Prefactor     8.8101        15.921        .12138E-06   -.49277E-04
  23  Normalizat    1.0519        .15539       -.19982E-05   -.41603E-03
  24  Prefactor     1.0741        .16378        .18145E-06   -.41874E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.45875
  Prefactor  = 47.5394
  Prefactor  = 7.19545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.183
  Prefactor  = 2.38103
  Prefactor  = 0.390029
  Prefactor  = 0.0001
  Prefactor  = 3.8135
  norm       = 0.000102125
  Prefactor  = 0.792326
  Prefactor  = 0.0001
  Prefactor  = 1.61605
  norm       = 10.1304
  Prefactor  = 0.0001
  Prefactor  = 16.7664
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.549159
  Prefactor  = 8.81005
  Normalizat = 1.05187
  Prefactor  = 1.07413
 **********
 **   18 **HESSE 
 **********

 FCN=   7660.005     FROM HESSE     STATUS=OK           411 CALLS     3183 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0512        .87521E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4588        1.1380        .79972E-04   -1.5466    
   3  Prefactor     47.539        49.161        .58134E-04   -1.4328    
   4  Prefactor     7.1955        4.2393        .12844E-03   -1.5171    
   5  Prefactor     .10000E-03    20.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     29.183        42.705        .74220E-04   -1.4627    
   8  Prefactor     2.3810        150.45        .26051E-03   -1.5399    
   9  Prefactor     .39003        22.959        .27976E-02   -1.5583    
  10  Prefactor     .10000E-03    3.5796        .16114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.8135        2.3231        .98546E-04   -1.5317    
  12  norm          .10213E-03    8.4662        .50847E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .79233        2.0340        .19259E-02   -1.5530    
  14  Prefactor     .10000E-03    22.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6160        3.1618        .20204E-03   -1.5454    
  16  norm          10.130        9.5890        .12592E-03   -1.5071    
  17  Prefactor     .10000E-03    13.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.766        16.635        .97840E-04   -1.4889    
  19  Prefactor     .10000E-03    1.2491        .95383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.8934        .16689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .54916        1.3959        .16250E-03   -1.5560    
  22  Prefactor     8.8101        15.926        .13520E-03   -1.5114    
  23  Normalizat    1.0519        .18253        .23480E-03   -.91312    
  24  Prefactor     1.0741        .19223        .25714E-03   -.90298    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67806e-08
Minuit parameter uncertainties:
  1  2.58388e-06
  2  1.13803
  3  49.2032
  4  4.23947
  5  0.000146584
  6  5.0674e-05
  7  42.7497
  8  37.9527
  9  5.98646
  10  7.55718e-06
  11  2.32315
  12  0.00848506
  13  2.03419
  14  7.43269e-05
  15  3.1621
  16  9.59046
  17  3.16179e-05
  18  16.6398
  19  3.75286e-07
  20  6.8036e-06
  21  1.39601
  22  15.934
  23  0.182637
  24  0.192349
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.813e+00  2.323e+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.074e+00  1.923e-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:  1.052e+00  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.05
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.09e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.23e-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) = 7659.92404789
delta logL = 0.0804579531177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7659.92179135
delta logL = 0.08271449721

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2109       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5148       1.0000          .0000       10.000    
     3 'Normalizat'    1.0351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0862       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=   7659.922     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      243 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2114        33.246        .56524E-02    .37093E-03
   2  Index         2.5147        3.4562        .12886        .14605E-03
   3  Normalizat    1.0352        .69170E-01    .41692E-01   -.64501E-04
   4  Prefactor     1.0863        .62286E-01    .57866E-01   -.58338E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.2114
  Index      = 2.51472
  Normalizat = 1.03517
  Prefactor  = 1.08628
 **********
 **   18 **HESSE 
 **********

 FCN=   7659.922     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2114        2.9194        .84359E-04   -1.5350    
   2  Index         2.5147        .69838        .67066E-02   -.52020    
   3  Normalizat    1.0352        .17794        .23641E-03   -.91861    
   4  Prefactor     1.0863        .19282        .25589E-03   -.89906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.59239e-09
Minuit parameter uncertainties:
  1  2.91949
  2  0.701432
  3  0.178045
  4  0.192944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654524': 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) = 7659.9217892
delta logL = 0.0827166463159

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.211e+00  2.919e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.515e+00  7.014e-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.086e+00  1.929e-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:  1.035e+00  1.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.22
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.51 +/- 0.70
Photon Flux (Free Index): 6.27e-08 +/- 4.38e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/654524/cmap_HighResolution_252806401_253065601_4FGL_J1001.1+2911_daily_bin52.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.09e-08', energy_flux2='1.79e-05', photon_flux_error='3.10e-08', dlogl='8.27e-02', energy_flux='2.03e-05', photon_flux2='6.27e-08', job_status='DONE', time_completed='2021-09-01 10:00:30.130215', photon_index_error2='0.70', photon_index2='2.51', ts='5.05', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.19e-05', EG='1.05', time_epoch_completed='1630515630.13', return_code='0', job_id='654524', GAL2='1.09', EG2='1.04', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='4.38e-08', ts2='5.22', photon_index='2.27' WHERE bin_id='52' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 654524: <4FGL_J1001.1+2911_daily_bin52> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin52> 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) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:38 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:38 2021
Terminated at Wed Sep  1 10:00:30 2021
Results reported at Wed Sep  1 10:00:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin52 150.294 29.188 252806401 253065601 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 :                                   669.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            893 sec.

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

