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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1299
RA = 238.931, Dec = 11.1884
tmin = 576028801, tmax = 576288001
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='864870', job_status='RUN', time_executed='2021-09-12 22:17:31.449112', time_epoch_executed='1631510251.45' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1299'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864870

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864870/ft1_4FGL_J1555.7+1111_daily_bin1299.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864870/ft1_4FGL_J1555.7+1111_daily_bin1299.fits outfile=/scratch/kocevski/864870/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1299.fits ra=238.931 dec=11.1884 rad=12.0 tmin=576028801.0 tmax=576288001.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.72
user 3.47
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.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/864870/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1299.fits evtable="EVENTS" outfile="/scratch/kocevski/864870/ft1_filtered_4FGL_J1555.7+1111_daily_bin1299.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864870/ft1_filtered_4FGL_J1555.7+1111_daily_bin1299.fits" evtable="EVENTS" scfile=/scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits sctable="SC_DATA" outfile=/scratch/kocevski/864870/ltcube_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.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/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits
.....................!
real 14.68
user 14.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864870/ft1_filtered_4FGL_J1555.7+1111_daily_bin1299.fits evtable="EVENTS" scfile=/scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits sctable="SC_DATA" expcube=/scratch/kocevski/864870/ltcube_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.fits outfile=/scratch/kocevski/864870/expmap_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.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/864870/ltcube_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.fits
.....................!
real 192.82
user 187.31
sys 4.76

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

Setting source of interest to:
4FGL J1555.7+1111 @ 238.931 11.1884

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/864870/ft1_filtered_4FGL_J1555.7+1111_daily_bin1299.fits scfile=/scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits outfile=/scratch/kocevski/864870/cmap_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.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=238.931 yref=11.1884 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864870/ft1_filtered_4FGL_J1555.7+1111_daily_bin1299.fits scfile=/scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits outfile=/scratch/kocevski/864870/cmap_HighResolution_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.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=238.931 yref=11.1884 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.59
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864870/ft1_filtered_4FGL_J1555.7+1111_daily_bin1299.fits evtable="EVENTS" scfile=/scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864870/Model_4FGL_J1555.7+1111_daily_bin1299.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/864870/ft1_filtered_4FGL_J1555.7+1111_daily_bin1299.fits.....................!
real 75.28
user 73.81
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/864870/ft1_filtered_4FGL_J1555.7+1111_daily_bin1299.fits', '/scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits', expMap='/scratch/kocevski/864870/expmap_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.fits', expCube='/scratch/kocevski/864870/ltcube_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/864870/Model_4FGL_J1555.7+1111_daily_bin1299.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1555.7+1111'

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  3.843e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.541e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/864870/ft1_filtered_4FGL_J1555.7+1111_daily_bin1299.fits
Spacecraft file(s): /scratch/kocevski/864870/ft2_4FGL_J1555.7+1111_daily_bin1299.fits
Exposure map: /scratch/kocevski/864870/expmap_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.fits
Exposure cube: /scratch/kocevski/864870/ltcube_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/864870/Model_4FGL_J1555.7+1111_daily_bin1299.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) = 9854.08346577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5597       1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.268       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .33484       1.0000         .10000E-03   10000.    
     6 'norm      '    .13853       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9510       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    15.349       1.0000         .10000E-03   10000.    
    12 'norm      '    7.3170       1.0000         .10000E-03   10000.    
    13 'norm      '    7.8133       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    31.226       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12647E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5062       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80463       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9854.078     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2300 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5561        121.85        .36402E-05    .49574E-05
   2  Prefactor     41.276        36.875       -.23079E-05   -.25267E-03
   3  Prefactor     .10000E-03    1.0648       -.96669E-07** at limit **
   4  Prefactor     .10000E-03    17.100        .55279E-06** at limit **
   5  Prefactor     .12335        15.019        .17223E-06   -.58495E-04
   6  norm          .14192        1.3290       -.54885E-07   -.24298E-03
   7  Prefactor     2.9535        3.6457        .20024E-06   -.21299E-03
   8  Prefactor     .10000E-03    8.8032       -.19224E-06** at limit **
   9  norm          .10000E-03    1.2328       -.12343E-06** at limit **
  10  Prefactor     .10000E-03    28.596       -.34902E-06** at limit **
  11  norm          15.349        8.7791       -.16635E-06   -.74488E-04
  12  norm          7.3169        2.0175       -.50795E-07   -.25927E-03
  13  norm          7.8134        9.2849        .13948E-05   -.49248E-03
  14  norm          .10000E-03    42.485        .17145E-05** at limit **
  15  Prefactor     .10000E-03    4.8381       -.28346E-07** at limit **
  16  Prefactor     .10000E-03    37.435       -.25026E-05** at limit **
  17  Prefactor     .10000E-03    9.0291       -.26694E-06** at limit **
  18  Prefactor     31.226        14.221       -.11253E-07   -.21847E-03
  19  Prefactor     .10003E-03    4.8798        .58779E-06** at limit **
  20  Normalizat    1.5057        .21959        .51050E-06   -.15359E-03
  21  Prefactor     .80493        .96018E-01   -.43622E-06   -.12097E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.55606
  Prefactor  = 41.2762
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.123348
  norm       = 0.141918
  Prefactor  = 2.95355
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.3491
  norm       = 7.31686
  norm       = 7.81337
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 31.2262
  Prefactor  = 0.000100032
  Normalizat = 1.50567
  Prefactor  = 0.80493
 **********
 **   18 **HESSE 
 **********

 FCN=   9854.078     FROM HESSE     STATUS=OK           327 CALLS     2627 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5561        123.75        .34075E-03   -1.5458    
   2  Prefactor     41.276        39.280        .62400E-04   -1.4422    
   3  Prefactor     .10000E-03    1.0706        .10011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12335        16.944        .12642       -1.5638    
   6  norm          .14192        4.1322        .22263E-02   -1.5633    
   7  Prefactor     2.9535        3.6648        .20054E-03   -1.5364    
   8  Prefactor     .10000E-03    8.8114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.2428        .10769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    28.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          15.349        8.7517        .10223E-03   -1.4924    
  12  norm          7.3169        2.0187        .71370E-04   -1.5167    
  13  norm          7.8134        10.625        .71726E-03   -1.5149    
  14  norm          .10000E-03    43.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.8502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    38.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.0447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     31.226        13.454        .71703E-04   -1.4590    
  19  Prefactor     .10003E-03    32.207        .38934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5057        .26653        .32774E-03   -.77619    
  21  Prefactor     .80493        .11579        .19210E-03   -.99547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36703e-08
