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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin188
RA = 150.294, Dec = 29.188
tmin = 288057601, tmax = 288316801
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='654744', job_status='RUN', time_executed='2021-09-01 09:48:05.749813', time_epoch_executed='1630514885.75' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='188'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654744

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654744/ft1_4FGL_J1001.1+2911_daily_bin188.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654744/ft2_4FGL_J1001.1+2911_daily_bin188.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654744/ft1_4FGL_J1001.1+2911_daily_bin188.fits outfile=/scratch/kocevski/654744/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin188.fits ra=150.294 dec=29.188 rad=12.0 tmin=288057601.0 tmax=288316801.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.37
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654744/ft2_4FGL_J1001.1+2911_daily_bin188.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/654744/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin188.fits evtable="EVENTS" outfile="/scratch/kocevski/654744/ft1_filtered_4FGL_J1001.1+2911_daily_bin188.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.50
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654744/ft1_filtered_4FGL_J1001.1+2911_daily_bin188.fits evtable="EVENTS" scfile=/scratch/kocevski/654744/ft2_4FGL_J1001.1+2911_daily_bin188.fits sctable="SC_DATA" expcube=/scratch/kocevski/654744/ltcube_288057601_288316801_4FGL_J1001.1+2911_daily_bin188.fits outfile=/scratch/kocevski/654744/expmap_288057601_288316801_4FGL_J1001.1+2911_daily_bin188.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/654744/ltcube_288057601_288316801_4FGL_J1001.1+2911_daily_bin188.fits
.....................!
real 190.39
user 185.07
sys 3.84

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/654744/ft1_filtered_4FGL_J1001.1+2911_daily_bin188.fits scfile=/scratch/kocevski/654744/ft2_4FGL_J1001.1+2911_daily_bin188.fits outfile=/scratch/kocevski/654744/cmap_288057601_288316801_4FGL_J1001.1+2911_daily_bin188.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.84
user 0.38
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8341       1.0000         .10000E-03   10000.    
     2 'norm      '    .16677E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12422E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3686       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10491E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24544E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11204E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    79.983       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.846       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7526       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3351       1.0000         .10000E-03   10000.    
    12 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1261       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.125       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.5558       1.0000         .10000E-03   10000.    
    16 'norm      '    33.701       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.833       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .98238       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.278       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .70289E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.007       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0894       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5777.794     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     2346 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8368        3.7480        .66667E-09   -.55405E-05
   2  norm          .10000E-03    6.5465       -.20126E-06** at limit **
   3  Prefactor     .10000E-03    20.150        .12139E-05** at limit **
   4  Prefactor     5.3717        4.1263       -.12506E-06   -.11536E-04
   5  Prefactor     .10048E-03    27.335        .22067E-05** at limit **
   6  Prefactor     .10003E-03    88.512       -.77616E-06** at limit **
   7  Prefactor     .10000E-03    14.424        .16383E-05** at limit **
   8  Prefactor     79.985        1.1086        .49279E-08   -.21858E-03
   9  Prefactor     13.846        3.7924        .54920E-06   -.15723E-02
  10  Prefactor     3.7545        4.6944       -.73109E-06    .17071E-02
  11  Prefactor     1.3364        2.6424       -.61364E-06   -.30943E-04
  12  norm          .10000E-03    5.0223       -.25381E-05** at limit **
  13  Prefactor     3.1295        4.7174        .55693E-06    .30620E-03
  14  Prefactor     21.211        20.149        .16220E-07    .57498E-03
  15  Prefactor     9.5514        5.4067       -.25132E-06   -.14821E-02
  16  norm          33.697        2.4022       -.13795E-06    .14314E-02
  17  Prefactor     .10046E-03    30.974       -.45869E-05** at limit **
  18  Prefactor     30.676        37.419       -.79504E-07    .77024E-03
  19  Prefactor     1.0047        11.110       -.10463E-05    .41831E-06
  20  Prefactor     11.271        7.4932        .74143E-06    .32389E-02
  21  Prefactor     .87490E-01    11.877       -.60354E-05   -.84427E-03
  22  Prefactor     18.006        1.0219       -.53605E-08   -.19814E-04
  23  Normalizat    1.0893        .21443       -.10592E-05   -.34412E-04
  24  Prefactor     .91122        .22251        .14535E-06   -.26303E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.83676
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 5.37174
  Prefactor  = 0.000100476
  Prefactor  = 0.000100033
  Prefactor  = 0.0001
  Prefactor  = 79.9848
  Prefactor  = 13.8458
  Prefactor  = 3.75448
  Prefactor  = 1.33636
  norm       = 0.0001
  Prefactor  = 3.12946
  Prefactor  = 21.2108
  Prefactor  = 9.55143
  norm       = 33.6966
  Prefactor  = 0.000100456
  Prefactor  = 30.6762
  Prefactor  = 1.00467
  Prefactor  = 11.2708
  Prefactor  = 0.0874903
  Prefactor  = 18.0061
  Normalizat = 1.08926
  Prefactor  = 0.911221
 **********
 **   18 **HESSE 
 **********

 FCN=   5777.794     FROM HESSE     STATUS=OK           465 CALLS     2811 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8368        3.7525        .45742E-02   -1.5268    
   2  norm          .10000E-03    1.0816        .44479E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.222        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3717        4.1857        .43361E-02   -1.5244    
   5  Prefactor     .10048E-03    37.677        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10003E-03    88.931        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.686        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     79.985        55.718        .11227E-02   -1.3917    
   9  Prefactor     13.846        8.0056        .26910E-02   -1.4964    
  10  Prefactor     3.7545        7.1450        .52106E-02   -1.5320    
  11  Prefactor     1.3364        2.6825        .94935E-02   -1.5477    
  12  norm          .10000E-03    4.9736        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.1295        5.0887        .57326E-02   -1.5354    
  14  Prefactor     21.211        41.796        .21786E-02   -1.4787    
  15  Prefactor     9.5514        6.8666        .32410E-02   -1.5090    
  16  norm          33.697        16.581        .17257E-02   -1.4546    
  17  Prefactor     .10046E-03    41.306        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.676        50.791        .18039E-02   -1.4600    
  19  Prefactor     1.0047        16.914        .13103E-01   -1.5508    
  20  Prefactor     11.271        10.566        .29823E-02   -1.5036    
  21  Prefactor     .87490E-01    1.4379        .56329E-01   -1.5649    
  22  Prefactor     18.006        20.080        .23596E-02   -1.4859    
  23  Normalizat    1.0893        .19241        .38448E-01   -.90098    
  24  Prefactor     .91122        .19619        .45150E-01   -.95750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.33436e-08
