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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin119
RA = 150.294, Dec = 29.188
tmin = 270172801, tmax = 270432001
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='654629', job_status='RUN', time_executed='2021-09-01 09:47:54.298770', time_epoch_executed='1630514874.3' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654629

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654629/ft1_4FGL_J1001.1+2911_daily_bin119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654629/ft2_4FGL_J1001.1+2911_daily_bin119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654629/ft1_4FGL_J1001.1+2911_daily_bin119.fits outfile=/scratch/kocevski/654629/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin119.fits ra=150.294 dec=29.188 rad=12.0 tmin=270172801.0 tmax=270432001.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.66
user 1.46
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654629/ft2_4FGL_J1001.1+2911_daily_bin119.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/654629/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin119.fits evtable="EVENTS" outfile="/scratch/kocevski/654629/ft1_filtered_4FGL_J1001.1+2911_daily_bin119.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.61
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654629/ft1_filtered_4FGL_J1001.1+2911_daily_bin119.fits" evtable="EVENTS" scfile=/scratch/kocevski/654629/ft2_4FGL_J1001.1+2911_daily_bin119.fits sctable="SC_DATA" outfile=/scratch/kocevski/654629/ltcube_270172801_270432001_4FGL_J1001.1+2911_daily_bin119.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/654629/ft2_4FGL_J1001.1+2911_daily_bin119.fits
.....................!
real 12.32
user 11.93
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654629/ft1_filtered_4FGL_J1001.1+2911_daily_bin119.fits evtable="EVENTS" scfile=/scratch/kocevski/654629/ft2_4FGL_J1001.1+2911_daily_bin119.fits sctable="SC_DATA" expcube=/scratch/kocevski/654629/ltcube_270172801_270432001_4FGL_J1001.1+2911_daily_bin119.fits outfile=/scratch/kocevski/654629/expmap_270172801_270432001_4FGL_J1001.1+2911_daily_bin119.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/654629/ltcube_270172801_270432001_4FGL_J1001.1+2911_daily_bin119.fits
.....................!
real 190.74
user 185.05
sys 4.57

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/654629/ft1_filtered_4FGL_J1001.1+2911_daily_bin119.fits scfile=/scratch/kocevski/654629/ft2_4FGL_J1001.1+2911_daily_bin119.fits outfile=/scratch/kocevski/654629/cmap_270172801_270432001_4FGL_J1001.1+2911_daily_bin119.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.95
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654629/ft1_filtered_4FGL_J1001.1+2911_daily_bin119.fits scfile=/scratch/kocevski/654629/ft2_4FGL_J1001.1+2911_daily_bin119.fits outfile=/scratch/kocevski/654629/cmap_HighResolution_270172801_270432001_4FGL_J1001.1+2911_daily_bin119.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.68
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8743       1.0000         .10000E-03   10000.    
     2 'norm      '    .88569       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.1691       1.0000         .10000E-03   10000.    
     6 'Prefactor '    109.59       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.827       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4365       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21629E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    15.384       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6054       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1926       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7017       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11063E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1893       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0459       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=   8131.066     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     2721 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8744        2.6257       -.14311E-07    .26968E-04
   2  norm          .88578        1.6530        .20620E-07   -.31134E-03
   3  Prefactor     .10000E-03    17.491       -.26347E-05** at limit **
   4  Prefactor     .10000E-03    1.9483        .42968E-08** at limit **
   5  Prefactor     8.1702        19.211        .41015E-06   -.25512E-04
   6  Prefactor     109.59        66.289        .82056E-06    .13446E-05
   7  Prefactor     .10000E-03    40.731       -.55457E-05** at limit **
   8  Prefactor     12.825        37.173       -.34227E-05   -.17161E-04
   9  Prefactor     4.4369        4.5597       -.74408E-06   -.24449E-03
  10  Prefactor     .10000E-03    1.7811       -.75392E-09** at limit **
  11  Prefactor     .10012E-03    .83657        .51469E-06** at limit **
  12  norm          15.385        8.7404       -.61909E-07   -.80555E-04
  13  Prefactor     2.6054        2.2061       -.16430E-07   -.61833E-04
  14  Prefactor     .10000E-03    26.162        .10850E-04** at limit **
  15  Prefactor     .10000E-03    .79423       -.81435E-09** at limit **
  16  norm          .10000E-03    5.0799       -.35841E-07** at limit **
  17  Prefactor     .10000E-03    19.721       -.33373E-05** at limit **
  18  Prefactor     .10000E-03    20.574       -.24683E-05** at limit **
  19  Prefactor     1.1927        4.2423       -.23042E-06   -.26398E-03
  20  Prefactor     3.7030        4.2679        .81076E-06   -.13123E-02
  21  Prefactor     .10000E-03    1.0458       -.18958E-06** at limit **
  22  Prefactor     .10000E-03    10.599       -.39383E-05** at limit **
  23  Normalizat    1.1892        .15378        .14563E-06   -.14081E-03
  24  Prefactor     1.0459        .16398       -.55966E-07   -.98625E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.87439
  norm       = 0.885783
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.1702
  Prefactor  = 109.587
  Prefactor  = 0.0001
  Prefactor  = 12.8246
  Prefactor  = 4.43687
  Prefactor  = 0.0001
  Prefactor  = 0.000100125
  norm       = 15.3848
  Prefactor  = 2.60544
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.19268
  Prefactor  = 3.70302
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.18918
  Prefactor  = 1.04593
 **********
 **   18 **HESSE 
 **********

 FCN=   8131.066     FROM HESSE     STATUS=OK           399 CALLS     3120 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8744        2.6333        .13591E-03   -1.5369    
   2  norm          .88578        1.6357        .15241E-03   -1.5520    
   3  Prefactor     .10000E-03    17.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.9892        .12271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.1702        19.226        .14027E-03   -1.5136    
   6  Prefactor     109.59        66.277        .38422E-04   -1.3610    
   7  Prefactor     .10000E-03    40.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.825        37.241        .11184E-03   -1.4992    
   9  Prefactor     4.4369        4.5608        .18736E-03   -1.5287    
  10  Prefactor     .10000E-03    1.7827        .11752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10012E-03    11.809        .15503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          15.385        8.7421        .10211E-03   -1.4923    
  13  Prefactor     2.6054        2.2067        .11909E-03   -1.5385    
  14  Prefactor     .10000E-03    26.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .79553        .78458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.1118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    20.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.1927        4.3348        .34059E-03   -1.5490    
  20  Prefactor     3.7030        8.5380        .10495E-02   -1.5323    
  21  Prefactor     .10000E-03    7.2938        .17377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1892        .18460        .23537E-03   -.86938    
  24  Prefactor     1.0459        .19562        .27170E-03   -.91214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38322e-08
