/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 64 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 = 7488
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin520
RA = 150.294, Dec = 29.188
tmin = 374112001, tmax = 374371201
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='656370', job_status='RUN', time_executed='2021-09-01 09:53:54.847018', time_epoch_executed='1630515234.85' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656370

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656370/ft1_4FGL_J1001.1+2911_daily_bin520.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656370/ft2_4FGL_J1001.1+2911_daily_bin520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656370/ft1_4FGL_J1001.1+2911_daily_bin520.fits outfile=/scratch/kocevski/656370/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin520.fits ra=150.294 dec=29.188 rad=12.0 tmin=374112001.0 tmax=374371201.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.25
user 3.21
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/656370/ft2_4FGL_J1001.1+2911_daily_bin520.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/656370/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin520.fits evtable="EVENTS" outfile="/scratch/kocevski/656370/ft1_filtered_4FGL_J1001.1+2911_daily_bin520.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 1.04
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656370/ft1_filtered_4FGL_J1001.1+2911_daily_bin520.fits" evtable="EVENTS" scfile=/scratch/kocevski/656370/ft2_4FGL_J1001.1+2911_daily_bin520.fits sctable="SC_DATA" outfile=/scratch/kocevski/656370/ltcube_374112001_374371201_4FGL_J1001.1+2911_daily_bin520.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/656370/ft2_4FGL_J1001.1+2911_daily_bin520.fits
.....................!
real 16.16
user 15.24
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656370/ft1_filtered_4FGL_J1001.1+2911_daily_bin520.fits evtable="EVENTS" scfile=/scratch/kocevski/656370/ft2_4FGL_J1001.1+2911_daily_bin520.fits sctable="SC_DATA" expcube=/scratch/kocevski/656370/ltcube_374112001_374371201_4FGL_J1001.1+2911_daily_bin520.fits outfile=/scratch/kocevski/656370/expmap_374112001_374371201_4FGL_J1001.1+2911_daily_bin520.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/656370/ltcube_374112001_374371201_4FGL_J1001.1+2911_daily_bin520.fits
.....................!
real 193.26
user 186.06
sys 4.03

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/656370/ft1_filtered_4FGL_J1001.1+2911_daily_bin520.fits scfile=/scratch/kocevski/656370/ft2_4FGL_J1001.1+2911_daily_bin520.fits outfile=/scratch/kocevski/656370/cmap_374112001_374371201_4FGL_J1001.1+2911_daily_bin520.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.13
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656370/ft1_filtered_4FGL_J1001.1+2911_daily_bin520.fits scfile=/scratch/kocevski/656370/ft2_4FGL_J1001.1+2911_daily_bin520.fits outfile=/scratch/kocevski/656370/cmap_HighResolution_374112001_374371201_4FGL_J1001.1+2911_daily_bin520.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.63
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.426       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.929       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1673       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16614E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.9920       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10742E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.6575       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.9830       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.2612       1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.366       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94783       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98364       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=   5077.511     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2741 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.6551       -.17650E-05** at limit **
   2  norm          .10000E-03    .44417       -.50260E-08** at limit **
   3  Prefactor     .10000E-03    32.667       -.10929E-04** at limit **
   4  Prefactor     .10000E-03    .98701       -.17043E-07** at limit **
   5  Prefactor     .10000E-03    18.115       -.28756E-05** at limit **
   6  Prefactor     .10000E-03    48.565        .35128E-04** at limit **
   7  Prefactor     11.422        34.225       -.72046E-05   -.65130E-05
   8  Prefactor     12.914        44.329       -.27410E-04   -.51061E-05
   9  Prefactor     3.1674        4.8715       -.58421E-06   -.35245E-03
  10  Prefactor     .10000E-03    5.4827       -.37520E-07** at limit **
  11  Prefactor     .10000E-03    1.1489       -.10837E-06** at limit **
  12  norm          .10000E-03    2.6808        .52209E-06** at limit **
  13  Prefactor     3.9916        3.2173       -.24314E-06   -.38099E-03
  14  Prefactor     .10000E-03    63.957       -.29168E-04** at limit **
  15  Prefactor     .10000E-03    2.7384        .13055E-05** at limit **
  16  norm          4.6568        7.3431       -.40061E-06   -.15525E-03
  17  Prefactor     7.9809        30.547       -.40422E-05   -.11166E-04
  18  Prefactor     .10000E-03    17.800        .41634E-05** at limit **
  19  Prefactor     .10000E-03    2.9467       -.20046E-06** at limit **
  20  Prefactor     .10000E-03    11.446       -.27819E-06** at limit **
  21  Prefactor     2.2618        2.2591       -.21282E-06   -.24508E-03
  22  Prefactor     29.365        21.632       -.55237E-06    .41765E-06
  23  Normalizat    .94785        .16279        .15257E-05    .53369E-04
  24  Prefactor     .98371        .18313        .88248E-06    .11134E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4224
  Prefactor  = 12.9145
  Prefactor  = 3.16742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.99163
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.65679
  Prefactor  = 7.98091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.26177
  Prefactor  = 29.365
  Normalizat = 0.947846
  Prefactor  = 0.983706
 **********
 **   18 **HESSE 
 **********

 FCN=   5077.511     FROM HESSE     STATUS=OK           393 CALLS     3134 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.7430        .22671E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .44543        .46375E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .99160        .69119E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    48.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.422        34.254        .11851E-03   -1.5032    
   8  Prefactor     12.914        44.427        .11140E-03   -1.4989    
   9  Prefactor     3.1674        4.8652        .18713E-03   -1.5352    
  10  Prefactor     .10000E-03    5.5504        .16291E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.5636        .14830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.6893        .11392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9916        3.2094        .10996E-03   -1.5308    
  14  Prefactor     .10000E-03    64.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.7824        .11472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.6568        7.3365        .18648E-03   -1.5276    
  17  Prefactor     7.9809        30.559        .14191E-03   -1.5143    
  18  Prefactor     .10000E-03    17.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.9771        .11942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.951        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.2618        2.2505        .10286E-03   -1.5407    
  22  Prefactor     29.365        21.633        .73933E-04   -1.4624    
  23  Normalizat    .94785        .19299        .21478E-03   -.94799    
  24  Prefactor     .98371        .21722        .23984E-03   -.93275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51703e-10
