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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin94
RA = 238.931, Dec = 11.1884
tmin = 263692801, tmax = 263952001
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='847193', job_status='RUN', time_executed='2021-09-12 21:18:52.455909', time_epoch_executed='1631506732.46' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='94'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847193

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847193/ft1_4FGL_J1555.7+1111_daily_bin94.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847193/ft2_4FGL_J1555.7+1111_daily_bin94.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847193/ft1_4FGL_J1555.7+1111_daily_bin94.fits outfile=/scratch/kocevski/847193/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin94.fits ra=238.931 dec=11.1884 rad=12.0 tmin=263692801.0 tmax=263952001.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.69
user 1.48
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847193/ft2_4FGL_J1555.7+1111_daily_bin94.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/847193/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin94.fits evtable="EVENTS" outfile="/scratch/kocevski/847193/ft1_filtered_4FGL_J1555.7+1111_daily_bin94.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/847193/ft1_filtered_4FGL_J1555.7+1111_daily_bin94.fits" evtable="EVENTS" scfile=/scratch/kocevski/847193/ft2_4FGL_J1555.7+1111_daily_bin94.fits sctable="SC_DATA" outfile=/scratch/kocevski/847193/ltcube_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.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/847193/ft2_4FGL_J1555.7+1111_daily_bin94.fits
.....................!
real 15.68
user 15.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847193/ft1_filtered_4FGL_J1555.7+1111_daily_bin94.fits evtable="EVENTS" scfile=/scratch/kocevski/847193/ft2_4FGL_J1555.7+1111_daily_bin94.fits sctable="SC_DATA" expcube=/scratch/kocevski/847193/ltcube_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.fits outfile=/scratch/kocevski/847193/expmap_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.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/847193/ltcube_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.fits
.....................!
real 191.30
user 186.08
sys 4.73

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/847193/ft1_filtered_4FGL_J1555.7+1111_daily_bin94.fits scfile=/scratch/kocevski/847193/ft2_4FGL_J1555.7+1111_daily_bin94.fits outfile=/scratch/kocevski/847193/cmap_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.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/847193/ft1_filtered_4FGL_J1555.7+1111_daily_bin94.fits scfile=/scratch/kocevski/847193/ft2_4FGL_J1555.7+1111_daily_bin94.fits outfile=/scratch/kocevski/847193/cmap_HighResolution_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/847193/ft1_filtered_4FGL_J1555.7+1111_daily_bin94.fits evtable="EVENTS" scfile=/scratch/kocevski/847193/ft2_4FGL_J1555.7+1111_daily_bin94.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/847193/Model_4FGL_J1555.7+1111_daily_bin94.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/847193/ft1_filtered_4FGL_J1555.7+1111_daily_bin94.fits.....................!
real 89.44
user 88.01
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/847193/ft1_filtered_4FGL_J1555.7+1111_daily_bin94.fits', '/scratch/kocevski/847193/ft2_4FGL_J1555.7+1111_daily_bin94.fits', expMap='/scratch/kocevski/847193/expmap_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.fits', expCube='/scratch/kocevski/847193/ltcube_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/847193/Model_4FGL_J1555.7+1111_daily_bin94.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/847193/ft1_filtered_4FGL_J1555.7+1111_daily_bin94.fits
Spacecraft file(s): /scratch/kocevski/847193/ft2_4FGL_J1555.7+1111_daily_bin94.fits
Exposure map: /scratch/kocevski/847193/expmap_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.fits
Exposure cube: /scratch/kocevski/847193/ltcube_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/847193/Model_4FGL_J1555.7+1111_daily_bin94.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) = 12163.5844518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    39.716       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.3955       1.0000         .10000E-03   10000.    
     6 'norm      '    4.2060       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10260E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    60.567       1.0000         .10000E-03   10000.    
    11 'norm      '    24.411       1.0000         .10000E-03   10000.    
    12 'norm      '    4.3207       1.0000         .10000E-03   10000.    
    13 'norm      '    16.677       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6690       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.6061       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.6855       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86648       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=   12163.55     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2297 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.081        .25561E-06** at limit **
   2  Prefactor     39.597        37.876        .37928E-06    .21170E-05
   3  Prefactor     .10000E-03    1.9056       -.20231E-07** at limit **
   4  Prefactor     .10000E-03    17.017        .16618E-06** at limit **
   5  Prefactor     3.3984        14.455        .16351E-05   -.49562E-05
   6  norm          4.2057        2.7542        .31975E-07   -.18689E-04
   7  Prefactor     .10000E-03    1.9661        .25833E-07** at limit **
   8  Prefactor     .10000E-03    10.692       -.52452E-07** at limit **
   9  norm          .10000E-03    2.3105        .17875E-06** at limit **
  10  Prefactor     60.545        45.293       -.62098E-05   -.58304E-05
  11  norm          24.404        10.359       -.24027E-06   -.13266E-06
  12  norm          4.3210        1.5329        .34492E-07    .35812E-04
  13  norm          16.673        11.389        .83392E-07   -.28337E-04
  14  norm          .10000E-03    33.488       -.94868E-06** at limit **
  15  Prefactor     1.6657        2.7840        .71137E-07   -.26224E-03
  16  Prefactor     .10000E-03    23.001       -.30967E-09** at limit **
  17  Prefactor     .10000E-03    75.327       -.12084E-05** at limit **
  18  Prefactor     .10000E-03    6.9382       -.58734E-07** at limit **
  19  Prefactor     9.6098        7.0929        .65556E-06    .52542E-05
  20  Normalizat    1.6869        .21270        .28743E-06   -.13129E-04
  21  Prefactor     .86589        .92233E-01   -.19129E-07    .25248E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 39.597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.3984
  norm       = 4.20567
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 60.5455
  norm       = 24.4036
  norm       = 4.32103
  norm       = 16.6731
  norm       = 0.0001
  Prefactor  = 1.66571
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.6098
  Normalizat = 1.68695
  Prefactor  = 0.865889
 **********
 **   18 **HESSE 
 **********

 FCN=   12163.55     FROM HESSE     STATUS=OK           315 CALLS     2612 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.597        38.534        .63603E-04   -1.4449    
   3  Prefactor     .10000E-03    1.9559        .29726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3984        14.424        .21956E-03   -1.5339    
   6  norm          4.2057        2.7482        .14074E-03   -1.5298    
   7  Prefactor     .10000E-03    2.0091        .15089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.3807        .32704E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     60.545        45.322        .51556E-04   -1.4150    
  11  norm          24.404        10.381        .81075E-04   -1.4720    
  12  norm          4.3210        1.5338        .78454E-04   -1.5292    
  13  norm          16.673        11.417        .49037E-03   -1.4891    
  14  norm          .10000E-03    33.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6657        24.843        .16317E-02   -1.5450    
  16  Prefactor     .10000E-03    23.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    77.306        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.0396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.6098        7.1029        .12930E-03   -1.5088    
  20  Normalizat    1.6869        .26167        .33860E-03   -.72652    
  21  Prefactor     .86589        .11246        .20167E-03   -.97343    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45855e-10
