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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin444
RA = 150.294, Dec = 29.188
tmin = 354412801, tmax = 354672001
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='656257', job_status='RUN', time_executed='2021-09-01 09:52:46.340441', time_epoch_executed='1630515166.34' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='444'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656257

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656257/ft1_4FGL_J1001.1+2911_daily_bin444.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656257/ft2_4FGL_J1001.1+2911_daily_bin444.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656257/ft1_4FGL_J1001.1+2911_daily_bin444.fits outfile=/scratch/kocevski/656257/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin444.fits ra=150.294 dec=29.188 rad=12.0 tmin=354412801.0 tmax=354672001.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.91
user 3.24
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/656257/ft2_4FGL_J1001.1+2911_daily_bin444.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/656257/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin444.fits evtable="EVENTS" outfile="/scratch/kocevski/656257/ft1_filtered_4FGL_J1001.1+2911_daily_bin444.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 1.24
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656257/ft1_filtered_4FGL_J1001.1+2911_daily_bin444.fits" evtable="EVENTS" scfile=/scratch/kocevski/656257/ft2_4FGL_J1001.1+2911_daily_bin444.fits sctable="SC_DATA" outfile=/scratch/kocevski/656257/ltcube_354412801_354672001_4FGL_J1001.1+2911_daily_bin444.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/656257/ft2_4FGL_J1001.1+2911_daily_bin444.fits
.....................!
real 12.68
user 11.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656257/ft1_filtered_4FGL_J1001.1+2911_daily_bin444.fits evtable="EVENTS" scfile=/scratch/kocevski/656257/ft2_4FGL_J1001.1+2911_daily_bin444.fits sctable="SC_DATA" expcube=/scratch/kocevski/656257/ltcube_354412801_354672001_4FGL_J1001.1+2911_daily_bin444.fits outfile=/scratch/kocevski/656257/expmap_354412801_354672001_4FGL_J1001.1+2911_daily_bin444.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/656257/ltcube_354412801_354672001_4FGL_J1001.1+2911_daily_bin444.fits
.....................!
real 193.18
user 185.06
sys 4.64

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/656257/ft1_filtered_4FGL_J1001.1+2911_daily_bin444.fits scfile=/scratch/kocevski/656257/ft2_4FGL_J1001.1+2911_daily_bin444.fits outfile=/scratch/kocevski/656257/cmap_354412801_354672001_4FGL_J1001.1+2911_daily_bin444.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.01
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656257/ft1_filtered_4FGL_J1001.1+2911_daily_bin444.fits scfile=/scratch/kocevski/656257/ft2_4FGL_J1001.1+2911_daily_bin444.fits outfile=/scratch/kocevski/656257/cmap_HighResolution_354412801_354672001_4FGL_J1001.1+2911_daily_bin444.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.10
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9749       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0165       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.329       1.0000         .10000E-03   10000.    
     8 'Prefactor '    47.355       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    34.741       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .74057E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    2.5755       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.379       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.531       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.3355       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81661       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=   5083.848     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2723 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9749        3.1002        .10859E-06   -.15996E-04
   2  norm          2.0165        1.3505       -.62283E-09   -.43497E-04
   3  Prefactor     .10000E-03    18.078       -.43118E-06** at limit **
   4  Prefactor     .10000E-03    2.9424        .18794E-06** at limit **
   5  Prefactor     .10000E-03    24.366        .20741E-05** at limit **
   6  Prefactor     .10000E-03    50.181        .25066E-05** at limit **
   7  Prefactor     28.328        34.940        .18573E-06   -.14933E-05
   8  Prefactor     47.351        53.193        .67405E-06   -.13914E-04
   9  Prefactor     .10000E-03    2.4096        .33062E-07** at limit **
  10  Prefactor     .10000E-03    3.9414        .26251E-07** at limit **
  11  Prefactor     .10000E-03    1.5864        .32109E-06** at limit **
  12  norm          .10000E-03    5.6852        .90275E-07** at limit **
  13  Prefactor     .10000E-03    2.2206       -.95300E-07** at limit **
  14  Prefactor     34.741        30.759       -.93449E-08   -.39273E-05
  15  Prefactor     .10000E-03    2.1107       -.15406E-06** at limit **
  16  norm          2.5753        6.7767        .50956E-05   -.82636E-05
  17  Prefactor     27.353        63.618        .56262E-05    .20735E-05
  18  Prefactor     21.534        20.031       -.40378E-06    .77343E-05
  19  Prefactor     .10000E-03    1.9394        .61077E-07** at limit **
  20  Prefactor     .10000E-03    2.4596        .50793E-07** at limit **
  21  Prefactor     5.3356        2.6583        .15152E-07   -.30026E-04
  22  Prefactor     .10000E-03    34.774       -.32284E-05** at limit **
  23  Normalizat    1.0435        .16903        .44231E-07    .25427E-04
  24  Prefactor     .81663        .18005       -.97200E-06   -.43033E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.97491
  norm       = 2.0165
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.328
  Prefactor  = 47.351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.7413
  Prefactor  = 0.000100001
  norm       = 2.57529
  Prefactor  = 27.353
  Prefactor  = 21.5336
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.33561
  Prefactor  = 0.0001
  Normalizat = 1.04355
  Prefactor  = 0.81663
 **********
 **   18 **HESSE 
 **********

 FCN=   5083.848     FROM HESSE     STATUS=OK           399 CALLS     3122 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9749        3.1021        .10803E-03   -1.5309    
   2  norm          2.0165        1.3598        .66059E-04   -1.5424    
   3  Prefactor     .10000E-03    18.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.0739        .23859E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    50.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     28.328        34.960        .75271E-04   -1.4643    
   8  Prefactor     47.351        53.161        .58268E-04   -1.4331    
   9  Prefactor     .10000E-03    2.4211        .10807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.9684        .13823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.9111        .17237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.7407        .16599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.2569        .10344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     34.741        30.761        .67990E-04   -1.4528    
  15  Prefactor     .10000E-03    48.080        .19622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.5753        6.7957        .12716E-02   -1.5387    
  17  Prefactor     27.353        63.813        .76563E-04   -1.4661    
  18  Prefactor     21.534        20.002        .86321E-04   -1.4780    
  19  Prefactor     .10000E-03    1.9514        .96919E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4661        .10919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.3356        2.6574        .79351E-04   -1.5246    
  22  Prefactor     .10000E-03    34.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0435        .19417        .20997E-03   -.91585    
  24  Prefactor     .81663        .20911        .25688E-03   -.99118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77638e-10
