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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin446
RA = 150.294, Dec = 29.188
tmin = 354931201, tmax = 355190401
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='656260', job_status='RUN', time_executed='2021-09-01 09:53:47.622657', time_epoch_executed='1630515227.62' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656260

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656260/ft1_4FGL_J1001.1+2911_daily_bin446.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656260/ft2_4FGL_J1001.1+2911_daily_bin446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656260/ft1_4FGL_J1001.1+2911_daily_bin446.fits outfile=/scratch/kocevski/656260/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin446.fits ra=150.294 dec=29.188 rad=12.0 tmin=354931201.0 tmax=355190401.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.62
user 3.12
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656260/ft1_filtered_4FGL_J1001.1+2911_daily_bin446.fits evtable="EVENTS" scfile=/scratch/kocevski/656260/ft2_4FGL_J1001.1+2911_daily_bin446.fits sctable="SC_DATA" expcube=/scratch/kocevski/656260/ltcube_354931201_355190401_4FGL_J1001.1+2911_daily_bin446.fits outfile=/scratch/kocevski/656260/expmap_354931201_355190401_4FGL_J1001.1+2911_daily_bin446.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/656260/ltcube_354931201_355190401_4FGL_J1001.1+2911_daily_bin446.fits
.....................!
real 194.72
user 187.44
sys 4.06

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/656260/ft1_filtered_4FGL_J1001.1+2911_daily_bin446.fits scfile=/scratch/kocevski/656260/ft2_4FGL_J1001.1+2911_daily_bin446.fits outfile=/scratch/kocevski/656260/cmap_354931201_355190401_4FGL_J1001.1+2911_daily_bin446.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656260/ft1_filtered_4FGL_J1001.1+2911_daily_bin446.fits scfile=/scratch/kocevski/656260/ft2_4FGL_J1001.1+2911_daily_bin446.fits outfile=/scratch/kocevski/656260/cmap_HighResolution_354931201_355190401_4FGL_J1001.1+2911_daily_bin446.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.55
user 0.41
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6624       1.0000         .10000E-03   10000.    
     2 'norm      '    1.7885       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    73.313       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4284       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.8795       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.7870       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5717       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .44721       1.0000         .10000E-03   10000.    
    16 'norm      '    2.6074       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .26879E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.7805       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1142       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95367       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=   5465.337     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2709 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6625        3.7131       -.64958E-07   -.84946E-05
   2  norm          1.7886        1.3023        .36427E-08    .45243E-06
   3  Prefactor     .10000E-03    14.546       -.30341E-06** at limit **
   4  Prefactor     .10000E-03    1.5027       -.34358E-07** at limit **
   5  Prefactor     73.306        38.441        .56753E-06    .13182E-05
   6  Prefactor     8.4938        157.46       -.15120E-04   -.11281E-04
   7  Prefactor     4.8487        66.202        .72546E-05    .20378E-05
   8  Prefactor     .10000E-03    14.061       -.30233E-07** at limit **
   9  Prefactor     .10000E-03    8.1374        .40242E-06** at limit **
  10  Prefactor     .10000E-03    3.2264       -.15026E-07** at limit **
  11  Prefactor     .10000E-03    .70656       -.64100E-08** at limit **
  12  norm          2.7879        7.7721        .24087E-06    .36648E-05
  13  Prefactor     1.5688        3.9923       -.22663E-06   -.27039E-03
  14  Prefactor     .10000E-03    28.871       -.15546E-06** at limit **
  15  Prefactor     .46203        3.5428        .76004E-06   -.46179E-03
  16  norm          2.6085        6.8140        .19142E-05    .40852E-04
  17  Prefactor     .10000E-03    13.051        .25079E-06** at limit **
  18  Prefactor     .10000E-03    12.717        .36822E-06** at limit **
  19  Prefactor     .10000E-03    2.2396       -.19044E-06** at limit **
  20  Prefactor     .10000E-03    9.1782       -.23228E-06** at limit **
  21  Prefactor     .10000E-03    1.3087       -.14874E-07** at limit **
  22  Prefactor     7.7757        17.472        .32080E-06   -.87154E-06
  23  Normalizat    1.1142        .17677        .12608E-06   -.97559E-04
  24  Prefactor     .95370        .19063       -.29405E-06   -.65143E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66253
  norm       = 1.78855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 73.3062
  Prefactor  = 8.4938
  Prefactor  = 4.84868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.78789
  Prefactor  = 1.56883
  Prefactor  = 0.0001
  Prefactor  = 0.462028
  norm       = 2.60853
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.77573
  Normalizat = 1.11418
  Prefactor  = 0.953703
 **********
 **   18 **HESSE 
 **********

 FCN=   5465.337     FROM HESSE     STATUS=OK           399 CALLS     3108 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6625        3.7157        .12352E-03   -1.5276    
   2  norm          1.7886        1.3043        .70163E-04   -1.5440    
   3  Prefactor     .10000E-03    14.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.5206        .88453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     73.306        38.532        .46890E-04   -1.3993    
   6  Prefactor     8.4938        158.44        .13808E-03   -1.5125    
   7  Prefactor     4.8487        66.313        .18209E-03   -1.5268    
   8  Prefactor     .10000E-03    14.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.3581        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.2322        .12967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .71108        .60660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7879        7.7495        .24373E-03   -1.5374    
  13  Prefactor     1.5688        3.8271        .19157E-03   -1.5457    
  14  Prefactor     .10000E-03    28.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .46203        10.212        .21469E-02   -1.5572    
  16  norm          2.6085        6.8637        .12631E-02   -1.5385    
  17  Prefactor     .10000E-03    13.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.415        .21267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.5006        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.3369        .82519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.7757        17.466        .14376E-03   -1.5150    
  23  Normalizat    1.1142        .20183        .21766E-03   -.89298    
  24  Prefactor     .95370        .21838        .26314E-03   -.94289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76745e-10