Minuit parameter uncertainties:
  1  4.39252e-07
  2  38.5585
  3  7.00945e-07
  4  3.63714e-06
  5  14.008
  6  2.74823
  7  1.27735e-06
  8  5.83052e-07
  9  1.25408e-06
  10  45.3475
  11  10.382
  12  1.53378
  13  11.4187
  14  1.62731e-06
  15  12.8717
  16  2.8218e-06
  17  6.87496e-05
  18  1.73554e-05
  19  7.10348
  20  0.261883
  21  0.112491
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.321e+00  1.534e+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.659e-01  1.125e-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.687e+00  2.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 52.70
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 5.32e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 1.21e-04 +/- 4.29e-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) = 12163.4826923
delta logL = 0.0692386388655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12163.4679164
delta logL = 0.0840145041275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0935       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4151       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86557       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=   12163.47     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0938        1.4992        .49815E-02   -.18883E-03
   2  alpha         1.4154        .26040        .29796       -.60342E-04
   3  Normalizat    1.6932        .20370        .76429E-01    .97620E-05
   4  Prefactor     .86559        .91033E-01    .44565E-01    .37460E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.09381
  alpha      = 1.41536
  Normalizat = 1.69316
  Prefactor  = 0.865594
 **********
 **   18 **HESSE 
 **********

 FCN=   12163.47     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0938        1.6067        .77955E-04   -1.5303    
   2  alpha         1.4154        .30195        .12078E-01   -.44877    
   3  Normalizat    1.6932        .24364        .33819E-03   -.72486    
   4  Prefactor     .86559        .10930        .10088E-02   -.97354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06791e-12
Minuit parameter uncertainties:
  1  1.60671
  2  0.302863
  3  0.243817
  4  0.109327
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847193': 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) = 12163.467916
delta logL = 0.0840148929892

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  4.094e+00  1.607e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.415e+00  3.029e-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.656e-01  1.093e-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.693e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 52.93
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.42 +/- 0.30
Photon Flux (Free Index): 4.46e-08 +/- 2.44e-08
Energy Flux (Free Index): 1.44e-04 +/- 8.28e-05

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/847193/cmap_HighResolution_263692801_263952001_4FGL_J1555.7+1111_daily_bin94.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.32e-08', energy_flux2='1.44e-04', photon_flux_error='1.89e-08', dlogl='8.40e-02', energy_flux='1.21e-04', photon_flux2='4.46e-08', job_status='DONE', time_completed='2021-09-12 21:31:41.000155', photon_index_error2='0.30', photon_index2='1.42', ts='52.70', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='8.28e-05', EG='1.69', time_epoch_completed='1631507501.0', return_code='0', job_id='847193', GAL2='0.87', EG2='1.69', return_code2='0', energy_flux_error='4.29e-05', photon_flux_error2='2.44e-08', ts2='52.93', photon_index='1.54' WHERE bin_id='94' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 21:31:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 847193: <4FGL_J1555.7+1111_daily_bin94> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin94> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 12 21:15:21 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 21:15:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 21:15:39 2021
Terminated at Sun Sep 12 21:31:41 2021
Results reported at Sun Sep 12 21:31:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin94 238.931 11.1884 263692801 263952001 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 :                                   768.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            980 sec.

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

