/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 124 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 = 7457
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin782
RA = 150.294, Dec = 29.188
tmin = 442022401, tmax = 442281601
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='659312', job_status='RUN', time_executed='2021-09-01 10:02:46.587229', time_epoch_executed='1630515766.59' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='782'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659312

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659312/ft1_4FGL_J1001.1+2911_daily_bin782.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659312/ft2_4FGL_J1001.1+2911_daily_bin782.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659312/ft1_4FGL_J1001.1+2911_daily_bin782.fits outfile=/scratch/kocevski/659312/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin782.fits ra=150.294 dec=29.188 rad=12.0 tmin=442022401.0 tmax=442281601.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.95
user 3.64
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659312/ft2_4FGL_J1001.1+2911_daily_bin782.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/659312/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin782.fits evtable="EVENTS" outfile="/scratch/kocevski/659312/ft1_filtered_4FGL_J1001.1+2911_daily_bin782.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.52
user 0.30
sys 0.18

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659312/ft1_filtered_4FGL_J1001.1+2911_daily_bin782.fits evtable="EVENTS" scfile=/scratch/kocevski/659312/ft2_4FGL_J1001.1+2911_daily_bin782.fits sctable="SC_DATA" expcube=/scratch/kocevski/659312/ltcube_442022401_442281601_4FGL_J1001.1+2911_daily_bin782.fits outfile=/scratch/kocevski/659312/expmap_442022401_442281601_4FGL_J1001.1+2911_daily_bin782.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/659312/ltcube_442022401_442281601_4FGL_J1001.1+2911_daily_bin782.fits
.....................!
real 193.52
user 186.97
sys 4.38

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/659312/ft1_filtered_4FGL_J1001.1+2911_daily_bin782.fits scfile=/scratch/kocevski/659312/ft2_4FGL_J1001.1+2911_daily_bin782.fits outfile=/scratch/kocevski/659312/cmap_442022401_442281601_4FGL_J1001.1+2911_daily_bin782.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.63
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659312/ft1_filtered_4FGL_J1001.1+2911_daily_bin782.fits scfile=/scratch/kocevski/659312/ft2_4FGL_J1001.1+2911_daily_bin782.fits outfile=/scratch/kocevski/659312/cmap_HighResolution_442022401_442281601_4FGL_J1001.1+2911_daily_bin782.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.37
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13762       1.0000         .10000E-03   10000.    
     2 'norm      '    .14185       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.8067       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11529E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.222       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7005       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10560E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6307       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.290       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11907E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.165       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.884       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.806       1.0000         .10000E-03   10000.    
    16 'norm      '    .10505E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.822       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.6335       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1593       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.1077       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0003       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76450       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=   5404.268     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     2912 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14180        2.2191        .46620E-06   -.21368E-03
   2  norm          .14410        1.0426       -.29716E-06   -.92864E-03
   3  Prefactor     .10000E-03    27.885        .85799E-06** at limit **
   4  Prefactor     4.8087        3.4582        .33630E-06   -.26978E-03
   5  Prefactor     .10000E-03    19.172        .71547E-05** at limit **
   6  Prefactor     38.321        68.672        .11600E-03   -.11933E-04
   7  Prefactor     2.7610        109.70        .49885E-04   -.18611E-04
   8  Prefactor     .10000E-03    15.097       -.26444E-05** at limit **
   9  Prefactor     7.6266        6.4502        .18075E-05   -.40282E-03
  10  Prefactor     16.294        10.931        .64579E-06   -.13385E-03
  11  Prefactor     .10000E-03    1.1434        .31719E-06** at limit **
  12  norm          12.170        8.3347        .58310E-06   -.12040E-03
  13  Prefactor     .10000E-03    1.0634        .17592E-07** at limit **
  14  Prefactor     13.879        29.099        .55951E-05   -.13824E-04
  15  Prefactor     20.809        5.8058        .17013E-05   -.17086E-03
  16  norm          .10000E-03    4.7025       -.99717E-07** at limit **
  17  Prefactor     .10000E-03    23.770       -.67843E-05** at limit **
  18  Prefactor     10.832        19.613       -.77725E-05   -.47731E-04
  19  Prefactor     .10000E-03    5.7469        .10475E-05** at limit **
  20  Prefactor     2.6400        7.7050       -.33027E-05   -.39788E-03
  21  Prefactor     3.1605        2.2460        .67993E-06    .10699E-04
  22  Prefactor     2.1415        60.803       -.53844E-04   -.14644E-04
  23  Normalizat    1.0001        .16579       -.41305E-05   -.17542E-04
  24  Prefactor     .76445        .17523       -.52991E-05   -.10938E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.141799
  norm       = 0.144104
  Prefactor  = 0.0001
  Prefactor  = 4.8087
  Prefactor  = 0.0001
  Prefactor  = 38.3211
  Prefactor  = 2.76096
  Prefactor  = 0.0001
  Prefactor  = 7.62656
  Prefactor  = 16.2942
  Prefactor  = 0.0001
  norm       = 12.1696
  Prefactor  = 0.0001
  Prefactor  = 13.8789
  Prefactor  = 20.8093
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8318
  Prefactor  = 0.000100002
  Prefactor  = 2.63997
  Prefactor  = 3.16048
  Prefactor  = 2.14148
  Normalizat = 1.00013
  Prefactor  = 0.764454
 **********
 **   18 **HESSE 
 **********

 FCN=   5404.268     FROM HESSE     STATUS=OK           411 CALLS     3323 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14180        18.358        .21137E-02   -1.5633    
   2  norm          .14410        1.8504        .14321E-02   -1.5632    
   3  Prefactor     .10000E-03    27.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.8087        3.4356        .10945E-03   -1.5269    
   5  Prefactor     .10000E-03    19.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.321        68.517        .64829E-04   -1.4469    
   7  Prefactor     2.7610        109.82        .24789E-03   -1.5376    
   8  Prefactor     .10000E-03    15.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.6266        6.4359        .14517E-03   -1.5156    
  10  Prefactor     16.294        10.947        .99234E-04   -1.4900    
  11  Prefactor     .10000E-03    1.7466        .15171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.170        8.3326        .11485E-03   -1.5010    
  13  Prefactor     .10000E-03    1.0663        .73963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.879        29.091        .10750E-03   -1.4963    
  15  Prefactor     20.809        5.8270        .87810E-04   -1.4795    
  16  norm          .10000E-03    4.7219        .15568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    23.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.832        19.548        .12179E-03   -1.5050    
  19  Prefactor     .10000E-03    5.9293        .34271E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.6400        7.6699        .25127E-03   -1.5383    
  21  Prefactor     3.1605        2.2358        .87406E-04   -1.5352    
  22  Prefactor     2.1415        61.370        .28419E-03   -1.5415    
  23  Normalizat    1.0001        .19121        .21617E-03   -.93026    
  24  Prefactor     .76445        .20192        .26737E-03   -1.0105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45662e-09
