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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin148
RA = 150.294, Dec = 29.188
tmin = 277689601, tmax = 277948801
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='654676', job_status='RUN', time_executed='2021-09-01 09:48:41.661853', time_epoch_executed='1630514921.66' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='148'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654676

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654676/ft1_4FGL_J1001.1+2911_daily_bin148.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654676/ft2_4FGL_J1001.1+2911_daily_bin148.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654676/ft1_4FGL_J1001.1+2911_daily_bin148.fits outfile=/scratch/kocevski/654676/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin148.fits ra=150.294 dec=29.188 rad=12.0 tmin=277689601.0 tmax=277948801.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.59
user 3.36
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654676/ft1_filtered_4FGL_J1001.1+2911_daily_bin148.fits" evtable="EVENTS" scfile=/scratch/kocevski/654676/ft2_4FGL_J1001.1+2911_daily_bin148.fits sctable="SC_DATA" outfile=/scratch/kocevski/654676/ltcube_277689601_277948801_4FGL_J1001.1+2911_daily_bin148.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/654676/ft2_4FGL_J1001.1+2911_daily_bin148.fits
.....................!
real 11.96
user 11.20
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654676/ft1_filtered_4FGL_J1001.1+2911_daily_bin148.fits evtable="EVENTS" scfile=/scratch/kocevski/654676/ft2_4FGL_J1001.1+2911_daily_bin148.fits sctable="SC_DATA" expcube=/scratch/kocevski/654676/ltcube_277689601_277948801_4FGL_J1001.1+2911_daily_bin148.fits outfile=/scratch/kocevski/654676/expmap_277689601_277948801_4FGL_J1001.1+2911_daily_bin148.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/654676/ltcube_277689601_277948801_4FGL_J1001.1+2911_daily_bin148.fits
.....................!
real 195.41
user 185.22
sys 5.52

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/654676/ft1_filtered_4FGL_J1001.1+2911_daily_bin148.fits scfile=/scratch/kocevski/654676/ft2_4FGL_J1001.1+2911_daily_bin148.fits outfile=/scratch/kocevski/654676/cmap_277689601_277948801_4FGL_J1001.1+2911_daily_bin148.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.59
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654676/ft1_filtered_4FGL_J1001.1+2911_daily_bin148.fits scfile=/scratch/kocevski/654676/ft2_4FGL_J1001.1+2911_daily_bin148.fits outfile=/scratch/kocevski/654676/cmap_HighResolution_277689601_277948801_4FGL_J1001.1+2911_daily_bin148.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 1.43
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4090       1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.805       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19181E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    58.546       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.5628       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.8954       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4980       1.0000         .10000E-03   10000.    
    16 'norm      '    19.339       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18887E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.2515       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8216       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0139       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1097       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=   5954.887     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2872 TOTAL
                     EDM=   .54E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7577        .61519E-07** at limit **
   2  norm          .10000E-03    1.2917        .26157E-06** at limit **
   3  Prefactor     .10000E-03    10.675       -.29520E-06** at limit **
   4  Prefactor     2.4083        4.1160        .40471E-06   -.75543E-04
   5  Prefactor     42.797        27.269        .54592E-06   -.27534E-04
   6  Prefactor     .10000E-03    185.95        .18318E-04** at limit **
   7  Prefactor     .10000E-03    23.227        .12697E-05** at limit **
   8  Prefactor     58.472        52.673        .81330E-05    .32378E-04
   9  Prefactor     6.5586        5.7074        .88662E-07   -.10758E-03
  10  Prefactor     .10000E-03    3.5465        .18645E-07** at limit **
  11  Prefactor     .10000E-03    .52998        .12699E-07** at limit **
  12  norm          9.8952        8.8681        .15095E-06   -.29811E-04
  13  Prefactor     .10000E-03    1.2415        .15291E-07** at limit **
  14  Prefactor     .10000E-03    12.792        .74927E-06** at limit **
  15  Prefactor     2.4979        2.8154        .14802E-06   -.13736E-04
  16  norm          19.334        13.192        .33976E-06   -.17322E-04
  17  Prefactor     .10000E-03    17.414       -.84888E-06** at limit **
  18  Prefactor     .10000E-03    77.593       -.49075E-05** at limit **
  19  Prefactor     .10000E-03    5.0476        .32577E-06** at limit **
  20  Prefactor     2.2525        8.1733        .76418E-05   -.63107E-04
  21  Prefactor     1.8204        2.4737       -.32561E-06    .61999E-04
  22  Prefactor     .10000E-03    17.788       -.63224E-06** at limit **
  23  Normalizat    1.0142        .17014       -.13662E-05   -.12098E-03
  24  Prefactor     1.1092        .18414       -.88185E-06   -.18805E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.40827
  Prefactor  = 42.7966
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.4724
  Prefactor  = 6.5586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.89522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.49794
  norm       = 19.3345
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.25252
  Prefactor  = 1.82044
  Prefactor  = 0.0001
  Normalizat = 1.01417
  Prefactor  = 1.1092
 **********
 **   18 **HESSE 
 **********

 FCN=   5954.887     FROM HESSE     STATUS=OK           397 CALLS     3269 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7716        .99907E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.8479        .16732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.4083        4.0340        .18820E-03   -1.5398    
   5  Prefactor     42.797        27.269        .61273E-04   -1.4399    
   6  Prefactor     .10000E-03    185.88        .20266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    23.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     58.472        52.694        .26216E-03   -1.4177    
   9  Prefactor     6.5586        5.7020        .15665E-03   -1.5196    
  10  Prefactor     .10000E-03    3.6141        .14191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .53706        .54850E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.8952        8.8624        .12738E-03   -1.5079    
  13  Prefactor     .10000E-03    1.2564        .83867E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4979        2.8024        .13189E-03   -1.5392    
  16  norm          19.334        13.138        .45538E-03   -1.4828    
  17  Prefactor     .10000E-03    17.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    78.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.622        .32787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.2525        8.2095        .13691E-02   -1.5408    
  21  Prefactor     1.8204        2.4627        .12879E-03   -1.5438    
  22  Prefactor     .10000E-03    17.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0142        .19796        .23395E-03   -.92557    
  24  Prefactor     1.1092        .21517        .25605E-03   -.89173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58536e-10
