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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin381
RA = 150.294, Dec = 29.188
tmin = 338083201, tmax = 338342401
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='656157', job_status='RUN', time_executed='2021-09-01 09:51:08.207107', time_epoch_executed='1630515068.21' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='381'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656157

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656157/ft1_4FGL_J1001.1+2911_daily_bin381.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656157/ft2_4FGL_J1001.1+2911_daily_bin381.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656157/ft1_4FGL_J1001.1+2911_daily_bin381.fits outfile=/scratch/kocevski/656157/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin381.fits ra=150.294 dec=29.188 rad=12.0 tmin=338083201.0 tmax=338342401.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.95
user 6.55
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656157/ft1_filtered_4FGL_J1001.1+2911_daily_bin381.fits evtable="EVENTS" scfile=/scratch/kocevski/656157/ft2_4FGL_J1001.1+2911_daily_bin381.fits sctable="SC_DATA" expcube=/scratch/kocevski/656157/ltcube_338083201_338342401_4FGL_J1001.1+2911_daily_bin381.fits outfile=/scratch/kocevski/656157/expmap_338083201_338342401_4FGL_J1001.1+2911_daily_bin381.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/656157/ltcube_338083201_338342401_4FGL_J1001.1+2911_daily_bin381.fits
.....................!
real 194.21
user 187.21
sys 4.67

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/656157/ft1_filtered_4FGL_J1001.1+2911_daily_bin381.fits scfile=/scratch/kocevski/656157/ft2_4FGL_J1001.1+2911_daily_bin381.fits outfile=/scratch/kocevski/656157/cmap_338083201_338342401_4FGL_J1001.1+2911_daily_bin381.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656157/ft1_filtered_4FGL_J1001.1+2911_daily_bin381.fits scfile=/scratch/kocevski/656157/ft2_4FGL_J1001.1+2911_daily_bin381.fits outfile=/scratch/kocevski/656157/cmap_HighResolution_338083201_338342401_4FGL_J1001.1+2911_daily_bin381.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0490       1.0000         .10000E-03   10000.    
     2 'norm      '    1.6268       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.542       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    50.926       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3989       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .45522E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2889       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.4097       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .83074       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8164       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0803       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0001       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=   5284.281     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2706 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0492        4.4308        .69470E-07    .77189E-03
   2  norm          1.6268        1.3110        .13976E-07    .41608E-05
   3  Prefactor     .10000E-03    15.301       -.14873E-08** at limit **
   4  Prefactor     .10000E-03    1.1729        .24440E-07** at limit **
   5  Prefactor     .10000E-03    13.622       -.56829E-07** at limit **
   6  Prefactor     23.534        92.296        .73651E-06   -.29750E-04
   7  Prefactor     .10000E-03    13.874       -.90236E-08** at limit **
   8  Prefactor     50.928        47.827        .77560E-07    .48231E-05
   9  Prefactor     8.3992        7.0910        .25188E-06    .86669E-04
  10  Prefactor     .10000E-03    2.7494       -.27699E-08** at limit **
  11  Prefactor     .10000E-03    1.3596       -.29680E-07** at limit **
  12  norm          .10000E-03    2.9594       -.22889E-07** at limit **
  13  Prefactor     .10000E-03    1.8853       -.51455E-06** at limit **
  14  Prefactor     .10000E-03    15.984       -.29142E-08** at limit **
  15  Prefactor     2.2858        3.8701        .13650E-05    .12856E-02
  16  norm          .10000E-03    2.7293       -.17729E-07** at limit **
  17  Prefactor     .10000E-03    80.885       -.89709E-07** at limit **
  18  Prefactor     .10000E-03    22.490       -.40245E-06** at limit **
  19  Prefactor     1.4090        3.0549        .94737E-06    .81591E-03
  20  Prefactor     .82795        12.629        .60207E-05   -.43770E-03
  21  Prefactor     2.8164        2.2261       -.72922E-07   -.35739E-03
  22  Prefactor     .10000E-03    8.9827       -.50898E-08** at limit **
  23  Normalizat    1.0803        .17206       -.43980E-06    .66304E-04
  24  Prefactor     1.0000        .19004       -.25394E-06    .11289E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.0492
  norm       = 1.62681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.5338
  Prefactor  = 0.0001
  Prefactor  = 50.9283
  Prefactor  = 8.39922
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 2.28584
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.409
  Prefactor  = 0.827952
  Prefactor  = 2.81641
  Prefactor  = 0.0001
  Normalizat = 1.08027
  Prefactor  = 1.00003
 **********
 **   18 **HESSE 
 **********

 FCN=   5284.281     FROM HESSE     STATUS=OK           395 CALLS     3101 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0492        4.4134        .12657E-03   -1.5216    
   2  norm          1.6268        1.3101        .72783E-04   -1.5453    
   3  Prefactor     .10000E-03    15.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.1795        .76862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.534        92.169        .82557E-04   -1.4737    
   7  Prefactor     .10000E-03    13.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     50.928        47.812        .56198E-04   -1.4279    
   9  Prefactor     8.3992        7.0880        .13833E-03   -1.5128    
  10  Prefactor     .10000E-03    2.7537        .11771E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.3931        .16533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.9727        .12212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    17.475        .17729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.2858        3.8449        .17475E-03   -1.5406    
  16  norm          .10000E-03    2.7309        .11729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    81.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    22.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4090        3.0573        .18419E-03   -1.5471    
  20  Prefactor     .82795        13.436        .28662E-02   -1.5526    
  21  Prefactor     2.8164        2.2122        .92019E-04   -1.5372    
  22  Prefactor     .10000E-03    8.9898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0803        .19565        .22000E-03   -.90388    
  24  Prefactor     1.0000        .21757        .25718E-03   -.92728    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55385e-09
