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


Performing analysis on: 4FGL_J1555.7+1111_daily_bin1452
RA = 238.931, Dec = 11.1884
tmin = 615686401, tmax = 615945601
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='866195', job_status='RUN', time_executed='2021-09-12 22:23:54.283140', time_epoch_executed='1631510634.28' WHERE source_name='4FGL J1555.7+1111' and cadence='daily' and bin_id='1452'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866195

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866195/ft1_4FGL_J1555.7+1111_daily_bin1452.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866195/ft2_4FGL_J1555.7+1111_daily_bin1452.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866195/ft1_4FGL_J1555.7+1111_daily_bin1452.fits outfile=/scratch/kocevski/866195/ft1_filteredMKT_4FGL_J1555.7+1111_daily_bin1452.fits ra=238.931 dec=11.1884 rad=12.0 tmin=615686401.0 tmax=615945601.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.50
user 3.22
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866195/ft1_filtered_4FGL_J1555.7+1111_daily_bin1452.fits" evtable="EVENTS" scfile=/scratch/kocevski/866195/ft2_4FGL_J1555.7+1111_daily_bin1452.fits sctable="SC_DATA" outfile=/scratch/kocevski/866195/ltcube_615686401_615945601_4FGL_J1555.7+1111_daily_bin1452.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/866195/ft2_4FGL_J1555.7+1111_daily_bin1452.fits
.....................!
real 13.58
user 13.04
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866195/ft1_filtered_4FGL_J1555.7+1111_daily_bin1452.fits evtable="EVENTS" scfile=/scratch/kocevski/866195/ft2_4FGL_J1555.7+1111_daily_bin1452.fits sctable="SC_DATA" expcube=/scratch/kocevski/866195/ltcube_615686401_615945601_4FGL_J1555.7+1111_daily_bin1452.fits outfile=/scratch/kocevski/866195/expmap_615686401_615945601_4FGL_J1555.7+1111_daily_bin1452.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/866195/ltcube_615686401_615945601_4FGL_J1555.7+1111_daily_bin1452.fits
.....................!
real 193.10
user 186.39
sys 4.67

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/866195/ft1_filtered_4FGL_J1555.7+1111_daily_bin1452.fits scfile=/scratch/kocevski/866195/ft2_4FGL_J1555.7+1111_daily_bin1452.fits outfile=/scratch/kocevski/866195/cmap_615686401_615945601_4FGL_J1555.7+1111_daily_bin1452.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866195/ft1_filtered_4FGL_J1555.7+1111_daily_bin1452.fits scfile=/scratch/kocevski/866195/ft2_4FGL_J1555.7+1111_daily_bin1452.fits outfile=/scratch/kocevski/866195/cmap_HighResolution_615686401_615945601_4FGL_J1555.7+1111_daily_bin1452.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866195/ft1_filtered_4FGL_J1555.7+1111_daily_bin1452.fits evtable="EVENTS" scfile=/scratch/kocevski/866195/ft2_4FGL_J1555.7+1111_daily_bin1452.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866195/Model_4FGL_J1555.7+1111_daily_bin1452.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/866195/ft1_filtered_4FGL_J1555.7+1111_daily_bin1452.fits.....................!
real 59.06
user 57.24
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8719       1.0000         .10000E-03   10000.    
     8 'Prefactor '    20.663       1.0000         .10000E-03   10000.    
     9 'norm      '    3.5429       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .23589E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.3388       1.0000         .10000E-03   10000.    
    13 'norm      '    19.057       1.0000         .10000E-03   10000.    
    14 'norm      '    33.956       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .77371       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1977       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7680.865     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1841 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.473        .23035E-04** at limit **
   2  Prefactor     .10000E-03    9.8995       -.21529E-05** at limit **
   3  Prefactor     .10000E-03    1.9942        .86496E-07** at limit **
   4  Prefactor     .10000E-03    12.641       -.87610E-05** at limit **
   5  Prefactor     .10000E-03    39.641       -.30334E-04** at limit **
   6  norm          .10000E-03    3.5635        .13714E-06** at limit **
   7  Prefactor     1.8710        4.5710        .38570E-06    .18122E-03
   8  Prefactor     20.655        2.3103       -.14339E-05    .10508E-02
   9  norm          3.5427        5.5743        .49733E-05    .20747E-03
  10  Prefactor     .10000E-03    27.894        .21235E-04** at limit **
  11  norm          .10000E-03    25.354        .70269E-05** at limit **
  12  norm          6.3381        2.1807        .12603E-06    .36733E-04
  13  norm          19.056        1.0016       -.33784E-07    .95398E-05
  14  norm          33.955        1.0451       -.17749E-06    .28016E-03
  15  Prefactor     .10000E-03    3.3791        .51743E-07** at limit **
  16  Prefactor     .10000E-03    112.00       -.30531E-04** at limit **
  17  Prefactor     .10000E-03    11.917        .85871E-05** at limit **
  18  Prefactor     .10000E-03    3.8183       -.64742E-06** at limit **
  19  Prefactor     .10000E-03    1.6651        .47023E-07** at limit **
  20  Normalizat    .77367        .27371       -.10593E-05    .24846E-04
  21  Prefactor     1.1976        .13498       -.95204E-07    .79152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.87105
  Prefactor  = 20.6548
  norm       = 3.54271
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 6.33813
  norm       = 19.0565
  norm       = 33.9552
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.773667
  Prefactor  = 1.19764
 **********
 **   18 **HESSE 
 **********

 FCN=   7680.865     FROM HESSE     STATUS=OK           361 CALLS     2202 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    57.124        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.8907        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.9632        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.626        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    39.459        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.7203        .38694E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8710        4.6298        .76101E-02   -1.5434    
   8  Prefactor     20.655        36.043        .22028E-02   -1.4799    
   9  norm          3.5427        5.6437        .53686E-02   -1.5332    
  10  Prefactor     .10000E-03    56.284        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    5.1024        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.3381        2.2095        .39857E-02   -1.5204    
  13  norm          19.056        13.053        .22937E-02   -1.4835    
  14  norm          33.955        72.418        .17192E-02   -1.4542    
  15  Prefactor     .10000E-03    3.3702        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    111.93        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.904        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.8012        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.6646        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .77367        .24533        .93249E-01   -1.0105    
  21  Prefactor     1.1976        .11805        .34686E-01   -.86404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06021e-08
