/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 197 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 = 7392
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin44
RA = 150.294, Dec = 29.188
tmin = 250732801, tmax = 250992001
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='654512', job_status='RUN', time_executed='2021-09-01 09:49:05.478940', time_epoch_executed='1630514945.48' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='44'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654512

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654512/ft1_4FGL_J1001.1+2911_daily_bin44.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654512/ft2_4FGL_J1001.1+2911_daily_bin44.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654512/ft1_4FGL_J1001.1+2911_daily_bin44.fits outfile=/scratch/kocevski/654512/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin44.fits ra=150.294 dec=29.188 rad=12.0 tmin=250732801.0 tmax=250992001.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 1.45
user 1.25
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654512/ft1_filtered_4FGL_J1001.1+2911_daily_bin44.fits" evtable="EVENTS" scfile=/scratch/kocevski/654512/ft2_4FGL_J1001.1+2911_daily_bin44.fits sctable="SC_DATA" outfile=/scratch/kocevski/654512/ltcube_250732801_250992001_4FGL_J1001.1+2911_daily_bin44.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/654512/ft2_4FGL_J1001.1+2911_daily_bin44.fits
.....................!
real 12.96
user 12.59
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654512/ft1_filtered_4FGL_J1001.1+2911_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/654512/ft2_4FGL_J1001.1+2911_daily_bin44.fits sctable="SC_DATA" expcube=/scratch/kocevski/654512/ltcube_250732801_250992001_4FGL_J1001.1+2911_daily_bin44.fits outfile=/scratch/kocevski/654512/expmap_250732801_250992001_4FGL_J1001.1+2911_daily_bin44.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/654512/ltcube_250732801_250992001_4FGL_J1001.1+2911_daily_bin44.fits
.....................!
real 189.80
user 185.13
sys 4.23

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/654512/ft1_filtered_4FGL_J1001.1+2911_daily_bin44.fits scfile=/scratch/kocevski/654512/ft2_4FGL_J1001.1+2911_daily_bin44.fits outfile=/scratch/kocevski/654512/cmap_250732801_250992001_4FGL_J1001.1+2911_daily_bin44.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.94
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654512/ft1_filtered_4FGL_J1001.1+2911_daily_bin44.fits scfile=/scratch/kocevski/654512/ft2_4FGL_J1001.1+2911_daily_bin44.fits outfile=/scratch/kocevski/654512/cmap_HighResolution_250732801_250992001_4FGL_J1001.1+2911_daily_bin44.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/654512/ft1_filtered_4FGL_J1001.1+2911_daily_bin44.fits evtable="EVENTS" scfile=/scratch/kocevski/654512/ft2_4FGL_J1001.1+2911_daily_bin44.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/654512/Model_4FGL_J1001.1+2911_daily_bin44.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/654512/ft1_filtered_4FGL_J1001.1+2911_daily_bin44.fits.....................!
real 59.62
user 48.96
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54186       1.0000         .10000E-03   10000.    
     2 'norm      '    .71173       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.7990       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6123       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    78.391       1.0000         .10000E-03   10000.    
     8 'Prefactor '    24.863       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .80052E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6437       1.0000         .10000E-03   10000.    
    12 'norm      '    15.371       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7120       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1003       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.9155       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3714       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.658       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .54975       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2829       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=   5960.551     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2818 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54169        2.8526       -.13830E-05   -.14690E-02
   2  norm          .71205        1.7157       -.68436E-07   -.96622E-03
   3  Prefactor     .10000E-03    75.855        .22910E-05** at limit **
   4  Prefactor     6.7966        4.4989       -.19059E-06   -.39744E-03
   5  Prefactor     2.6071        43.104        .23622E-04   -.57996E-04
   6  Prefactor     .10000E-03    27.048        .13958E-06** at limit **
   7  Prefactor     78.387        46.790       -.25216E-05   -.18926E-04
   8  Prefactor     24.857        27.622        .30160E-05   -.93736E-05
   9  Prefactor     .10000E-03    2.2080       -.82614E-07** at limit **
  10  Prefactor     .10566E-03    4.7954        .40647E-06** at limit **
  11  Prefactor     2.6433        2.0726       -.52616E-07   -.52164E-03
  12  norm          15.368        8.6177       -.68397E-07   -.83721E-04
  13  Prefactor     .10000E-03    2.9239        .28108E-06** at limit **
  14  Prefactor     8.7049        27.538        .71294E-05   -.14587E-04
  15  Prefactor     5.0988        4.6899        .25576E-07   -.67640E-03
  16  norm          .10000E-03    4.2194        .49226E-07** at limit **
  17  Prefactor     7.9101        28.364        .57915E-05   -.20252E-04
  18  Prefactor     .10000E-03    22.131        .64586E-07** at limit **
  19  Prefactor     .10000E-03    5.1144        .36773E-06** at limit **
  20  Prefactor     .10000E-03    2.6204       -.15233E-06** at limit **
  21  Prefactor     2.3710        1.9439        .98880E-07   -.37465E-03
  22  Prefactor     16.653        24.985        .57407E-05   -.18112E-04
  23  Normalizat    .54983        .15955       -.21084E-05   -.22032E-03
  24  Prefactor     1.2829        .17218       -.73893E-06   -.19506E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.541692
  norm       = 0.712047
  Prefactor  = 0.0001
  Prefactor  = 6.79663
  Prefactor  = 2.60713
  Prefactor  = 0.0001
  Prefactor  = 78.3875
  Prefactor  = 24.8572
  Prefactor  = 0.0001
  Prefactor  = 0.000105655
  Prefactor  = 2.64327
  norm       = 15.368
  Prefactor  = 0.0001
  Prefactor  = 8.70494
  Prefactor  = 5.09878
  norm       = 0.0001
  Prefactor  = 7.91011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.371
  Prefactor  = 16.6527
  Normalizat = 0.549828
  Prefactor  = 1.28292
 **********
 **   18 **HESSE 
 **********

 FCN=   5960.551     FROM HESSE     STATUS=OK           413 CALLS     3231 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54169        3.1025        .26602E-03   -1.5561    
   2  norm          .71205        1.5189        .14538E-02   -1.5539    
   3  Prefactor     .10000E-03    76.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.7966        4.3974        .12034E-03   -1.5187    
   5  Prefactor     2.6071        39.604        .25237E-03   -1.5385    
   6  Prefactor     .10000E-03    27.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     78.387        46.847        .45357E-04   -1.3935    
   8  Prefactor     24.857        27.549        .80337E-04   -1.4710    
   9  Prefactor     .10000E-03    2.2260        .11199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10566E-03    11.036        .53232E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.6433        2.0659        .93934E-04   -1.5383    
  12  norm          15.368        8.6188        .10216E-03   -1.4924    
  13  Prefactor     .10000E-03    4.3370        .22752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.7049        27.364        .13580E-03   -1.5118    
  15  Prefactor     5.0988        4.2857        .13586E-03   -1.5256    
  16  norm          .10000E-03    4.2432        .15487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.9101        28.239        .14252E-03   -1.5145    
  18  Prefactor     .10000E-03    22.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.3360        .34061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.6406        .12197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.3710        1.9335        .93322E-04   -1.5400    
  22  Prefactor     16.653        24.788        .98131E-04   -1.4892    
  23  Normalizat    .54983        .18458        .27542E-03   -1.1016    
  24  Prefactor     1.2829        .20153        .21589E-03   -.83816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16183e-09
