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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin342
RA = 150.294, Dec = 29.188
tmin = 327974401, tmax = 328233601
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='656095', job_status='RUN', time_executed='2021-09-01 09:54:41.270759', time_epoch_executed='1630515281.27' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='342'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656095

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656095/ft1_4FGL_J1001.1+2911_daily_bin342.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656095/ft2_4FGL_J1001.1+2911_daily_bin342.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656095/ft1_4FGL_J1001.1+2911_daily_bin342.fits outfile=/scratch/kocevski/656095/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin342.fits ra=150.294 dec=29.188 rad=12.0 tmin=327974401.0 tmax=328233601.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.61
user 3.30
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656095/ft1_filtered_4FGL_J1001.1+2911_daily_bin342.fits" evtable="EVENTS" scfile=/scratch/kocevski/656095/ft2_4FGL_J1001.1+2911_daily_bin342.fits sctable="SC_DATA" outfile=/scratch/kocevski/656095/ltcube_327974401_328233601_4FGL_J1001.1+2911_daily_bin342.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/656095/ft2_4FGL_J1001.1+2911_daily_bin342.fits
.....................!
real 12.83
user 11.98
sys 0.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656095/ft1_filtered_4FGL_J1001.1+2911_daily_bin342.fits evtable="EVENTS" scfile=/scratch/kocevski/656095/ft2_4FGL_J1001.1+2911_daily_bin342.fits sctable="SC_DATA" expcube=/scratch/kocevski/656095/ltcube_327974401_328233601_4FGL_J1001.1+2911_daily_bin342.fits outfile=/scratch/kocevski/656095/expmap_327974401_328233601_4FGL_J1001.1+2911_daily_bin342.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/656095/ltcube_327974401_328233601_4FGL_J1001.1+2911_daily_bin342.fits
.....................!
real 191.00
user 185.79
sys 4.42

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/656095/ft1_filtered_4FGL_J1001.1+2911_daily_bin342.fits scfile=/scratch/kocevski/656095/ft2_4FGL_J1001.1+2911_daily_bin342.fits outfile=/scratch/kocevski/656095/cmap_327974401_328233601_4FGL_J1001.1+2911_daily_bin342.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.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.9473       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    49.533       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.226       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.0640       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7903       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4262       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1360       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6128       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.5312       1.0000         .10000E-03   10000.    
    16 'norm      '    24.367       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10838E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .24395E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.9139       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.1626       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.514       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73972       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0451       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=   5115.309     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2715 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3163       -.25458E-07** at limit **
   2  norm          1.9473        1.3640       -.20221E-07    .30852E-04
   3  Prefactor     .10000E-03    26.979        .10914E-04** at limit **
   4  Prefactor     .10000E-03    1.7439       -.58559E-07** at limit **
   5  Prefactor     49.535        28.287        .30571E-06    .16652E-04
   6  Prefactor     .10000E-03    35.707       -.31404E-04** at limit **
   7  Prefactor     .10000E-03    13.703        .41513E-06** at limit **
   8  Prefactor     25.224        32.298       -.11120E-05    .84210E-05
   9  Prefactor     8.0642        5.3798        .19341E-05   -.34675E-05
  10  Prefactor     3.7907        6.1794       -.24560E-05   -.23394E-03
  11  Prefactor     1.4263        2.4245       -.58779E-06   -.81938E-03
  12  norm          .10000E-03    1.9811       -.24337E-08** at limit **
  13  Prefactor     4.1359        3.5399        .76607E-06   -.57252E-04
  14  Prefactor     3.6066        60.851       -.67234E-05   -.20698E-04
  15  Prefactor     4.5326        4.7909       -.14887E-05   -.32936E-03
  16  norm          24.367        14.322       -.14799E-06    .75964E-04
  17  Prefactor     .10000E-03    48.700        .32178E-04** at limit **
  18  Prefactor     .10000E-03    112.01       -.20025E-04** at limit **
  19  Prefactor     .10000E-03    3.2888        .22295E-06** at limit **
  20  Prefactor     6.9141        6.8702       -.19383E-05   -.14098E-03
  21  Prefactor     2.1624        2.5301        .12349E-06   -.44729E-03
  22  Prefactor     12.515        14.054       -.22945E-07    .21988E-05
  23  Normalizat    .73961        .16571        .77614E-06    .37601E-05
  24  Prefactor     1.0452        .17974        .18422E-06    .46498E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.94731
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.5352
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.2243
  Prefactor  = 8.06417
  Prefactor  = 3.79069
  Prefactor  = 1.42633
  norm       = 0.0001
  Prefactor  = 4.13589
  Prefactor  = 3.60656
  Prefactor  = 4.53257
  norm       = 24.3668
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 6.91409
  Prefactor  = 2.16242
  Prefactor  = 12.5146
  Normalizat = 0.739613
  Prefactor  = 1.04524
 **********
 **   18 **HESSE 
 **********

 FCN=   5115.309     FROM HESSE     STATUS=OK           405 CALLS     3120 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3634        .10627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9473        1.3651        .68047E-04   -1.5429    
   3  Prefactor     .10000E-03    26.978        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.7854        .18431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     49.535        28.319        .56979E-04   -1.4299    
   6  Prefactor     .10000E-03    35.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.224        32.299        .79757E-04   -1.4703    
   9  Prefactor     8.0642        5.3747        .12990E-03   -1.5140    
  10  Prefactor     3.7907        6.1854        .20734E-03   -1.5319    
  11  Prefactor     1.4263        2.4059        .13639E-03   -1.5469    
  12  norm          .10000E-03    1.9841        .98308E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1359        3.5249        .11142E-03   -1.5301    
  14  Prefactor     3.6066        61.148        .21257E-03   -1.5328    
  15  Prefactor     4.5326        4.7623        .14204E-03   -1.5282    
  16  norm          24.367        14.192        .81149E-04   -1.4720    
  17  Prefactor     .10000E-03    48.551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    112.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.179        .24484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.9141        6.8553        .15258E-03   -1.5182    
  21  Prefactor     2.1624        2.5104        .11434E-03   -1.5414    
  22  Prefactor     12.515        14.054        .11323E-03   -1.5000    
  23  Normalizat    .73961        .18862        .23654E-03   -1.0235    
  24  Prefactor     1.0452        .20579        .23115E-03   -.91236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.08649e-10
