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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin200
RA = 150.294, Dec = 29.188
tmin = 291168001, tmax = 291427201
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='654756', job_status='RUN', time_executed='2021-09-01 09:48:13.495493', time_epoch_executed='1630514893.5' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654756

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654756/ft1_4FGL_J1001.1+2911_daily_bin200.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654756/ft2_4FGL_J1001.1+2911_daily_bin200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654756/ft1_4FGL_J1001.1+2911_daily_bin200.fits outfile=/scratch/kocevski/654756/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin200.fits ra=150.294 dec=29.188 rad=12.0 tmin=291168001.0 tmax=291427201.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.51
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654756/ft1_filtered_4FGL_J1001.1+2911_daily_bin200.fits" evtable="EVENTS" scfile=/scratch/kocevski/654756/ft2_4FGL_J1001.1+2911_daily_bin200.fits sctable="SC_DATA" outfile=/scratch/kocevski/654756/ltcube_291168001_291427201_4FGL_J1001.1+2911_daily_bin200.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/654756/ft2_4FGL_J1001.1+2911_daily_bin200.fits
.....................!
real 11.67
user 11.30
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654756/ft1_filtered_4FGL_J1001.1+2911_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/654756/ft2_4FGL_J1001.1+2911_daily_bin200.fits sctable="SC_DATA" expcube=/scratch/kocevski/654756/ltcube_291168001_291427201_4FGL_J1001.1+2911_daily_bin200.fits outfile=/scratch/kocevski/654756/expmap_291168001_291427201_4FGL_J1001.1+2911_daily_bin200.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/654756/ltcube_291168001_291427201_4FGL_J1001.1+2911_daily_bin200.fits
.....................!
real 189.66
user 185.32
sys 3.90

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/654756/ft1_filtered_4FGL_J1001.1+2911_daily_bin200.fits scfile=/scratch/kocevski/654756/ft2_4FGL_J1001.1+2911_daily_bin200.fits outfile=/scratch/kocevski/654756/cmap_291168001_291427201_4FGL_J1001.1+2911_daily_bin200.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.81
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654756/ft1_filtered_4FGL_J1001.1+2911_daily_bin200.fits scfile=/scratch/kocevski/654756/ft2_4FGL_J1001.1+2911_daily_bin200.fits outfile=/scratch/kocevski/654756/cmap_HighResolution_291168001_291427201_4FGL_J1001.1+2911_daily_bin200.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.89
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.769       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9234       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.184       1.0000         .10000E-03   10000.    
     6 'Prefactor '    96.466       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.338       1.0000         .10000E-03   10000.    
     8 'Prefactor '    47.708       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.378       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3308       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.1688       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10427E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.118       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.1655       1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    45.707       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.8420       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .79915       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0766       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=   5119.464     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2712 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5579       -.11042E-06** at limit **
   2  norm          .10000E-03    1.4314       -.28295E-07** at limit **
   3  Prefactor     28.766        52.258       -.47136E-05    .55805E-05
   4  Prefactor     2.9227        4.1448       -.26032E-05   -.47058E-04
   5  Prefactor     28.186        24.769        .20644E-05    .19865E-04
   6  Prefactor     96.467        68.298        .14214E-06    .38818E-05
   7  Prefactor     33.336        32.450       -.17849E-05   -.26708E-07
   8  Prefactor     47.707        44.201       -.22654E-05    .81563E-06
   9  Prefactor     21.379        8.1505        .10276E-07    .16080E-04
  10  Prefactor     1.3308        1.1597        .23916E-06   -.99764E-03
  11  Prefactor     .10000E-03    1.1588       -.70198E-07** at limit **
  12  norm          9.1690        6.7180        .48026E-07    .76865E-06
  13  Prefactor     .10000E-03    2.1525        .52510E-06** at limit **
  14  Prefactor     42.118        32.743       -.97839E-06    .75736E-06
  15  Prefactor     1.1657        4.0017       -.14803E-05   -.38523E-03
  16  norm          .10000E-03    9.6926       -.28901E-05** at limit **
  17  Prefactor     .10000E-03    22.700       -.23702E-05** at limit **
  18  Prefactor     45.713        35.207        .69203E-05    .79508E-04
  19  Prefactor     .10000E-03    5.2811       -.10613E-05** at limit **
  20  Prefactor     .10000E-03    2.2590       -.19179E-06** at limit **
  21  Prefactor     1.8422        1.9706       -.78100E-07   -.24321E-04
  22  Prefactor     .10000E-03    14.584        .31105E-05** at limit **
  23  Normalizat    .79901        .17843        .15797E-05   -.20332E-04
  24  Prefactor     1.0767        .19724       -.42468E-06    .71170E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 28.7659
  Prefactor  = 2.92266
  Prefactor  = 28.1859
  Prefactor  = 96.4666
  Prefactor  = 33.3362
  Prefactor  = 47.7065
  Prefactor  = 21.3794
  Prefactor  = 1.33084
  Prefactor  = 0.0001
  norm       = 9.16899
  Prefactor  = 0.000100002
  Prefactor  = 42.1175
  Prefactor  = 1.16569
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.7126
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.84221
  Prefactor  = 0.0001
  Normalizat = 0.799008
  Prefactor  = 1.07674
 **********
 **   18 **HESSE 
 **********

 FCN=   5119.464     FROM HESSE     STATUS=OK           397 CALLS     3109 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5640        .87204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.4736        .16678E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.766        52.248        .74695E-04   -1.4635    
   4  Prefactor     2.9227        4.1257        .16015E-03   -1.5366    
   5  Prefactor     28.186        24.753        .75464E-04   -1.4646    
   6  Prefactor     96.467        68.305        .40924E-04   -1.3740    
   7  Prefactor     33.336        32.439        .69401E-04   -1.4553    
   8  Prefactor     47.707        44.201        .58053E-04   -1.4325    
   9  Prefactor     21.379        8.1509        .86628E-04   -1.4783    
  10  Prefactor     1.3308        5.4796        .16301E-02   -1.5477    
  11  Prefactor     .10000E-03    1.1975        .15031E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.1690        6.7171        .13236E-03   -1.5102    
  13  Prefactor     .10000E-03    6.9541        .18211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     42.118        32.742        .61769E-04   -1.4409    
  15  Prefactor     1.1657        3.6518        .22817E-03   -1.5492    
  16  norm          .10000E-03    9.8270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     45.713        35.350        .59305E-04   -1.4355    
  19  Prefactor     .10000E-03    5.4724        .32227E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.2687        .10501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.8422        1.9596        .10014E-03   -1.5437    
  22  Prefactor     .10000E-03    14.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .79901        .20305        .24101E-03   -1.0011    
  24  Prefactor     1.0767        .22621        .24232E-03   -.90213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76093e-09
