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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin120
RA = 150.294, Dec = 29.188
tmin = 270432001, tmax = 270691201
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='654630', job_status='RUN', time_executed='2021-09-01 09:47:53.390788', time_epoch_executed='1630514873.39' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='120'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654630

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654630/ft1_4FGL_J1001.1+2911_daily_bin120.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654630/ft2_4FGL_J1001.1+2911_daily_bin120.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654630/ft1_4FGL_J1001.1+2911_daily_bin120.fits outfile=/scratch/kocevski/654630/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin120.fits ra=150.294 dec=29.188 rad=12.0 tmin=270432001.0 tmax=270691201.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.67
user 1.48
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654630/ft2_4FGL_J1001.1+2911_daily_bin120.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/654630/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin120.fits evtable="EVENTS" outfile="/scratch/kocevski/654630/ft1_filtered_4FGL_J1001.1+2911_daily_bin120.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.51
user 0.32
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654630/ft1_filtered_4FGL_J1001.1+2911_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/654630/ft2_4FGL_J1001.1+2911_daily_bin120.fits sctable="SC_DATA" expcube=/scratch/kocevski/654630/ltcube_270432001_270691201_4FGL_J1001.1+2911_daily_bin120.fits outfile=/scratch/kocevski/654630/expmap_270432001_270691201_4FGL_J1001.1+2911_daily_bin120.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/654630/ltcube_270432001_270691201_4FGL_J1001.1+2911_daily_bin120.fits
.....................!
real 192.11
user 186.38
sys 4.93

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/654630/ft1_filtered_4FGL_J1001.1+2911_daily_bin120.fits scfile=/scratch/kocevski/654630/ft2_4FGL_J1001.1+2911_daily_bin120.fits outfile=/scratch/kocevski/654630/cmap_270432001_270691201_4FGL_J1001.1+2911_daily_bin120.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.64
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654630/ft1_filtered_4FGL_J1001.1+2911_daily_bin120.fits scfile=/scratch/kocevski/654630/ft2_4FGL_J1001.1+2911_daily_bin120.fits outfile=/scratch/kocevski/654630/cmap_HighResolution_270432001_270691201_4FGL_J1001.1+2911_daily_bin120.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.94
user 0.40
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .60673       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 '    17.943       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.926       1.0000         .10000E-03   10000.    
     8 'Prefactor '    61.977       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11575E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.7713       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .39570       1.0000         .10000E-03   10000.    
    12 'norm      '    21.200       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12219E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3330       1.0000         .10000E-03   10000.    
    16 'norm      '    13.426       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.5319       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.3048       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.1941       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2588       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0277       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=   8408.689     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2755 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2111       -.13240E-07** at limit **
   2  norm          .60673        .67610       -.10057E-07    .39662E-05
   3  Prefactor     .10000E-03    40.243        .20132E-05** at limit **
   4  Prefactor     .10000E-03    1.1200       -.12655E-08** at limit **
   5  Prefactor     17.942        23.447       -.58565E-06    .72071E-05
   6  Prefactor     .10000E-03    66.168       -.18481E-05** at limit **
   7  Prefactor     31.922        35.201       -.38182E-05   -.10389E-05
   8  Prefactor     61.971        48.558       -.53524E-05    .29659E-05
   9  Prefactor     .10000E-03    4.1144       -.34504E-07** at limit **
  10  Prefactor     7.7725        7.4797       -.52214E-07   -.14685E-03
  11  Prefactor     .39595        1.3605       -.10470E-06   -.20517E-03
  12  norm          21.201        8.7041       -.80161E-07   -.23996E-04
  13  Prefactor     .10000E-03    1.6746        .13900E-07** at limit **
  14  Prefactor     .10000E-03    11.894       -.44605E-05** at limit **
  15  Prefactor     3.3399        2.5327        .10729E-06   -.13684E-02
  16  norm          13.425        10.636       -.22648E-06   -.69958E-05
  17  Prefactor     .10000E-03    13.991        .56910E-05** at limit **
  18  Prefactor     .10000E-03    15.216        .27583E-05** at limit **
  19  Prefactor     7.5305        5.7334       -.58523E-06   -.59449E-04
  20  Prefactor     4.3030        5.8664       -.10783E-07   -.58865E-03
  21  Prefactor     1.1941        2.1074       -.13730E-06   -.11182E-03
  22  Prefactor     .10000E-03    16.280       -.57396E-05** at limit **
  23  Normalizat    1.2591        .16076        .96549E-06   -.26752E-04
  24  Prefactor     1.0274        .16776        .80496E-07    .71699E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.606733
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.9419
  Prefactor  = 0.0001
  Prefactor  = 31.922
  Prefactor  = 61.9708
  Prefactor  = 0.0001
  Prefactor  = 7.77247
  Prefactor  = 0.395951
  norm       = 21.2007
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 3.33989
  norm       = 13.4254
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.53049
  Prefactor  = 4.30301
  Prefactor  = 1.19414
  Prefactor  = 0.0001
  Normalizat = 1.25906
  Prefactor  = 1.02745
 **********
 **   18 **HESSE 
 **********

 FCN=   8408.689     FROM HESSE     STATUS=OK           401 CALLS     3156 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3186        .26627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .60673        .67265        .77648E-04   -1.5552    
   3  Prefactor     .10000E-03    40.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.1287        .94726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.942        23.527        .94553E-04   -1.4861    
   6  Prefactor     .10000E-03    66.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     31.922        35.228        .70914E-04   -1.4577    
   8  Prefactor     61.971        48.668        .50969E-04   -1.4132    
   9  Prefactor     .10000E-03    4.3112        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.7725        7.4956        .71922E-03   -1.5150    
  11  Prefactor     .39595        1.3429        .19124E-03   -1.5582    
  12  norm          21.201        8.7127        .43496E-03   -1.4787    
  13  Prefactor     .10000E-03    10.321        .21775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3399        4.5551        .10545E-02   -1.5342    
  16  norm          13.425        10.641        .10931E-03   -1.4975    
  17  Prefactor     .10000E-03    13.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.5305        5.7595        .14613E-03   -1.5159    
  20  Prefactor     4.3030        6.4787        .97083E-03   -1.5293    
  21  Prefactor     1.1941        2.0650        .16406E-03   -1.5489    
  22  Prefactor     .10000E-03    16.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2591        .19685        .24031E-03   -.84797    
  24  Prefactor     1.0274        .20220        .28448E-03   -.91820    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60859e-09