Minuit parameter uncertainties:
  1  2.65694e-06
  2  9.55191e-06
  3  4.21965e-06
  4  4.03443
  5  27.2774
  6  0.000342601
  7  4.22627e-05
  8  52.7362
  9  5.70246
  10  4.84454e-06
  11  4.95202e-07
  12  8.86358
  13  2.24884e-06
  14  9.76671e-06
  15  2.80252
  16  13.14
  17  5.87667e-06
  18  5.19412e-05
  19  0.000454881
  20  8.21363
  21  2.4628
  22  7.08056e-06
  23  0.198106
  24  0.215341
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  4.952e-07  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.109e+00  2.153e-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.014e+00  1.981e-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: 3.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.75e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654676/likelihoodResults_277689601_277948801_4FGL_J1001.1+2911_daily_bin148.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) = 5954.88701831
delta logL = -7.44485441828e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5954.88700706
delta logL = 3.80323035643e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2237       1.0000          .0000       10.000    
     3 'Normalizat'    1.0142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1092       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=   5954.887     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      217 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.5729        .90712E-02** at limit **
   2  Index         1.7459        5.3936        .50000       -.50702E-05
   3  Normalizat    1.0142        .94277E-02    .44397E-01   -.12932E-03
   4  Prefactor     1.1092        .10787E-01    .57902E-01   -.13351E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.7459
  Normalizat = 1.01417
  Prefactor  = 1.10921
 **********
 **   18 **HESSE 
 **********

 FCN=   5954.887     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      248 TOTAL
                     EDM=   .93E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.440        .63291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7459        6.7707        .50000       -.70866    
   3  Normalizat    1.0142        .39147E-01    .23395E-03   -.92557    
   4  Prefactor     1.1092        .44775E-01    .25605E-03   -.89173    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.28224e-08
Minuit parameter uncertainties:
  1  0.000265425
  2  367.234
  3  0.0391477
  4  0.044777
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654676': 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) = 5954.88698791
delta logL = 2.29568604482e-05

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  2.654e-04  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.746e+00  3.672e+02  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.109e+00  4.478e-02  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.014e+00  3.915e-02  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/654676/cmap_HighResolution_277689601_277948801_4FGL_J1001.1+2911_daily_bin148.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.75e-03', job_status='DONE', photon_flux_upper_limit='3.59e-08', time_completed='2021-09-01 10:00:12.450455', job_id='654676', GAL2='1.11', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1630515612.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='2.30e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='148' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 654676: <4FGL_J1001.1+2911_daily_bin148> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin148 150.294 29.188 277689601 277948801 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 :                                   674.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