Minuit parameter uncertainties:
  1  4.41364
  2  1.31013
  3  0.000107981
  4  1.79834e-06
  5  0.000104818
  6  92.7339
  7  9.90321e-05
  8  47.8479
  9  7.08868
  10  3.92842e-06
  11  1.91408e-06
  12  3.93815e-06
  13  0.000373892
  14  0.000241261
  15  3.84528
  16  5.39282e-06
  17  0.000322148
  18  3.6718e-05
  19  3.05759
  20  6.67196
  21  2.21223
  22  1.49073e-05
  23  0.19578
  24  0.217757
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.914e-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:  1.000e+00  2.178e-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.080e+00  1.958e-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: 6.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656157/likelihoodResults_338083201_338342401_4FGL_J1001.1+2911_daily_bin381.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) = 5284.28459945
delta logL = -0.00341462818869

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5284.28118395
delta logL = 8.75483237905e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2978       1.0000          .0000       10.000    
     3 'Normalizat'    1.0803       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0000       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=   5283.429     FROM MIGRAD    STATUS=CONVERGED    149 CALLS      300 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35476E-02    .44885E-01    .90712E-03    .16238E-01
   2  Index         6.0595        2.4773        .12696        .15639E-03
   3  Normalizat    .99742        .38082E-01    .38863E-01    .25229E-04
   4  Prefactor     1.0579        .43277E-01    .46211E-01    .52091E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00354757
  Index      = 6.05951
  Normalizat = 0.997419
  Prefactor  = 1.05794
 **********
 **   18 **HESSE 
 **********

 FCN=   5283.429     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      335 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35476E-02    .12764        .36710E-04   -1.5696    
   2  Index         6.0595        7.5356        .46063E-02    .21352    
   3  Normalizat    .99742        .14863        .22765E-03   -.93117    
   4  Prefactor     1.0579        .16508        .25094E-03   -.90822    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43103e-10
Minuit parameter uncertainties:
  1  0.0419555
  2  5.59375
  3  0.148687
  4  0.165163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656157': 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) = 5283.4288361
delta logL = 0.852348719764

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.548e-03  4.196e-02  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  6.060e+00  5.594e+00  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.058e+00  1.652e-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.974e-01  1.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 150.294 29.188
Photon Index (Free Index): 6.06 +/- 5.59
Photon Flux (Free Index): 6.35e-08 +/- 5.32e-08
Energy Flux (Free Index): 7.88e-06 +/- 7.54e-06

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/656157/cmap_HighResolution_338083201_338342401_4FGL_J1001.1+2911_daily_bin381.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.89e-03', comment='SUCCESS', energy_flux2='7.88e-06', dlogl='8.52e-01', photon_flux2='6.35e-08', job_status='DONE', time_completed='2021-09-01 10:01:53.461721', photon_index_error2='5.59', photon_index2='6.06', ts='-0.00', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='6.39e-08', energy_flux_error2='7.54e-06', EG='1.08', time_epoch_completed='1630515713.46', return_code='0', job_id='656157', GAL2='1.06', EG2='1.00', return_code2='102', photon_flux_error2='5.32e-08', ts2='1.84', photon_index='2.27' WHERE bin_id='381' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:01:53 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin381 150.294 29.188 338083201 338342401 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 :                                   635.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            666 sec.

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

