/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 239 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 = 7459
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0011.4+0057_daily_bin1650
RA = 2.8551, Dec = 0.9646
tmin = 667008001, tmax = 667267201
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='308609', job_status='RUN', time_executed='2022-02-23 00:09:54.635205', time_epoch_executed='1645603794.64' WHERE source_name='4FGL J0011.4+0057' and cadence='daily' and bin_id='1650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/308609

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/308609/ft1_4FGL_J0011.4+0057_daily_bin1650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/308609/ft1_4FGL_J0011.4+0057_daily_bin1650.fits outfile=/scratch/kocevski/308609/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1650.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=667008001.0 tmax=667267201.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.08
user 2.85
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.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/308609/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1650.fits evtable="EVENTS" outfile="/scratch/kocevski/308609/ft1_filtered_4FGL_J0011.4+0057_daily_bin1650.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/308609/ft1_filtered_4FGL_J0011.4+0057_daily_bin1650.fits" evtable="EVENTS" scfile=/scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits sctable="SC_DATA" outfile=/scratch/kocevski/308609/ltcube_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.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/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits
.....................!
real 16.98
user 16.62
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/308609/ft1_filtered_4FGL_J0011.4+0057_daily_bin1650.fits evtable="EVENTS" scfile=/scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits sctable="SC_DATA" expcube=/scratch/kocevski/308609/ltcube_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.fits outfile=/scratch/kocevski/308609/expmap_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.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/308609/ltcube_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.fits
.....................!
real 192.66
user 187.48
sys 4.48

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 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0011.4+0057 @ 2.8551 0.9646

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/308609/ft1_filtered_4FGL_J0011.4+0057_daily_bin1650.fits scfile=/scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits outfile=/scratch/kocevski/308609/cmap_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.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=2.8551 yref=0.9646 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.58
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/308609/ft1_filtered_4FGL_J0011.4+0057_daily_bin1650.fits scfile=/scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits outfile=/scratch/kocevski/308609/cmap_HighResolution_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.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=2.8551 yref=0.9646 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.60
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/308609/ft1_filtered_4FGL_J0011.4+0057_daily_bin1650.fits evtable="EVENTS" scfile=/scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/308609/Model_4FGL_J0011.4+0057_daily_bin1650.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/308609/ft1_filtered_4FGL_J0011.4+0057_daily_bin1650.fits.....................!
real 55.56
user 54.08
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/308609/ft1_filtered_4FGL_J0011.4+0057_daily_bin1650.fits', '/scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits', expMap='/scratch/kocevski/308609/expmap_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.fits', expCube='/scratch/kocevski/308609/ltcube_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/308609/Model_4FGL_J0011.4+0057_daily_bin1650.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0011.4+0057'

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.882e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/308609/ft1_filtered_4FGL_J0011.4+0057_daily_bin1650.fits
Spacecraft file(s): /scratch/kocevski/308609/ft2_4FGL_J0011.4+0057_daily_bin1650.fits
Exposure map: /scratch/kocevski/308609/expmap_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.fits
Exposure cube: /scratch/kocevski/308609/ltcube_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/308609/Model_4FGL_J0011.4+0057_daily_bin1650.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) = 4984.60912437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7771       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .41769E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.6555       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.352       1.0000         .10000E-03   10000.    
     7 'norm      '    .21540E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.7899       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.3942       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.1265       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    33.887       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.947       1.0000         .10000E-03   10000.    
    17 'norm      '    .10620E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    39.483       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1049       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .77999       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4984.576     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2753 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.627        .29750E-06** at limit **
   2  Prefactor     .10000E-03    24.015        .43560E-08** at limit **
   3  Prefactor     5.7772        10.970        .79379E-07   -.14714E-05
   4  Prefactor     .10000E-03    6.9212       -.29598E-06** at limit **
   5  norm          2.6552        2.7176       -.90378E-08   -.82250E-05
   6  Prefactor     29.311        21.031       -.11434E-06    .47326E-04
   7  norm          .10000E-03    4.7368        .68272E-07** at limit **
   8  norm          5.7907        5.0539        .10627E-06   -.59300E-04
   9  Prefactor     .10000E-03    6.4547       -.80757E-07** at limit **
  10  norm          7.3936        9.1620        .21473E-05   -.63484E-04
  11  Prefactor     8.1277        3.3612        .21561E-07   -.16450E-04
  12  Prefactor     .10000E-03    4.3138       -.25489E-08** at limit **
  13  Prefactor     .10000E-03    75.718       -.33646E-06** at limit **
  14  Prefactor     .10001E-03    197.00       -.15901E-05** at limit **
  15  Prefactor     33.891        29.461        .18851E-05   -.20021E-04
  16  Prefactor     17.945        23.207        .54054E-07    .13286E-05
  17  norm          .10000E-03    125.51        .10149E-05** at limit **
  18  Prefactor     .10000E-03    7.3927       -.74181E-07** at limit **
  19  Prefactor     .10000E-03    16.352       -.13562E-06** at limit **
  20  Prefactor     .10000E-03    11.534       -.20494E-07** at limit **
  21  Prefactor     39.485        31.051        .16809E-09    .18954E-05
  22  Prefactor     .10000E-03    12.976        .16445E-06** at limit **
  23  Normalizat    1.1044        .23149       -.62066E-06    .26634E-04
  24  Prefactor     .78021        .15588       -.25131E-07   -.82110E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.7772
  Prefactor  = 0.000100001
  norm       = 2.65523
  Prefactor  = 29.3113
  norm       = 0.0001
  norm       = 5.79073
  Prefactor  = 0.0001
  norm       = 7.39362
  Prefactor  = 8.12767
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 33.8914
  Prefactor  = 17.9448
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.4852
  Prefactor  = 0.0001
  Normalizat = 1.10442
  Prefactor  = 0.780212
 **********
 **   18 **HESSE 
 **********

 FCN=   4984.576     FROM HESSE     STATUS=OK           397 CALLS     3150 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.7772        10.951        .16710E-03   -1.5227    
   4  Prefactor     .10000E-03    20.911        .34569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.6552        2.7053        .11119E-03   -1.5382    
   6  Prefactor     29.311        20.538        .73951E-04   -1.4625    
   7  norm          .10000E-03    4.8687        .29753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.7907        5.0492        .14076E-03   -1.5227    
   9  Prefactor     .10000E-03    6.4868        .17512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.3936        9.1724        .73747E-03   -1.5164    
  11  Prefactor     8.1277        3.3698        .79114E-04   -1.5138    
  12  Prefactor     .10000E-03    4.4325        .28612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    75.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    197.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     33.891        29.319        .68838E-04   -1.4543    
  16  Prefactor     17.945        23.209        .94543E-04   -1.4860    
  17  norm          .10000E-03    125.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.4198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    11.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     39.485        31.124        .63790E-04   -1.4450    
  22  Prefactor     .10000E-03    13.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1044        .26888        .28094E-03   -.89610    
  24  Prefactor     .78021        .18115        .23327E-03   -1.0046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03581e-10
