/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 105 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 = 7357
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin475
RA = 150.294, Dec = 29.188
tmin = 362448001, tmax = 362707201
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='656296', job_status='RUN', time_executed='2021-09-01 09:53:49.656745', time_epoch_executed='1630515229.66' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='475'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656296

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656296/ft1_4FGL_J1001.1+2911_daily_bin475.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656296/ft2_4FGL_J1001.1+2911_daily_bin475.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656296/ft1_4FGL_J1001.1+2911_daily_bin475.fits outfile=/scratch/kocevski/656296/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin475.fits ra=150.294 dec=29.188 rad=12.0 tmin=362448001.0 tmax=362707201.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 6.17
user 5.33
sys 0.29

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656296/ft1_filtered_4FGL_J1001.1+2911_daily_bin475.fits evtable="EVENTS" scfile=/scratch/kocevski/656296/ft2_4FGL_J1001.1+2911_daily_bin475.fits sctable="SC_DATA" expcube=/scratch/kocevski/656296/ltcube_362448001_362707201_4FGL_J1001.1+2911_daily_bin475.fits outfile=/scratch/kocevski/656296/expmap_362448001_362707201_4FGL_J1001.1+2911_daily_bin475.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/656296/ltcube_362448001_362707201_4FGL_J1001.1+2911_daily_bin475.fits
.....................!
real 190.68
user 185.15
sys 4.65

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/656296/ft1_filtered_4FGL_J1001.1+2911_daily_bin475.fits scfile=/scratch/kocevski/656296/ft2_4FGL_J1001.1+2911_daily_bin475.fits outfile=/scratch/kocevski/656296/cmap_362448001_362707201_4FGL_J1001.1+2911_daily_bin475.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.65
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656296/ft1_filtered_4FGL_J1001.1+2911_daily_bin475.fits scfile=/scratch/kocevski/656296/ft2_4FGL_J1001.1+2911_daily_bin475.fits outfile=/scratch/kocevski/656296/cmap_HighResolution_362448001_362707201_4FGL_J1001.1+2911_daily_bin475.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.62
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8232       1.0000         .10000E-03   10000.    
     2 'norm      '    .45828       1.0000         .10000E-03   10000.    
     3 'Prefactor '    80.851       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    38.158       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13811E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    99.960       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3826       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1471       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10439E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8375       1.0000         .10000E-03   10000.    
    14 'Prefactor '    53.784       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.151       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5003       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.184       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4237       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69377       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=   5525.197     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2785 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8233        2.9533       -.17674E-06   -.20599E-03
   2  norm          .45836        1.2373       -.50434E-06   -.17664E-02
   3  Prefactor     80.846        60.141       -.36336E-05    .85252E-04
   4  Prefactor     .10000E-03    5.1723       -.58295E-07** at limit **
   5  Prefactor     38.163        33.024        .21235E-06    .20953E-04
   6  Prefactor     .10000E-03    195.64       -.52564E-06** at limit **
   7  Prefactor     99.946        65.638       -.86897E-05    .24802E-03
   8  Prefactor     .10000E-03    61.187        .49387E-06** at limit **
   9  Prefactor     2.3804        6.0116       -.17072E-05   -.42518E-03
  10  Prefactor     2.1500        11.816       -.86758E-05   -.47309E-04
  11  Prefactor     .10000E-03    2.0660       -.25858E-07** at limit **
  12  norm          .10000E-03    4.5755       -.20953E-06** at limit **
  13  Prefactor     2.8380        3.0995        .93213E-07    .59165E-04
  14  Prefactor     53.797        41.518        .40191E-05   -.13068E-03
  15  Prefactor     .10000E-03    1.5928        .35568E-08** at limit **
  16  norm          .10000E-03    4.8711       -.64446E-08** at limit **
  17  Prefactor     .10000E-03    34.668       -.44566E-06** at limit **
  18  Prefactor     10.142        33.712        .18816E-05    .70994E-04
  19  Prefactor     .10000E-03    5.4305       -.65307E-06** at limit **
  20  Prefactor     3.5016        8.5082       -.36313E-05   -.10011E-03
  21  Prefactor     .10000E-03    1.9032        .54986E-07** at limit **
  22  Prefactor     20.182        31.049       -.26331E-06   -.91828E-06
  23  Normalizat    1.4234        .19750        .24507E-05    .12246E-03
  24  Prefactor     .69402        .20066       -.74774E-07    .21597E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.82335
  norm       = 0.458363
  Prefactor  = 80.8458
  Prefactor  = 0.0001
  Prefactor  = 38.1628
  Prefactor  = 0.0001
  Prefactor  = 99.9462
  Prefactor  = 0.0001
  Prefactor  = 2.38037
  Prefactor  = 2.14997
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.83801
  Prefactor  = 53.7966
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1417
  Prefactor  = 0.000100001
  Prefactor  = 3.50156
  Prefactor  = 0.0001
  Prefactor  = 20.1817
  Normalizat = 1.42342
  Prefactor  = 0.694021
 **********
 **   18 **HESSE 
 **********

 FCN=   5525.197     FROM HESSE     STATUS=OK           399 CALLS     3184 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8233        2.9288        .15839E-03   -1.5438    
   2  norm          .45836        1.0688        .13510E-02   -1.5573    
   3  Prefactor     80.846        60.068        .44667E-04   -1.3907    
   4  Prefactor     .10000E-03    5.3619        .32929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     38.163        33.085        .64884E-04   -1.4472    
   6  Prefactor     .10000E-03    196.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     99.946        64.678        .40210E-04   -1.3705    
   8  Prefactor     .10000E-03    61.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.3804        6.0887        .26537E-03   -1.5399    
  10  Prefactor     2.1500        12.391        .28123E-03   -1.5415    
  11  Prefactor     .10000E-03    2.1542        .20832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    11.857        .30765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8380        3.0948        .13139E-03   -1.5371    
  14  Prefactor     53.797        41.214        .27346E-03   -1.4240    
  15  Prefactor     .10000E-03    1.5983        .91555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.8849        .16022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    34.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.142        28.925        .12576E-03   -1.5071    
  19  Prefactor     .10000E-03    10.055        .28703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.5016        8.6091        .21610E-03   -1.5334    
  21  Prefactor     .10000E-03    1.9548        .19977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.182        31.047        .89152E-04   -1.4809    
  23  Normalizat    1.4234        .23740        .21870E-03   -.79954    
  24  Prefactor     .69402        .23951        .31400E-03   -1.0376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76021e-09