Minuit parameter uncertainties:
  1  3.1022
  2  1.35981
  3  1.01529e-05
  4  9.54476e-06
  5  1.57785e-05
  6  3.20363e-06
  7  34.9852
  8  53.2141
  9  3.17624e-06
  10  3.88748e-06
  11  1.02032e-05
  12  9.42933e-06
  13  7.40916e-06
  14  30.7747
  15  0.0004435
  16  6.79777
  17  63.9733
  18  20.0078
  19  3.03124e-06
  20  1.74117e-06
  21  2.65749
  22  0.000109719
  23  0.194307
  24  0.209309
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.020e-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:  8.166e-01  2.093e-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.044e+00  1.943e-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.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656257/likelihoodResults_354412801_354672001_4FGL_J1001.1+2911_daily_bin444.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) = 5083.84954927
delta logL = -0.00163820173293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5083.84791207
delta logL = -9.97495590127e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10469E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2510       1.0000          .0000       10.000    
     3 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81663       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=   5083.848     FROM MIGRAD    STATUS=FAILED        95 CALLS      259 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10085E-03    28.058        .17465E-02** at limit **
   2  Index         2.1999        8.8850        .50000        .34074E-04
   3  Normalizat    1.0435        .12577E-01    .20997E-03   -.65949E-04
   4  Prefactor     .81663        .13847E-01    .25688E-03   -.64348E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5083.848     FROM SIMPLEX   STATUS=PROGRESS     128 CALLS      387 TOTAL
                     EDM=   .39E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10079E-03    28.058        .18955E-03** at limit **
   2  Index         2.1978        8.8850        .72201E-03    .34074E-04
   3  Normalizat    1.0435        .12577E-01    .27605E-05   -.65949E-04
   4  Prefactor     .81662        .13847E-01    .29930E-05   -.64348E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5083.848     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      420 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10049E-03    127.28        .34931E-03** at limit **
   2  Index         2.2029        5.8716        .50000        .34779E-04
   3  Normalizat    1.0435        .27840E-01    .83986E-05   -.39523E-02
   4  Prefactor     .81662        .30647E-01    .10275E-04   -.32167E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100494
  Index      = 2.20288
  Normalizat = 1.04354
  Prefactor  = 0.816624
 **********
 **   18 **HESSE 
 **********

 FCN=   5083.848     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      449 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10049E-03    392.54        .69862E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2029        5.1281        .50000       -.59369    
   3  Normalizat    1.0435        .57414E-01    .16797E-05   -.91586    
   4  Prefactor     .81662        .63093E-01    .20551E-05   -.99118    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.88525e-08
Minuit parameter uncertainties:
  1  0.0280498
  2  555.192
  3  0.0574175
  4  0.0630987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656257': 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) = 5083.84791047
delta logL = 6.00232851866e-07

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.005e-04  2.805e-02  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.203e+00  5.552e+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:  8.166e-01  6.310e-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:  1.044e+00  5.742e-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/656257/cmap_HighResolution_354412801_354672001_4FGL_J1001.1+2911_daily_bin444.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.38e-03', job_status='DONE', photon_flux_upper_limit='7.02e-08', time_completed='2021-09-01 10:03:03.678593', job_id='656257', GAL2='0.82', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630515783.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='6.00e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='444' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:03:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 656257: <4FGL_J1001.1+2911_daily_bin444> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin444> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:50:56 2021
Job was executed on host(s) <bullet0243>, 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:03:04 2021
Results reported at Wed Sep  1 10:03:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin444 150.294 29.188 354412801 354672001 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 :                                   604.00 sec.
    Max Memory :                                 1178 MB
    Average Memory :                             327.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            728 sec.

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

