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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1042
RA = 238.402, Dec = 12.9524
tmin = 509414401, tmax = 509673601
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='784332', job_status='RUN', time_executed='2021-09-12 17:33:07.644547', time_epoch_executed='1631493187.64' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1042'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784332

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784332/ft1_4FGL_J1553.6+1257_daily_bin1042.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784332/ft1_4FGL_J1553.6+1257_daily_bin1042.fits outfile=/scratch/kocevski/784332/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1042.fits ra=238.402 dec=12.9524 rad=12.0 tmin=509414401.0 tmax=509673601.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.70
user 3.47
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.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/784332/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1042.fits evtable="EVENTS" outfile="/scratch/kocevski/784332/ft1_filtered_4FGL_J1553.6+1257_daily_bin1042.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.53
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784332/ft1_filtered_4FGL_J1553.6+1257_daily_bin1042.fits" evtable="EVENTS" scfile=/scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits sctable="SC_DATA" outfile=/scratch/kocevski/784332/ltcube_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.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/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits
.....................!
real 14.70
user 14.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784332/ft1_filtered_4FGL_J1553.6+1257_daily_bin1042.fits evtable="EVENTS" scfile=/scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits sctable="SC_DATA" expcube=/scratch/kocevski/784332/ltcube_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.fits outfile=/scratch/kocevski/784332/expmap_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.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/784332/ltcube_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.fits
.....................!
real 193.94
user 188.41
sys 4.38

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

Setting source of interest to:
4FGL J1553.6+1257 @ 238.402 12.9524

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/784332/ft1_filtered_4FGL_J1553.6+1257_daily_bin1042.fits scfile=/scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits outfile=/scratch/kocevski/784332/cmap_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.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.402 yref=12.9524 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784332/ft1_filtered_4FGL_J1553.6+1257_daily_bin1042.fits scfile=/scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits outfile=/scratch/kocevski/784332/cmap_HighResolution_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.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.402 yref=12.9524 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/784332/ft1_filtered_4FGL_J1553.6+1257_daily_bin1042.fits evtable="EVENTS" scfile=/scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/784332/Model_4FGL_J1553.6+1257_daily_bin1042.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/784332/ft1_filtered_4FGL_J1553.6+1257_daily_bin1042.fits.....................!
real 59.35
user 58.05
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/784332/ft1_filtered_4FGL_J1553.6+1257_daily_bin1042.fits', '/scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits', expMap='/scratch/kocevski/784332/expmap_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.fits', expCube='/scratch/kocevski/784332/ltcube_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/784332/Model_4FGL_J1553.6+1257_daily_bin1042.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1553.6+1257'

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  5.777e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/784332/ft1_filtered_4FGL_J1553.6+1257_daily_bin1042.fits
Spacecraft file(s): /scratch/kocevski/784332/ft2_4FGL_J1553.6+1257_daily_bin1042.fits
Exposure map: /scratch/kocevski/784332/expmap_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.fits
Exposure cube: /scratch/kocevski/784332/ltcube_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/784332/Model_4FGL_J1553.6+1257_daily_bin1042.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) = 7710.5496319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.898       1.0000         .10000E-03   10000.    
     2 'Prefactor '    61.175       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9318       1.0000         .10000E-03   10000.    
     4 'Prefactor '    44.226       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5896       1.0000         .10000E-03   10000.    
     6 'norm      '    .12628E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2211       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1719       1.0000         .10000E-03   10000.    
    10 'Prefactor '    144.71       1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.2333       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    20.735       1.0000         .10000E-03   10000.    
    15 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.9991       1.0000         .10000E-03   10000.    
    17 'Prefactor '    86.418       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .93936       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98916       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7710.536     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2233 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.782        53.159       -.14198E-04   -.79257E-04
   2  Prefactor     61.155        64.183       -.95279E-06   -.31552E-04
   3  Prefactor     6.9380        35.541       -.17550E-06    .14981E-04
   4  Prefactor     44.228        35.827       -.77502E-07    .62150E-05
   5  Prefactor     2.6415        169.55       -.22492E-04   -.47273E-04
   6  norm          .10000E-03    .95121        .47005E-07** at limit **
   7  Prefactor     5.2242        6.8462       -.69908E-06   -.31429E-03
   8  Prefactor     .10000E-03    24.195        .16770E-06** at limit **
   9  norm          1.1626        5.2968        .76309E-05   -.14681E-03
  10  Prefactor     144.73        79.495       -.10921E-05   -.24880E-04
  11  norm          .10000E-03    2.4576        .97827E-07** at limit **
  12  norm          4.2331        1.8810        .73393E-08   -.11061E-03
  13  Prefactor     .10000E-03    4.4276        .91860E-07** at limit **
  14  norm          20.733        16.547       -.21106E-06   -.36627E-04
  15  norm          .10000E-03    142.89        .29089E-05** at limit **
  16  Prefactor     1.9921        10.679        .93110E-06   -.48795E-04
  17  Prefactor     86.413        37.429       -.10411E-06   -.26847E-04
  18  Prefactor     .10000E-03    3.8610        .52868E-07** at limit **
  19  Prefactor     .10000E-03    3.6684        .70569E-07** at limit **
  20  Normalizat    .93939        .25556        .42260E-05   -.25997E-03
  21  Prefactor     .98917        .11512       -.19781E-05    .11084E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.782
  Prefactor  = 61.1554
  Prefactor  = 6.938
  Prefactor  = 44.2277
  Prefactor  = 2.64147
  norm       = 0.0001
  Prefactor  = 5.22419
  Prefactor  = 0.0001
  norm       = 1.16263
  Prefactor  = 144.734
  norm       = 0.0001
  norm       = 4.2331
  Prefactor  = 0.0001
  norm       = 20.7327
  norm       = 0.0001
  Prefactor  = 1.99207
  Prefactor  = 86.413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.939386
  Prefactor  = 0.989171
 **********
 **   18 **HESSE 
 **********

 FCN=   7710.536     FROM HESSE     STATUS=OK           319 CALLS     2552 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.782        53.907        .10744E-03   -1.4965    
   2  Prefactor     61.155        64.223        .51300E-04   -1.4142    
   3  Prefactor     6.9380        36.005        .15238E-03   -1.5181    
   4  Prefactor     44.228        35.869        .60285E-04   -1.4377    
   5  Prefactor     2.6415        169.81        .25357E-03   -1.5383    
   6  norm          .10000E-03    10.084        .16634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.2242        6.7669        .17592E-03   -1.5251    
   8  Prefactor     .10000E-03    24.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1626        5.4321        .35016E-03   -1.5492    
  10  Prefactor     144.73        79.500        .16747E-03   -1.3296    
  11  norm          .10000E-03    2.4634        .13441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.2331        1.8818        .77772E-04   -1.5296    
  13  Prefactor     .10000E-03    4.4520        .18043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          20.733        16.549        .87960E-04   -1.4797    
  15  norm          .10000E-03    143.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.9921        10.682        .29293E-03   -1.5426    
  17  Prefactor     86.413        37.439        .43216E-04   -1.3846    
  18  Prefactor     .10000E-03    3.8694        .16848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.6806        .16424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .93939        .29944        .37991E-03   -.95090    
  21  Prefactor     .98917        .13631        .17870E-03   -.93091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17817e-09
