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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin269
RA = 150.294, Dec = 29.188
tmin = 309052801, tmax = 309312001
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='654888', job_status='RUN', time_executed='2021-09-01 09:49:44.899568', time_epoch_executed='1630514984.9' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654888

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654888/ft1_4FGL_J1001.1+2911_daily_bin269.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654888/ft2_4FGL_J1001.1+2911_daily_bin269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654888/ft1_4FGL_J1001.1+2911_daily_bin269.fits outfile=/scratch/kocevski/654888/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin269.fits ra=150.294 dec=29.188 rad=12.0 tmin=309052801.0 tmax=309312001.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.42
user 3.21
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654888/ft1_filtered_4FGL_J1001.1+2911_daily_bin269.fits" evtable="EVENTS" scfile=/scratch/kocevski/654888/ft2_4FGL_J1001.1+2911_daily_bin269.fits sctable="SC_DATA" outfile=/scratch/kocevski/654888/ltcube_309052801_309312001_4FGL_J1001.1+2911_daily_bin269.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/654888/ft2_4FGL_J1001.1+2911_daily_bin269.fits
.....................!
real 11.92
user 11.53
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654888/ft1_filtered_4FGL_J1001.1+2911_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/654888/ft2_4FGL_J1001.1+2911_daily_bin269.fits sctable="SC_DATA" expcube=/scratch/kocevski/654888/ltcube_309052801_309312001_4FGL_J1001.1+2911_daily_bin269.fits outfile=/scratch/kocevski/654888/expmap_309052801_309312001_4FGL_J1001.1+2911_daily_bin269.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/654888/ltcube_309052801_309312001_4FGL_J1001.1+2911_daily_bin269.fits
.....................!
real 191.96
user 185.99
sys 5.45

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/654888/ft1_filtered_4FGL_J1001.1+2911_daily_bin269.fits scfile=/scratch/kocevski/654888/ft2_4FGL_J1001.1+2911_daily_bin269.fits outfile=/scratch/kocevski/654888/cmap_309052801_309312001_4FGL_J1001.1+2911_daily_bin269.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 5.43
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654888/ft1_filtered_4FGL_J1001.1+2911_daily_bin269.fits scfile=/scratch/kocevski/654888/ft2_4FGL_J1001.1+2911_daily_bin269.fits outfile=/scratch/kocevski/654888/cmap_HighResolution_309052801_309312001_4FGL_J1001.1+2911_daily_bin269.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 1.81
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.8206       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.336       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11361E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .43948E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10560E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.046       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.605       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5688       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.0204       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.2099       1.0000         .10000E-03   10000.    
    14 'Prefactor '    56.684       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .70121       1.0000         .10000E-03   10000.    
    16 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.406       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19635E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.9418       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1144       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .86964       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90175       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98301       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5441.255     FROM MIGRAD    STATUS=CONVERGED    987 CALLS     3560 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6990        .93561E-03** at limit **
   2  norm          1.8200        1.5246        .81375E-04   -.62687E-03
   3  Prefactor     13.323        41.874        .10969E-03   -.44983E-04
   4  Prefactor     .10000E-03    5.5808        .18641E-02** at limit **
   5  Prefactor     .10000E-03    9.1991        .18142E-02** at limit **
   6  Prefactor     .10071E-03    70.807        .17181    ** at limit **
   7  Prefactor     .10000E-03    19.257        .18142E-02** at limit **
   8  Prefactor     15.007        47.090        .10326E-03   -.42058E-04
   9  Prefactor     14.605        6.4579        .10480E-03    .11281E-04
  10  Prefactor     6.5691        6.2943        .15658E-03   -.11131E-03
  11  Prefactor     .10000E-03    .53785        .52577E-03** at limit **
  12  norm          7.0200        5.6446        .15141E-03   -.54213E-04
  13  Prefactor     7.2134        4.5690        .10482E-03   -.80443E-03
  14  Prefactor     56.700        48.174        .53282E-04    .35419E-05
  15  Prefactor     .70112        7.1443        .24622E-02    .30435E-03
  16  norm          .10000E-03    13.469        .18142E-02** at limit **
  17  Prefactor     26.407        31.279        .77958E-04   -.34708E-04
  18  Prefactor     .10179E-03    152.57        .65722E-02** at limit **
  19  Prefactor     7.9493        5.1499        .12816E-03    .13266E-02
  20  Prefactor     2.1130        8.0591        .14184E-02   -.21195E-03
  21  Prefactor     .87053        2.2609        .16546E-03    .43810E-03
  22  Prefactor     .10000E-03    10.814        .18142E-02** at limit **
  23  Normalizat    .90177        .20077        .22813E-03   -.36362E-03
  24  Prefactor     .98294        .22155        .24947E-03   -.37154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.82002
  Prefactor  = 13.3229
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100706
  Prefactor  = 0.0001
  Prefactor  = 15.0069
  Prefactor  = 14.6049
  Prefactor  = 6.56908
  Prefactor  = 0.0001
  norm       = 7.02003
  Prefactor  = 7.21341
  Prefactor  = 56.7005
  Prefactor  = 0.701116
  norm       = 0.000100001
  Prefactor  = 26.4074
  Prefactor  = 0.00010179
  Prefactor  = 7.94931
  Prefactor  = 2.11304
  Prefactor  = 0.870529
  Prefactor  = 0.0001
  Normalizat = 0.901768
  Prefactor  = 0.982935
 **********
 **   18 **HESSE 
 **********

 FCN=   5441.255     FROM HESSE     STATUS=OK           387 CALLS     3947 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6991        .18712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8200        1.5246        .32550E-05   -1.5438    
   3  Prefactor     13.323        41.865        .43874E-05   -1.4978    
   4  Prefactor     .10000E-03    5.6031        .37283E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.1995        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10071E-03    75.505        .16477       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.258        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.007        47.086        .41303E-05   -1.4933    
   9  Prefactor     14.605        6.4575        .41922E-05   -1.4943    
  10  Prefactor     6.5691        6.2940        .62631E-05   -1.5195    
  11  Prefactor     .10000E-03    .53786        .10515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.0200        5.6445        .30281E-04   -1.5178    
  13  Prefactor     7.2134        4.5028        .41928E-05   -1.5171    
  14  Prefactor     56.700        48.169        .10656E-04   -1.4201    
  15  Prefactor     .70112        6.8914        .98486E-04   -1.5541    
  16  norm          .10000E-03    13.480        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.407        31.278        .15592E-04   -1.4680    
  18  Prefactor     .10179E-03    154.82        .26289E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.9493        5.1109        .51266E-05   -1.5144    
  20  Prefactor     2.1130        8.0358        .56736E-04   -1.5417    
  21  Prefactor     .87053        2.2569        .66182E-05   -1.5521    
  22  Prefactor     .10000E-03    10.814        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .90177        .20068        .45626E-04   -.96398    
  24  Prefactor     .98294        .22173        .49894E-04   -.93301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32053e-08
