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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin253
RA = 150.294, Dec = 29.188
tmin = 304905601, tmax = 305164801
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='654863', job_status='RUN', time_executed='2021-09-01 09:49:47.976265', time_epoch_executed='1630514987.98' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='253'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654863

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654863/ft1_4FGL_J1001.1+2911_daily_bin253.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654863/ft2_4FGL_J1001.1+2911_daily_bin253.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654863/ft1_4FGL_J1001.1+2911_daily_bin253.fits outfile=/scratch/kocevski/654863/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin253.fits ra=150.294 dec=29.188 rad=12.0 tmin=304905601.0 tmax=305164801.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.28
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/654863/ft1_filtered_4FGL_J1001.1+2911_daily_bin253.fits" evtable="EVENTS" scfile=/scratch/kocevski/654863/ft2_4FGL_J1001.1+2911_daily_bin253.fits sctable="SC_DATA" outfile=/scratch/kocevski/654863/ltcube_304905601_305164801_4FGL_J1001.1+2911_daily_bin253.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/654863/ft2_4FGL_J1001.1+2911_daily_bin253.fits
.....................!
real 12.54
user 12.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654863/ft1_filtered_4FGL_J1001.1+2911_daily_bin253.fits evtable="EVENTS" scfile=/scratch/kocevski/654863/ft2_4FGL_J1001.1+2911_daily_bin253.fits sctable="SC_DATA" expcube=/scratch/kocevski/654863/ltcube_304905601_305164801_4FGL_J1001.1+2911_daily_bin253.fits outfile=/scratch/kocevski/654863/expmap_304905601_305164801_4FGL_J1001.1+2911_daily_bin253.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/654863/ltcube_304905601_305164801_4FGL_J1001.1+2911_daily_bin253.fits
.....................!
real 191.59
user 185.76
sys 4.55

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/654863/ft1_filtered_4FGL_J1001.1+2911_daily_bin253.fits scfile=/scratch/kocevski/654863/ft2_4FGL_J1001.1+2911_daily_bin253.fits outfile=/scratch/kocevski/654863/cmap_304905601_305164801_4FGL_J1001.1+2911_daily_bin253.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.48
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654863/ft1_filtered_4FGL_J1001.1+2911_daily_bin253.fits scfile=/scratch/kocevski/654863/ft2_4FGL_J1001.1+2911_daily_bin253.fits outfile=/scratch/kocevski/654863/cmap_HighResolution_304905601_305164801_4FGL_J1001.1+2911_daily_bin253.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=150.294 yref=29.188 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9491       1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5068       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.985       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.382       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0738       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.337       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.4293       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .61729E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    16.563       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0928       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11422E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11088E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.871       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18807E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3694       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.1397       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .72990       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3022       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=   5653.016     FROM MIGRAD    STATUS=CONVERGED    625 CALLS     2862 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9504        3.1781        .26771E-07    .20513E-04
   2  norm          .10000E-03    1.2398       -.14631E-06** at limit **
   3  Prefactor     .10000E-03    14.538       -.78655E-06** at limit **
   4  Prefactor     3.5082        3.5580       -.13042E-06   -.98555E-04
   5  Prefactor     .10000E-03    14.104       -.28018E-06** at limit **
   6  Prefactor     27.996        65.359        .10608E-05    .50863E-04
   7  Prefactor     23.397        36.796        .32216E-06    .31002E-05
   8  Prefactor     4.0773        43.039       -.10723E-05   -.22499E-04
   9  Prefactor     18.340        7.9086        .28224E-07   -.96424E-04
  10  Prefactor     7.4407        7.3437       -.12362E-06   -.11172E-03
  11  Prefactor     .10046E-03    15.520        .33053E-05** at limit **
  12  norm          16.565        8.1611       -.34786E-07    .26277E-04
  13  Prefactor     1.9486        1.5942       -.41801E-07    .17169E-02
  14  Prefactor     .10000E-03    15.450       -.26908E-06** at limit **
  15  Prefactor     .18858        3.5858       -.85463E-06    .69230E-03
  16  norm          .10000E-03    5.1771       -.81000E-07** at limit **
  17  Prefactor     .10001E-03    164.26       -.30119E-05** at limit **
  18  Prefactor     15.841        23.040       -.11836E-06   -.21108E-03
  19  Prefactor     .10015E-03    16.226       -.90303E-06** at limit **
  20  Prefactor     1.3700        4.6350       -.47602E-06   -.28101E-04
  21  Prefactor     2.1397        1.6402       -.15336E-08    .30403E-04
  22  Prefactor     .10000E-03    8.6307       -.11212E-06** at limit **
  23  Normalizat    .72983        .17892       -.51599E-05   -.56468E-04
  24  Prefactor     1.3022        .20211        .54267E-05    .53524E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95039
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.50817
  Prefactor  = 0.0001
  Prefactor  = 27.9957
  Prefactor  = 23.3974
  Prefactor  = 4.07728
  Prefactor  = 18.3402
  Prefactor  = 7.44069
  Prefactor  = 0.00010046
  norm       = 16.5645
  Prefactor  = 1.94865
  Prefactor  = 0.0001
  Prefactor  = 0.18858
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 15.8408
  Prefactor  = 0.000100154
  Prefactor  = 1.36995
  Prefactor  = 2.13972
  Prefactor  = 0.0001
  Normalizat = 0.729828
  Prefactor  = 1.30217
 **********
 **   18 **HESSE 
 **********

 FCN=   5653.016     FROM HESSE     STATUS=OK           407 CALLS     3269 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9504        3.1806        .11700E-03   -1.5310    
   2  norm          .10000E-03    1.2927        .16324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5082        3.5447        .13532E-03   -1.5333    
   5  Prefactor     .10000E-03    14.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.996        65.383        .75732E-04   -1.4649    
   7  Prefactor     23.397        36.826        .82837E-04   -1.4740    
   8  Prefactor     4.0773        43.074        .19976E-03   -1.5304    
   9  Prefactor     18.340        7.8805        .93532E-04   -1.4851    
  10  Prefactor     7.4407        7.3899        .14714E-03   -1.5162    
  11  Prefactor     .10046E-03    31.736        .14306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.565        8.1605        .98414E-04   -1.4894    
  13  Prefactor     1.9486        9.9673        .10174E-02   -1.5429    
  14  Prefactor     .10000E-03    15.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .18858        101.28        .20675E-02   -1.5621    
  16  norm          .10000E-03    5.1968        .16708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    170.47        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.841        23.301        .10054E-03   -1.4912    
  19  Prefactor     .10015E-03    31.830        .22374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.3700        4.6162        .28611E-03   -1.5474    
  21  Prefactor     2.1397        1.6376        .81465E-04   -1.5415    
  22  Prefactor     .10000E-03    8.6413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .72983        .19228        .25802E-03   -1.0273    
  24  Prefactor     1.3022        .21317        .23233E-03   -.83243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56873e-08
