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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin219
RA = 150.294, Dec = 29.188
tmin = 296092801, tmax = 296352001
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='654776', job_status='RUN', time_executed='2021-09-01 09:49:04.966567', time_epoch_executed='1630514944.97' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='219'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654776

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654776/ft1_4FGL_J1001.1+2911_daily_bin219.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654776/ft2_4FGL_J1001.1+2911_daily_bin219.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654776/ft1_4FGL_J1001.1+2911_daily_bin219.fits outfile=/scratch/kocevski/654776/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin219.fits ra=150.294 dec=29.188 rad=12.0 tmin=296092801.0 tmax=296352001.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 2.43
user 2.20
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654776/ft1_filtered_4FGL_J1001.1+2911_daily_bin219.fits evtable="EVENTS" scfile=/scratch/kocevski/654776/ft2_4FGL_J1001.1+2911_daily_bin219.fits sctable="SC_DATA" expcube=/scratch/kocevski/654776/ltcube_296092801_296352001_4FGL_J1001.1+2911_daily_bin219.fits outfile=/scratch/kocevski/654776/expmap_296092801_296352001_4FGL_J1001.1+2911_daily_bin219.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/654776/ltcube_296092801_296352001_4FGL_J1001.1+2911_daily_bin219.fits
.....................!
real 190.98
user 184.86
sys 5.25

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/654776/ft1_filtered_4FGL_J1001.1+2911_daily_bin219.fits scfile=/scratch/kocevski/654776/ft2_4FGL_J1001.1+2911_daily_bin219.fits outfile=/scratch/kocevski/654776/cmap_296092801_296352001_4FGL_J1001.1+2911_daily_bin219.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 1.30
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654776/ft1_filtered_4FGL_J1001.1+2911_daily_bin219.fits scfile=/scratch/kocevski/654776/ft2_4FGL_J1001.1+2911_daily_bin219.fits outfile=/scratch/kocevski/654776/cmap_HighResolution_296092801_296352001_4FGL_J1001.1+2911_daily_bin219.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.91
user 0.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.8447       1.0000         .10000E-03   10000.    
     3 'Prefactor '    68.108       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .17472E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.574       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.386       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.5385       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17755E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    46.177       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8599       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6036       1.0000         .10000E-03   10000.    
    16 'norm      '    6.4137       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10433E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.692       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11435E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    27.154       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93029       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2364       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=   5984.744     FROM MIGRAD    STATUS=CONVERGED     85 CALLS     2321 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1150       -.14903E-05** at limit **
   2  norm          2.8443        2.1516        .66880E-07   -.57930E-03
   3  Prefactor     68.082        7.5367       -.40393E-05    .27744E-01
   4  Prefactor     .10024E-03    9.3690        .22568E-04** at limit **
   5  Prefactor     .10004E-03    7.2918       -.25913E-05** at limit **
   6  Prefactor     .10004E-03    7.4310       -.99029E-05** at limit **
   7  Prefactor     11.571        1.3363       -.11642E-05    .13730E-02
   8  Prefactor     11.379        1.7135       -.16718E-05    .15927E-02
   9  Prefactor     .10000E-03    2.6400        .59074E-08** at limit **
  10  Prefactor     7.5380        1.0038       -.25242E-07    .15182E-04
  11  Prefactor     .10000E-03    5.9939        .32614E-06** at limit **
  12  norm          46.180        1.0389       -.17856E-06    .43676E-03
  13  Prefactor     .10011E-03    8.8740       -.16585E-04** at limit **
  14  Prefactor     2.8594        1.0405       -.58606E-06    .15871E-03
  15  Prefactor     1.5992        3.7891        .10339E-05    .57942E-04
  16  norm          6.4149        1.0070       -.49326E-07    .28620E-04
  17  Prefactor     .10070E-03    54.516       -.58057E-05** at limit **
  18  Prefactor     .10024E-03    20.354        .10948E-04** at limit **
  19  Prefactor     10.695        1.0491        .25452E-07    .42014E-04
  20  Prefactor     .10000E-03    2.1101        .16667E-05** at limit **
  21  Prefactor     .10000E-03    2.0320        .49089E-06** at limit **
  22  Prefactor     27.154        1.0004       -.97582E-08    .53543E-04
  23  Normalizat    .93053        .20132       -.10314E-05   -.14930E-03
  24  Prefactor     1.2361        .22939        .95161E-06   -.55492E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.84434
  Prefactor  = 68.0824
  Prefactor  = 0.000100244
  Prefactor  = 0.000100041
  Prefactor  = 0.000100044
  Prefactor  = 11.5713
  Prefactor  = 11.3792
  Prefactor  = 0.0001
  Prefactor  = 7.538
  Prefactor  = 0.0001
  norm       = 46.1799
  Prefactor  = 0.000100114
  Prefactor  = 2.85944
  Prefactor  = 1.59921
  norm       = 6.41492
  Prefactor  = 0.000100704
  Prefactor  = 0.000100237
  Prefactor  = 10.6947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.1544
  Normalizat = 0.930525
  Prefactor  = 1.23613
 **********
 **   18 **HESSE 
 **********

 FCN=   5984.744     FROM HESSE     STATUS=OK           473 CALLS     2794 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0845        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8443        2.1686        .60268E-02   -1.5371    
   3  Prefactor     68.082        62.483        .12159E-02   -1.4056    
   4  Prefactor     .10024E-03    1.7318        .55418E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10004E-03    13.755        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10004E-03    14.401        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.571        79.156        .29439E-02   -1.5028    
   8  Prefactor     11.379        24.998        .29681E-02   -1.5033    
   9  Prefactor     .10000E-03    2.6248        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.5380        7.8879        .36516E-02   -1.5159    
  11  Prefactor     .10000E-03    1.0647        .43205E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          46.180        12.643        .14751E-02   -1.4348    
  13  Prefactor     .10011E-03    2.2117        .59902E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8594        76.526        .60098E-02   -1.5370    
  15  Prefactor     1.5992        4.2570        .83674E-02   -1.5455    
  16  norm          6.4149        11.718        .39620E-02   -1.5201    
  17  Prefactor     .10070E-03    54.397        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10024E-03    20.493        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.695        7.4077        .30632E-02   -1.5054    
  20  Prefactor     .10000E-03    2.1033        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.0881        .30786E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     27.154        23.843        .19220E-02   -1.4665    
  23  Normalizat    .93053        .18044        .45288E-01   -.95396    
  24  Prefactor     1.2361        .19695        .58076E-01   -.85227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63591e-06
