/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 167 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 = 7491
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2254.8-2725_daily_bin425
RA = 343.718, Dec = -27.4171
tmin = 349488001, tmax = 349747201
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='583240', job_status='RUN', time_executed='2021-09-29 02:18:30.618190', time_epoch_executed='1632907110.62' WHERE source_name='4FGL J2254.8-2725' and cadence='daily' and bin_id='425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/583240

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/583240/ft1_4FGL_J2254.8-2725_daily_bin425.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/583240/ft2_4FGL_J2254.8-2725_daily_bin425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/583240/ft1_4FGL_J2254.8-2725_daily_bin425.fits outfile=/scratch/kocevski/583240/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin425.fits ra=343.718 dec=-27.4171 rad=12.0 tmin=349488001.0 tmax=349747201.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.40
user 3.16
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/583240/ft2_4FGL_J2254.8-2725_daily_bin425.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/583240/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin425.fits evtable="EVENTS" outfile="/scratch/kocevski/583240/ft1_filtered_4FGL_J2254.8-2725_daily_bin425.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/583240/ft1_filtered_4FGL_J2254.8-2725_daily_bin425.fits" evtable="EVENTS" scfile=/scratch/kocevski/583240/ft2_4FGL_J2254.8-2725_daily_bin425.fits sctable="SC_DATA" outfile=/scratch/kocevski/583240/ltcube_349488001_349747201_4FGL_J2254.8-2725_daily_bin425.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/583240/ft2_4FGL_J2254.8-2725_daily_bin425.fits
.....................!
real 11.92
user 11.52
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/583240/ft1_filtered_4FGL_J2254.8-2725_daily_bin425.fits evtable="EVENTS" scfile=/scratch/kocevski/583240/ft2_4FGL_J2254.8-2725_daily_bin425.fits sctable="SC_DATA" expcube=/scratch/kocevski/583240/ltcube_349488001_349747201_4FGL_J2254.8-2725_daily_bin425.fits outfile=/scratch/kocevski/583240/expmap_349488001_349747201_4FGL_J2254.8-2725_daily_bin425.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/583240/ltcube_349488001_349747201_4FGL_J2254.8-2725_daily_bin425.fits
.....................!
real 195.57
user 190.93
sys 4.32

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/583240/ft1_filtered_4FGL_J2254.8-2725_daily_bin425.fits scfile=/scratch/kocevski/583240/ft2_4FGL_J2254.8-2725_daily_bin425.fits outfile=/scratch/kocevski/583240/cmap_349488001_349747201_4FGL_J2254.8-2725_daily_bin425.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/583240/ft1_filtered_4FGL_J2254.8-2725_daily_bin425.fits scfile=/scratch/kocevski/583240/ft2_4FGL_J2254.8-2725_daily_bin425.fits outfile=/scratch/kocevski/583240/cmap_HighResolution_349488001_349747201_4FGL_J2254.8-2725_daily_bin425.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/583240/ft1_filtered_4FGL_J2254.8-2725_daily_bin425.fits evtable="EVENTS" scfile=/scratch/kocevski/583240/ft2_4FGL_J2254.8-2725_daily_bin425.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/583240/Model_4FGL_J2254.8-2725_daily_bin425.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/583240/ft1_filtered_4FGL_J2254.8-2725_daily_bin425.fits....................!
real 43.65
user 42.34
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.618       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    36.486       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.0977       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12305E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .29400E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9766       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.650       1.0000         .10000E-03   10000.    
     9 'norm      '    11.560       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.0732       1.0000         .10000E-03   10000.    
    12 'norm      '    .93616       1.0000         .10000E-03   10000.    
    13 'Prefactor '    33.062       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.661       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.722       1.0000         .10000E-03   10000.    
    16 'norm      '    7.4092       1.0000         .10000E-03   10000.    
    17 'Prefactor '    55.704       1.0000         .10000E-03   10000.    
    18 'norm      '    15.982       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    129.38       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3754       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .55928       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=   4915.414     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2362 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.616        20.494       -.19514E-06   -.27314E-06
   2  Prefactor     .10000E-03    5.8226       -.12921E-06** at limit **
   3  norm          36.480        27.673       -.99050E-06    .31155E-04
   4  Prefactor     8.0955        23.373       -.76206E-06   -.15640E-04
   5  Prefactor     .10000E-03    28.320       -.19965E-05** at limit **
   6  norm          .10017E-03    2.0856       -.19255E-05** at limit **
   7  Prefactor     4.9532        130.59        .18768E-04    .82643E-04
   8  Prefactor     13.649        15.159       -.24648E-06   -.13154E-04
   9  norm          11.559        6.0792        .38985E-06    .20419E-03
  10  Prefactor     .10000E-03    19.849        .17084E-05** at limit **
  11  Prefactor     3.0714        15.142        .12093E-05   -.14469E-04
  12  norm          .93630        .74749       -.75780E-07    .51817E-04
  13  Prefactor     33.094        64.341        .98788E-05    .59883E-04
  14  Prefactor     10.662        11.036       -.50406E-07   -.11774E-05
  15  Prefactor     10.719        13.539       -.25126E-07    .17641E-05
  16  norm          7.4092        7.4094       -.95292E-07   -.23245E-04
  17  Prefactor     55.704        43.301        .40118E-07   -.36740E-05
  18  norm          15.981        5.3727        .45120E-06    .20537E-03
  19  Prefactor     .10000E-03    18.625       -.72662E-06** at limit **
  20  Prefactor     129.38        121.76        .54553E-06    .25230E-05
  21  Normalizat    1.3756        .22514       -.12632E-05    .30409E-03
  22  Prefactor     .55899        .19643        .18948E-05    .11042E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.6164
  Prefactor  = 0.0001
  norm       = 36.4797
  Prefactor  = 8.09546
  Prefactor  = 0.0001
  norm       = 0.00010017
  Prefactor  = 4.9532
  Prefactor  = 13.6494
  norm       = 11.5595
  Prefactor  = 0.0001
  Prefactor  = 3.07136
  norm       = 0.936301
  Prefactor  = 33.0936
  Prefactor  = 10.6616
  Prefactor  = 10.7191
  norm       = 7.40918
  Prefactor  = 55.704
  norm       = 15.9814
  Prefactor  = 0.0001
  Prefactor  = 129.379
  Normalizat = 1.37563
  Prefactor  = 0.558986
 **********
 **   18 **HESSE 
 **********

 FCN=   4915.414     FROM HESSE     STATUS=OK           346 CALLS     2708 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.616        20.496        .67150E-04   -1.4514    
   2  Prefactor     .10000E-03    5.8499        .16516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          36.480        27.664        .66348E-04   -1.4499    
   4  Prefactor     8.0955        23.463        .14089E-03   -1.5139    
   5  Prefactor     .10000E-03    29.198        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10017E-03    19.212        .16609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.9532        135.30        .18027E-03   -1.5263    
   8  Prefactor     13.649        15.277        .10841E-03   -1.4969    
   9  norm          11.559        6.0286        .11227E-03   -1.5028    
  10  Prefactor     .10000E-03    19.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0714        14.421        .23138E-03   -1.5357    
  12  norm          .93630        .74625        .44462E-04   -1.5514    
  13  Prefactor     33.094        64.501        .69690E-04   -1.4557    
  14  Prefactor     10.662        11.034        .12271E-03   -1.5055    
  15  Prefactor     10.719        13.303        .12236E-03   -1.5053    
  16  norm          7.4092        7.4108        .14734E-03   -1.5164    
  17  Prefactor     55.704        43.418        .53746E-04   -1.4214    
  18  norm          15.981        5.3741        .90144E-04   -1.4908    
  19  Prefactor     .10000E-03    18.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     129.38        122.20        .35397E-04   -1.3428    
  21  Normalizat    1.3756        .26823        .23244E-03   -.81336    
  22  Prefactor     .55899        .22868        .31978E-03   -1.0934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00525e-09
