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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin276
RA = 150.294, Dec = 29.188
tmin = 310867201, tmax = 311126401
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='655991', job_status='RUN', time_executed='2021-09-01 09:53:58.153379', time_epoch_executed='1630515238.15' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/655991

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/655991/ft1_4FGL_J1001.1+2911_daily_bin276.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/655991/ft2_4FGL_J1001.1+2911_daily_bin276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/655991/ft1_4FGL_J1001.1+2911_daily_bin276.fits outfile=/scratch/kocevski/655991/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin276.fits ra=150.294 dec=29.188 rad=12.0 tmin=310867201.0 tmax=311126401.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.68
user 3.33
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/655991/ft1_filtered_4FGL_J1001.1+2911_daily_bin276.fits" evtable="EVENTS" scfile=/scratch/kocevski/655991/ft2_4FGL_J1001.1+2911_daily_bin276.fits sctable="SC_DATA" outfile=/scratch/kocevski/655991/ltcube_310867201_311126401_4FGL_J1001.1+2911_daily_bin276.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/655991/ft2_4FGL_J1001.1+2911_daily_bin276.fits
.....................!
real 14.63
user 13.48
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/655991/ft1_filtered_4FGL_J1001.1+2911_daily_bin276.fits evtable="EVENTS" scfile=/scratch/kocevski/655991/ft2_4FGL_J1001.1+2911_daily_bin276.fits sctable="SC_DATA" expcube=/scratch/kocevski/655991/ltcube_310867201_311126401_4FGL_J1001.1+2911_daily_bin276.fits outfile=/scratch/kocevski/655991/expmap_310867201_311126401_4FGL_J1001.1+2911_daily_bin276.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/655991/ltcube_310867201_311126401_4FGL_J1001.1+2911_daily_bin276.fits
.....................!
real 189.88
user 185.18
sys 3.75

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/655991/ft1_filtered_4FGL_J1001.1+2911_daily_bin276.fits scfile=/scratch/kocevski/655991/ft2_4FGL_J1001.1+2911_daily_bin276.fits outfile=/scratch/kocevski/655991/cmap_310867201_311126401_4FGL_J1001.1+2911_daily_bin276.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/655991/ft1_filtered_4FGL_J1001.1+2911_daily_bin276.fits scfile=/scratch/kocevski/655991/ft2_4FGL_J1001.1+2911_daily_bin276.fits outfile=/scratch/kocevski/655991/cmap_HighResolution_310867201_311126401_4FGL_J1001.1+2911_daily_bin276.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.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2486       1.0000         .10000E-03   10000.    
     2 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11058E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .24397E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    58.516       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2394       1.0000         .10000E-03   10000.    
    12 'norm      '    11.411       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10519E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .31892E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    3.6899       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5436       1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.218       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10587E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.8528       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.9159       1.0000         .10000E-03   10000.    
    22 'Prefactor '    19.209       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1344       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95283       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=   5641.163     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2418 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2500        3.7698        .41070E-06   -.57035E-04
   2  norm          .10000E-03    .63848        .76751E-07** at limit **
   3  Prefactor     .10000E-03    64.906        .32682E-06** at limit **
   4  Prefactor     .10000E-03    2.5093        .62664E-07** at limit **
   5  Prefactor     .10001E-03    117.79       -.56303E-05** at limit **
   6  Prefactor     .10000E-03    23.873        .77615E-07** at limit **
   7  Prefactor     .10000E-03    33.950       -.65184E-06** at limit **
   8  Prefactor     58.502        47.593       -.44656E-07   -.71094E-04
   9  Prefactor     .10000E-03    6.4461       -.50503E-07** at limit **
  10  Prefactor     .10000E-03    3.5081        .54422E-07** at limit **
  11  Prefactor     1.2396        1.8967        .11999E-06    .47777E-04
  12  norm          11.413        8.4823        .77740E-07   -.56425E-04
  13  Prefactor     .10000E-03    1.3864        .31533E-07** at limit **
  14  Prefactor     .10000E-03    47.992        .14363E-05** at limit **
  15  Prefactor     .42163E-01    1.9614        .15212E-06   -.81287E-04
  16  norm          3.6899        5.5742        .28223E-05   -.16919E-03
  17  Prefactor     5.5432        95.643        .11286E-05   -.30481E-05
  18  Prefactor     31.214        25.689       -.10384E-06   -.45054E-04
  19  Prefactor     .10000E-03    4.1402       -.12852E-06** at limit **
  20  Prefactor     8.8565        9.8627        .31573E-06   -.29210E-04
  21  Prefactor     5.9162        2.8679        .30105E-07   -.18101E-04
  22  Prefactor     19.211        21.798        .13753E-06    .39835E-05
  23  Normalizat    1.1346        .17313       -.11691E-05    .24472E-04
  24  Prefactor     .95233        .18859       -.72508E-07   -.31871E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.24996
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 58.5022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.23962
  norm       = 11.4128
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0421628
  norm       = 3.68992
  Prefactor  = 5.54323
  Prefactor  = 31.2139
  Prefactor  = 0.0001
  Prefactor  = 8.85653
  Prefactor  = 5.91625
  Prefactor  = 19.2115
  Normalizat = 1.13458
  Prefactor  = 0.952326
 **********
 **   18 **HESSE 
 **********

 FCN=   5641.163     FROM HESSE     STATUS=OK           405 CALLS     2823 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2500        3.7573        .18249E-03   -1.5408    
   2  norm          .10000E-03    .89386        .11690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    65.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.5700        .23220E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    122.33        .40084E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    34.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     58.502        47.714        .52446E-04   -1.4177    
   9  Prefactor     .10000E-03    6.5393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.5149        .13738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2396        1.8564        .12284E-03   -1.5485    
  12  norm          11.413        8.4838        .11860E-03   -1.5032    
  13  Prefactor     .10000E-03    1.4007        .86189E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    48.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .42163E-01    4.4066        .35454E-01   -1.5667    
  16  norm          3.6899        5.5891        .10513E-02   -1.5324    
  17  Prefactor     5.5432        95.547        .17064E-03   -1.5237    
  18  Prefactor     31.214        25.651        .71713E-04   -1.4590    
  19  Prefactor     .10000E-03    4.2238        .29761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.8565        9.8543        .13471E-03   -1.5113    
  21  Prefactor     5.9162        2.8656        .84357E-04   -1.5221    
  22  Prefactor     19.211        21.796        .91384E-04   -1.4831    
  23  Normalizat    1.1346        .19616        .22294E-03   -.88649    
  24  Prefactor     .95233        .21405        .26801E-03   -.94336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47097e-10