Minuit parameter uncertainties:
  1  2.59272
  2  1.519
  3  9.06699e-05
  4  4.39766
  5  20.3383
  6  4.6491e-06
  7  46.8695
  8  27.5626
  9  6.20423e-06
  10  0.015803
  11  2.06592
  12  8.61947
  13  4.98672e-05
  14  27.403
  15  4.28596
  16  7.27456e-06
  17  28.2871
  18  2.42939e-05
  19  1.77162e-05
  20  4.38184e-06
  21  1.93359
  22  24.8036
  23  0.184785
  24  0.20165
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.643e+00  2.066e+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.283e+00  2.016e-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:  5.498e-01  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.81
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.53e-08 +/- 2.76e-08
Energy Flux (Fixed Index): 1.40e-05 +/- 1.10e-05

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

Saving results to:
/scratch/kocevski/654512/likelihoodResults_250732801_250992001_4FGL_J1001.1+2911_daily_bin44.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) = 5960.55091858
delta logL = 1.09357488327e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5960.55091506
delta logL = 1.44578707477e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6387       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2726       1.0000          .0000       10.000    
     3 'Normalizat'    .54977       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2829       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=   5960.551     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      232 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6383        57.309        .62751E-02    .33392E-03
   2  Index         2.2724        5.9026        .15505        .68921E-04
   3  Normalizat    .54966        .87050E-01    .62256E-01    .66121E-04
   4  Prefactor     1.2830        .69684E-01    .48835E-01   -.39286E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.63831
  Index      = 2.27243
  Normalizat = 0.54966
  Prefactor  = 1.28303
 **********
 **   18 **HESSE 
 **********

 FCN=   5960.551     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6383        2.3138        .93779E-04   -1.5383    
   2  Index         2.2724        .68923        .87774E-02   -.57700    
   3  Normalizat    .54966        .17407        .27546E-03   -1.1017    
   4  Prefactor     1.2830        .19919        .21588E-03   -.83813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2157e-11
Minuit parameter uncertainties:
  1  2.31387
  2  0.692379
  3  0.17424
  4  0.199306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654512': 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) = 5960.55091466
delta logL = 1.48600338434e-05

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.638e+00  2.314e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.272e+00  6.924e-01  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.283e+00  1.993e-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:  5.497e-01  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.80
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.27 +/- 0.69
Photon Flux (Free Index): 3.54e-08 +/- 3.52e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.31e-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/654512/cmap_HighResolution_250732801_250992001_4FGL_J1001.1+2911_daily_bin44.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', comment='SUCCESS', photon_flux='3.53e-08', energy_flux2='1.40e-05', photon_flux_error='2.76e-08', dlogl='1.49e-05', energy_flux='1.40e-05', photon_flux2='3.54e-08', job_status='DONE', time_completed='2021-09-01 10:00:10.827576', photon_index_error2='0.69', photon_index2='2.27', ts='2.81', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='9.66e-08', energy_flux_error2='1.31e-05', EG='0.55', time_epoch_completed='1630515610.83', return_code='0', job_id='654512', GAL2='1.28', EG2='0.55', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='3.52e-08', ts2='2.80', photon_index='2.27' WHERE bin_id='44' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 654512: <4FGL_J1001.1+2911_daily_bin44> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin44 150.294 29.188 250732801 250992001 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 :                                   649.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            875 sec.

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