Minuit parameter uncertainties:
  1  20.5001
  2  1.35382e-06
  3  27.6735
  4  23.4892
  5  1.58344e-05
  6  0.00361914
  7  51.9055
  8  15.2811
  9  6.02889
  10  0.000110212
  11  13.3156
  12  0.746261
  13  64.6373
  14  11.0364
  15  13.3066
  16  7.41175
  17  43.4427
  18  5.37423
  19  6.42642e-05
  20  122.437
  21  0.268508
  22  0.229059
Done.

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

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  1.102e-04  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:  5.590e-01  2.291e-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.376e+00  2.685e-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.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/583240/likelihoodResults_349488001_349747201_4FGL_J2254.8-2725_daily_bin425.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) = 4915.41471028
delta logL = -0.000240482749177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4915.41471017
delta logL = -0.000240374247369

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96282E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0121       1.0000          .0000       10.000    
     3 'Normalizat'    1.3756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55899       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=   4915.414     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      208 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.862        .90720E-02** at limit **
   2  Index         2.0270        3.3459        .50000       -.63571E-05
   3  Normalizat    1.3756        .51209E-02    .52573E-01   -.12091E-05
   4  Prefactor     .55899        .47135E-02    .72233E-01    .23865E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.02697
  Normalizat = 1.37563
  Prefactor  = 0.558988
 **********
 **   18 **HESSE 
 **********

 FCN=   4915.414     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1172.5        .18144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0270        5.5356        .50000       -.63678    
   3  Normalizat    1.3756        .43892E-01    .23244E-03   -.81336    
   4  Prefactor     .55899        .40324E-01    .31978E-03   -1.0934    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.27208e-09
Minuit parameter uncertainties:
  1  8.85744e-05
  2  31.5409
  3  0.0438931
  4  0.040326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/583240': 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) = 4915.41446978
delta logL = 2.29238139582e-08

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  8.857e-05  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.027e+00  3.154e+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:  5.590e-01  4.033e-02  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.376e+00  4.389e-02  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/583240/cmap_HighResolution_349488001_349747201_4FGL_J2254.8-2725_daily_bin425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.96e-03', job_status='DONE', photon_flux_upper_limit='7.94e-08', time_completed='2021-09-29 02:27:42.533171', job_id='583240', GAL2='0.56', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1632907662.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.56', dlogl='2.29e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='425' AND source_name='4FGL J2254.8-2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:27:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 583240: <4FGL_J2254.8-2725_daily_bin425> in cluster <slac> Done

Job <4FGL_J2254.8-2725_daily_bin425> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:15:33 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:15:34 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:15:34 2021
Terminated at Wed Sep 29 02:27:43 2021
Results reported at Wed Sep 29 02:27:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2254.8-2725_daily_bin425 343.718 -27.4171 349488001 349747201 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 :                                   551.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            730 sec.

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

