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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin183
RA = 150.294, Dec = 29.188
tmin = 286761601, tmax = 287020801
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='654738', job_status='RUN', time_executed='2021-09-01 09:48:31.806868', time_epoch_executed='1630514911.81' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654738

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654738/ft1_4FGL_J1001.1+2911_daily_bin183.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654738/ft2_4FGL_J1001.1+2911_daily_bin183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654738/ft1_4FGL_J1001.1+2911_daily_bin183.fits outfile=/scratch/kocevski/654738/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin183.fits ra=150.294 dec=29.188 rad=12.0 tmin=286761601.0 tmax=287020801.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.74
user 3.49
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654738/ft1_filtered_4FGL_J1001.1+2911_daily_bin183.fits" evtable="EVENTS" scfile=/scratch/kocevski/654738/ft2_4FGL_J1001.1+2911_daily_bin183.fits sctable="SC_DATA" outfile=/scratch/kocevski/654738/ltcube_286761601_287020801_4FGL_J1001.1+2911_daily_bin183.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/654738/ft2_4FGL_J1001.1+2911_daily_bin183.fits
.....................!
real 11.88
user 11.46
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654738/ft1_filtered_4FGL_J1001.1+2911_daily_bin183.fits evtable="EVENTS" scfile=/scratch/kocevski/654738/ft2_4FGL_J1001.1+2911_daily_bin183.fits sctable="SC_DATA" expcube=/scratch/kocevski/654738/ltcube_286761601_287020801_4FGL_J1001.1+2911_daily_bin183.fits outfile=/scratch/kocevski/654738/expmap_286761601_287020801_4FGL_J1001.1+2911_daily_bin183.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/654738/ltcube_286761601_287020801_4FGL_J1001.1+2911_daily_bin183.fits
.....................!
real 190.86
user 185.31
sys 5.09

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/654738/ft1_filtered_4FGL_J1001.1+2911_daily_bin183.fits scfile=/scratch/kocevski/654738/ft2_4FGL_J1001.1+2911_daily_bin183.fits outfile=/scratch/kocevski/654738/cmap_286761601_287020801_4FGL_J1001.1+2911_daily_bin183.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.62
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654738/ft1_filtered_4FGL_J1001.1+2911_daily_bin183.fits scfile=/scratch/kocevski/654738/ft2_4FGL_J1001.1+2911_daily_bin183.fits outfile=/scratch/kocevski/654738/cmap_HighResolution_286761601_287020801_4FGL_J1001.1+2911_daily_bin183.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1303       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0483       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .36099E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1491       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.969       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    62.494       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2698       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16722E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.789       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2999       1.0000         .10000E-03   10000.    
    16 'norm      '    .10198E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11436E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.6480       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10268E-01   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .86470       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1617       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5531.004     FROM MIGRAD    STATUS=CONVERGED   1000 CALLS     3556 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1314        3.8206        .13587E-03   -.13053E-04
   2  norm          2.0484        1.4017        .70294E-04    .27818E-04
   3  Prefactor     .10000E-03    53.780        .15853    ** at limit **
   4  Prefactor     3.1506        3.4693        .13848E-03    .11814E-03
   5  Prefactor     17.970        17.630        .94485E-04    .47119E-04
   6  Prefactor     .10000E-03    53.123        .18142E-02** at limit **
   7  Prefactor     62.506        42.187        .50759E-04    .66744E-04
   8  Prefactor     .10000E-03    9.7393        .18142E-02** at limit **
   9  Prefactor     8.2730        7.6586        .69705E-03   -.17086E-03
  10  Prefactor     .10000E-03    6.6477        .18142E-02** at limit **
  11  Prefactor     .10000E-03    9.0113        .13889E-02** at limit **
  12  norm          10.792        8.5486        .12197E-03   -.20971E-04
  13  Prefactor     .10000E-03    1.6523        .92880E-03** at limit **
  14  Prefactor     .10000E-03    11.707        .18142E-02** at limit **
  15  Prefactor     4.3000        4.1431        .70051E-03    .22133E-03
  16  norm          .10000E-03    6.1736        .17993E-02** at limit **
  17  Prefactor     .10000E-03    125.91        .18142E-02** at limit **
  18  Prefactor     .10000E-03    28.887        .18142E-02** at limit **
  19  Prefactor     .10000E-03    2.0053        .10239E-02** at limit **
  20  Prefactor     .10000E-03    2.5175        .11489E-02** at limit **
  21  Prefactor     2.6485        1.8694        .82799E-04   -.11273E-03
  22  Prefactor     .10000E-03    170.46        .63771E-02** at limit **
  23  Normalizat    .86457        .18962        .23956E-03    .64115E-04
  24  Prefactor     1.1614        .21206        .24227E-03   -.91000E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.13138
  norm       = 2.04843
  Prefactor  = 0.0001
  Prefactor  = 3.15057
  Prefactor  = 17.9699
  Prefactor  = 0.0001
  Prefactor  = 62.5064
  Prefactor  = 0.0001
  Prefactor  = 8.27299
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.7919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.3
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.64849
  Prefactor  = 0.0001
  Normalizat = 0.864573
  Prefactor  = 1.16144
 **********
 **   18 **HESSE 
 **********

 FCN=   5531.004     FROM HESSE     STATUS=OK           385 CALLS     3941 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1314        3.8205        .54346E-05   -1.5301    
   2  norm          2.0484        1.4016        .28118E-05   -1.5422    
   3  Prefactor     .10000E-03    54.388        .15722       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1506        3.4690        .55392E-05   -1.5353    
   5  Prefactor     17.970        17.630        .18897E-04   -1.4860    
   6  Prefactor     .10000E-03    53.127        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     62.506        42.187        .10152E-04   -1.4125    
   8  Prefactor     .10000E-03    9.7393        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2730        7.6561        .27882E-04   -1.5133    
  10  Prefactor     .10000E-03    6.6513        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.1696        .27778E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.792        8.5482        .48790E-05   -1.5051    
  13  Prefactor     .10000E-03    1.6523        .18576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.707        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.3000        4.1419        .28020E-04   -1.5293    
  16  norm          .10000E-03    6.1750        .35986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    125.94        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    28.895        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.0055        .20478E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.5177        .22978E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.6485        1.8694        .33119E-05   -1.5382    
  22  Prefactor     .10000E-03    176.86        .25509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .86457        .18970        .95823E-05   -.97716    
  24  Prefactor     1.1614        .21223        .48453E-04   -.87526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00103e-10
