/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 73 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 = 7471
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin597
RA = 150.294, Dec = 29.188
tmin = 394070401, tmax = 394329601
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='657617', job_status='RUN', time_executed='2021-09-01 09:57:11.725342', time_epoch_executed='1630515431.73' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='597'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657617

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657617/ft1_4FGL_J1001.1+2911_daily_bin597.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657617/ft2_4FGL_J1001.1+2911_daily_bin597.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657617/ft1_4FGL_J1001.1+2911_daily_bin597.fits outfile=/scratch/kocevski/657617/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin597.fits ra=150.294 dec=29.188 rad=12.0 tmin=394070401.0 tmax=394329601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.49
user 4.24
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657617/ft1_filtered_4FGL_J1001.1+2911_daily_bin597.fits evtable="EVENTS" scfile=/scratch/kocevski/657617/ft2_4FGL_J1001.1+2911_daily_bin597.fits sctable="SC_DATA" expcube=/scratch/kocevski/657617/ltcube_394070401_394329601_4FGL_J1001.1+2911_daily_bin597.fits outfile=/scratch/kocevski/657617/expmap_394070401_394329601_4FGL_J1001.1+2911_daily_bin597.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/657617/ltcube_394070401_394329601_4FGL_J1001.1+2911_daily_bin597.fits
.....................!
real 190.28
user 184.89
sys 4.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/657617/ft1_filtered_4FGL_J1001.1+2911_daily_bin597.fits scfile=/scratch/kocevski/657617/ft2_4FGL_J1001.1+2911_daily_bin597.fits outfile=/scratch/kocevski/657617/cmap_394070401_394329601_4FGL_J1001.1+2911_daily_bin597.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.78
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/657617/ft1_filtered_4FGL_J1001.1+2911_daily_bin597.fits scfile=/scratch/kocevski/657617/ft2_4FGL_J1001.1+2911_daily_bin597.fits outfile=/scratch/kocevski/657617/cmap_HighResolution_394070401_394329601_4FGL_J1001.1+2911_daily_bin597.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.92
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.537       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    42.307       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.367       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0757       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.3545       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8365       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.1396       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    47.063       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.5308       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.0749       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.4241       1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.808       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3273       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74898       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=   5552.477     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2723 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5519       -.78518E-07** at limit **
   2  norm          .10000E-03    .71100       -.92004E-07** at limit **
   3  Prefactor     33.532        50.022       -.78726E-05    .15038E-04
   4  Prefactor     .10000E-03    1.4957       -.12959E-06** at limit **
   5  Prefactor     .10000E-03    20.466       -.10433E-05** at limit **
   6  Prefactor     42.285        91.648       -.32768E-04    .16667E-04
   7  Prefactor     22.351        36.555       -.23286E-04    .13015E-04
   8  Prefactor     .10000E-03    14.683        .13772E-06** at limit **
   9  Prefactor     3.0749        6.0318        .21206E-05   -.33945E-03
  10  Prefactor     .10000E-03    4.1521       -.13192E-06** at limit **
  11  Prefactor     .10000E-03    .77327       -.40193E-07** at limit **
  12  norm          7.3532        8.1319       -.59044E-06   -.26752E-04
  13  Prefactor     4.8339        3.9582        .46499E-08   -.38115E-04
  14  Prefactor     8.1393        36.907       -.26840E-05   -.45829E-06
  15  Prefactor     .10000E-03    2.6930       -.18029E-07** at limit **
  16  norm          .10000E-03    3.8072       -.28944E-07** at limit **
  17  Prefactor     47.008        54.315       -.68695E-04    .26540E-04
  18  Prefactor     .10000E-03    43.704        .23625E-05** at limit **
  19  Prefactor     3.5290        4.2652        .19894E-06   -.90486E-04
  20  Prefactor     9.0769        10.593       -.10028E-05    .39293E-04
  21  Prefactor     1.4233        3.3821       -.11737E-05   -.85261E-03
  22  Prefactor     10.800        17.977       -.37686E-05    .49098E-05
  23  Normalizat    1.3277        .18254        .65678E-05   -.19780E-03
  24  Prefactor     .74861        .18852        .30015E-05    .24836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 33.532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.285
  Prefactor  = 22.3513
  Prefactor  = 0.0001
  Prefactor  = 3.07488
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.35323
  Prefactor  = 4.83394
  Prefactor  = 8.13928
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 47.0076
  Prefactor  = 0.0001
  Prefactor  = 3.52898
  Prefactor  = 9.0769
  Prefactor  = 1.42326
  Prefactor  = 10.8
  Normalizat = 1.32765
  Prefactor  = 0.748606
 **********
 **   18 **HESSE 
 **********

 FCN=   5552.477     FROM HESSE     STATUS=OK           395 CALLS     3118 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5571        .90650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .72744        .61343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     33.532        50.038        .69195E-04   -1.4549    
   4  Prefactor     .10000E-03    1.5068        .88966E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     42.285        91.663        .61632E-04   -1.4407    
   7  Prefactor     22.351        36.642        .84695E-04   -1.4762    
   8  Prefactor     .10000E-03    14.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0749        6.0030        .23128E-03   -1.5357    
  10  Prefactor     .10000E-03    4.1727        .14827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .78010        .63967E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.3532        8.1253        .14790E-03   -1.5166    
  13  Prefactor     4.8339        3.9645        .12716E-03   -1.5268    
  14  Prefactor     8.1393        36.901        .14053E-03   -1.5137    
  15  Prefactor     .10000E-03    2.7093        .11906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.8109        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     47.008        54.323        .58448E-04   -1.4336    
  18  Prefactor     .10000E-03    43.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5290        4.2552        .16336E-03   -1.5332    
  20  Prefactor     9.0769        10.392        .13305E-03   -1.5105    
  21  Prefactor     1.4233        3.3022        .18457E-03   -1.5469    
  22  Prefactor     10.800        17.974        .12187E-03   -1.5051    
  23  Normalizat    1.3277        .21577        .21739E-03   -.82745    
  24  Prefactor     .74861        .22122        .29746E-03   -1.0165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83683e-09
