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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin554
RA = 150.294, Dec = 29.188
tmin = 382924801, tmax = 383184001
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='657549', job_status='RUN', time_executed='2021-09-01 09:55:50.304623', time_epoch_executed='1630515350.3' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='554'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/657549

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/657549/ft1_4FGL_J1001.1+2911_daily_bin554.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/657549/ft2_4FGL_J1001.1+2911_daily_bin554.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/657549/ft1_4FGL_J1001.1+2911_daily_bin554.fits outfile=/scratch/kocevski/657549/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin554.fits ra=150.294 dec=29.188 rad=12.0 tmin=382924801.0 tmax=383184001.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.53
user 4.27
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/657549/ft1_filtered_4FGL_J1001.1+2911_daily_bin554.fits evtable="EVENTS" scfile=/scratch/kocevski/657549/ft2_4FGL_J1001.1+2911_daily_bin554.fits sctable="SC_DATA" expcube=/scratch/kocevski/657549/ltcube_382924801_383184001_4FGL_J1001.1+2911_daily_bin554.fits outfile=/scratch/kocevski/657549/expmap_382924801_383184001_4FGL_J1001.1+2911_daily_bin554.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/657549/ltcube_382924801_383184001_4FGL_J1001.1+2911_daily_bin554.fits
.....................!
real 192.48
user 186.26
sys 4.39

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/657549/ft1_filtered_4FGL_J1001.1+2911_daily_bin554.fits scfile=/scratch/kocevski/657549/ft2_4FGL_J1001.1+2911_daily_bin554.fits outfile=/scratch/kocevski/657549/cmap_382924801_383184001_4FGL_J1001.1+2911_daily_bin554.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/657549/ft1_filtered_4FGL_J1001.1+2911_daily_bin554.fits scfile=/scratch/kocevski/657549/ft2_4FGL_J1001.1+2911_daily_bin554.fits outfile=/scratch/kocevski/657549/cmap_HighResolution_382924801_383184001_4FGL_J1001.1+2911_daily_bin554.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.54
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.5095       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14174E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15666       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .67671E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12507E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.5925       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.5281       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9741       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    89.933       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8017       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .17747E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .17470E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8086       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10441E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19464       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13404E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2625       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81991       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=   6046.441     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2431 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3147       -.16634E-06** at limit **
   2  norm          1.5093        1.4482       -.16620E-06    .18444E-04
   3  Prefactor     .10000E-03    27.058       -.13359E-04** at limit **
   4  Prefactor     .10000E-03    2.4019       -.16210E-06** at limit **
   5  Prefactor     .42291        17.669       -.74114E-05    .70666E-03
   6  Prefactor     .10000E-03    25.108        .68357E-05** at limit **
   7  Prefactor     .10000E-03    25.425        .19416E-04** at limit **
   8  Prefactor     .10000E-03    32.289        .80818E-05** at limit **
   9  Prefactor     5.5907        4.9724       -.28614E-05    .92423E-04
  10  Prefactor     5.5056        7.3763        .66083E-06   -.11039E-03
  11  Prefactor     3.9743        2.6727       -.21312E-06    .24783E-03
  12  norm          .10000E-03    3.3211        .34503E-07** at limit **
  13  Prefactor     .10000E-03    1.2862       -.35991E-07** at limit **
  14  Prefactor     89.656        46.682       -.37000E-04    .17523E-04
  15  Prefactor     1.8020        3.0219       -.73863E-06   -.56834E-03
  16  norm          .10000E-03    2.0736       -.58481E-07** at limit **
  17  Prefactor     .10000E-03    14.985       -.22918E-05** at limit **
  18  Prefactor     .10000E-03    26.944       -.11896E-04** at limit **
  19  Prefactor     7.8067        4.7431       -.12705E-05    .33358E-03
  20  Prefactor     .10000E-03    4.3238        .13754E-06** at limit **
  21  Prefactor     .19278        1.2355       -.54277E-06    .10322E-03
  22  Prefactor     .10000E-03    24.907        .85190E-05** at limit **
  23  Normalizat    1.2625        .17063        .36074E-05    .57413E-03
  24  Prefactor     .81995        .18435        .16555E-05    .49906E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.50932
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.42291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.59067
  Prefactor  = 5.5056
  Prefactor  = 3.97432
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 89.6564
  Prefactor  = 1.80199
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.80675
  Prefactor  = 0.0001
  Prefactor  = 0.192775
  Prefactor  = 0.0001
  Normalizat = 1.26246
  Prefactor  = 0.819945
 **********
 **   18 **HESSE 
 **********

 FCN=   6046.441     FROM HESSE     STATUS=OK           397 CALLS     2828 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.2631        .17398E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5093        1.4491        .88874E-04   -1.5462    
   3  Prefactor     .10000E-03    27.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.4803        .23502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .42291        224.86        .61626E-02   -1.5578    
   6  Prefactor     .10000E-03    25.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.597        .20999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    32.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.5907        4.9698        .15723E-03   -1.5235    
  10  Prefactor     5.5056        7.3758        .17088E-03   -1.5239    
  11  Prefactor     3.9743        2.6700        .98793E-04   -1.5309    
  12  norm          .10000E-03    3.3378        .13837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.3020        .86018E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     89.656        46.747        .21186E-03   -1.3811    
  15  Prefactor     1.8020        2.9977        .16740E-03   -1.5439    
  16  norm          .10000E-03    2.0744        .10935E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.8067        4.7328        .12709E-03   -1.5149    
  20  Prefactor     .10000E-03    4.3580        .15779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .19278        7.2642        .16438E-02   -1.5620    
  22  Prefactor     .10000E-03    24.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2625        .19807        .21034E-03   -.84694    
  24  Prefactor     .81995        .21320        .28385E-03   -.98997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76497e-08