Minuit parameter uncertainties:
  1  3.82075
  2  1.40167
  3  0.000118131
  4  3.46925
  5  17.635
  6  0.000164044
  7  42.2072
  8  1.73612e-05
  9  7.65703
  10  3.56186e-05
  11  7.4022e-05
  12  8.54915
  13  1.02893e-05
  14  1.45589e-05
  15  4.14222
  16  2.42301e-05
  17  0.000713451
  18  5.64968e-05
  19  8.78759e-06
  20  5.81677e-06
  21  1.86943
  22  0.000251383
  23  0.189846
  24  0.212389
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  7.402e-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.161e+00  2.124e-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:  8.646e-01  1.898e-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: 5.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654738/likelihoodResults_286761601_287020801_4FGL_J1001.1+2911_daily_bin183.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) = 5531.00502693
delta logL = -0.000538244763447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5531.0044913
delta logL = -2.61185050476e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17938E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1909       1.0000          .0000       10.000    
     3 'Normalizat'    .86464       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1615       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=   5531.004     FROM MIGRAD    STATUS=FAILED       108 CALLS      284 TOTAL
                     EDM=   .48E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10039E-03    2279.1        .14634E-02** at limit **
   2  Index         2.0328        8.1219        .50000        .12512E-05
   3  Normalizat    .86457        .66668E-01    .23956E-03   -.22590E-04
   4  Prefactor     1.1614        .76676E-01    .24227E-03   -.25575E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5531.004     FROM SIMPLEX   STATUS=UNCHANGED    161 CALLS      445 TOTAL
                     EDM=   .91E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10039E-03    2279.1        .57878E-03** at limit **
   2  Index         2.0328        8.1219        .22583E-04    .12512E-05
   3  Normalizat    .86457        .66668E-01    .40852E-06   -.22590E-04
   4  Prefactor     1.1614        .76676E-01    .43838E-06   -.25575E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5531.004     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      485 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.846        .58534E-04** at limit **
   2  Index         2.0292        5.0732        .50000       -.96611E-07
   3  Normalizat    .86457        .18144        .95823E-05   -.37728E-04
   4  Prefactor     1.1614        .21038        .96906E-05   -.37541E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.02918
  Normalizat = 0.864572
  Prefactor  = 1.16144
 **********
 **   18 **HESSE 
 **********

 FCN=   5531.004     FROM HESSE     STATUS=OK            29 CALLS      514 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.085        .11707E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0292        8.4476        .50000       -.63623    
   3  Normalizat    .86457        .18157        .19165E-05   -.97716    
   4  Prefactor     1.1614        .21054        .19381E-05   -.87526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.16517e-12
Minuit parameter uncertainties:
  1  2.31602e-06
  2  89.513
  3  0.1817
  4  0.210689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654738': 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) = 5531.00448619
delta logL = 2.49537970376e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.161e+00  2.107e-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:  8.646e-01  1.817e-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/654738/cmap_HighResolution_286761601_287020801_4FGL_J1001.1+2911_daily_bin183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.79e-08', time_completed='2021-09-01 10:00:16.965462', job_id='654738', GAL2='1.16', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1630515616.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.50e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='183' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 654738: <4FGL_J1001.1+2911_daily_bin183> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin183> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:55 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:56 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:56 2021
Terminated at Wed Sep  1 10:00:17 2021
Results reported at Wed Sep  1 10:00:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin183 150.294 29.188 286761601 287020801 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 :                                   699.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            862 sec.

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

