/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 5 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7670
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2254.8-2725_daily_bin101
RA = 343.718, Dec = -27.4171
tmin = 265507201, tmax = 265766401
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='581690', job_status='RUN', time_executed='2021-09-29 02:10:59.163376', time_epoch_executed='1632906659.16' WHERE source_name='4FGL J2254.8-2725' and cadence='daily' and bin_id='101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/581690

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/581690/ft1_4FGL_J2254.8-2725_daily_bin101.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/581690/ft2_4FGL_J2254.8-2725_daily_bin101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/581690/ft1_4FGL_J2254.8-2725_daily_bin101.fits outfile=/scratch/kocevski/581690/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin101.fits ra=343.718 dec=-27.4171 rad=12.0 tmin=265507201.0 tmax=265766401.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.53
user 1.35
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/581690/ft2_4FGL_J2254.8-2725_daily_bin101.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/581690/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin101.fits evtable="EVENTS" outfile="/scratch/kocevski/581690/ft1_filtered_4FGL_J2254.8-2725_daily_bin101.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.50
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/581690/ft1_filtered_4FGL_J2254.8-2725_daily_bin101.fits" evtable="EVENTS" scfile=/scratch/kocevski/581690/ft2_4FGL_J2254.8-2725_daily_bin101.fits sctable="SC_DATA" outfile=/scratch/kocevski/581690/ltcube_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.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/581690/ft2_4FGL_J2254.8-2725_daily_bin101.fits
.....................!
real 12.34
user 12.01
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/581690/ft1_filtered_4FGL_J2254.8-2725_daily_bin101.fits evtable="EVENTS" scfile=/scratch/kocevski/581690/ft2_4FGL_J2254.8-2725_daily_bin101.fits sctable="SC_DATA" expcube=/scratch/kocevski/581690/ltcube_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.fits outfile=/scratch/kocevski/581690/expmap_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.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/581690/ltcube_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.fits
.....................!
real 192.86
user 187.57
sys 4.84

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/581690/ft1_filtered_4FGL_J2254.8-2725_daily_bin101.fits scfile=/scratch/kocevski/581690/ft2_4FGL_J2254.8-2725_daily_bin101.fits outfile=/scratch/kocevski/581690/cmap_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/581690/ft1_filtered_4FGL_J2254.8-2725_daily_bin101.fits scfile=/scratch/kocevski/581690/ft2_4FGL_J2254.8-2725_daily_bin101.fits outfile=/scratch/kocevski/581690/cmap_HighResolution_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/581690/ft1_filtered_4FGL_J2254.8-2725_daily_bin101.fits evtable="EVENTS" scfile=/scratch/kocevski/581690/ft2_4FGL_J2254.8-2725_daily_bin101.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/581690/Model_4FGL_J2254.8-2725_daily_bin101.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/581690/ft1_filtered_4FGL_J2254.8-2725_daily_bin101.fits.....................!
real 48.42
user 47.12
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/581690/ft1_filtered_4FGL_J2254.8-2725_daily_bin101.fits', '/scratch/kocevski/581690/ft2_4FGL_J2254.8-2725_daily_bin101.fits', expMap='/scratch/kocevski/581690/expmap_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.fits', expCube='/scratch/kocevski/581690/ltcube_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/581690/Model_4FGL_J2254.8-2725_daily_bin101.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/581690/ft1_filtered_4FGL_J2254.8-2725_daily_bin101.fits
Spacecraft file(s): /scratch/kocevski/581690/ft2_4FGL_J2254.8-2725_daily_bin101.fits
Exposure map: /scratch/kocevski/581690/expmap_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.fits
Exposure cube: /scratch/kocevski/581690/ltcube_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/581690/Model_4FGL_J2254.8-2725_daily_bin101.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) = 6292.01904257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6723       1.0000         .10000E-03   10000.    
     3 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2973       1.0000         .10000E-03   10000.    
     6 'norm      '    3.3590       1.0000         .10000E-03   10000.    
     7 'Prefactor '    55.309       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.6490       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10643E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5749       1.0000         .10000E-03   10000.    
    12 'norm      '    .10143E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.828       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.686       1.0000         .10000E-03   10000.    
    16 'norm      '    35.416       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .15220       1.0000         .10000E-03   10000.    
    18 'norm      '    19.510       1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.657       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.416       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2652       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82748       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6291.982     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     2067 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    26.054        .43297E-04** at limit **
   2  Prefactor     4.6728        2.7747        .76726E-05    .53174E-02
   3  norm          .10002E-03    26.419       -.29674E-04** at limit **
   4  Prefactor     .10000E-03    19.265       -.55963E-05** at limit **
   5  Prefactor     1.2897        3.2368        .16638E-04    .57797E-03
   6  norm          3.3655        3.2122       -.18081E-05    .40719E-03
   7  Prefactor     55.234        11.501       -.77591E-06   -.21902E-02
   8  Prefactor     .10000E-03    3.0063       -.87435E-06** at limit **
   9  norm          6.6466        4.3473        .10898E-05    .62858E-05
  10  Prefactor     .10000E-03    10.578        .17238E-05** at limit **
  11  Prefactor     3.5475        11.775        .48400E-05    .11710E-03
  12  norm          .10000E-03    3.0582       -.33462E-05** at limit **
  13  Prefactor     41.782        7.2158       -.16362E-06   -.29549E-02
  14  Prefactor     .10000E-03    13.200        .15817E-05** at limit **
  15  Prefactor     12.683        15.540       -.14589E-04   -.17920E-03
  16  norm          35.414        4.2347       -.35954E-05    .22303E-02
  17  Prefactor     .13525E-03    6553.6       -.10668E-03** at limit **
  18  norm          19.509        5.0143       -.13630E-05    .78604E-03
  19  Prefactor     23.678        4.3553       -.30195E-05    .60801E-02
  20  Prefactor     10.433        2.7566        .74990E-07    .47269E-03
  21  Normalizat    1.2654        .23238        .20540E-04    .30933E-03
  22  Prefactor     .82740        .21642       -.11795E-04    .18883E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100044
  Prefactor  = 4.67276
  norm       = 0.000100018
  Prefactor  = 0.000100001
  Prefactor  = 1.28974
  norm       = 3.36545
  Prefactor  = 55.2344
  Prefactor  = 0.0001
  norm       = 6.64663
  Prefactor  = 0.0001
  Prefactor  = 3.54748
  norm       = 0.0001
  Prefactor  = 41.7822
  Prefactor  = 0.0001
  Prefactor  = 12.6832
  norm       = 35.4143
  Prefactor  = 0.00013525
  norm       = 19.5091
  Prefactor  = 23.6782
  Prefactor  = 10.4325
  Normalizat = 1.26535
  Prefactor  = 0.827402
 **********
 **   18 **HESSE 
 **********

 FCN=   6291.982     FROM HESSE     STATUS=OK           410 CALLS     2477 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    29.567        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.6728        7.8838        .46545E-02   -1.5276    
   3  norm          .10002E-03    30.215        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.082        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2897        29.046        .97056E-02   -1.5481    
   6  norm          3.3655        5.0341        .55202E-02   -1.5341    
   7  Prefactor     55.234        82.672        .13484E-02   -1.4220    
   8  Prefactor     .10000E-03    3.0011        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.6466        4.4091        .38905E-02   -1.5192    
  10  Prefactor     .10000E-03    10.566        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5475        13.390        .53436E-02   -1.5331    
  12  norm          .10000E-03    .43488        .27180E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     41.782        67.283        .15496E-02   -1.4414    
  14  Prefactor     .10000E-03    12.691        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.683        16.520        .28116E-02   -1.4996    
  16  norm          35.414        13.095        .16835E-02   -1.4517    
  17  Prefactor     .13525E-03    89.016        .14256       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          19.509        5.3146        .22669E-02   -1.4824    
  19  Prefactor     23.678        42.099        .20589E-02   -1.4734    
  20  Prefactor     10.433        258.58        .31038E-02   -1.5062    
  21  Normalizat    1.2654        .20480        .55850E-01   -.84607    
  22  Prefactor     .82740        .17957        .63709E-01   -.98726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06117e-07