Minuit parameter uncertainties:
  1  3.2267
  2  1.03244
  3  1.65647e-05
  4  3.4357
  5  6.5615e-05
  6  68.6578
  7  34.8947
  8  8.95485e-05
  9  6.43648
  10  10.9485
  11  2.11405e-05
  12  8.33344
  13  4.09805e-06
  14  29.1202
  15  5.82718
  16  1.66524e-05
  17  9.89068e-05
  18  19.5597
  19  0.000202084
  20  7.67273
  21  2.23586
  22  22.9535
  23  0.191337
  24  0.202118
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  2.114e-05  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.645e-01  2.021e-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.000e+00  1.913e-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.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659312/likelihoodResults_442022401_442281601_4FGL_J1001.1+2911_daily_bin782.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) = 5404.27066127
delta logL = -0.00272902485267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5404.26793196
delta logL = 2.79072082776e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2532       1.0000          .0000       10.000    
     3 'Normalizat'    1.0001       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76445       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=   5404.268     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      226 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5261        .31754E-01** at limit **
   2  Index         2.2379        5.8071        .50000        .71348E-04
   3  Normalizat    1.0001        .59973E-02    .46169E-01   -.13041E-03
   4  Prefactor     .76446        .66009E-02    .43253E-01   -.77942E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23786
  Normalizat = 1.00013
  Prefactor  = 0.764455
 **********
 **   18 **HESSE 
 **********

 FCN=   5404.268     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      259 TOTAL
                     EDM=   .68E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    353.92        .15317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2379        5.6304        .50000       -.58527    
   3  Normalizat    1.0001        .90571E-01    .21618E-03   -.93026    
   4  Prefactor     .76446        .99533E-01    .26738E-03   -1.0105    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.79922e-07
Minuit parameter uncertainties:
  1  0.000672578
  2  59.1316
  3  0.0905853
  4  0.099556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659312': 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) = 5404.26793169
delta logL = 5.47551280761e-07

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  6.726e-04  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.238e+00  5.913e+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:  7.645e-01  9.956e-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.000e+00  9.059e-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/659312/cmap_HighResolution_442022401_442281601_4FGL_J1001.1+2911_daily_bin782.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.13e-08', time_completed='2021-09-01 10:13:27.787278', job_id='659312', GAL2='0.76', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630516407.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='5.48e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='782' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:13:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 659312: <4FGL_J1001.1+2911_daily_bin782> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin782> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:30 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 10:00:31 2021
Terminated at Wed Sep  1 10:13:28 2021
Results reported at Wed Sep  1 10:13:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin782 150.294 29.188 442022401 442281601 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 :                                   637.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            778 sec.

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