Minuit parameter uncertainties:
  1  27.8124
  2  39.3046
  3  4.19438e-06
  4  0.000105065
  5  2.891
  6  1.53115
  7  3.66506
  8  1.89413e-05
  9  5.52852e-06
  10  7.19388e-05
  11  8.75243
  12  2.01868
  13  10.628
  14  0.000436192
  15  3.45575e-06
  16  0.000606298
  17  3.25494e-05
  18  13.4556
  19  0.00204697
  20  0.266776
  21  0.115829
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  7.317e+00  2.019e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.541e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  8.049e-01  1.158e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.506e+00  2.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 88.06
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 9.02e-08 +/- 2.49e-08
Energy Flux (Fixed Index): 2.04e-04 +/- 5.64e-05

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) = 9853.26673387
delta logL = 0.811007958133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9853.22794572
delta logL = 0.849796113274

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7421       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2797       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5199       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80514       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9853.228     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7419        1.9129        .38633E-02   -.15383E-03
   2  alpha         1.2797        .17950        .18387       -.32356E-04
   3  Normalizat    1.5198        .20979        .73818E-01    .12009E-04
   4  Prefactor     .80515        .93884E-01    .43784E-01    .13825E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.74191
  alpha      = 1.2797
  Normalizat = 1.51983
  Prefactor  = 0.805146
 **********
 **   18 **HESSE 
 **********

 FCN=   9853.228     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7419        2.0754        .71046E-04   -1.5189    
   2  alpha         1.2797        .19945        .79309E-02   -.50993    
   3  Normalizat    1.5198        .25341        .32664E-03   -.77223    
   4  Prefactor     .80515        .11361        .19223E-03   -.99539    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4464e-10
Minuit parameter uncertainties:
  1  2.07546
  2  0.199727
  3  0.253625
  4  0.113639
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864870': 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) = 9853.22794569
delta logL = 0.849796144224

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.742e+00  2.075e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.280e+00  1.997e-01  0.000e+00  5.000e+00 ( 1.000e+00)
267         beta:  6.792e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
268           Eb:  1.802e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
525    Prefactor:  8.051e-01  1.136e-01  0.000e+00  1.000e+01 ( 1.000e+00)
526        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
527        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
524   Normalization:  1.520e+00  2.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 89.80
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.28 +/- 0.20
Photon Flux (Free Index): 6.70e-08 +/- 2.41e-08
Energy Flux (Free Index): 3.18e-04 +/- 1.39e-04

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/864870/cmap_HighResolution_576028801_576288001_4FGL_J1555.7+1111_daily_bin1299.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.02e-08', energy_flux2='3.18e-04', photon_flux_error='2.49e-08', dlogl='8.50e-01', energy_flux='2.04e-04', photon_flux2='6.70e-08', job_status='DONE', time_completed='2021-09-12 22:29:06.010877', photon_index_error2='0.20', photon_index2='1.28', ts='88.06', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.39e-04', EG='1.51', time_epoch_completed='1631510946.01', return_code='0', job_id='864870', GAL2='0.81', EG2='1.52', return_code2='0', energy_flux_error='5.64e-05', photon_flux_error2='2.41e-08', ts2='89.80', photon_index='1.54' WHERE bin_id='1299' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:29:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 864870: <4FGL_J1555.7+1111_daily_bin1299> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1299> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 22:15:31 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:17:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 22:17:16 2021
Terminated at Sun Sep 12 22:29:06 2021
Results reported at Sun Sep 12 22:29:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1299 238.931 11.1884 576028801 576288001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1555.7+1111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   687.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             378.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            815 sec.

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