Minuit parameter uncertainties:
  1  0.00228389
  2  7.88551
  3  0.00149269
  4  0.0002334
  5  12.2474
  6  5.03469
  7  82.8439
  8  1.06687e-05
  9  4.40927
  10  9.92323e-05
  11  13.4015
  12  1.86324e-05
  13  67.4057
  14  8.95354e-05
  15  16.5256
  16  13.0964
  17  0.112199
  18  5.31477
  19  42.1516
  20  104.386
  21  0.204931
  22  0.1797
Done.

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

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  9.923e-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:  8.274e-01  1.797e-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:  1.265e+00  2.049e-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: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.09e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/581690/likelihoodResults_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.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) = 6291.98213947
delta logL = -0.000449966559245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6291.98168943
delta logL = 7.45139914216e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9796       1.0000          .0000       10.000    
     3 'Normalizat'    1.2654       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82740       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6291.982     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      254 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10534E-03    .34297        .18142E-01** at limit **
   2  Index         1.7963        5.9059        .50000        .10749E-04
   3  Normalizat    1.2654        .76451E-03    .24697E-03    .15651E-05
   4  Prefactor     .82740        .72521E-03    .28180E-03    .38488E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105344
  Index      = 1.79633
  Normalizat = 1.26535
  Prefactor  = 0.827403
 **********
 **   18 **HESSE 
 **********

 FCN=   6291.982     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10534E-03    20.116        .27971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7963        5.8592        .50000       -.69545    
   3  Normalizat    1.2654        .58282E-02    .98786E-05   -.84607    
   4  Prefactor     .82740        .55286E-02    .11272E-04   -.98726    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.37384e-08
Minuit parameter uncertainties:
  1  0.020744
  2  171.521
  3  0.00582821
  4  0.00552858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/581690': 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) = 6291.98168877
delta logL = 7.32737134967e-07

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.053e-04  2.074e-02  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  1.796e+00  1.715e+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:  8.274e-01  5.529e-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:  1.265e+00  5.828e-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/581690/cmap_HighResolution_265507201_265766401_4FGL_J2254.8-2725_daily_bin101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.09e-03', job_status='DONE', photon_flux_upper_limit='6.78e-08', time_completed='2021-09-29 02:20:59.562349', job_id='581690', GAL2='0.83', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1632907259.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='7.33e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='101' AND source_name='4FGL J2254.8-2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:20:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 581690: <4FGL_J2254.8-2725_daily_bin101> in cluster <slac> Done

Job <4FGL_J2254.8-2725_daily_bin101> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep 29 02:10:45 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:10:46 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:10:46 2021
Terminated at Wed Sep 29 02:21:00 2021
Results reported at Wed Sep 29 02:21:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2254.8-2725_daily_bin101 343.718 -27.4171 265507201 265766401 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 :                                   598.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             379.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            615 sec.

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