Minuit parameter uncertainties:
  1  3.71591
  2  1.30434
  3  2.10348e-06
  4  1.03826e-06
  5  38.5449
  6  73.5948
  7  35.9107
  8  6.92293e-06
  9  3.16701e-05
  10  1.6549e-06
  11  3.10007e-07
  12  7.75228
  13  3.82767
  14  3.62156e-07
  15  4.34476
  16  6.86579
  17  1.4241e-06
  18  2.93594e-07
  19  3.43915e-05
  20  1.17883e-06
  21  7.90176e-08
  22  17.4776
  23  0.201969
  24  0.218577
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  3.100e-07  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  9.537e-01  2.186e-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.114e+00  2.020e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/656260/likelihoodResults_354931201_355190401_4FGL_J1001.1+2911_daily_bin446.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): 102
logL (Free Index) = 5465.343109
delta logL = -0.0064966824375

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5465.33661237
delta logL = -5.53782228963e-08

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 'Index     '    2.2638       1.0000          .0000       10.000    
     3 'Normalizat'    1.1142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95374       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5465.337     FROM MIGRAD    STATUS=FAILED       105 CALLS      251 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    66.712        .60730E-03** at limit **
   2  Index         2.0040        5.1435        .50000       -.39399E-06
   3  Normalizat    1.1142        .45559E-01    .21765E-03   -.74275E-04
   4  Prefactor     .95370        .51479E-01    .26314E-03   -.39315E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5465.337     FROM SIMPLEX   STATUS=UNCHANGED    191 CALLS      442 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    66.712        .16310E-03** at limit **
   2  Index         2.0040        5.1435        .10424E-05   -.39399E-06
   3  Normalizat    1.1142        .45559E-01    .67071E-07   -.74275E-04
   4  Prefactor     .95370        .51479E-01    .54307E-07   -.39315E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5465.337     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      476 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5062        .12146E-03** at limit **
   2  Index         2.0046        5.3667        .50000       -.24475E-06
   3  Normalizat    1.1142        .19153        .87062E-05   -.74693E-04
   4  Prefactor     .95370        .21683        .10526E-04   -.45364E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.00455
  Normalizat = 1.11418
  Prefactor  = 0.953704
 **********
 **   18 **HESSE 
 **********

 FCN=   5465.337     FROM HESSE     STATUS=OK            29 CALLS      505 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .75841        .24292E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0046        8.9615        .50000       -.64236    
   3  Normalizat    1.1142        .19106        .17412E-05   -.89298    
   4  Prefactor     .95370        .21645        .21051E-05   -.94289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.38729e-11
Minuit parameter uncertainties:
  1  5.89947e-06
  2  116.228
  3  0.191179
  4  0.21665
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656260': 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) = 5465.3366102
delta logL = 2.11992391996e-06

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  5.899e-06  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.005e+00  1.162e+02  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:  9.537e-01  2.167e-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.114e+00  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 150.294 29.188

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/656260/cmap_HighResolution_354931201_355190401_4FGL_J1001.1+2911_daily_bin446.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2021-09-01 10:04:32.033304', job_id='656260', GAL2='0.95', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630515872.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.12e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='446' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 656260: <4FGL_J1001.1+2911_daily_bin446> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin446> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:50:57 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:50:58 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:50:58 2021
Terminated at Wed Sep  1 10:04:32 2021
Results reported at Wed Sep  1 10:04:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin446 150.294 29.188 354931201 355190401 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 :                                   640.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            815 sec.

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