Minuit parameter uncertainties:
  1  1.98894e-05
  2  1.52459
  3  41.9578
  4  5.79138e-05
  5  4.57449e-05
  6  0.0146189
  7  9.27362e-05
  8  47.2033
  9  6.45784
  10  6.29464
  11  6.34295e-06
  12  5.64495
  13  4.50302
  14  48.2024
  15  4.39655
  16  0.000189537
  17  31.2976
  18  0.0333851
  19  5.11117
  20  8.03987
  21  2.25715
  22  3.60978e-05
  23  0.200844
  24  0.221938
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  6.343e-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:  9.829e-01  2.219e-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:  9.018e-01  2.008e-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: 3.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654888/likelihoodResults_309052801_309312001_4FGL_J1001.1+2911_daily_bin269.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) = 5441.25523688
delta logL = -6.74619695928e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5441.25516703
delta logL = 2.39493874687e-06

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 'Index     '    2.2326       1.0000          .0000       10.000    
     3 'Normalizat'    .90178       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98296       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=   5441.255     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      211 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8136        .90712E-02** at limit **
   2  Index         1.8198        8.9614        .50000        .56975E-06
   3  Normalizat    .90176        .84672E-02    .44924E-01    .17363E-03
   4  Prefactor     .98294        .96776E-02    .46054E-01    .60164E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.81975
  Normalizat = 0.901763
  Prefactor  = 0.982944
 **********
 **   18 **HESSE 
 **********

 FCN=   5441.255     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      242 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.747        .57783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8198        5.9047        .50000       -.68937    
   3  Normalizat    .90176        .36007E-01    .22813E-03   -.96398    
   4  Prefactor     .98294        .41156E-01    .24947E-03   -.93300    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.23146e-08
Minuit parameter uncertainties:
  1  0.00012751
  2  342.542
  3  0.0360075
  4  0.0411576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654888': 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) = 5441.25515383
delta logL = 1.55889147209e-05

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.275e-04  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.820e+00  3.425e+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:  9.829e-01  4.116e-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:  9.018e-01  3.601e-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/654888/cmap_HighResolution_309052801_309312001_4FGL_J1001.1+2911_daily_bin269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-03', job_status='DONE', photon_flux_upper_limit='3.71e-08', time_completed='2021-09-01 10:01:30.519621', job_id='654888', GAL2='0.98', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630515690.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.56e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='269' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:01:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 654888: <4FGL_J1001.1+2911_daily_bin269> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin269> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:46:16 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:46:18 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:46:18 2021
Terminated at Wed Sep  1 10:01:31 2021
Results reported at Wed Sep  1 10:01:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin269 150.294 29.188 309052801 309312001 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 :                                   686.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            915 sec.

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