Minuit parameter uncertainties:
  1  3.18078
  2  9.98827e-06
  3  0.000133791
  4  3.54489
  5  0.000104028
  6  65.5508
  7  36.8617
  8  26.5288
  9  7.88099
  10  7.39083
  11  0.00764531
  12  8.16102
  13  8.81636
  14  5.85523e-05
  15  8.75302
  16  9.021e-06
  17  0.00248089
  18  23.3147
  19  0.00443242
  20  4.61744
  21  1.6376
  22  1.90496e-05
  23  0.192457
  24  0.213315
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.005e-04  7.645e-03  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.302e+00  2.133e-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.298e-01  1.925e-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: 7.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654863/likelihoodResults_304905601_305164801_4FGL_J1001.1+2911_daily_bin253.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) = 5653.01657395
delta logL = -0.00015481713308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5652.91450277
delta logL = 0.1019163597

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86161       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4506       1.0000          .0000       10.000    
     3 'Normalizat'    .73171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2939       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5652.915     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      308 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86125        8.1849        .12668E-01    .10441E-02
   2  Index         1.4507        1.5281        .30397       -.50887E-04
   3  Normalizat    .73175        .15640        .42712E-01    .19090E-04
   4  Prefactor     1.2939        .18668        .52687E-01    .12514E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.861251
  Index      = 1.45072
  Normalizat = 0.731753
  Prefactor  = 1.29388
 **********
 **   18 **HESSE 
 **********

 FCN=   5652.915     FROM HESSE     STATUS=OK            33 CALLS      341 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86125        2.1762        .16617E-03   -1.5522    
   2  Index         1.4507        .95229        .13114E-01   -.78929    
   3  Normalizat    .73175        .17876        .25769E-03   -1.0265    
   4  Prefactor     1.2939        .21037        .23294E-03   -.83489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09714e-12
Minuit parameter uncertainties:
  1  2.17637
  2  0.964297
  3  0.178902
  4  0.210506
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654863': 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) = 5652.91450272
delta logL = 0.101916414739

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  8.613e-01  2.176e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.451e+00  9.643e-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.294e+00  2.105e-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.318e-01  1.789e-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/654863/cmap_HighResolution_304905601_305164801_4FGL_J1001.1+2911_daily_bin253.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.55e-03', job_status='DONE', photon_flux_upper_limit='7.25e-08', time_completed='2021-09-01 10:01:01.735882', job_id='654863', GAL2='1.29', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1630515661.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='1.02e-01', ts2='0.21', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='253' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:01:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 654863: <4FGL_J1001.1+2911_daily_bin253> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin253 150.294 29.188 304905601 305164801 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 :                                   651.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            888 sec.

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