Minuit parameter uncertainties:
  1  0.000883037
  2  4.55072e-05
  3  3.30843e-06
  4  3.79813e-05
  5  0.000120758
  6  3.80526e-06
  7  4.6307
  8  36.0807
  9  5.64457
  10  0.000714702
  11  8.10299e-05
  12  2.20948
  13  13.055
  14  72.6061
  15  2.89298e-06
  16  0.000741484
  17  3.4311e-05
  18  5.30391e-06
  19  1.85564e-06
  20  0.24568
  21  0.118073
Done.

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

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.338e+00  2.209e+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:  1.198e+00  1.181e-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:  7.737e-01  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 45.84
Ra Dec: 238.931 11.188
Photon Index (Fixed Index): 1.54 +/- 0.00
Photon Flux (Fixed Index): 7.81e-08 +/- 2.72e-08
Energy Flux (Fixed Index): 1.77e-04 +/- 6.17e-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) = 7680.81790047
delta logL = 0.046913932305

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7680.80786626
delta logL = 0.0569481391785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3159       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6260       1.0000          .0000       5.0000    
     3 'Normalizat'    .76750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1981       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=   7680.808     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      199 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3159        3.8079        .39930E-02   -.23427E-03
   2  alpha         1.6260        .41072        .20328        .30784E-04
   3  Normalizat    .76751        .24307        .93571E-01    .45884E-04
   4  Prefactor     1.1981        .11806        .34676E-01   -.11659E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.31586
  alpha      = 1.62599
  Normalizat = 0.767506
  Prefactor  = 1.19812
 **********
 **   18 **HESSE 
 **********

 FCN=   7680.808     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3159        2.1518        .72302E-04   -1.5205    
   2  alpha         1.6260        .25084        .82925E-02   -.35715    
   3  Normalizat    .76751        .27298        .41454E-03   -1.0129    
   4  Prefactor     1.1981        .13444        .16588E-03   -.86389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9532e-10
Minuit parameter uncertainties:
  1  2.15187
  2  0.251317
  3  0.27347
  4  0.134478
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866195': 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) = 7680.80786626
delta logL = 0.0569481449074

Extracting fit parameters...

4FGL J1555.7+1111
   Spectrum: LogParabola
265         norm:  6.316e+00  2.152e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        alpha:  1.626e+00  2.513e-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:  1.198e+00  1.345e-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:  7.675e-01  2.735e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 45.95
Ra Dec: 238.931 11.188
Photon Index (Free Index): 1.63 +/- 0.25
Photon Flux (Free Index): 8.61e-08 +/- 3.73e-08
Energy Flux (Free Index): 1.54e-04 +/- 8.25e-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/866195/cmap_HighResolution_615686401_615945601_4FGL_J1555.7+1111_daily_bin1452.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.81e-08', energy_flux2='1.54e-04', photon_flux_error='2.72e-08', dlogl='5.69e-02', energy_flux='1.77e-04', photon_flux2='8.61e-08', job_status='DONE', time_completed='2021-09-12 22:33:48.081300', photon_index_error2='0.25', photon_index2='1.63', ts='45.84', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='8.25e-05', EG='0.77', time_epoch_completed='1631511228.08', return_code='0', job_id='866195', GAL2='1.20', EG2='0.77', return_code2='0', energy_flux_error='6.17e-05', photon_flux_error2='3.73e-08', ts2='45.95', photon_index='1.54' WHERE bin_id='1452' AND source_name='4FGL J1555.7+1111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 22:33:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 866195: <4FGL_J1555.7+1111_daily_bin1452> in cluster <slac> Done

Job <4FGL_J1555.7+1111_daily_bin1452> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 22:20:23 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 22:20:48 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:20:48 2021
Terminated at Sun Sep 12 22:33:48 2021
Results reported at Sun Sep 12 22:33:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1555.7+1111_daily_bin1452 238.931 11.1884 615686401 615945601 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 :                                   572.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             232.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            805 sec.

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

