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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin211
RA = 150.294, Dec = 29.188
tmin = 294019201, tmax = 294278401
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='654768', job_status='RUN', time_executed='2021-09-01 09:48:49.422296', time_epoch_executed='1630514929.42' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654768

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654768/ft1_4FGL_J1001.1+2911_daily_bin211.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654768/ft2_4FGL_J1001.1+2911_daily_bin211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654768/ft1_4FGL_J1001.1+2911_daily_bin211.fits outfile=/scratch/kocevski/654768/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin211.fits ra=150.294 dec=29.188 rad=12.0 tmin=294019201.0 tmax=294278401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.29
user 2.94
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654768/ft1_filtered_4FGL_J1001.1+2911_daily_bin211.fits evtable="EVENTS" scfile=/scratch/kocevski/654768/ft2_4FGL_J1001.1+2911_daily_bin211.fits sctable="SC_DATA" expcube=/scratch/kocevski/654768/ltcube_294019201_294278401_4FGL_J1001.1+2911_daily_bin211.fits outfile=/scratch/kocevski/654768/expmap_294019201_294278401_4FGL_J1001.1+2911_daily_bin211.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/654768/ltcube_294019201_294278401_4FGL_J1001.1+2911_daily_bin211.fits
.....................!
real 190.05
user 185.07
sys 4.58

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/654768/ft1_filtered_4FGL_J1001.1+2911_daily_bin211.fits scfile=/scratch/kocevski/654768/ft2_4FGL_J1001.1+2911_daily_bin211.fits outfile=/scratch/kocevski/654768/cmap_294019201_294278401_4FGL_J1001.1+2911_daily_bin211.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=150.294 yref=29.188 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.36
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654768/ft1_filtered_4FGL_J1001.1+2911_daily_bin211.fits scfile=/scratch/kocevski/654768/ft2_4FGL_J1001.1+2911_daily_bin211.fits outfile=/scratch/kocevski/654768/cmap_HighResolution_294019201_294278401_4FGL_J1001.1+2911_daily_bin211.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.14
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0788       1.0000         .10000E-03   10000.    
     2 'norm      '    .48306       1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.738       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1835       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9587       1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.884       1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.377       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2079       1.0000         .10000E-03   10000.    
    12 'norm      '    24.572       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.0844       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.041       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .21216E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .46453       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.163       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .63867       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3115       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=   6533.341     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     3497 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0789        2.6002        .12873E-06    .39147E-04
   2  norm          .48328        1.0814        .28954E-06    .77562E-03
   3  Prefactor     35.731        68.113        .12951E-06    .24916E-05
   4  Prefactor     .10000E-03    1.6712       -.30338E-06** at limit **
   5  Prefactor     3.1800        32.559        .11074E-05    .75547E-05
   6  Prefactor     .10000E-03    17.118       -.82406E-07** at limit **
   7  Prefactor     7.0006        65.856        .26031E-05    .46430E-04
   8  Prefactor     36.888        47.909        .27959E-06    .65977E-05
   9  Prefactor     60.378        11.129        .47732E-07    .19412E-04
  10  Prefactor     .10000E-03    2.3078       -.55425E-08** at limit **
  11  Prefactor     1.2079        1.2901        .13050E-07    .26748E-04
  12  norm          24.572        10.585        .14955E-07    .39706E-05
  13  Prefactor     1.0847        2.8314        .11277E-05    .15250E-03
  14  Prefactor     .10000E-03    30.690       -.10655E-06** at limit **
  15  Prefactor     .10000E-03    2.5509       -.27992E-06** at limit **
  16  norm          .10000E-03    7.5009       -.12939E-07** at limit **
  17  Prefactor     16.046        39.638        .25351E-06    .31594E-05
  18  Prefactor     .10000E-03    14.328       -.94571E-07** at limit **
  19  Prefactor     .10000E-03    3.3737       -.20147E-06** at limit **
  20  Prefactor     .10000E-03    13.279       -.10100E-05** at limit **
  21  Prefactor     .46354        1.7604        .12311E-05    .16541E-03
  22  Prefactor     11.163        20.590       -.69408E-07    .43949E-05
  23  Normalizat    .63849        .17950       -.35612E-05    .11407E-03
  24  Prefactor     1.3116        .19381        .25561E-05   -.11161E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.07888
  norm       = 0.483278
  Prefactor  = 35.7315
  Prefactor  = 0.000100001
  Prefactor  = 3.17997
  Prefactor  = 0.0001
  Prefactor  = 7.00057
  Prefactor  = 36.8875
  Prefactor  = 60.3783
  Prefactor  = 0.0001
  Prefactor  = 1.20792
  norm       = 24.572
  Prefactor  = 1.0847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.0457
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.463543
  Prefactor  = 11.1635
  Normalizat = 0.63849
  Prefactor  = 1.31165
 **********
 **   18 **HESSE 
 **********

 FCN=   6533.341     FROM HESSE     STATUS=OK           407 CALLS     3904 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0789        2.5824        .14187E-03   -1.5420    
   2  norm          .48328        .91662        .12638E-02   -1.5569    
   3  Prefactor     35.731        68.248        .67037E-04   -1.4512    
   4  Prefactor     .10000E-03    5.6871        .19724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.1800        32.438        .22712E-03   -1.5351    
   6  Prefactor     .10000E-03    17.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0006        66.479        .15208E-03   -1.5179    
   8  Prefactor     36.888        47.891        .65990E-04   -1.4493    
   9  Prefactor     60.378        11.115        .51636E-04   -1.4152    
  10  Prefactor     .10000E-03    2.3113        .11991E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2079        1.2624        .92086E-04   -1.5488    
  12  norm          24.572        10.578        .80809E-04   -1.4716    
  13  Prefactor     1.0847        2.8066        .20624E-03   -1.5500    
  14  Prefactor     .10000E-03    30.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.6093        .25175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    7.5466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.046        39.628        .10000E-03   -1.4907    
  18  Prefactor     .10000E-03    14.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.4166        .14485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.863        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .46354        1.7777        .20225E-03   -1.5572    
  22  Prefactor     11.163        20.599        .11991E-03   -1.5040    
  23  Normalizat    .63849        .19011        .28666E-03   -1.0637    
  24  Prefactor     1.3116        .20892        .23519E-03   -.82961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.15963e-10