Minuit parameter uncertainties:
  1  1.00726e-05
  2  7.56151e-06
  3  50.1007
  4  1.67364e-05
  5  0.000118498
  6  91.9702
  7  36.6793
  8  2.62387e-06
  9  6.00417
  10  1.8809e-05
  11  4.24056e-06
  12  8.1265
  13  3.96467
  14  34.6965
  15  7.02531e-07
  16  8.2912e-06
  17  54.3806
  18  0.000210404
  19  4.25555
  20  10.3941
  21  3.30261
  22  17.9834
  23  0.215913
  24  0.221482
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  4.241e-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:  7.486e-01  2.215e-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.328e+00  2.159e-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: 5.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/657617/likelihoodResults_394070401_394329601_4FGL_J1001.1+2911_daily_bin597.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) = 5552.48325127
delta logL = -0.00583818813629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5552.47741319
delta logL = -1.10539986053e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2553       1.0000          .0000       10.000    
     3 'Normalizat'    1.3277       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74864       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=   5552.477     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      218 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.9203        .90712E-02** at limit **
   2  Index         1.9108        7.9255        .50000       -.29741E-05
   3  Normalizat    1.3277        .96416E-02    .49174E-01   -.85332E-04
   4  Prefactor     .74860        .10270E-01    .67230E-01   -.46340E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.91078
  Normalizat = 1.32766
  Prefactor  = 0.748598
 **********
 **   18 **HESSE 
 **********

 FCN=   5552.477     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      247 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.886        .67753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9108        5.9077        .50000       -.66600    
   3  Normalizat    1.3277        .41900E-01    .21739E-03   -.82744    
   4  Prefactor     .74860        .44568E-01    .29746E-03   -1.0165    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72551e-07
Minuit parameter uncertainties:
  1  0.000140116
  2  443.037
  3  0.0419009
  4  0.04457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657617': 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) = 5552.47740632
delta logL = 6.75814499118e-06

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.401e-04  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.911e+00  4.430e+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:  7.486e-01  4.457e-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.328e+00  4.190e-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/657617/cmap_HighResolution_394070401_394329601_4FGL_J1001.1+2911_daily_bin597.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.89e-03', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2021-09-01 10:07:37.795417', job_id='657617', GAL2='0.75', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1630516057.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='6.76e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='597' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:07:37 PDT 2021


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

Job <4FGL_J1001.1+2911_daily_bin597> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 09:55:22 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:55:24 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:55:24 2021
Terminated at Wed Sep  1 10:07:38 2021
Results reported at Wed Sep  1 10:07:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin597 150.294 29.188 394070401 394329601 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 :                                   622.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