Minuit parameter uncertainties:
  1  5.40788e-05
  2  7.43514e-06
  3  10.9548
  4  0.000240465
  5  2.70547
  6  20.5433
  7  2.04988e-06
  8  5.04953
  9  1.29645e-07
  10  9.17409
  11  3.36983
  12  1.56754e-06
  13  0.000293466
  14  0.00225403
  15  29.3313
  16  23.2204
  17  0.000579661
  18  3.45606e-05
  19  5.72593e-05
  20  8.82494e-06
  21  31.1366
  22  2.86139e-05
  23  0.269218
  24  0.181287
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  5.777e+00  1.095e+01  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.802e-01  1.813e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.104e+00  2.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.44
Ra Dec: 2.855 0.965
Photon Flux Upper Limit: 9.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/308609/likelihoodResults_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.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) = 4984.57570164
delta logL = 0.000522123653354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4984.57555575
delta logL = 0.00066801691537

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4984.576     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      226 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5737        536.42        .42510E-02    .23067E-03
   2  Index         2.3901        5.5575        .23924        .91966E-05
   3  Normalizat    1.1034        .10146        .63538E-01    .64720E-06
   4  Prefactor     .78065        .52374E-01    .43464E-01   -.17399E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.57368
  Index      = 2.39014
  Normalizat = 1.10344
  Prefactor  = 0.780647
 **********
 **   18 **HESSE 
 **********

 FCN=   4984.576     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5737        12.625        .17004E-03   -1.5236    
   2  Index         2.3901        1.5781        .14753E-01   -.54916    
   3  Normalizat    1.1034        .25359        .28105E-03   -.89641    
   4  Prefactor     .78065        .17990        .23321E-03   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07934e-10
Minuit parameter uncertainties:
  1  12.6311
  2  1.61656
  3  0.253874
  4  0.180036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/308609': 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) = 4984.57554633
delta logL = 0.00067743589625

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  5.574e+00  1.263e+01  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.390e+00  1.617e+00  0.000e+00  1.000e+01 (-1.000e+00)
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.806e-01  1.800e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.103e+00  2.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
Ra Dec: 2.855 0.965

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/308609/cmap_HighResolution_667008001_667267201_4FGL_J0011.4+0057_daily_bin1650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.65e-03', job_status='DONE', photon_flux_upper_limit='9.94e-08', time_completed='2022-02-23 00:20:00.781594', job_id='308609', GAL2='0.78', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1645604400.78', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='6.77e-04', ts2='0.44', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1650' AND source_name='4FGL J0011.4+0057' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 23 00:20:00 PST 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 308608: <4FGL_J0011.4+0057_daily_bin1650> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1650> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Feb 23 00:05:27 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 23 00:05:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 23 00:05:43 2022
Terminated at Wed Feb 23 00:17:32 2022
Results reported at Wed Feb 23 00:17:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1650 2.8551 0.9646 667008001 667267201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0011.4+0057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   605.38 sec.
    Max Memory :                                 782 MB
    Average Memory :                             275.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            725 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 308609: <4FGL_J0011.4+0057_daily_bin1650> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1650> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 23 00:05:27 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 23 00:05:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 23 00:05:43 2022
Terminated at Wed Feb 23 00:20:01 2022
Results reported at Wed Feb 23 00:20:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1650 2.8551 0.9646 667008001 667267201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0011.4+0057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   608.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             218.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            874 sec.

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

