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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin99
RA = 150.294, Dec = 29.188
tmin = 264988801, tmax = 265248001
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='654597', job_status='RUN', time_executed='2021-09-01 09:49:10.500259', time_epoch_executed='1630514950.5' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='99'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654597

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654597/ft1_4FGL_J1001.1+2911_daily_bin99.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654597/ft2_4FGL_J1001.1+2911_daily_bin99.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654597/ft1_4FGL_J1001.1+2911_daily_bin99.fits outfile=/scratch/kocevski/654597/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin99.fits ra=150.294 dec=29.188 rad=12.0 tmin=264988801.0 tmax=265248001.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.46
user 1.27
sys 0.17

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654597/ft1_filtered_4FGL_J1001.1+2911_daily_bin99.fits evtable="EVENTS" scfile=/scratch/kocevski/654597/ft2_4FGL_J1001.1+2911_daily_bin99.fits sctable="SC_DATA" expcube=/scratch/kocevski/654597/ltcube_264988801_265248001_4FGL_J1001.1+2911_daily_bin99.fits outfile=/scratch/kocevski/654597/expmap_264988801_265248001_4FGL_J1001.1+2911_daily_bin99.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/654597/ltcube_264988801_265248001_4FGL_J1001.1+2911_daily_bin99.fits
.....................!
real 191.03
user 185.32
sys 5.18

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/654597/ft1_filtered_4FGL_J1001.1+2911_daily_bin99.fits scfile=/scratch/kocevski/654597/ft2_4FGL_J1001.1+2911_daily_bin99.fits outfile=/scratch/kocevski/654597/cmap_264988801_265248001_4FGL_J1001.1+2911_daily_bin99.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.70
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654597/ft1_filtered_4FGL_J1001.1+2911_daily_bin99.fits scfile=/scratch/kocevski/654597/ft2_4FGL_J1001.1+2911_daily_bin99.fits outfile=/scratch/kocevski/654597/cmap_HighResolution_264988801_265248001_4FGL_J1001.1+2911_daily_bin99.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.61
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.8893       1.0000         .10000E-03   10000.    
     3 'Prefactor '    93.268       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.623       1.0000         .10000E-03   10000.    
     8 'Prefactor '    86.672       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9635       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7683       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0925       1.0000         .10000E-03   10000.    
    12 'norm      '    17.956       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12213E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7094       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12879E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10941E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2441       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .80902       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=   7870.124     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2737 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .75227       -.20187E-08** at limit **
   2  norm          1.8896        1.4518        .83112E-08    .40267E-04
   3  Prefactor     93.268        48.952        .79098E-08   -.20498E-04
   4  Prefactor     .10000E-03    2.4143       -.76035E-08** at limit **
   5  Prefactor     .10000E-03    29.019        .39806E-06** at limit **
   6  Prefactor     .10000E-03    25.128       -.22674E-06** at limit **
   7  Prefactor     10.607        24.262        .53805E-06   -.80337E-04
   8  Prefactor     86.668        44.678        .12070E-06   -.40089E-04
   9  Prefactor     5.9625        5.1422        .32531E-07    .55187E-04
  10  Prefactor     4.7686        7.1653       -.17305E-06   -.56646E-05
  11  Prefactor     4.0923        2.1111       -.26409E-07   -.31759E-03
  12  norm          17.955        7.6076        .10968E-07   -.92150E-04
  13  Prefactor     .10000E-03    3.7642       -.13931E-05** at limit **
  14  Prefactor     .10000E-03    12.895        .12741E-06** at limit **
  15  Prefactor     1.7152        3.8303       -.18696E-05   -.17263E-03
  16  norm          .10000E-03    9.2755        .27771E-07** at limit **
  17  Prefactor     .10000E-03    12.993        .13905E-06** at limit **
  18  Prefactor     .10000E-03    11.609        .20118E-06** at limit **
  19  Prefactor     .10000E-03    5.2097        .30412E-05** at limit **
  20  Prefactor     .10000E-03    1.5221        .30872E-08** at limit **
  21  Prefactor     .10001E-03    1.4697        .13360E-05** at limit **
  22  Prefactor     .10000E-03    20.293       -.43041E-06** at limit **
  23  Normalizat    1.2441        .14616       -.26988E-06   -.73226E-03
  24  Prefactor     .80900        .15627        .12403E-06   -.52568E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.88958
  Prefactor  = 93.2684
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 10.6075
  Prefactor  = 86.6684
  Prefactor  = 5.96255
  Prefactor  = 4.76858
  Prefactor  = 4.0923
  norm       = 17.9555
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.71521
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.000100001
  Normalizat = 1.24411
  Prefactor  = 0.808996
 **********
 **   18 **HESSE 
 **********

 FCN=   7870.124     FROM HESSE     STATUS=OK           393 CALLS     3130 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .75287        .75143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8896        1.4558        .90758E-04   -1.5433    
   3  Prefactor     93.268        48.966        .41614E-04   -1.3773    
   4  Prefactor     .10000E-03    2.5106        .26881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.607        24.363        .12293E-03   -1.5056    
   8  Prefactor     86.668        44.712        .43154E-04   -1.3843    
   9  Prefactor     5.9625        5.1400        .16443E-03   -1.5220    
  10  Prefactor     4.7686        7.1546        .18425E-03   -1.5271    
  11  Prefactor     4.0923        2.1098        .88797E-04   -1.5303    
  12  norm          17.955        7.6063        .94518E-04   -1.4860    
  13  Prefactor     .10000E-03    6.0062        .21391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7152        3.9412        .24987E-03   -1.5446    
  16  norm          .10000E-03    9.5712        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.1060        .27781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.5265        .10687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    5.6577        .14690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2441        .17118        .21852E-03   -.85250    
  24  Prefactor     .80900        .18244        .28838E-03   -.99398    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17073e-09