Minuit parameter uncertainties:
  1  1.23824e-06
  2  7.20333e-07
  3  1.89922e-05
  4  2.2708e-06
  5  2.21475e-05
  6  3.80978e-05
  7  34.3128
  8  44.5406
  9  4.86585
  10  1.08253e-05
  11  2.23336e-05
  12  2.74606e-06
  13  3.20951
  14  7.6118e-05
  15  7.89698e-06
  16  7.33795
  17  30.6185
  18  1.76245e-05
  19  8.39225e-06
  20  3.30438e-05
  21  2.25059
  22  21.639
  23  0.193129
  24  0.217417
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  2.233e-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:  9.837e-01  2.174e-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.478e-01  1.931e-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: 4.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656370/likelihoodResults_374112001_374371201_4FGL_J1001.1+2911_daily_bin520.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) = 5077.51233058
delta logL = -0.00134864277061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5077.51098161
delta logL = 3.29173417413e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2308       1.0000          .0000       10.000    
     3 'Normalizat'    .94792       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98371       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=   5077.511     FROM MIGRAD    STATUS=FAILED        98 CALLS      261 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10141E-03    27.320        .15429E-02** at limit **
   2  Index         2.1583        7.3556        .50000        .37380E-04
   3  Normalizat    .94785        .10504E-01    .21478E-03   -.89930E-04
   4  Prefactor     .98370        .11990E-01    .23984E-03   -.10561E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5077.511     FROM SIMPLEX   STATUS=UNCHANGED    119 CALLS      380 TOTAL
                     EDM=   .95E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10141E-03    27.320        .33262E-03** at limit **
   2  Index         2.1583        7.3556        .62491E-03    .37380E-04
   3  Normalizat    .94785        .10504E-01    .17657E-05   -.89930E-04
   4  Prefactor     .98370        .11990E-01    .25279E-05   -.10561E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5077.511     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      413 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10059E-03    123.56        .30858E-03** at limit **
   2  Index         2.1663        6.0693        .50000        .40792E-04
   3  Normalizat    .94785        .22907E-01    .85913E-05   -.87336E-04
   4  Prefactor     .98370        .26147E-01    .95937E-05   -.10404E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100594
  Index      = 2.16625
  Normalizat = 0.947847
  Prefactor  = 0.983704
 **********
 **   18 **HESSE 
 **********

 FCN=   5077.511     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      442 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10059E-03    386.93        .61716E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1663        7.2940        .50000       -.60255    
   3  Normalizat    .94785        .44822E-01    .17183E-05   -.94799    
   4  Prefactor     .98370        .51158E-01    .19187E-05   -.93275    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.5872e-08
Minuit parameter uncertainties:
  1  0.0305251
  2  374.302
  3  0.0448238
  4  0.0511602
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656370': 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) = 5077.51098042
delta logL = 1.52407938003e-06

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.006e-04  3.053e-02  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.166e+00  3.743e+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.837e-01  5.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.478e-01  4.482e-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/656370/cmap_HighResolution_374112001_374371201_4FGL_J1001.1+2911_daily_bin520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.79e-03', job_status='DONE', photon_flux_upper_limit='4.94e-08', time_completed='2021-09-01 10:04:22.746432', job_id='656370', GAL2='0.98', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1630515862.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.52e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='520' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:04:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 656370: <4FGL_J1001.1+2911_daily_bin520> in cluster <slac> Done

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

Your job looked like:

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

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