Minuit parameter uncertainties:
  1  3.75265
  2  3.19653e-06
  3  0.000422502
  4  4.18596
  5  0.00847612
  6  0.0034352
  7  2.8387e-05
  8  55.7544
  9  8.00623
  10  7.14665
  11  2.68271
  12  1.69524e-05
  13  5.08944
  14  41.8538
  15  6.86717
  16  16.5828
  17  0.00869001
  18  50.863
  19  8.24682
  20  10.5677
  21  0.708979
  22  20.0872
  23  0.192537
  24  0.196347
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.336e+00  2.683e+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:  9.112e-01  1.963e-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.089e+00  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/654744/likelihoodResults_288057601_288316801_4FGL_J1001.1+2911_daily_bin188.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) = 5777.44790216
delta logL = 0.346581097267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5777.44716247
delta logL = 0.34732079225

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75123       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2226       1.0000          .0000       10.000    
     3 'Normalizat'    1.0510       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93556       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=   5777.447     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      244 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .75118        15.907        .12257E-01    .13350E-02
   2  Index         3.2226        3.5721        .12834        .11160E-03
   3  Normalizat    1.0511        .41623E-01    .40488E-01    .97452E-05
   4  Prefactor     .93551        .45016E-01    .45457E-01    .12137E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.751181
  Index      = 3.22256
  Normalizat = 1.05112
  Prefactor  = 0.935506
 **********
 **   18 **HESSE 
 **********

 FCN=   5777.447     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .75118        2.9232        .70002E-04   -1.5535    
   2  Index         3.2226        2.1091        .76322E-02   -.36344    
   3  Normalizat    1.0511        .21419        .24307E-03   -.91337    
   4  Prefactor     .93551        .22646        .27559E-03   -.94911    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74937e-08
Minuit parameter uncertainties:
  1  2.92376
  2  2.18823
  3  0.214368
  4  0.226687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654744': 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) = 5777.44716236
delta logL = 0.347320895113

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  7.512e-01  2.924e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.223e+00  2.188e+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:  9.355e-01  2.267e-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.051e+00  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 150.294 29.188
Photon Index (Free Index): 3.22 +/- 2.19
Photon Flux (Free Index): 4.96e-08 +/- 5.69e-08
Energy Flux (Free Index): 9.00e-06 +/- 1.13e-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/654744/cmap_HighResolution_288057601_288316801_4FGL_J1001.1+2911_daily_bin188.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.63e-03', comment='SUCCESS', energy_flux2='9.00e-06', dlogl='3.47e-01', photon_flux2='4.96e-08', job_status='DONE', time_completed='2021-09-01 09:58:35.104833', photon_index_error2='2.19', photon_index2='3.22', ts='0.32', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='9.97e-08', energy_flux_error2='1.13e-05', EG='1.09', time_epoch_completed='1630515515.1', return_code='0', job_id='654744', GAL2='0.94', EG2='1.05', return_code2='0', photon_flux_error2='5.69e-08', ts2='1.04', photon_index='2.27' WHERE bin_id='188' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 09:58:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 654744: <4FGL_J1001.1+2911_daily_bin188> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin188 150.294 29.188 288057601 288316801 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 :                                   615.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            762 sec.

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

