/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 78 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 = 7439
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin96
RA = 150.294, Dec = 29.188
tmin = 264211201, tmax = 264470401
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='654592', job_status='RUN', time_executed='2021-09-01 09:47:12.771391', time_epoch_executed='1630514832.77' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='96'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654592

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654592/ft1_4FGL_J1001.1+2911_daily_bin96.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654592/ft2_4FGL_J1001.1+2911_daily_bin96.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654592/ft1_4FGL_J1001.1+2911_daily_bin96.fits outfile=/scratch/kocevski/654592/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin96.fits ra=150.294 dec=29.188 rad=12.0 tmin=264211201.0 tmax=264470401.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 1.84
user 1.54
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654592/ft1_filtered_4FGL_J1001.1+2911_daily_bin96.fits evtable="EVENTS" scfile=/scratch/kocevski/654592/ft2_4FGL_J1001.1+2911_daily_bin96.fits sctable="SC_DATA" expcube=/scratch/kocevski/654592/ltcube_264211201_264470401_4FGL_J1001.1+2911_daily_bin96.fits outfile=/scratch/kocevski/654592/expmap_264211201_264470401_4FGL_J1001.1+2911_daily_bin96.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/654592/ltcube_264211201_264470401_4FGL_J1001.1+2911_daily_bin96.fits
.....................!
real 190.59
user 185.25
sys 4.06

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/654592/ft1_filtered_4FGL_J1001.1+2911_daily_bin96.fits scfile=/scratch/kocevski/654592/ft2_4FGL_J1001.1+2911_daily_bin96.fits outfile=/scratch/kocevski/654592/cmap_264211201_264470401_4FGL_J1001.1+2911_daily_bin96.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654592/ft1_filtered_4FGL_J1001.1+2911_daily_bin96.fits scfile=/scratch/kocevski/654592/ft2_4FGL_J1001.1+2911_daily_bin96.fits outfile=/scratch/kocevski/654592/cmap_HighResolution_264211201_264470401_4FGL_J1001.1+2911_daily_bin96.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0282       1.0000         .10000E-03   10000.    
     3 'Prefactor '    60.964       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5945       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.117       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.085       1.0000         .10000E-03   10000.    
     7 'Prefactor '    37.313       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.7341       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1767       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8140       1.0000         .10000E-03   10000.    
    12 'norm      '    10.849       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.6087       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.2549       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.5858       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.909       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0282       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89651       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=   5665.561     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2745 TOTAL
                     EDM=   .73E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4168        .68499E-07** at limit **
   2  norm          1.0282        .98516       -.98671E-08    .25235E-04
   3  Prefactor     60.953        58.396        .18544E-06   -.21234E-04
   4  Prefactor     4.5948        3.5478        .11509E-06   -.36608E-04
   5  Prefactor     30.115        24.999        .54043E-07   -.16377E-04
   6  Prefactor     21.081        44.013        .46629E-07   -.81352E-05
   7  Prefactor     37.310        35.518        .14502E-06   -.11383E-04
   8  Prefactor     6.6940        30.820       -.48020E-06   -.68965E-04
   9  Prefactor     6.1778        6.4511        .35934E-07   -.19323E-04
  10  Prefactor     .10000E-03    4.0280        .12026E-06** at limit **
  11  Prefactor     1.8140        2.3429        .23916E-06   -.12551E-04
  12  norm          10.849        8.6443        .99232E-06   -.43376E-04
  13  Prefactor     .10000E-03    1.7250        .18185E-07** at limit **
  14  Prefactor     .10000E-03    15.801       -.11234E-06** at limit **
  15  Prefactor     4.6090        4.3533        .23725E-06   -.47281E-04
  16  norm          .10000E-03    10.941        .33147E-06** at limit **
  17  Prefactor     .10000E-03    33.704        .25426E-06** at limit **
  18  Prefactor     .10000E-03    18.261        .27006E-06** at limit **
  19  Prefactor     2.2553        3.4019        .33319E-06   -.47117E-05
  20  Prefactor     9.5871        8.4317        .21397E-05    .90637E-04
  21  Prefactor     .10000E-03    1.2913       -.37602E-06** at limit **
  22  Prefactor     24.908        20.191        .73808E-07   -.12437E-05
  23  Normalizat    1.0280        .17659       -.64338E-06    .78413E-04
  24  Prefactor     .89666        .18856       -.60280E-06    .36959E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.02817
  Prefactor  = 60.9526
  Prefactor  = 4.59477
  Prefactor  = 30.1145
  Prefactor  = 21.081
  Prefactor  = 37.3099
  Prefactor  = 6.69399
  Prefactor  = 6.17779
  Prefactor  = 0.0001
  Prefactor  = 1.81401
  norm       = 10.8486
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.609
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.25534
  Prefactor  = 9.58705
  Prefactor  = 0.000100001
  Prefactor  = 24.9081
  Normalizat = 1.02805
  Prefactor  = 0.896662
 **********
 **   18 **HESSE 
 **********

 FCN=   5665.561     FROM HESSE     STATUS=OK           407 CALLS     3152 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4235        .87497E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0282        1.0160        .71178E-03   -1.5505    
   3  Prefactor     60.953        58.496        .51388E-04   -1.4145    
   4  Prefactor     4.5948        3.5440        .11864E-03   -1.5279    
   5  Prefactor     30.115        25.016        .73008E-04   -1.4610    
   6  Prefactor     21.081        44.021        .87229E-04   -1.4789    
   7  Prefactor     37.310        35.544        .65611E-04   -1.4486    
   8  Prefactor     6.6940        31.062        .15462E-03   -1.5190    
   9  Prefactor     6.1778        6.4394        .16153E-03   -1.5211    
  10  Prefactor     .10000E-03    4.0437        .14752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.8140        2.3200        .12346E-03   -1.5439    
  12  norm          10.849        8.5863        .60819E-03   -1.5049    
  13  Prefactor     .10000E-03    1.7384        .96257E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.6090        4.3505        .14253E-03   -1.5279    
  16  norm          .10000E-03    11.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    33.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.2553        3.3747        .16416E-03   -1.5408    
  20  Prefactor     9.5871        8.4648        .64717E-03   -1.5089    
  21  Prefactor     .10000E-03    5.1877        .16141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.908        20.190        .80263E-04   -1.4709    
  23  Normalizat    1.0280        .20446        .22434E-03   -.92097    
  24  Prefactor     .89666        .21895        .26602E-03   -.96258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01366e-10
