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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin361
RA = 150.294, Dec = 29.188
tmin = 332899201, tmax = 333158401
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='656125', job_status='RUN', time_executed='2021-09-01 09:53:48.705777', time_epoch_executed='1630515228.71' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='361'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656125

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656125/ft1_4FGL_J1001.1+2911_daily_bin361.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656125/ft2_4FGL_J1001.1+2911_daily_bin361.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656125/ft1_4FGL_J1001.1+2911_daily_bin361.fits outfile=/scratch/kocevski/656125/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin361.fits ra=150.294 dec=29.188 rad=12.0 tmin=332899201.0 tmax=333158401.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 4.28
user 3.98
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656125/ft1_filtered_4FGL_J1001.1+2911_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/656125/ft2_4FGL_J1001.1+2911_daily_bin361.fits sctable="SC_DATA" expcube=/scratch/kocevski/656125/ltcube_332899201_333158401_4FGL_J1001.1+2911_daily_bin361.fits outfile=/scratch/kocevski/656125/expmap_332899201_333158401_4FGL_J1001.1+2911_daily_bin361.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/656125/ltcube_332899201_333158401_4FGL_J1001.1+2911_daily_bin361.fits
.....................!
real 190.86
user 185.91
sys 4.41

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/656125/ft1_filtered_4FGL_J1001.1+2911_daily_bin361.fits scfile=/scratch/kocevski/656125/ft2_4FGL_J1001.1+2911_daily_bin361.fits outfile=/scratch/kocevski/656125/cmap_332899201_333158401_4FGL_J1001.1+2911_daily_bin361.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656125/ft1_filtered_4FGL_J1001.1+2911_daily_bin361.fits scfile=/scratch/kocevski/656125/ft2_4FGL_J1001.1+2911_daily_bin361.fits outfile=/scratch/kocevski/656125/cmap_HighResolution_332899201_333158401_4FGL_J1001.1+2911_daily_bin361.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=150.294 yref=29.188 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0575       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    47.524       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.2953       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .88045       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5717       1.0000         .10000E-03   10000.    
    12 'norm      '    10.176       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2565       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .12363E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.786       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    37.122       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87853       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0544       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=   5175.726     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2669 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0577        3.6171       -.70886E-06    .41099E-04
   2  norm          .10000E-03    .53750        .24446E-07** at limit **
   3  Prefactor     47.525        39.639        .13250E-05   -.10130E-05
   4  Prefactor     6.2956        3.9245       -.31445E-06   -.18096E-03
   5  Prefactor     .10000E-03    10.385        .76411E-05** at limit **
   6  Prefactor     .10000E-03    22.058        .98024E-05** at limit **
   7  Prefactor     .10000E-03    27.563        .16396E-04** at limit **
   8  Prefactor     .10000E-03    34.288       -.18502E-04** at limit **
   9  Prefactor     .10000E-03    3.1094       -.54138E-06** at limit **
  10  Prefactor     .87827        5.7204       -.89779E-06   -.13307E-03
  11  Prefactor     4.5720        3.0086       -.15728E-06   -.24727E-03
  12  norm          10.177        9.1918       -.16887E-07   -.63460E-04
  13  Prefactor     6.2560        3.6529        .10799E-05    .13282E-03
  14  Prefactor     .10000E-03    17.812       -.10826E-04** at limit **
  15  Prefactor     .10000E-03    1.9161       -.12934E-06** at limit **
  16  norm          .10001E-03    4.2752       -.18342E-05** at limit **
  17  Prefactor     22.787        34.952        .16529E-05    .13179E-06
  18  Prefactor     .10000E-03    12.378       -.26147E-05** at limit **
  19  Prefactor     .10000E-03    2.9052       -.48561E-06** at limit **
  20  Prefactor     .10000E-03    3.0725        .10403E-05** at limit **
  21  Prefactor     .10000E-03    .67760        .37008E-08** at limit **
  22  Prefactor     37.123        29.276        .14993E-05    .28572E-05
  23  Normalizat    .87848        .17574       -.47214E-06    .13860E-03
  24  Prefactor     1.0544        .19132        .24921E-06    .93752E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05768
  norm       = 0.0001
  Prefactor  = 47.525
  Prefactor  = 6.29557
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.878274
  Prefactor  = 4.57204
  norm       = 10.1772
  Prefactor  = 6.25599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100013
  Prefactor  = 22.7872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.1234
  Normalizat = 0.87848
  Prefactor  = 1.05443
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.726     FROM HESSE     STATUS=OK           397 CALLS     3066 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0577        3.6212        .12558E-03   -1.5305    
   2  norm          .10000E-03    .53953        .51492E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     47.525        39.639        .58165E-04   -1.4328    
   4  Prefactor     6.2956        3.9313        .10747E-03   -1.5206    
   5  Prefactor     .10000E-03    10.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    27.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    34.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.1816        .12383E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .87827        23.008        .32252E-02   -1.5521    
  11  Prefactor     4.5720        3.0138        .95335E-04   -1.5280    
  12  norm          10.177        9.1916        .12561E-03   -1.5070    
  13  Prefactor     6.2560        3.6552        .99252E-04   -1.5208    
  14  Prefactor     .10000E-03    17.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.9526        .97126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10001E-03    9.4525        .28720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.787        34.950        .83913E-04   -1.4753    
  18  Prefactor     .10000E-03    12.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.9582        .11972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0968        .12313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .68440        .57820E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     37.123        29.295        .65780E-04   -1.4489    
  23  Normalizat    .87848        .20428        .23204E-03   -.97220    
  24  Prefactor     1.0544        .22204        .24341E-03   -.90937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50777e-09