Minuit parameter uncertainties:
  1  1.76511e-05
  2  1.44917
  3  4.00908e-05
  4  1.79608e-05
  5  19.5755
  6  1.00507e-05
  7  0.000174042
  8  2.63723e-05
  9  4.97018
  10  7.37699
  11  2.67005
  12  6.73144e-06
  13  6.20086e-06
  14  46.7659
  15  2.99793
  16  7.03909e-07
  17  1.79694e-05
  18  0.00016738
  19  4.73298
  20  3.59291e-05
  21  2.36644
  22  9.83471e-05
  23  0.198186
  24  0.213418
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.974e+00  2.670e+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

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  8.199e-01  2.134e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.262e+00  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.33
Ra Dec: 150.294 29.188
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.31e-08 +/- 3.56e-08
Energy Flux (Fixed Index): 2.11e-05 +/- 1.42e-05

TS (Fixed Index): 3.33
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/657549/likelihoodResults_382924801_383184001_4FGL_J1001.1+2911_daily_bin554.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) = 6046.2517384
delta logL = 0.189223068971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6046.2379923
delta logL = 0.202969168027

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8131       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6463       1.0000          .0000       10.000    
     3 'Normalizat'    1.2405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83709       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=   6046.238     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      270 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8129        3.1928        .76089E-04   -.11804E-03
   2  Index         2.6464        .71463        .52149E-02    .43054E-03
   3  Normalizat    1.2405        .19555        .21184E-03   -.11390E-03
   4  Prefactor     .83714        .21521        .28123E-03   -.12996E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.81292
  Index      = 2.64645
  Normalizat = 1.24049
  Prefactor  = 0.837136
 **********
 **   18 **HESSE 
 **********

 FCN=   6046.238     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8129        2.8974        .30435E-05   -1.5373    
   2  Index         2.6464        .64854        .10430E-02   -.49010    
   3  Normalizat    1.2405        .19538        .42367E-04   -.85361    
   4  Prefactor     .83714        .21498        .11249E-04   -.98374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0237e-11
Minuit parameter uncertainties:
  1  2.89752
  2  0.650895
  3  0.195495
  4  0.215193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/657549': 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) = 6046.23799208
delta logL = 0.202969391681

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  2.813e+00  2.898e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.646e+00  6.509e-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:  8.371e-01  2.152e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.240e+00  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.75
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.65 +/- 0.65
Photon Flux (Free Index): 6.80e-08 +/- 4.52e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.18e-05

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/657549/cmap_HighResolution_382924801_383184001_4FGL_J1001.1+2911_daily_bin554.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.59e-03', comment='SUCCESS', photon_flux='5.31e-08', energy_flux2='1.71e-05', photon_flux_error='3.56e-08', dlogl='2.03e-01', energy_flux='2.11e-05', photon_flux2='6.80e-08', job_status='DONE', time_completed='2021-09-01 10:06:59.015900', photon_index_error2='0.65', photon_index2='2.65', ts='3.33', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.18e-05', EG='1.26', time_epoch_completed='1630516019.02', return_code='0', job_id='657549', GAL2='0.84', EG2='1.24', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='4.52e-08', ts2='3.75', photon_index='2.27' WHERE bin_id='554' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:06:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 657549: <4FGL_J1001.1+2911_daily_bin554> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin554 150.294 29.188 382924801 383184001 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 :                                   663.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            703 sec.

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

