/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 14 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 = 7492
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin755
RA = 150.294, Dec = 29.188
tmin = 435024001, tmax = 435283201
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='659266', job_status='RUN', time_executed='2021-09-01 10:01:21.037511', time_epoch_executed='1630515681.04' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659266

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659266/ft1_4FGL_J1001.1+2911_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659266/ft2_4FGL_J1001.1+2911_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659266/ft1_4FGL_J1001.1+2911_daily_bin755.fits outfile=/scratch/kocevski/659266/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin755.fits ra=150.294 dec=29.188 rad=12.0 tmin=435024001.0 tmax=435283201.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 5.33
user 4.82
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659266/ft1_filtered_4FGL_J1001.1+2911_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/659266/ft2_4FGL_J1001.1+2911_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/659266/ltcube_435024001_435283201_4FGL_J1001.1+2911_daily_bin755.fits outfile=/scratch/kocevski/659266/expmap_435024001_435283201_4FGL_J1001.1+2911_daily_bin755.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/659266/ltcube_435024001_435283201_4FGL_J1001.1+2911_daily_bin755.fits
.....................!
real 189.66
user 184.89
sys 4.00

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/659266/ft1_filtered_4FGL_J1001.1+2911_daily_bin755.fits scfile=/scratch/kocevski/659266/ft2_4FGL_J1001.1+2911_daily_bin755.fits outfile=/scratch/kocevski/659266/cmap_435024001_435283201_4FGL_J1001.1+2911_daily_bin755.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.55
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659266/ft1_filtered_4FGL_J1001.1+2911_daily_bin755.fits scfile=/scratch/kocevski/659266/ft2_4FGL_J1001.1+2911_daily_bin755.fits outfile=/scratch/kocevski/659266/cmap_HighResolution_435024001_435283201_4FGL_J1001.1+2911_daily_bin755.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=150.294 yref=29.188 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.3250       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9978       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    113.33       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .41796E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12631E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10992E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.781       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.0106       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .35253E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    40.110       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96301       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1861       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=   4253.820     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2762 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.0188        .29762E-08** at limit **
   2  norm          1.3253        2.0281        .30298E-07    .36078E-03
   3  Prefactor     .10000E-03    35.205        .76783E-06** at limit **
   4  Prefactor     3.9987        3.7798       -.89548E-06    .47900E-03
   5  Prefactor     .10000E-03    25.472        .41708E-06** at limit **
   6  Prefactor     113.41        83.772       -.28041E-05   -.22966E-03
   7  Prefactor     .10000E-03    176.28        .33291E-05** at limit **
   8  Prefactor     .10000E-03    23.266       -.87049E-06** at limit **
   9  Prefactor     .10000E-03    4.1716       -.37971E-06** at limit **
  10  Prefactor     .10000E-03    53.494        .19648E-04** at limit **
  11  Prefactor     .10000E-03    1.4312       -.66793E-06** at limit **
  12  norm          .10000E-03    3.6196       -.86270E-07** at limit **
  13  Prefactor     .10000E-03    2.1926       -.11176E-07** at limit **
  14  Prefactor     .10000E-03    73.810        .77675E-06** at limit **
  15  Prefactor     15.780        6.7929       -.68222E-07    .10115E-03
  16  norm          .10000E-03    7.2451       -.47041E-07** at limit **
  17  Prefactor     .10000E-03    43.245       -.84348E-06** at limit **
  18  Prefactor     .10000E-03    37.616        .24243E-06** at limit **
  19  Prefactor     .10000E-03    7.4745       -.18381E-06** at limit **
  20  Prefactor     8.0059        7.4582       -.69997E-07    .16897E-03
  21  Prefactor     .47294E-01    2.3961        .17265E-05   -.32896E-03
  22  Prefactor     40.109        39.801       -.25553E-06    .26819E-04
  23  Normalizat    .96297        .20302        .81462E-06    .21791E-03
  24  Prefactor     1.1861        .22266        .11950E-05    .32041E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.32532
  Prefactor  = 0.0001
  Prefactor  = 3.99869
  Prefactor  = 0.0001
  Prefactor  = 113.406
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7795
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.00593
  Prefactor  = 0.0472942
  Prefactor  = 40.1087
  Normalizat = 0.962973
  Prefactor  = 1.18605
 **********
 **   18 **HESSE 
 **********

 FCN=   4253.820     FROM HESSE     STATUS=OK           393 CALLS     3155 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.0191        .64293E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3253        1.9948        .11003E-03   -1.5478    
   3  Prefactor     .10000E-03    35.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.9987        3.7808        .58737E-03   -1.5308    
   5  Prefactor     .10000E-03    25.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     113.41        85.045        .18894E-03   -1.3574    
   7  Prefactor     .10000E-03    180.32        .42487E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    23.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.482        .25500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    52.730        .34026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.1927        .15193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.6285        .12119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.2081        .94175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    74.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.780        6.8040        .10082E-03   -1.4913    
  16  norm          .10000E-03    7.2688        .17146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    43.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    37.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.6758        .34808E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.0059        7.5128        .14166E-03   -1.5142    
  21  Prefactor     .47294E-01    71.849        .16847E-02   -1.5665    
  22  Prefactor     40.109        39.810        .63290E-04   -1.4440    
  23  Normalizat    .96297        .23899        .24360E-03   -.94281    
  24  Prefactor     1.1861        .26538        .25151E-03   -.86762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56603e-09
