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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin240
RA = 150.294, Dec = 29.188
tmin = 301536001, tmax = 301795201
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='654804', job_status='RUN', time_executed='2021-09-01 09:48:59.933734', time_epoch_executed='1630514939.93' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='240'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654804

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654804/ft1_4FGL_J1001.1+2911_daily_bin240.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654804/ft2_4FGL_J1001.1+2911_daily_bin240.fits


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

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

Done.
real 4.62
user 4.35
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654804/ft1_filtered_4FGL_J1001.1+2911_daily_bin240.fits evtable="EVENTS" scfile=/scratch/kocevski/654804/ft2_4FGL_J1001.1+2911_daily_bin240.fits sctable="SC_DATA" expcube=/scratch/kocevski/654804/ltcube_301536001_301795201_4FGL_J1001.1+2911_daily_bin240.fits outfile=/scratch/kocevski/654804/expmap_301536001_301795201_4FGL_J1001.1+2911_daily_bin240.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/654804/ltcube_301536001_301795201_4FGL_J1001.1+2911_daily_bin240.fits
.....................!
real 190.40
user 185.70
sys 4.27

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/654804/ft1_filtered_4FGL_J1001.1+2911_daily_bin240.fits scfile=/scratch/kocevski/654804/ft2_4FGL_J1001.1+2911_daily_bin240.fits outfile=/scratch/kocevski/654804/cmap_301536001_301795201_4FGL_J1001.1+2911_daily_bin240.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 1.51
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654804/ft1_filtered_4FGL_J1001.1+2911_daily_bin240.fits scfile=/scratch/kocevski/654804/ft2_4FGL_J1001.1+2911_daily_bin240.fits outfile=/scratch/kocevski/654804/cmap_HighResolution_301536001_301795201_4FGL_J1001.1+2911_daily_bin240.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 2.04
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7451       1.0000         .10000E-03   10000.    
     2 'norm      '    2.0450       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .52827       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.994       1.0000         .10000E-03   10000.    
     7 'Prefactor '    53.198       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.078       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7617       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    40.259       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4568       1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.297       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8991       1.0000         .10000E-03   10000.    
    16 'norm      '    6.8703       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.631       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9167       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.1273       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .95702       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1143       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=   5855.204     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2697 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7453        4.3230        .50846E-05   -.12240E-04
   2  norm          2.0446        1.8349       -.67559E-08   -.94875E-04
   3  Prefactor     .10000E-03    20.818        .11629E-06** at limit **
   4  Prefactor     .52736        2.5096        .51693E-06   -.15621E-03
   5  Prefactor     .10000E-03    14.313        .75556E-06** at limit **
   6  Prefactor     21.989        69.423        .18918E-05   -.17292E-05
   7  Prefactor     53.210        49.267       -.12777E-05   -.99958E-05
   8  Prefactor     .10000E-03    18.146       -.96652E-06** at limit **
   9  Prefactor     12.078        7.6851        .12778E-06   -.29896E-04
  10  Prefactor     2.7620        6.6520        .38754E-06   -.32723E-05
  11  Prefactor     .10000E-03    1.1211       -.53631E-07** at limit **
  12  norm          40.260        12.835        .89900E-07   -.15622E-04
  13  Prefactor     2.4573        2.5929        .60198E-07   -.61703E-04
  14  Prefactor     29.298        37.885        .81987E-07   -.23956E-05
  15  Prefactor     1.9001        2.9521        .11673E-06   -.53511E-04
  16  norm          6.8711        9.0811        .23828E-06   -.37474E-05
  17  Prefactor     17.572        39.929        .13331E-04    .66156E-05
  18  Prefactor     .10000E-03    5.8623       -.13825E-07** at limit **
  19  Prefactor     .10000E-03    .96877       -.20510E-07** at limit **
  20  Prefactor     2.9171        8.3236        .49759E-06   -.66748E-05
  21  Prefactor     3.1277        2.4878        .13987E-06   -.19166E-04
  22  Prefactor     .10000E-03    8.7345       -.16822E-06** at limit **
  23  Normalizat    .95676        .18185       -.15504E-05   -.27465E-04
  24  Prefactor     1.1146        .19434       -.34353E-06   -.69548E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7453
  norm       = 2.04464
  Prefactor  = 0.0001
  Prefactor  = 0.527357
  Prefactor  = 0.0001
  Prefactor  = 21.9894
  Prefactor  = 53.2102
  Prefactor  = 0.0001
  Prefactor  = 12.0785
  Prefactor  = 2.76198
  Prefactor  = 0.0001
  norm       = 40.2602
  Prefactor  = 2.45729
  Prefactor  = 29.2981
  Prefactor  = 1.90006
  norm       = 6.87114
  Prefactor  = 17.5722
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.91713
  Prefactor  = 3.12772
  Prefactor  = 0.0001
  Normalizat = 0.956758
  Prefactor  = 1.11459
 **********
 **   18 **HESSE 
 **********

 FCN=   5855.204     FROM HESSE     STATUS=OK           409 CALLS     3106 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7453        4.3269        .12026E-02   -1.5444    
   2  norm          2.0446        1.8148        .93766E-04   -1.5422    
   3  Prefactor     .10000E-03    20.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .52736        4.2961        .22436E-02   -1.5563    
   5  Prefactor     .10000E-03    14.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.989        69.526        .85407E-04   -1.4770    
   7  Prefactor     53.210        49.512        .54991E-04   -1.4248    
   8  Prefactor     .10000E-03    18.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.078        7.6914        .11527E-03   -1.5013    
  10  Prefactor     2.7620        6.6313        .24492E-03   -1.5376    
  11  Prefactor     .10000E-03    1.1367        .79041E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          40.260        12.832        .63174E-04   -1.4438    
  13  Prefactor     2.4573        2.5816        .11940E-03   -1.5394    
  14  Prefactor     29.298        37.881        .74020E-04   -1.4625    
  15  Prefactor     1.9001        2.9185        .15437E-03   -1.5432    
  16  norm          6.8711        9.0812        .15307E-03   -1.5184    
  17  Prefactor     17.572        39.937        .95385E-04   -1.4869    
  18  Prefactor     .10000E-03    5.8627        .18095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    .97008        .73551E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.9171        8.2862        .23789E-03   -1.5366    
  21  Prefactor     3.1277        2.4755        .10240E-03   -1.5354    
  22  Prefactor     .10000E-03    8.7428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .95676        .21332        .24744E-03   -.94493    
  24  Prefactor     1.1146        .22992        .26116E-03   -.89002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36049e-08