Minuit parameter uncertainties:
  1  9.50679e-07
  2  1.01601
  3  58.5516
  4  3.54415
  5  25.0243
  6  44.0886
  7  35.5637
  8  28.8641
  9  6.44013
  10  2.44395e-06
  11  2.32008
  12  8.58723
  13  5.87674e-07
  14  5.77779e-05
  15  4.35077
  16  9.24216e-06
  17  1.62721e-05
  18  3.95575e-05
  19  3.37497
  20  8.46588
  21  0.000113437
  22  20.1958
  23  0.204619
  24  0.219161
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.814e+00  2.320e+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.967e-01  2.192e-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.028e+00  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.81
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 9.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654592/likelihoodResults_264211201_264470401_4FGL_J1001.1+2911_daily_bin96.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) = 5665.25214263
delta logL = 0.308962350777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5665.24689491
delta logL = 0.314210063316

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0835       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9233       1.0000          .0000       10.000    
     3 'Normalizat'    1.0061       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91115       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=   5665.247     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      236 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0836        22.307        .11546E-01    .88992E-03
   2  Index         2.9234        3.5234        .13247        .11041E-03
   3  Normalizat    1.0061        .44448E-01    .46243E-01    .86354E-05
   4  Prefactor     .91115        .49912E-01    .45147E-01    .12148E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08356
  Index      = 2.92335
  Normalizat = 1.0061
  Prefactor  = 0.91115
 **********
 **   18 **HESSE 
 **********

 FCN=   5665.247     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0836        2.1830        .73124E-04   -1.5500    
   2  Index         2.9234        1.0924        .68568E-02   -.42830    
   3  Normalizat    1.0061        .19533        .22644E-03   -.92826    
   4  Prefactor     .91115        .21589        .26407E-03   -.95753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15147e-08
Minuit parameter uncertainties:
  1  2.18313
  2  1.10318
  3  0.195469
  4  0.21609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654592': 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) = 5665.2468949
delta logL = 0.31421007136

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.084e+00  2.183e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.923e+00  1.103e+00  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  9.111e-01  2.161e-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.006e+00  1.955e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 150.294 29.188
Photon Index (Free Index): 2.92 +/- 1.10
Photon Flux (Free Index): 4.20e-08 +/- 4.11e-08
Energy Flux (Free Index): 8.72e-06 +/- 9.32e-06

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/654592/cmap_HighResolution_264211201_264470401_4FGL_J1001.1+2911_daily_bin96.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.25e-03', comment='SUCCESS', energy_flux2='8.72e-06', dlogl='3.14e-01', photon_flux2='4.20e-08', job_status='DONE', time_completed='2021-09-01 09:57:56.134232', photon_index_error2='1.10', photon_index2='2.92', ts='0.81', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.46e-08', energy_flux_error2='9.32e-06', EG='1.03', time_epoch_completed='1630515476.13', return_code='0', job_id='654592', GAL2='0.91', EG2='1.01', return_code2='0', photon_flux_error2='4.11e-08', ts2='1.46', photon_index='2.27' WHERE bin_id='96' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 09:57:56 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin96 150.294 29.188 264211201 264470401 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 :                                   636.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

