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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin438
RA = 150.294, Dec = 29.188
tmin = 352857601, tmax = 353116801
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='656248', job_status='RUN', time_executed='2021-09-01 09:54:19.155193', time_epoch_executed='1630515259.16' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='438'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656248

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656248/ft1_4FGL_J1001.1+2911_daily_bin438.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656248/ft2_4FGL_J1001.1+2911_daily_bin438.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656248/ft1_4FGL_J1001.1+2911_daily_bin438.fits outfile=/scratch/kocevski/656248/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin438.fits ra=150.294 dec=29.188 rad=12.0 tmin=352857601.0 tmax=353116801.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.53
user 3.20
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656248/ft1_filtered_4FGL_J1001.1+2911_daily_bin438.fits" evtable="EVENTS" scfile=/scratch/kocevski/656248/ft2_4FGL_J1001.1+2911_daily_bin438.fits sctable="SC_DATA" outfile=/scratch/kocevski/656248/ltcube_352857601_353116801_4FGL_J1001.1+2911_daily_bin438.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/656248/ft2_4FGL_J1001.1+2911_daily_bin438.fits
.....................!
real 12.39
user 12.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656248/ft1_filtered_4FGL_J1001.1+2911_daily_bin438.fits evtable="EVENTS" scfile=/scratch/kocevski/656248/ft2_4FGL_J1001.1+2911_daily_bin438.fits sctable="SC_DATA" expcube=/scratch/kocevski/656248/ltcube_352857601_353116801_4FGL_J1001.1+2911_daily_bin438.fits outfile=/scratch/kocevski/656248/expmap_352857601_353116801_4FGL_J1001.1+2911_daily_bin438.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/656248/ltcube_352857601_353116801_4FGL_J1001.1+2911_daily_bin438.fits
.....................!
real 191.00
user 186.07
sys 4.33

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/656248/ft1_filtered_4FGL_J1001.1+2911_daily_bin438.fits scfile=/scratch/kocevski/656248/ft2_4FGL_J1001.1+2911_daily_bin438.fits outfile=/scratch/kocevski/656248/cmap_352857601_353116801_4FGL_J1001.1+2911_daily_bin438.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.54
user 0.39
sys 0.12

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6446       1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.153       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .35991       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.970       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4049       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2627       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2618       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7515       1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.376       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .42463       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.9715       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0726       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7691       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0337       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84075       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=   6550.813     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2424 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6446        2.0392        .11199E-07   -.10285E-03
   2  norm          .10000E-03    .53351        .21577E-06** at limit **
   3  Prefactor     11.080        54.550       -.10884E-05   -.81999E-04
   4  Prefactor     .35673        2.3763        .14407E-05   -.12246E-02
   5  Prefactor     12.971        21.323        .49951E-06   -.93958E-04
   6  Prefactor     .10000E-03    36.693        .32133E-06** at limit **
   7  Prefactor     7.3972        27.717        .90683E-06   -.14325E-04
   8  Prefactor     .10000E-03    18.415        .11285E-06** at limit **
   9  Prefactor     .10000E-03    3.3787        .35013E-06** at limit **
  10  Prefactor     2.2605        5.4935        .12346E-05    .11201E-03
  11  Prefactor     2.2617        1.5252        .43482E-07   -.12475E-03
  12  norm          .10000E-03    5.8824        .55848E-06** at limit **
  13  Prefactor     2.7511        2.7992        .90158E-07   -.10298E-03
  14  Prefactor     42.381        36.959        .37153E-07   -.21402E-05
  15  Prefactor     .10000E-03    1.3710        .62166E-08** at limit **
  16  norm          .44883        5.5895       -.86562E-06    .15722E-03
  17  Prefactor     8.9587        36.811        .19499E-06   -.20437E-04
  18  Prefactor     .10000E-03    13.905       -.36864E-06** at limit **
  19  Prefactor     1.0714        4.0396        .27648E-05    .30194E-03
  20  Prefactor     1.7702        6.1566        .23179E-05    .15347E-03
  21  Prefactor     .10000E-03    .55183        .12086E-07** at limit **
  22  Prefactor     .10000E-03    9.5970        .11056E-06** at limit **
  23  Normalizat    1.0338        .16245       -.27567E-05   -.47330E-03
  24  Prefactor     .84061        .17037        .14699E-05   -.49428E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.64464
  norm       = 0.0001
  Prefactor  = 11.0805
  Prefactor  = 0.356731
  Prefactor  = 12.9705
  Prefactor  = 0.0001
  Prefactor  = 7.3972
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.26053
  Prefactor  = 2.26167
  norm       = 0.0001
  Prefactor  = 2.75112
  Prefactor  = 42.3806
  Prefactor  = 0.0001
  norm       = 0.448831
  Prefactor  = 8.95866
  Prefactor  = 0.0001
  Prefactor  = 1.07144
  Prefactor  = 1.77018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.03383
  Prefactor  = 0.840606
 **********
 **   18 **HESSE 
 **********

 FCN=   6550.813     FROM HESSE     STATUS=OK           403 CALLS     2827 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6446        2.0412        .98938E-04   -1.5383    
   2  norm          .10000E-03    .74974        .11373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.080        54.926        .11996E-03   -1.5042    
   4  Prefactor     .35673        7.6657        .19607E-02   -1.5589    
   5  Prefactor     12.971        21.289        .11122E-03   -1.4988    
   6  Prefactor     .10000E-03    36.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.3972        27.763        .14739E-03   -1.5164    
   8  Prefactor     .10000E-03    18.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.4300        .14541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.2605        5.4927        .27308E-03   -1.5407    
  11  Prefactor     2.2617        1.5256        .79371E-04   -1.5407    
  12  norm          .10000E-03    5.9672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7511        2.7870        .12899E-03   -1.5376    
  14  Prefactor     42.381        36.962        .61582E-04   -1.4405    
  15  Prefactor     .10000E-03    1.3800        .92373E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .44883        17.861        .36005E-02   -1.5574    
  17  Prefactor     8.9587        36.866        .13381E-03   -1.5109    
  18  Prefactor     .10000E-03    13.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.0714        4.0910        .30057E-03   -1.5501    
  20  Prefactor     1.7702        6.1977        .31487E-03   -1.5442    
  21  Prefactor     .10000E-03    .55360        .58688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.6123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0338        .18246        .21084E-03   -.91906    
  24  Prefactor     .84061        .19482        .25501E-03   -.98248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43864e-09
