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


Performing analysis on: 4FGL_J2254.8-2725_daily_bin1453
RA = 343.718, Dec = -27.4171
tmin = 615945601, tmax = 616204801
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='587793', job_status='RUN', time_executed='2021-09-29 02:34:26.599456', time_epoch_executed='1632908066.6' WHERE source_name='4FGL J2254.8-2725' and cadence='daily' and bin_id='1453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/587793

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/587793/ft1_4FGL_J2254.8-2725_daily_bin1453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/587793/ft1_4FGL_J2254.8-2725_daily_bin1453.fits outfile=/scratch/kocevski/587793/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin1453.fits ra=343.718 dec=-27.4171 rad=12.0 tmin=615945601.0 tmax=616204801.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.15
user 2.91
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.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/587793/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin1453.fits evtable="EVENTS" outfile="/scratch/kocevski/587793/ft1_filtered_4FGL_J2254.8-2725_daily_bin1453.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.40
user 0.25
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/587793/ft1_filtered_4FGL_J2254.8-2725_daily_bin1453.fits" evtable="EVENTS" scfile=/scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits sctable="SC_DATA" outfile=/scratch/kocevski/587793/ltcube_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.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/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits
.....................!
real 8.55
user 8.27
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/587793/ft1_filtered_4FGL_J2254.8-2725_daily_bin1453.fits evtable="EVENTS" scfile=/scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits sctable="SC_DATA" expcube=/scratch/kocevski/587793/ltcube_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.fits outfile=/scratch/kocevski/587793/expmap_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.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/587793/ltcube_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.fits
.....................!
real 141.62
user 138.26
sys 3.13

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

Setting source of interest to:
4FGL J2254.8-2725 @ 343.718 -27.4171

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/587793/ft1_filtered_4FGL_J2254.8-2725_daily_bin1453.fits scfile=/scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits outfile=/scratch/kocevski/587793/cmap_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.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=343.718 yref=-27.4171 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.43
user 0.29
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/587793/ft1_filtered_4FGL_J2254.8-2725_daily_bin1453.fits scfile=/scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits outfile=/scratch/kocevski/587793/cmap_HighResolution_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.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=343.718 yref=-27.4171 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.44
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/587793/ft1_filtered_4FGL_J2254.8-2725_daily_bin1453.fits evtable="EVENTS" scfile=/scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/587793/Model_4FGL_J2254.8-2725_daily_bin1453.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/587793/ft1_filtered_4FGL_J2254.8-2725_daily_bin1453.fits.....................!
real 37.95
user 36.93
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/587793/ft1_filtered_4FGL_J2254.8-2725_daily_bin1453.fits', '/scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits', expMap='/scratch/kocevski/587793/expmap_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.fits', expCube='/scratch/kocevski/587793/ltcube_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/587793/Model_4FGL_J2254.8-2725_daily_bin1453.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2254.8-2725'

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.706e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.012e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  4.538e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/587793/ft1_filtered_4FGL_J2254.8-2725_daily_bin1453.fits
Spacecraft file(s): /scratch/kocevski/587793/ft2_4FGL_J2254.8-2725_daily_bin1453.fits
Exposure map: /scratch/kocevski/587793/expmap_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.fits
Exposure cube: /scratch/kocevski/587793/ltcube_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/587793/Model_4FGL_J2254.8-2725_daily_bin1453.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) = 6353.75147047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.0446       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.5302       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .81752       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2256       1.0000         .10000E-03   10000.    
     9 'norm      '    3.1492       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .97532E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .81737       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .57000       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.5623       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.052       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99929       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95696       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6353.649     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2518 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1481        .10831E-07** at limit **
   2  Prefactor     .10000E-03    2.3797       -.25610E-07** at limit **
   3  norm          7.0431        12.413       -.21334E-07    .44722E-04
   4  Prefactor     2.5305        21.499       -.96988E-07    .17027E-04
   5  Prefactor     .10000E-03    3.0874        .12392E-08** at limit **
   6  norm          .81650        1.5104       -.14222E-07   -.23067E-03
   7  Prefactor     .10000E-03    16.189        .21387E-07** at limit **
   8  Prefactor     7.2235        8.1357       -.13594E-06   -.27724E-03
   9  norm          3.1449        2.7616        .90347E-08   -.83134E-03
  10  Prefactor     .10000E-03    5.1274       -.67926E-08** at limit **
  11  Prefactor     .16371        4.5050       -.26652E-07   -.30589E-03
  12  norm          .81503        .53477        .54090E-08   -.35050E-02
  13  Prefactor     .10000E-03    14.618        .45655E-07** at limit **
  14  Prefactor     .54303        8.3383       -.43109E-07   -.28431E-03
  15  Prefactor     .10000E-03    10.708       -.44405E-07** at limit **
  16  norm          .10000E-03    8.6347       -.89911E-10** at limit **
  17  Prefactor     .10000E-03    51.440       -.47556E-07** at limit **
  18  norm          2.5620        1.1230       -.26200E-06   -.11209E-02
  19  Prefactor     13.054        22.195        .35634E-06   -.65824E-03
  20  Prefactor     .10000E-03    33.595       -.18662E-07** at limit **
  21  Normalizat    .99902        .16139        .92250E-07   -.53762E-03
  22  Prefactor     .95718        .15774        .31175E-07   -.42424E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.04308
  Prefactor  = 2.53051
  Prefactor  = 0.0001
  norm       = 0.816505
  Prefactor  = 0.0001
  Prefactor  = 7.22349
  norm       = 3.14491
  Prefactor  = 0.0001
  Prefactor  = 0.163711
  norm       = 0.815029
  Prefactor  = 0.000100001
  Prefactor  = 0.543033
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.56195
  Prefactor  = 13.0538
  Prefactor  = 0.0001
  Normalizat = 0.99902
  Prefactor  = 0.957177
 **********
 **   18 **HESSE 
 **********

 FCN=   6353.649     FROM HESSE     STATUS=OK           342 CALLS     2860 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1539        .17663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.3857        .12006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.0431        12.384        .15114E-03   -1.5177    
   4  Prefactor     2.5305        21.564        .25679E-03   -1.5390    
   5  Prefactor     .10000E-03    3.0930        .13677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .81650        1.2384        .12820E-02   -1.5527    
   7  Prefactor     .10000E-03    16.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.2235        8.5476        .74611E-03   -1.5170    
   9  norm          3.1449        2.8108        .11671E-03   -1.5353    
  10  Prefactor     .10000E-03    5.1344        .17611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16371        121.89        .27004E-02   -1.5627    
  12  norm          .81503        .64846        .39683E-04   -1.5527    
  13  Prefactor     .10000E-03    14.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .54303        46.164        .44491E-02   -1.5561    
  15  Prefactor     .10000E-03    10.934        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.8241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    51.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.5620        2.9677        .68669E-03   -1.5388    
  19  Prefactor     13.054        22.717        .11087E-03   -1.4985    
  20  Prefactor     .10000E-03    33.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99902        .19791        .22679E-03   -.93063    
  22  Prefactor     .95718        .19110        .23058E-03   -.94171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80929e-09