Minuit parameter uncertainties:
  1  3.75767
  2  7.22731e-07
  3  0.000178587
  4  8.96408e-06
  5  0.00215828
  6  6.32278e-05
  7  0.000331472
  8  47.745
  9  2.0604e-05
  10  3.58216e-06
  11  1.8565
  12  8.48469
  13  1.17779e-06
  14  0.000749503
  15  0.86112
  16  5.58989
  17  46.1139
  18  25.6599
  19  5.36765e-06
  20  9.85613
  21  2.86565
  22  21.8051
  23  0.196287
  24  0.214242
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.240e+00  1.857e+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:  9.523e-01  2.142e-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.135e+00  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/655991/likelihoodResults_310867201_311126401_4FGL_J1001.1+2911_daily_bin276.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) = 5641.10801239
delta logL = 0.0548505205215

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5641.07800062
delta logL = 0.0848622841595

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70912       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9397       1.0000          .0000       10.000    
     3 'Normalizat'    1.1175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96526       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=   5641.078     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      215 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70583        12.939        .18538E-01    .97583E-03
   2  Index         2.9429        2.9329        .22249        .56409E-04
   3  Normalizat    1.1175        .28008E-01    .37330E-01    .47110E-05
   4  Prefactor     .96513        .30998E-01    .45831E-01    .10907E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.705832
  Index      = 2.94287
  Normalizat = 1.11751
  Prefactor  = 0.965129
 **********
 **   18 **HESSE 
 **********

 FCN=   5641.078     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      250 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70583        58.360        .85254E-03   -1.5540    
   2  Index         2.9429        6.3081        .82813E-02   -.42402    
   3  Normalizat    1.1175        .24878        .22443E-03   -.89192    
   4  Prefactor     .96513        .24208        .26645E-03   -.93901    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.38827e-12
Minuit parameter uncertainties:
  1  12.8484
  2  12.8952
  3  0.249041
  4  0.242351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/655991': 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) = 5641.07799887
delta logL = 0.084864035688

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  7.058e-01  1.285e+01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.943e+00  1.290e+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:  9.651e-01  2.424e-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.118e+00  2.490e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.63
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/655991/cmap_HighResolution_310867201_311126401_4FGL_J1001.1+2911_daily_bin276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', job_status='DONE', photon_flux_upper_limit='8.25e-08', time_completed='2021-09-01 10:04:22.451384', job_id='655991', GAL2='0.97', fit_tolerance='1e-08', EG2='1.12', EG='1.13', time_epoch_completed='1630515862.45', return_code2='102', ts='0.63', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.49e-02', ts2='0.80', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='276' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 655991: <4FGL_J1001.1+2911_daily_bin276> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin276> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:50:34 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:50:35 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:50:35 2021
Terminated at Wed Sep  1 10:04:23 2021
Results reported at Wed Sep  1 10:04:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin276 150.294 29.188 310867201 311126401 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 :                                   618.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             236.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            829 sec.

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