Minuit parameter uncertainties:
  1  7.75764e-07
  2  1.99491
  3  0.0002328
  4  3.78103
  5  0.000111818
  6  85.1362
  7  0.000744394
  8  0.000183271
  9  7.30353e-05
  10  0.000651633
  11  9.99495e-05
  12  1.62336e-05
  13  1.18336e-05
  14  7.40449e-05
  15  6.80437
  16  2.56907e-05
  17  0.000385404
  18  9.5257e-06
  19  8.82906e-05
  20  7.51366
  21  3.68728
  22  39.8367
  23  0.239259
  24  0.265676
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  9.995e-05  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.186e+00  2.657e-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.630e-01  2.393e-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: 7.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659266/likelihoodResults_435024001_435283201_4FGL_J1001.1+2911_daily_bin755.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) = 4253.82260424
delta logL = -0.0021714969871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4253.82043302
delta logL = -2.75980710285e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2628       1.0000          .0000       10.000    
     3 'Normalizat'    .96304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1861       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=   4253.820     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      224 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .23256        .31825E-01** at limit **
   2  Index         2.2571        5.0710        .50000        .20570E-04
   3  Normalizat    .96298        .20219E-02    .45702E-01    .12044E-03
   4  Prefactor     1.1860        .22999E-02    .56877E-01    .98824E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.25713
  Normalizat = 0.962975
  Prefactor  = 1.18605
 **********
 **   18 **HESSE 
 **********

 FCN=   4253.820     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      257 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    36.622        .15242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2571        5.8198        .50000       -.58066    
   3  Normalizat    .96298        .20825E-01    .24360E-03   -.94281    
   4  Prefactor     1.1860        .23685E-01    .25151E-03   -.86762    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59521e-06
Minuit parameter uncertainties:
  1  0.000174104
  2  264.709
  3  0.0208249
  4  0.0236854
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659266': 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): 102
logL (Free Index) = 4253.82043268
delta logL = 6.0709680838e-08

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.741e-04  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.257e+00  2.647e+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:  1.186e+00  2.369e-02  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.630e-01  2.082e-02  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/659266/cmap_HighResolution_435024001_435283201_4FGL_J1001.1+2911_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.44e-08', time_completed='2021-09-01 10:10:48.970051', job_id='659266', GAL2='1.19', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630516248.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='6.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='755' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:10:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 659266: <4FGL_J1001.1+2911_daily_bin755> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin755> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:28 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 10:00:29 2021
Terminated at Wed Sep  1 10:10:49 2021
Results reported at Wed Sep  1 10:10:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin755 150.294 29.188 435024001 435283201 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 :                                   562.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            621 sec.

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