Minuit parameter uncertainties:
  1  2.67017e-06
  2  1.3651
  3  2.04977e-05
  4  4.36194e-06
  5  28.3268
  6  4.12652e-06
  7  5.70512e-07
  8  32.3212
  9  5.37506
  10  6.18642
  11  2.40604
  12  1.72929e-06
  13  3.52511
  14  29.7362
  15  4.7627
  16  14.1939
  17  5.82325e-05
  18  0.000371307
  19  0.000453281
  20  6.85604
  21  2.51048
  22  14.058
  23  0.18879
  24  0.205947
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.426e+00  2.406e+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

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  1.045e+00  2.059e-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:  7.396e-01  1.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.42
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 9.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656095/likelihoodResults_327974401_328233601_4FGL_J1001.1+2911_daily_bin342.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): 0
logL (Free Index) = 5114.95894483
delta logL = 0.349727592508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5114.94725766
delta logL = 0.361414760809

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69645       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2158       1.0000          .0000       10.000    
     3 'Normalizat'    .70558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0679       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=   5114.947     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69624        12.855        .12048E-01    .98762E-03
   2  Index         3.2160        3.3744        .12226        .11841E-03
   3  Normalizat    .70560        .37057E-01    .42365E-01    .17432E-04
   4  Prefactor     1.0679        .42577E-01    .38958E-01    .37046E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.696238
  Index      = 3.21596
  Normalizat = 0.705604
  Prefactor  = 1.06789
 **********
 **   18 **HESSE 
 **********

 FCN=   5114.947     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69624        4.9318        .58679E-04   -1.5541    
   2  Index         3.2160        2.7610        .66038E-02   -.36485    
   3  Normalizat    .70560        .18713        .24162E-03   -1.0367    
   4  Prefactor     1.0679        .21149        .22893E-03   -.90499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09303e-10
Minuit parameter uncertainties:
  1  3.70624
  2  2.95401
  3  0.1873
  4  0.211658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656095': 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) = 5114.94725764
delta logL = 0.36141477901

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  6.962e-01  3.706e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.216e+00  2.954e+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.068e+00  2.117e-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:  7.056e-01  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.19
Ra Dec: 150.294 29.188
Photon Index (Free Index): 3.22 +/- 2.95
Photon Flux (Free Index): 4.54e-08 +/- 4.73e-08
Energy Flux (Free Index): 8.26e-06 +/- 1.17e-05

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/656095/cmap_HighResolution_327974401_328233601_4FGL_J1001.1+2911_daily_bin342.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-03', comment='SUCCESS', energy_flux2='8.26e-06', dlogl='3.61e-01', photon_flux2='4.54e-08', job_status='DONE', time_completed='2021-09-01 10:04:58.624922', photon_index_error2='2.95', photon_index2='3.22', ts='0.42', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='9.15e-08', energy_flux_error2='1.17e-05', EG='0.74', time_epoch_completed='1630515898.62', return_code='0', job_id='656095', GAL2='1.07', EG2='0.71', return_code2='0', photon_flux_error2='4.73e-08', ts2='1.19', photon_index='2.27' WHERE bin_id='342' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 656095: <4FGL_J1001.1+2911_daily_bin342> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin342 150.294 29.188 327974401 328233601 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 :                                   611.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