Minuit parameter uncertainties:
  1  54.0989
  2  64.2958
  3  31.6399
  4  35.8862
  5  42.484
  6  9.99454e-05
  7  6.76785
  8  8.75011e-06
  9  5.02669
  10  79.5586
  11  2.61887e-06
  12  1.88181
  13  4.81485e-06
  14  16.5528
  15  0.000445305
  16  9.22825
  17  37.4489
  18  2.97837e-07
  19  5.52552e-07
  20  0.299975
  21  0.136355
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  2.619e-06  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  9.892e-01  1.364e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  9.394e-01  3.000e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 5.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/784332/likelihoodResults_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.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) = 7710.5380944
delta logL = -0.0019293477626

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7710.53616507
delta logL = -9.24956111703e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7710.536     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      231 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    37.736        .13454E-02** at limit **
   2  alpha         2.1031        3.4260        .16533       -.59548E-07
   3  Normalizat    .93939        .27337        .37990E-03    .69607E-04
   4  Prefactor     .98917        .13272        .17870E-03    .15884E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.10307
  Normalizat = 0.939394
  Prefactor  = 0.989168
 **********
 **   18 **HESSE 
 **********

 FCN=   7710.536     FROM HESSE     STATUS=OK            23 CALLS      254 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5127        .26909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1031        3.9462        .66133E-02   -.15945    
   3  Normalizat    .93939        .27359        .15196E-04   -.95089    
   4  Prefactor     .98917        .13283        .35740E-04   -.93091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02383e-11
Minuit parameter uncertainties:
  1  9.56672e-06
  2  212.998
  3  0.273996
  4  0.132877
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784332': 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) = 7710.53616466
delta logL = 3.95959432353e-07

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  9.567e-06  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.103e+00  2.130e+02  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  9.892e-01  1.329e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  9.394e-01  2.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 238.402 12.952

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/784332/cmap_HighResolution_509414401_509673601_4FGL_J1553.6+1257_daily_bin1042.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-05', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2021-09-12 17:45:59.369181', job_id='784332', GAL2='0.99', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631493959.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.96e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1042' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:45:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 784332: <4FGL_J1553.6+1257_daily_bin1042> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1042> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 17:30:16 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:30:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 17:30:26 2021
Terminated at Sun Sep 12 17:46:00 2021
Results reported at Sun Sep 12 17:46:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1042 238.402 12.9524 509414401 509673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1553.6+1257 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   651.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            944 sec.

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

