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

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


Waiting 183 seconds before starting...
Proceeding.

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

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

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

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

number of points = 7429
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2254.8-2725_daily_bin150
RA = 343.718, Dec = -27.4171
tmin = 278208001, tmax = 278467201
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='581767', job_status='RUN', time_executed='2021-09-29 02:14:03.605788', time_epoch_executed='1632906843.61' WHERE source_name='4FGL J2254.8-2725' and cadence='daily' and bin_id='150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/581767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/581767/ft1_4FGL_J2254.8-2725_daily_bin150.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/581767/ft2_4FGL_J2254.8-2725_daily_bin150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/581767/ft1_4FGL_J2254.8-2725_daily_bin150.fits outfile=/scratch/kocevski/581767/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin150.fits ra=343.718 dec=-27.4171 rad=12.0 tmin=278208001.0 tmax=278467201.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 5.51
user 5.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/581767/ft2_4FGL_J2254.8-2725_daily_bin150.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/581767/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin150.fits evtable="EVENTS" outfile="/scratch/kocevski/581767/ft1_filtered_4FGL_J2254.8-2725_daily_bin150.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.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/581767/ft1_filtered_4FGL_J2254.8-2725_daily_bin150.fits" evtable="EVENTS" scfile=/scratch/kocevski/581767/ft2_4FGL_J2254.8-2725_daily_bin150.fits sctable="SC_DATA" outfile=/scratch/kocevski/581767/ltcube_278208001_278467201_4FGL_J2254.8-2725_daily_bin150.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/581767/ft2_4FGL_J2254.8-2725_daily_bin150.fits
.....................!
real 11.85
user 11.52
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/581767/ft1_filtered_4FGL_J2254.8-2725_daily_bin150.fits evtable="EVENTS" scfile=/scratch/kocevski/581767/ft2_4FGL_J2254.8-2725_daily_bin150.fits sctable="SC_DATA" expcube=/scratch/kocevski/581767/ltcube_278208001_278467201_4FGL_J2254.8-2725_daily_bin150.fits outfile=/scratch/kocevski/581767/expmap_278208001_278467201_4FGL_J2254.8-2725_daily_bin150.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/581767/ltcube_278208001_278467201_4FGL_J2254.8-2725_daily_bin150.fits
.....................!
real 190.57
user 184.75
sys 5.52

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/581767/ft1_filtered_4FGL_J2254.8-2725_daily_bin150.fits scfile=/scratch/kocevski/581767/ft2_4FGL_J2254.8-2725_daily_bin150.fits outfile=/scratch/kocevski/581767/cmap_278208001_278467201_4FGL_J2254.8-2725_daily_bin150.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/581767/ft1_filtered_4FGL_J2254.8-2725_daily_bin150.fits scfile=/scratch/kocevski/581767/ft2_4FGL_J2254.8-2725_daily_bin150.fits outfile=/scratch/kocevski/581767/cmap_HighResolution_278208001_278467201_4FGL_J2254.8-2725_daily_bin150.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.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/581767/ft1_filtered_4FGL_J2254.8-2725_daily_bin150.fits evtable="EVENTS" scfile=/scratch/kocevski/581767/ft2_4FGL_J2254.8-2725_daily_bin150.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/581767/Model_4FGL_J2254.8-2725_daily_bin150.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/581767/ft1_filtered_4FGL_J2254.8-2725_daily_bin150.fits.....................!
real 42.98
user 41.75
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    10.645       1.0000         .10000E-03   10000.    
     3 'norm      '    .12602E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10516E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.0990       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.3786       1.0000         .10000E-03   10000.    
     9 'norm      '    .25385       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.9944       1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.468       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .85729E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .59979       1.0000         .10000E-03   10000.    
    17 'Prefactor '    104.15       1.0000         .10000E-03   10000.    
    18 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .80022       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88796       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=   5179.667     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2444 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.4145        .19155E-06** at limit **
   2  Prefactor     10.648        8.3319       -.28925E-06    .39913E-05
   3  norm          .10000E-03    91.638        .17557E-05** at limit **
   4  Prefactor     .10000E-03    8.0190        .95423E-07** at limit **
   5  Prefactor     .10000E-03    12.795        .76978E-06** at limit **
   6  norm          3.1003        2.3831       -.14672E-06   -.39847E-03
   7  Prefactor     .10000E-03    39.541        .41024E-06** at limit **
   8  Prefactor     3.3832        9.0741       -.74873E-07    .54694E-04
   9  norm          .23895        2.5644        .65362E-06   -.50848E-03
  10  Prefactor     .10000E-03    15.948        .65109E-07** at limit **
  11  Prefactor     .10000E-03    9.0747       -.35329E-07** at limit **
  12  norm          3.9987        .99704       -.12022E-06   -.30271E-02
  13  Prefactor     31.464        33.696        .12682E-06    .31949E-04
  14  Prefactor     .10000E-03    3.0956        .58607E-07** at limit **
  15  Prefactor     .10997E-03    9.1121        .10687E-05** at limit **
  16  norm          .58326        11.671       -.32073E-05    .28625E-03
  17  Prefactor     103.99        65.121        .32412E-05    .32991E-03
  18  norm          .10000E-03    1.1125        .13777E-06** at limit **
  19  Prefactor     .10000E-03    10.941        .10520E-06** at limit **
  20  Prefactor     .10000E-03    32.223       -.33925E-07** at limit **
  21  Normalizat    .79941        .20697        .58723E-05    .20805E-03
  22  Prefactor     .88875        .18990       -.44517E-05    .26033E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 10.6481
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.10031
  Prefactor  = 0.0001
  Prefactor  = 3.38317
  norm       = 0.238952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.99867
  Prefactor  = 31.4636
  Prefactor  = 0.0001
  Prefactor  = 0.000109973
  norm       = 0.583263
  Prefactor  = 103.991
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.799407
  Prefactor  = 0.888754
 **********
 **   18 **HESSE 
 **********

 FCN=   5179.667     FROM HESSE     STATUS=OK           346 CALLS     2790 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4205        .16353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.648        8.3325        .12280E-03   -1.5055    
   3  norm          .10000E-03    93.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.0496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.1003        2.3742        .93167E-04   -1.5356    
   7  Prefactor     .10000E-03    39.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.3832        9.0812        .22014E-03   -1.5340    
   9  norm          .23895        11.475        .20537E-02   -1.5610    
  10  Prefactor     .10000E-03    16.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.1604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.9987        1.0337        .30344E-04   -1.5308    
  13  Prefactor     31.464        33.697        .71427E-04   -1.4586    
  14  Prefactor     .10000E-03    3.0967        .12367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10997E-03    20.977        .55956E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .58326        39.420        .41222E-02   -1.5555    
  17  Prefactor     103.99        67.654        .19701E-03   -1.3665    
  18  norm          .10000E-03    1.1179        .74085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    32.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .79941        .21362        .24260E-03   -1.0009    
  22  Prefactor     .88875        .19840        .22520E-03   -.96535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12192e-09