Minuit parameter uncertainties:
  1  3.31073e-06
  2  0.672661
  3  2.18422e-05
  4  1.56611e-06
  5  23.5393
  6  3.72565e-05
  7  35.2512
  8  48.6992
  9  2.88187e-06
  10  7.49646
  11  1.34299
  12  8.71322
  13  0.000289199
  14  5.70013e-06
  15  4.55559
  16  10.643
  17  1.81679e-06
  18  2.02433e-05
  19  5.75993
  20  6.47974
  21  2.06512
  22  1.04114e-05
  23  0.196967
  24  0.202353
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  3.960e-01  1.343e+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:  1.027e+00  2.024e-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.259e+00  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/654630/likelihoodResults_270432001_270691201_4FGL_J1001.1+2911_daily_bin120.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) = 8408.68252749
delta logL = 0.00612434247705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8408.68181134
delta logL = 0.00684049003212

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44566       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1039       1.0000          .0000       10.000    
     3 'Normalizat'    1.2601       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0265       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=   8408.682     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      262 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44805        1.4622        .19529E-03   -.25056E-03
   2  Index         2.1045        1.3386        .10289E-01   -.15367E-04
   3  Normalizat    1.2601        .18465        .24023E-03   -.20823E-04
   4  Prefactor     1.0265        .20083        .28459E-03   -.10386E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.448054
  Index      = 2.10449
  Normalizat = 1.26009
  Prefactor  = 1.02653
 **********
 **   18 **HESSE 
 **********

 FCN=   8408.682     FROM HESSE     STATUS=OK            23 CALLS      285 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44805        1.4497        .78115E-05   -1.5574    
   2  Index         2.1045        1.3281        .41157E-03   -.61763    
   3  Normalizat    1.2601        .18483        .96090E-05   -.84766    
   4  Prefactor     1.0265        .20102        .11384E-04   -.91850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.23674e-11
Minuit parameter uncertainties:
  1  1.44984
  2  1.35275
  3  0.184927
  4  0.201163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654630': 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) = 8408.68180978
delta logL = 0.00684205599646

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.481e-01  1.450e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.104e+00  1.353e+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:  1.027e+00  2.012e-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.260e+00  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 150.294 29.188

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/654630/cmap_HighResolution_270432001_270691201_4FGL_J1001.1+2911_daily_bin120.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.66e-08', time_completed='2021-09-01 10:01:25.673825', job_id='654630', GAL2='1.03', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630515685.67', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='6.84e-03', ts2='0.12', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='120' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:01:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 654630: <4FGL_J1001.1+2911_daily_bin120> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin120 150.294 29.188 270432001 270691201 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 :                                   801.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