Minuit parameter uncertainties:
  1  4.12351e-07
  2  1.45578
  3  48.9868
  4  7.00504e-06
  5  0.000338992
  6  8.86428e-05
  7  24.3862
  8  44.7297
  9  5.14038
  10  7.15593
  11  2.10982
  12  7.6067
  13  1.87206e-05
  14  3.57191e-05
  15  3.94183
  16  8.58925e-05
  17  2.84764e-05
  18  2.09768e-05
  19  0.000272693
  20  1.61871e-06
  21  0.000440381
  22  0.000233253
  23  0.171257
  24  0.182574
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.092e+00  2.110e+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.090e-01  1.826e-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.244e+00  1.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.36
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.46e-08 +/- 2.81e-08
Energy Flux (Fixed Index): 2.17e-05 +/- 1.12e-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) = 7870.06614922
delta logL = 0.0574784852597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7870.05574953
delta logL = 0.0678781733086

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4059       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1165       1.0000          .0000       10.000    
     3 'Normalizat'    1.2522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80411       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=   7870.056     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4065        49.844        .47966E-02    .17384E-03
   2  Index         2.1162        3.3945        .18758        .69809E-04
   3  Normalizat    1.2522        .84316E-01    .49302E-01    .87629E-07
   4  Prefactor     .80411        .72763E-01    .65374E-01    .15501E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.40649
  Index      = 2.11624
  Normalizat = 1.25216
  Prefactor  = 0.80411
 **********
 **   18 **HESSE 
 **********

 FCN=   7870.056     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4065        2.4346        .95607E-04   -1.5288    
   2  Index         2.1162        .41416        .66037E-02   -.61475    
   3  Normalizat    1.2522        .16663        .21796E-03   -.85006    
   4  Prefactor     .80411        .18044        .28920E-03   -.99577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83037e-12
Minuit parameter uncertainties:
  1  2.43463
  2  0.414873
  3  0.166703
  4  0.18057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654597': 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) = 7870.05574937
delta logL = 0.0678783400499

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.406e+00  2.435e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.116e+00  4.149e-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.041e-01  1.806e-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.252e+00  1.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.48
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.12 +/- 0.41
Photon Flux (Free Index): 4.73e-08 +/- 3.21e-08
Energy Flux (Free Index): 2.51e-05 +/- 1.75e-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/654597/cmap_HighResolution_264988801_265248001_4FGL_J1001.1+2911_daily_bin99.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.46e-08', energy_flux2='2.51e-05', photon_flux_error='2.81e-08', dlogl='6.79e-02', energy_flux='2.17e-05', photon_flux2='4.73e-08', job_status='DONE', time_completed='2021-09-01 10:00:36.931765', photon_index_error2='0.41', photon_index2='2.12', ts='10.36', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='1.75e-05', EG='1.24', time_epoch_completed='1630515636.93', return_code='0', job_id='654597', GAL2='0.80', EG2='1.25', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='3.21e-08', ts2='10.48', photon_index='2.27' WHERE bin_id='99' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 654597: <4FGL_J1001.1+2911_daily_bin99> in cluster <slac> Done

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

Your job looked like:

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

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