Minuit parameter uncertainties:
  1  6.13872e-06
  2  8.33337
  3  0.000258271
  4  4.43033e-06
  5  3.23525e-05
  6  2.37431
  7  1.2223e-05
  8  9.08494
  9  3.31171
  10  1.09588e-05
  11  4.42593e-05
  12  1.03373
  13  33.7176
  14  1.7065e-06
  15  0.0289372
  16  9.59584
  17  67.7045
  18  1.71241e-06
  19  2.70313e-06
  20  4.88061e-07
  21  0.213846
  22  0.198558
Done.

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

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  1.096e-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.888e-01  1.986e-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:  7.994e-01  2.138e-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: 7.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/581767/likelihoodResults_278208001_278467201_4FGL_J2254.8-2725_daily_bin150.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) = 5179.66722691
delta logL = -0.000297482044516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5179.66693263
delta logL = -3.19560695061e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13987E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0299       1.0000          .0000       10.000    
     3 'Normalizat'    .79902       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88913       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=   5179.667     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      204 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5111        .90712E-02** at limit **
   2  Index         2.0468        5.0101        .50000       -.84930E-05
   3  Normalizat    .79941        .12679E-02    .43598E-01    .48964E-04
   4  Prefactor     .88875        .12428E-02    .44866E-01    .36446E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.04677
  Normalizat = 0.799408
  Prefactor  = 0.888753
 **********
 **   18 **HESSE 
 **********

 FCN=   5179.667     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0468        5.9984        .50000       -.63186    
   3  Normalizat    .79941        .47955E-02    .24260E-03   -1.0009    
   4  Prefactor     .88875        .47011E-02    .22520E-03   -.96535    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.78939e-09
Minuit parameter uncertainties:
  1  4.67268e-05
  2  28.5679
  3  0.00479548
  4  0.00470109
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/581767': 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) = 5179.66692936
delta logL = 7.31242835172e-08

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  4.673e-05  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.047e+00  2.857e+01  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.888e-01  4.701e-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:  7.994e-01  4.795e-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/581767/cmap_HighResolution_278208001_278467201_4FGL_J2254.8-2725_daily_bin150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-03', job_status='DONE', photon_flux_upper_limit='7.70e-08', time_completed='2021-09-29 02:23:40.570259', job_id='581767', GAL2='0.89', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1632907420.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='7.31e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='150' AND source_name='4FGL J2254.8-2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:23:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 581767: <4FGL_J2254.8-2725_daily_bin150> in cluster <slac> Done

Job <4FGL_J2254.8-2725_daily_bin150> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep 29 02:10:51 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:10:52 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:52 2021
Terminated at Wed Sep 29 02:23:41 2021
Results reported at Wed Sep 29 02:23:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2254.8-2725_daily_bin150 343.718 -27.4171 278208001 278467201 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 :                                   574.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            770 sec.

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