Minuit parameter uncertainties:
  1  3.62138
  2  8.31381e-07
  3  39.6607
  4  3.93147
  5  5.44189e-07
  6  3.16742e-07
  7  1.62407e-05
  8  5.2088e-05
  9  3.69251e-06
  10  8.99383
  11  3.01386
  12  9.19286
  13  3.65529
  14  5.36463e-06
  15  1.27225e-05
  16  0.000694022
  17  34.9818
  18  9.05035e-07
  19  2.61503e-07
  20  4.84825e-07
  21  5.54996e-08
  22  29.3066
  23  0.20446
  24  0.222231
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.572e+00  3.014e+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.054e+00  2.222e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  8.785e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.31
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 6.10e-08 +/- 4.02e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 1.60e-05

TS (Fixed Index): 3.31
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656125/likelihoodResults_332899201_333158401_4FGL_J1001.1+2911_daily_bin361.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) = 5173.82861696
delta logL = 1.89768912986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5173.75145225
delta logL = 1.97485384723

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .75302       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6896       1.0000          .0000       10.000    
     3 'Normalizat'    .78952       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1277       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=   5173.751     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      259 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .75279        5.0321        .61169E-02    .49801E-03
   2  Index         3.6898        2.4147        .76583E-01    .14181E-03
   3  Normalizat    .78954        .60988E-01    .43473E-01    .14530E-04
   4  Prefactor     1.1277        .69080E-01    .53456E-01    .40598E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.752787
  Index      = 3.68982
  Normalizat = 0.789538
  Prefactor  = 1.12771
 **********
 **   18 **HESSE 
 **********

 FCN=   5173.751     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      292 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .75279        7.6927        .27333E-04   -1.5534    
   2  Index         3.6898        3.1059        .31901E-02   -.26513    
   3  Normalizat    .78954        .20147        .24283E-03   -1.0046    
   4  Prefactor     1.1277        .23337        .23634E-03   -.88586    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.5837e-07
Minuit parameter uncertainties:
  1  4.81338
  2  3.37432
  3  0.201657
  4  0.233581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656125': 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) = 5173.75145222
delta logL = 1.97485387153

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  7.528e-01  4.813e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  3.690e+00  3.374e+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.128e+00  2.336e-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.895e-01  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.61
Ra Dec: 150.294 29.188
Photon Index (Free Index): 3.69 +/- 3.37
Photon Flux (Free Index): 1.18e-07 +/- 5.46e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.64e-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/656125/cmap_HighResolution_332899201_333158401_4FGL_J1001.1+2911_daily_bin361.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', photon_flux='6.10e-08', energy_flux2='1.88e-05', photon_flux_error='4.02e-08', dlogl='1.97e+00', energy_flux='2.43e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-09-01 10:04:09.781842', photon_index_error2='3.37', photon_index2='3.69', ts='3.31', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='1.64e-05', EG='0.88', time_epoch_completed='1630515849.78', return_code='0', job_id='656125', GAL2='1.13', EG2='0.79', return_code2='102', energy_flux_error='1.60e-05', photon_flux_error2='5.46e-08', ts2='7.61', photon_index='2.27' WHERE bin_id='361' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 656125: <4FGL_J1001.1+2911_daily_bin361> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin361 150.294 29.188 332899201 333158401 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 :                                   619.45 sec.
    Max Memory :                                 1005 MB
    Average Memory :                             245.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            805 sec.

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