Minuit parameter uncertainties:
  1  2.92902
  2  1.06887
  3  60.1132
  4  1.40642e-05
  5  33.101
  6  0.000239223
  7  64.7238
  8  0.000174958
  9  6.09025
  10  10.3259
  11  2.3452e-06
  12  3.49409e-05
  13  3.09494
  14  41.2362
  15  8.65586e-07
  16  1.76854e-06
  17  5.54109e-06
  18  28.9654
  19  0.000216286
  20  8.61218
  21  9.23837e-06
  22  31.0715
  23  0.237581
  24  0.239871
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  2.345e-06  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:  6.940e-01  2.399e-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.423e+00  2.376e-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.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656296/likelihoodResults_362448001_362707201_4FGL_J1001.1+2911_daily_bin475.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) = 5525.19950308
delta logL = -0.00221178747597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5525.19729157
delta logL = -2.79246705759e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2808       1.0000          .0000       10.000    
     3 'Normalizat'    1.4235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69402       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=   5525.197     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      250 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10083E-03    26.351        .20922E-02** at limit **
   2  Index         2.3366        7.2371        .50000       -.36040E-04
   3  Normalizat    1.4234        .16373E-01    .21870E-03   -.68359E-04
   4  Prefactor     .69402        .17129E-01    .31400E-03   -.25199E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010083
  Index      = 2.33659
  Normalizat = 1.42342
  Prefactor  = 0.694018
 **********
 **   18 **HESSE 
 **********

 FCN=   5525.197     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      279 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10083E-03    168.95        .41844E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3366        6.7119        .50000       -.56177    
   3  Normalizat    1.4234        .45167E-01    .43739E-04   -.79954    
   4  Prefactor     .69402        .47204E-01    .12560E-04   -1.0376    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.37101e-07
Minuit parameter uncertainties:
  1  0.0237526
  2  596.494
  3  0.0451684
  4  0.0472065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656296': 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) = 5525.1972908
delta logL = 4.96320353705e-07

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.008e-04  2.375e-02  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.337e+00  5.965e+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:  6.940e-01  4.721e-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.423e+00  4.517e-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/656296/cmap_HighResolution_362448001_362707201_4FGL_J1001.1+2911_daily_bin475.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.45e-08', time_completed='2021-09-01 10:04:25.541070', job_id='656296', GAL2='0.69', fit_tolerance='1e-08', EG2='1.42', EG='1.42', time_epoch_completed='1630515865.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='4.96e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='475' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 656296: <4FGL_J1001.1+2911_daily_bin475> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin475 150.294 29.188 362448001 362707201 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 :                                   630.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            805 sec.

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

