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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin95
RA = 150.294, Dec = 29.188
tmin = 263952001, tmax = 264211201
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='654591', job_status='RUN', time_executed='2021-09-01 09:48:58.426782', time_epoch_executed='1630514938.43' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654591

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654591/ft1_4FGL_J1001.1+2911_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654591/ft2_4FGL_J1001.1+2911_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654591/ft1_4FGL_J1001.1+2911_daily_bin95.fits outfile=/scratch/kocevski/654591/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin95.fits ra=150.294 dec=29.188 rad=12.0 tmin=263952001.0 tmax=264211201.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.71
user 1.52
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654591/ft1_filtered_4FGL_J1001.1+2911_daily_bin95.fits" evtable="EVENTS" scfile=/scratch/kocevski/654591/ft2_4FGL_J1001.1+2911_daily_bin95.fits sctable="SC_DATA" outfile=/scratch/kocevski/654591/ltcube_263952001_264211201_4FGL_J1001.1+2911_daily_bin95.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/654591/ft2_4FGL_J1001.1+2911_daily_bin95.fits
.....................!
real 13.74
user 13.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654591/ft1_filtered_4FGL_J1001.1+2911_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/654591/ft2_4FGL_J1001.1+2911_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/654591/ltcube_263952001_264211201_4FGL_J1001.1+2911_daily_bin95.fits outfile=/scratch/kocevski/654591/expmap_263952001_264211201_4FGL_J1001.1+2911_daily_bin95.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/654591/ltcube_263952001_264211201_4FGL_J1001.1+2911_daily_bin95.fits
.....................!
real 191.37
user 186.22
sys 4.57

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/654591/ft1_filtered_4FGL_J1001.1+2911_daily_bin95.fits scfile=/scratch/kocevski/654591/ft2_4FGL_J1001.1+2911_daily_bin95.fits outfile=/scratch/kocevski/654591/cmap_263952001_264211201_4FGL_J1001.1+2911_daily_bin95.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.44
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654591/ft1_filtered_4FGL_J1001.1+2911_daily_bin95.fits scfile=/scratch/kocevski/654591/ft2_4FGL_J1001.1+2911_daily_bin95.fits outfile=/scratch/kocevski/654591/cmap_HighResolution_263952001_264211201_4FGL_J1001.1+2911_daily_bin95.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 2.02
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.5214       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .29621E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .53543       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10373E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    93.012       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.007       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1754       1.0000         .10000E-03   10000.    
    12 'norm      '    30.582       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10688E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.941       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6238       1.0000         .10000E-03   10000.    
    16 'norm      '    14.858       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.443       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.390       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.6025       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1756       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99285       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85373       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=   5398.711     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2351 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8427        .11031E-08** at limit **
   2  norm          2.5215        1.9392        .98848E-08   -.59754E-04
   3  Prefactor     .10000E-03    157.24       -.36561E-04** at limit **
   4  Prefactor     .10000E-03    1.8390        .14729E-07** at limit **
   5  Prefactor     .53808        17.303       -.13102E-05    .20260E-05
   6  Prefactor     .10000E-03    113.63        .15873E-04** at limit **
   7  Prefactor     .10000E-03    17.933        .90561E-07** at limit **
   8  Prefactor     93.016        47.033        .26101E-05   -.67923E-05
   9  Prefactor     .10000E-03    2.6097       -.10973E-07** at limit **
  10  Prefactor     23.010        13.377        .15920E-05    .31872E-05
  11  Prefactor     5.1761        2.8108       -.21604E-07   -.57726E-04
  12  norm          30.583        10.217        .40496E-06    .61731E-05
  13  Prefactor     .10000E-03    2.7554       -.89914E-07** at limit **
  14  Prefactor     14.943        24.984        .73903E-07   -.57921E-05
  15  Prefactor     6.6259        4.6424       -.65095E-07   -.10296E-03
  16  norm          14.859        9.8937       -.53788E-07    .12346E-04
  17  Prefactor     12.447        26.890        .75669E-06   -.55678E-05
  18  Prefactor     .10000E-03    62.605       -.83873E-06** at limit **
  19  Prefactor     14.399        6.7118        .18921E-07   -.26109E-04
  20  Prefactor     6.6040        8.2400       -.17655E-06   -.17262E-03
  21  Prefactor     3.1758        2.2360        .17736E-07   -.10300E-03
  22  Prefactor     .10000E-03    12.675       -.15124E-07** at limit **
  23  Normalizat    .99287        .17701       -.44815E-06    .14744E-03
  24  Prefactor     .85352        .18645       -.13254E-06    .10836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.52145
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.538081
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 93.0163
  Prefactor  = 0.0001
  Prefactor  = 23.0095
  Prefactor  = 5.17613
  norm       = 30.5833
  Prefactor  = 0.0001
  Prefactor  = 14.9429
  Prefactor  = 6.62591
  norm       = 14.8591
  Prefactor  = 12.4467
  Prefactor  = 0.0001
  Prefactor  = 14.3991
  Prefactor  = 6.60402
  Prefactor  = 3.17578
  Prefactor  = 0.0001
  Normalizat = 0.992874
  Prefactor  = 0.85352
 **********
 **   18 **HESSE 
 **********

 FCN=   5398.711     FROM HESSE     STATUS=OK           407 CALLS     2758 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.8538        .97394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5215        1.9380        .86787E-04   -1.5390    
   3  Prefactor     .10000E-03    157.72        .39684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.8778        .97183E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .53808        154.08        .58284E-02   -1.5561    
   6  Prefactor     .10000E-03    114.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     93.016        46.993        .20835E-03   -1.3776    
   9  Prefactor     .10000E-03    2.6261        .11589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     23.010        13.358        .83510E-04   -1.4748    
  11  Prefactor     5.1761        2.8130        .86443E-04   -1.5253    
  12  norm          30.583        10.219        .72453E-04   -1.4601    
  13  Prefactor     .10000E-03    4.6447        .22516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.943        24.981        .10362E-03   -1.4935    
  15  Prefactor     6.6259        4.4754        .12088E-03   -1.5193    
  16  norm          14.859        9.8975        .10391E-03   -1.4937    
  17  Prefactor     12.447        26.880        .11356E-03   -1.5002    
  18  Prefactor     .10000E-03    62.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.399        6.6988        .10559E-03   -1.4949    
  20  Prefactor     6.6040        8.2340        .15617E-03   -1.5194    
  21  Prefactor     3.1758        2.2305        .87189E-04   -1.5352    
  22  Prefactor     .10000E-03    12.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .99287        .20300        .23138E-03   -.93270    
  24  Prefactor     .85352        .21414        .27211E-03   -.97785    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58033e-10