Minuit parameter uncertainties:
  1  2.04125
  2  1.06893e-05
  3  49.4124
  4  3.30734
  5  21.3009
  6  7.18878e-05
  7  27.8116
  8  5.4256e-06
  9  1.74641e-05
  10  5.49397
  11  1.52567
  12  3.01873e-05
  13  2.78714
  14  36.9815
  15  1.49946e-07
  16  5.66386
  17  36.3852
  18  7.39441e-05
  19  4.09211
  20  6.19994
  21  3.76697e-07
  22  8.996e-06
  23  0.182567
  24  0.194983
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.262e+00  1.526e+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:  8.406e-01  1.950e-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.034e+00  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.77
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.02e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 8.11e-06

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) = 6550.38016265
delta logL = 0.432759287779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6550.37029571
delta logL = 0.442626228004

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4916       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7952       1.0000          .0000       10.000    
     3 'Normalizat'    1.0448       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83531       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=   6550.370     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      198 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4920        2.9549        .64737E-02    .12358E-03
   2  Index         1.7953        .68003        .22208       -.38584E-04
   3  Normalizat    1.0449        .14754        .40915E-01   -.97734E-06
   4  Prefactor     .83524        .16257        .44175E-01    .34069E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.49198
  Index      = 1.79528
  Normalizat = 1.04492
  Prefactor  = 0.835242
 **********
 **   18 **HESSE 
 **********

 FCN=   6550.370     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4920        1.7901        .87663E-04   -1.5392    
   2  Index         1.7953        .48640        .82926E-02   -.69573    
   3  Normalizat    1.0449        .17267        .20985E-03   -.91540    
   4  Prefactor     .83524        .19092        .25577E-03   -.98442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61185e-11
Minuit parameter uncertainties:
  1  1.79012
  2  0.487716
  3  0.172765
  4  0.191075
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656248': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6550.37029556
delta logL = 0.442626376534

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.492e+00  1.790e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.795e+00  4.877e-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:  8.352e-01  1.911e-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.045e+00  1.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.66
Ra Dec: 150.294 29.188
Photon Index (Free Index): 1.80 +/- 0.49
Photon Flux (Free Index): 1.81e-08 +/- 1.72e-08
Energy Flux (Free Index): 2.20e-05 +/- 2.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/656248/cmap_HighResolution_352857601_353116801_4FGL_J1001.1+2911_daily_bin438.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.02e-08', energy_flux2='2.20e-05', photon_flux_error='2.04e-08', dlogl='4.43e-01', energy_flux='1.20e-05', photon_flux2='1.81e-08', job_status='DONE', time_completed='2021-09-01 10:04:13.341062', photon_index_error2='0.49', photon_index2='1.80', ts='7.77', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.40e-05', EG='1.03', time_epoch_completed='1630515853.34', return_code='0', job_id='656248', GAL2='0.84', EG2='1.04', return_code2='0', energy_flux_error='8.11e-06', photon_flux_error2='1.72e-08', ts2='8.66', photon_index='2.27' WHERE bin_id='438' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 656248: <4FGL_J1001.1+2911_daily_bin438> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin438 150.294 29.188 352857601 353116801 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 :                                   591.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             249.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            798 sec.

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