Minuit parameter uncertainties:
  1  4.69248e-05
  2  6.38475e-05
  3  12.3887
  4  14.7809
  5  8.1368e-06
  6  1.23847
  7  0.000150063
  8  8.54901
  9  2.81087
  10  1.99029e-05
  11  8.94985
  12  0.648466
  13  0.000294556
  14  10.0207
  15  0.000210182
  16  3.41127e-05
  17  0.000451992
  18  2.96792
  19  22.7318
  20  0.000154447
  21  0.198055
  22  0.191232
Done.

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

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  1.990e-05  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.012e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
326        Scale:  4.538e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.572e-01  1.912e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.990e-01  1.981e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 343.718 -27.417
Photon Flux Upper Limit: 4.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/587793/likelihoodResults_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.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): 102
logL (Free Index) = 6353.64955687
delta logL = -0.000927344261072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6353.64863437
delta logL = -4.84214888274e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6353.649     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      197 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .13285        .90712E-02** at limit **
   2  Index         1.9878        5.9019        .50000        .18889E-04
   3  Normalizat    .99902        .62199E-03    .46152E-01    .79805E-05
   4  Prefactor     .95718        .62356E-03    .45729E-01    .81019E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.98778
  Normalizat = 0.999022
  Prefactor  = 0.957177
 **********
 **   18 **HESSE 
 **********

 FCN=   6353.649     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      230 TOTAL
                     EDM=   .74E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7371        .17721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9878        5.5452        .50000       -.64656    
   3  Normalizat    .99902        .40834E-02    .22679E-03   -.93063    
   4  Prefactor     .95718        .40937E-02    .23058E-03   -.94171    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.41797e-07
Minuit parameter uncertainties:
  1  1.61115e-05
  2  181.641
  3  0.00408345
  4  0.00409375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/587793': 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): 102
logL (Free Index) = 6353.64862941
delta logL = 1.16440787679e-07

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  1.611e-05  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  1.988e+00  1.816e+02  0.000e+00  1.000e+01 (-1.000e+00)
326        Scale:  4.538e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.572e-01  4.094e-03  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.990e-01  4.083e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 343.718 -27.417

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/587793/cmap_HighResolution_615945601_616204801_4FGL_J2254.8-2725_daily_bin1453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-03', job_status='DONE', photon_flux_upper_limit='4.57e-08', time_completed='2021-09-29 02:43:44.593684', job_id='587793', GAL2='0.96', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1632908624.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.16e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1453' AND source_name='4FGL J2254.8-2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:43:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 587793: <4FGL_J2254.8-2725_daily_bin1453> in cluster <slac> Done

Job <4FGL_J2254.8-2725_daily_bin1453> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 02:30:28 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:30:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:30:29 2021
Terminated at Wed Sep 29 02:43:45 2021
Results reported at Wed Sep 29 02:43:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2254.8-2725_daily_bin1453 343.718 -27.4171 615945601 616204801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2254.8-2725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   472.48 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             234.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            797 sec.

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