Minuit parameter uncertainties:
  1  8.14554e-07
  2  1.96943e-05
  3  52.3315
  4  4.12606
  5  24.7623
  6  68.361
  7  32.4565
  8  44.231
  9  8.15135
  10  5.40158
  11  3.19029e-06
  12  6.71761
  13  0.000207409
  14  32.7558
  15  3.6525
  16  5.24102e-05
  17  1.42323e-05
  18  35.3665
  19  0.000176887
  20  1.75124e-06
  21  1.95972
  22  1.18652e-05
  23  0.203245
  24  0.226415
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  3.190e-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:  1.077e+00  2.264e-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:  7.990e-01  2.032e-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: 5.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654756/likelihoodResults_291168001_291427201_4FGL_J1001.1+2911_daily_bin200.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) = 5119.46833054
delta logL = -0.00396303961406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5119.46436756
delta logL = -5.78947947361e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2543       1.0000          .0000       10.000    
     3 'Normalizat'    .79906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0768       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5119.464     FROM MIGRAD    STATUS=FAILED        85 CALLS      234 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10068E-03    112.24        .15162E-03** at limit **
   2  Index         2.2111        8.8755        .50000        .77798E-04
   3  Normalizat    .79901        .44711E-01    .24101E-03    .12552E-03
   4  Prefactor     1.0767        .51718E-01    .24232E-03    .12026E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5119.464     FROM SIMPLEX   STATUS=UNCHANGED    141 CALLS      375 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10068E-03    112.24        .19164E-03** at limit **
   2  Index         2.2111        8.8755        .66228E-04    .77798E-04
   3  Normalizat    .79901        .44711E-01    .13620E-05    .12552E-03
   4  Prefactor     1.0767        .51718E-01    .11556E-05    .12026E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5119.464     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      416 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8597        .30324E-04** at limit **
   2  Index         2.0342        6.0026        .50000        .20059E-06
   3  Normalizat    .79901        .19294        .96404E-05   -.61181E-03
   4  Prefactor     1.0767        .22325        .48463E-04   -.61118E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.03423
  Normalizat = 0.799008
  Prefactor  = 1.07674
 **********
 **   18 **HESSE 
 **********

 FCN=   5119.464     FROM HESSE     STATUS=OK            29 CALLS      445 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3020        .60647E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0342        8.1386        .50000       -.63497    
   3  Normalizat    .79901        .19300        .19281E-05   -1.0011    
   4  Prefactor     1.0767        .22333        .96927E-05   -.90213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.88529e-10
Minuit parameter uncertainties:
  1  7.37273e-06
  2  45.1154
  3  0.193169
  4  0.223526
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654756': 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) = 5119.46436465
delta logL = 2.85499663732e-06

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  7.373e-06  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.034e+00  4.512e+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:  1.077e+00  2.235e-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:  7.990e-01  1.932e-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/654756/cmap_HighResolution_291168001_291427201_4FGL_J1001.1+2911_daily_bin200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-03', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2021-09-01 09:58:39.014843', job_id='654756', GAL2='1.08', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1630515519.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.85e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='200' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 09:58:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 654756: <4FGL_J1001.1+2911_daily_bin200> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin200> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:57 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45: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:45:58 2021
Terminated at Wed Sep  1 09:58:39 2021
Results reported at Wed Sep  1 09:58:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin200 150.294 29.188 291168001 291427201 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 :                                   612.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            762 sec.

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