Minuit parameter uncertainties:
  1  2.58251
  2  0.916643
  3  68.3982
  4  0.000182068
  5  20.3266
  6  1.7364e-05
  7  43.2087
  8  47.9409
  9  11.1154
  10  1.34644e-06
  11  1.26247
  12  10.5784
  13  2.80691
  14  1.4447e-05
  15  1.9369e-05
  16  1.13485e-06
  17  39.6935
  18  8.17678e-07
  19  2.46827e-08
  20  4.42768e-05
  21  1.77787
  22  20.6117
  23  0.190301
  24  0.209056
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.208e+00  1.262e+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.312e+00  2.091e-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:  6.385e-01  1.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.61e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 6.42e-06 +/- 6.71e-06

TS (Fixed Index): 1.76
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 6.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654768/likelihoodResults_294019201_294278401_4FGL_J1001.1+2911_daily_bin211.txt

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) = 6532.95131361
delta logL = 0.389300928967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6532.95112119
delta logL = 0.389493356467

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6468       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6980       1.0000          .0000       10.000    
     3 'Normalizat'    .64459       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3063       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6532.951     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      302 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6485        1.5474        .95200E-04   -.82638E-04
   2  Index         1.6988        .57254        .96077E-02    .18991E-04
   3  Normalizat    .64458        .17762        .28540E-03    .15718E-03
   4  Prefactor     1.3063        .20311        .23551E-03    .83298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.6485
  Index      = 1.69883
  Normalizat = 0.644584
  Prefactor  = 1.30631
 **********
 **   18 **HESSE 
 **********

 FCN=   6532.951     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6485        1.5528        .38080E-05   -1.5451    
   2  Index         1.6988        .57466        .38431E-03   -.72113    
   3  Normalizat    .64458        .17775        .11416E-04   -1.0612    
   4  Prefactor     1.3063        .20327        .47103E-04   -.83120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.68364e-11
Minuit parameter uncertainties:
  1  1.55283
  2  0.576929
  3  0.177909
  4  0.203389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654768': 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) = 6532.95111967
delta logL = 0.38949487803

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.649e+00  1.553e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.699e+00  5.769e-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.306e+00  2.034e-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:  6.446e-01  1.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.54
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.70 +/- 0.58
Photon Flux (Free Index): 1.09e-08 +/- 1.23e-08
Energy Flux (Free Index): 1.79e-05 +/- 2.74e-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/654768/cmap_HighResolution_294019201_294278401_4FGL_J1001.1+2911_daily_bin211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-03', comment='SUCCESS', photon_flux='1.61e-08', energy_flux2='1.79e-05', photon_flux_error='1.68e-08', dlogl='3.89e-01', energy_flux='6.42e-06', photon_flux2='1.09e-08', job_status='DONE', time_completed='2021-09-01 10:01:28.895431', photon_index_error2='0.58', photon_index2='1.70', ts='1.76', fit_tolerance='1e-08', GAL='1.31', photon_index_error='0.00', photon_flux_upper_limit='6.38e-08', energy_flux_error2='2.74e-05', EG='0.64', time_epoch_completed='1630515688.9', return_code='0', job_id='654768', GAL2='1.31', EG2='0.64', return_code2='0', energy_flux_error='6.71e-06', photon_flux_error2='1.23e-08', ts2='2.54', photon_index='2.27' WHERE bin_id='211' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:01:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 654768: <4FGL_J1001.1+2911_daily_bin211> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin211> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:59 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:46:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 09:46:01 2021
Terminated at Wed Sep  1 10:01:29 2021
Results reported at Wed Sep  1 10:01:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin211 150.294 29.188 294019201 294278401 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 :                                   743.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            930 sec.

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