Minuit parameter uncertainties:
  1  4.3277
  2  1.81489
  3  4.3663e-06
  4  3.01039
  5  6.43117e-06
  6  69.7835
  7  49.5507
  8  2.35974e-07
  9  7.69202
  10  6.63301
  11  7.59694e-07
  12  12.8328
  13  2.58174
  14  37.9119
  15  2.91873
  16  9.08301
  17  39.9983
  18  7.11946e-07
  19  5.42748e-07
  20  8.28944
  21  2.47556
  22  5.08401e-06
  23  0.213504
  24  0.230125
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  7.597e-07  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:  1.115e+00  2.301e-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.568e-01  2.135e-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.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654804/likelihoodResults_301536001_301795201_4FGL_J1001.1+2911_daily_bin240.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) = 5855.20807177
delta logL = -0.00416806023986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5855.20390352
delta logL = 1.90548234968e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2864       1.0000          .0000       10.000    
     3 'Normalizat'    .95682       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1146       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=   5854.929     FROM MIGRAD    STATUS=CONVERGED    216 CALLS      367 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32724E-01    .67673E-01    .42259E-02   -.57670E-02
   2  Index         4.7251        .79239        .12921        .13945E-03
   3  Normalizat    .90844        .21776        .24744E-03    .85917E-05
   4  Prefactor     1.1472        .23482        .26116E-03    .12711E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0327241
  Index      = 4.72506
  Normalizat = 0.908442
  Prefactor  = 1.14725
 **********
 **   18 **HESSE 
 **********

 FCN=   5854.929     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      396 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32724E-01    3.2153        .19041E-04   -1.5744    
   2  Index         4.7251        7.1837        .75154E-02   -.55016E-01
   3  Normalizat    .90844        .17537        .98977E-05   -.96164    
   4  Prefactor     1.1472        .19373        .10446E-04   -.87970    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.6459e-09
Minuit parameter uncertainties:
  1  0.647793
  2  9.46714
  3  0.175481
  4  0.19385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654804': 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) = 5854.92924992
delta logL = 0.274653791333

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.272e-02  6.478e-01  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  4.725e+00  9.467e+00  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:  1.147e+00  1.938e-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.084e-01  1.755e-01  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/654804/cmap_HighResolution_301536001_301795201_4FGL_J1001.1+2911_daily_bin240.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.76e-03', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2021-09-01 10:00:21.718322', job_id='654804', GAL2='1.15', fit_tolerance='1e-08', EG2='0.91', EG='0.96', time_epoch_completed='1630515621.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='2.75e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='240' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:00:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 654804: <4FGL_J1001.1+2911_daily_bin240> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin240 150.294 29.188 301536001 301795201 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 :                                   658.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             291.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