Minuit parameter uncertainties:
  1  8.00986e-07
  2  1.93808
  3  0.00161477
  4  2.92792e-06
  5  18.2565
  6  8.0224e-05
  7  1.65504e-07
  8  47.0118
  9  8.64584e-08
  10  13.3597
  11  2.81308
  12  10.2194
  13  2.0323e-05
  14  24.9988
  15  4.47563
  16  9.89857
  17  26.9059
  18  1.64481e-05
  19  6.69914
  20  8.23538
  21  2.23055
  22  2.49717e-06
  23  0.203161
  24  0.214348
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  5.176e+00  2.813e+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.535e-01  2.143e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  9.929e-01  2.032e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.54
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.91e-08 +/- 3.75e-08
Energy Flux (Fixed Index): 2.75e-05 +/- 1.50e-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) = 5398.57433228
delta logL = 0.136312689131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5398.56570351
delta logL = 0.144941459018

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2336       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5114       1.0000          .0000       10.000    
     3 'Normalizat'    .97773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86329       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=   5398.566     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      230 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2341        42.122        .48959E-02    .22414E-03
   2  Index         2.5115        3.2465        .12211        .11672E-03
   3  Normalizat    .97780        .86846E-01    .45887E-01   -.73870E-05
   4  Prefactor     .86331        .82760E-01    .44535E-01   -.16394E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.23408
  Index      = 2.51145
  Normalizat = 0.977801
  Prefactor  = 0.863315
 **********
 **   18 **HESSE 
 **********

 FCN=   5398.566     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2341        3.1191        .74161E-04   -1.5296    
   2  Index         2.5115        .48293        .48073E-02   -.52096    
   3  Normalizat    .97780        .19641        .23288E-03   -.93778    
   4  Prefactor     .86331        .21351        .27068E-03   -.97435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13261e-11
Minuit parameter uncertainties:
  1  3.11921
  2  0.483934
  3  0.196551
  4  0.213715
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654591': 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) = 5398.56570285
delta logL = 0.144942117644

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.234e+00  3.119e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.511e+00  4.839e-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.633e-01  2.137e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  9.778e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.80
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.51 +/- 0.48
Photon Flux (Free Index): 8.22e-08 +/- 4.71e-08
Energy Flux (Free Index): 2.36e-05 +/- 1.38e-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/654591/cmap_HighResolution_263952001_264211201_4FGL_J1001.1+2911_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.91e-08', energy_flux2='2.36e-05', photon_flux_error='3.75e-08', dlogl='1.45e-01', energy_flux='2.75e-05', photon_flux2='8.22e-08', job_status='DONE', time_completed='2021-09-01 09:58:21.579009', photon_index_error2='0.48', photon_index2='2.51', ts='7.54', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='1.38e-05', EG='0.99', time_epoch_completed='1630515501.58', return_code='0', job_id='654591', GAL2='0.86', EG2='0.98', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='4.71e-08', ts2='7.80', photon_index='2.27' WHERE bin_id='95' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 09:58:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 654591: <4FGL_J1001.1+2911_daily_bin95> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin95> 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) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:45 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:45 2021
Terminated at Wed Sep  1 09:58:22 2021
Results reported at Wed Sep  1 09:58:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin95 150.294 29.188 263952001 264211201 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 :                                   541.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            758 sec.

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