Minuit parameter uncertainties:
  1  1.75587e-05
  2  2.16862
  3  62.5434
  4  0.00130041
  5  0.00150911
  6  0.00158426
  7  60.6441
  8  25.0212
  9  1.66238e-05
  10  7.88894
  11  2.98021e-06
  12  12.644
  13  0.00100284
  14  29.6268
  15  4.25779
  16  11.7226
  17  0.0123838
  18  0.00441259
  19  7.40833
  20  2.81151e-05
  21  1.16131e-05
  22  23.8511
  23  0.180554
  24  0.197063
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  2.980e-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.236e+00  1.971e-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.305e-01  1.806e-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.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654776/likelihoodResults_296092801_296352001_4FGL_J1001.1+2911_daily_bin219.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) = 5984.74530722
delta logL = -0.000810438747067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5984.74449591
delta logL = 8.73016688274e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19973E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1562       1.0000          .0000       10.000    
     3 'Normalizat'    .93043       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2363       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5984.656     FROM MIGRAD    STATUS=CONVERGED    150 CALLS      327 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52102        1.8080        .15433E-02    .52818E-02
   2  Index         1.2613        1.1810        .13787E-01   -.23007E-03
   3  Normalizat    .92966        .19656        .25333E-03   -.13463E-05
   4  Prefactor     1.2330        .22732        .25708E-03   -.78715E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.521017
  Index      = 1.26128
  Normalizat = 0.929662
  Prefactor  = 1.23299
 **********
 **   18 **HESSE 
 **********

 FCN=   5984.656     FROM HESSE     STATUS=OK            27 CALLS      354 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52102        1.7879        .30867E-03   -1.5564    
   2  Index         1.2613        1.1708        .27573E-02   -.84466    
   3  Normalizat    .92966        .19675        .10133E-04   -.95426    
   4  Prefactor     1.2330        .22752        .10283E-04   -.85322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.15823e-12
Minuit parameter uncertainties:
  1  1.7881
  2  1.19653
  3  0.196907
  4  0.227702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654776': 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) = 5984.65586987
delta logL = 0.0886269109678

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  5.210e-01  1.788e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.261e+00  1.197e+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.233e+00  2.277e-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.297e-01  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 150.294 29.188

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/654776/cmap_HighResolution_296092801_296352001_4FGL_J1001.1+2911_daily_bin219.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-03', job_status='DONE', photon_flux_upper_limit='6.38e-08', time_completed='2021-09-01 10:00:06.370038', job_id='654776', GAL2='1.23', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1630515606.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='8.86e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='219' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 654776: <4FGL_J1001.1+2911_daily_bin219> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin219> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:46:00 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:46:01 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:46:01 2021
Terminated at Wed Sep  1 10:00:07 2021
Results reported at Wed Sep  1 10:00:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin219 150.294 29.188 296092801 296352001 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 :                                   645.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             283.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            847 sec.

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