Minuit parameter uncertainties:
  1  2.63342
  2  1.63581
  3  4.99076e-05
  4  1.51001e-06
  5  19.2409
  6  66.3218
  7  0.000154195
  8  37.3084
  9  4.56113
  10  4.32256e-07
  11  0.0024303
  12  8.74278
  13  2.20675
  14  0.000232244
  15  1.33775e-08
  16  2.45884e-07
  17  6.77905e-05
  18  2.87361e-05
  19  4.33599
  20  8.54078
  21  5.45329e-05
  22  5.40116e-05
  23  0.184703
  24  0.195755
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.001e-04  2.430e-03  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.046e+00  1.958e-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.189e+00  1.847e-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.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654629/likelihoodResults_270172801_270432001_4FGL_J1001.1+2911_daily_bin119.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) = 8131.06643585
delta logL = -0.000408109749515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8131.06602235
delta logL = 5.39823395229e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93623E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3989       1.0000          .0000       10.000    
     3 'Normalizat'    1.1891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0460       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=   8130.906     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      271 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12710E-02    .58147E-01    .53226E-06** at limit **
   2  Index         6.0513        7.6790       -.11982E-03   -.41192E-05
   3  Normalizat    1.1601        .18445       -.46342E-05    .24852E-04
   4  Prefactor     1.0667        .19747       -.11182E-05    .30052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00127099
  Index      = 6.05125
  Normalizat = 1.16012
  Prefactor  = 1.06673
 **********
 **   18 **HESSE 
 **********

 FCN=   8130.906     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      310 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12710E-02    .32812E-01    .10403E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.0513        2.7884        .17973        .21183    
   3  Normalizat    1.1601        .21332E-01    .53807E-01   -.87844    
   4  Prefactor     1.0667        .23377E-01    .60918E-01   -.90537    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.81239e-09
Minuit parameter uncertainties:
  1  0.0123973
  2  2.96729
  3  0.0213319
  4  0.0233776
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654629': 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) = 8130.90560418
delta logL = 0.160423561561

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.271e-03  1.240e-02  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  6.051e+00  2.967e+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.067e+00  2.338e-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.160e+00  2.133e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/654629/cmap_HighResolution_270172801_270432001_4FGL_J1001.1+2911_daily_bin119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.17e-08', time_completed='2021-09-01 10:00:44.539636', job_id='654629', GAL2='1.07', fit_tolerance='1e-08', EG2='1.16', EG='1.19', time_epoch_completed='1630515644.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.60e-01', ts2='0.34', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='119' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 654629: <4FGL_J1001.1+2911_daily_bin119> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin119 150.294 29.188 270172801 270432001 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 :                                   762.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            897 sec.

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

