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


Performing analysis on: 4FGL_J2254.8-2725_daily_bin732
RA = 343.718, Dec = -27.4171
tmin = 429062401, tmax = 429321601
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='584885', job_status='RUN', time_executed='2021-09-29 02:22:35.266362', time_epoch_executed='1632907355.27' WHERE source_name='4FGL J2254.8-2725' and cadence='daily' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584885

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584885/ft1_4FGL_J2254.8-2725_daily_bin732.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584885/ft2_4FGL_J2254.8-2725_daily_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584885/ft1_4FGL_J2254.8-2725_daily_bin732.fits outfile=/scratch/kocevski/584885/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin732.fits ra=343.718 dec=-27.4171 rad=12.0 tmin=429062401.0 tmax=429321601.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 6.33
user 6.06
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/584885/ft2_4FGL_J2254.8-2725_daily_bin732.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/584885/ft1_filteredMKT_4FGL_J2254.8-2725_daily_bin732.fits evtable="EVENTS" outfile="/scratch/kocevski/584885/ft1_filtered_4FGL_J2254.8-2725_daily_bin732.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/584885/ft1_filtered_4FGL_J2254.8-2725_daily_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/584885/ft2_4FGL_J2254.8-2725_daily_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/584885/ltcube_429062401_429321601_4FGL_J2254.8-2725_daily_bin732.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/584885/ft2_4FGL_J2254.8-2725_daily_bin732.fits
.....................!
real 11.95
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584885/ft1_filtered_4FGL_J2254.8-2725_daily_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/584885/ft2_4FGL_J2254.8-2725_daily_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/584885/ltcube_429062401_429321601_4FGL_J2254.8-2725_daily_bin732.fits outfile=/scratch/kocevski/584885/expmap_429062401_429321601_4FGL_J2254.8-2725_daily_bin732.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/584885/ltcube_429062401_429321601_4FGL_J2254.8-2725_daily_bin732.fits
.....................!
real 189.68
user 184.95
sys 4.42

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/584885/ft1_filtered_4FGL_J2254.8-2725_daily_bin732.fits scfile=/scratch/kocevski/584885/ft2_4FGL_J2254.8-2725_daily_bin732.fits outfile=/scratch/kocevski/584885/cmap_429062401_429321601_4FGL_J2254.8-2725_daily_bin732.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584885/ft1_filtered_4FGL_J2254.8-2725_daily_bin732.fits scfile=/scratch/kocevski/584885/ft2_4FGL_J2254.8-2725_daily_bin732.fits outfile=/scratch/kocevski/584885/cmap_HighResolution_429062401_429321601_4FGL_J2254.8-2725_daily_bin732.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5056       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10516E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12120E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16543E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.5788       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2842       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .31011       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .65014E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0942       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10856E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9618       1.0000         .10000E-03   10000.    
    16 'norm      '    9.8229       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.783       1.0000         .10000E-03   10000.    
    18 'norm      '    2.1185       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.0450       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.6086       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97899       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80888       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=   3476.486     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2090 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5109        33.329        .20483E-06   -.16357E-04
   2  Prefactor     .10000E-03    4.7660       -.30775E-07** at limit **
   3  norm          .10000E-03    17.498        .83673E-07** at limit **
   4  Prefactor     .10000E-03    90.059        .52377E-06** at limit **
   5  Prefactor     .10000E-03    8.4933        .61045E-06** at limit **
   6  norm          6.5802        3.9151        .22420E-06   -.20470E-03
   7  Prefactor     3.2373        195.77       -.78592E-05    .10417E-04
   8  Prefactor     .35093        12.917       -.34894E-06   -.12343E-03
   9  norm          .10000E-03    1.5746        .97223E-07** at limit **
  10  Prefactor     .10002E-03    127.06       -.73024E-05** at limit **
  11  Prefactor     6.1190        9.8086       -.14604E-05   -.45856E-03
  12  norm          .10000E-03    .25966        .78656E-07** at limit **
  13  Prefactor     .10000E-03    50.334       -.58149E-06** at limit **
  14  Prefactor     .10000E-03    4.2719       -.41016E-08** at limit **
  15  Prefactor     6.9647        10.884        .13200E-06   -.26532E-03
  16  norm          9.8246        9.5146        .89286E-07   -.26806E-04
  17  Prefactor     10.775        50.031        .31003E-06    .12309E-05
  18  norm          2.1185        2.3724       -.23742E-07    .37703E-04
  19  Prefactor     5.0471        27.214       -.17093E-05   -.27732E-04
  20  Prefactor     6.6164        448.30        .37058E-05   -.43846E-05
  21  Normalizat    .97901        .23339       -.19447E-05   -.12700E-03
  22  Prefactor     .80881        .21528        .15536E-05   -.30722E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.51089
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 6.5802
  Prefactor  = 3.23725
  Prefactor  = 0.350931
  norm       = 0.0001
  Prefactor  = 0.00010002
  Prefactor  = 6.11896
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.96467
  norm       = 9.82457
  Prefactor  = 10.7748
  norm       = 2.11853
  Prefactor  = 5.04708
  Prefactor  = 6.61636
  Normalizat = 0.979013
  Prefactor  = 0.80881
 **********
 **   18 **HESSE 
 **********

 FCN=   3476.486     FROM HESSE     STATUS=OK           350 CALLS     2440 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5109        33.292        .17124E-03   -1.5238    
   2  Prefactor     .10000E-03    4.7818        .12569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    17.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    91.706        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    55.199        .32668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.5802        3.8704        .76077E-04   -1.5195    
   7  Prefactor     3.2373        188.57        .22343E-03   -1.5348    
   8  Prefactor     .35093        50.551        .36699E-02   -1.5590    
   9  norm          .10000E-03    1.5801        .72271E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10002E-03    129.47        .39355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.1190        9.5216        .16264E-03   -1.5213    
  12  norm          .10000E-03    .26938        .58306E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    50.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.2732        .11902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.9647        10.781        .15205E-03   -1.5180    
  16  norm          9.8246        9.5051        .12786E-03   -1.5081    
  17  Prefactor     10.775        50.346        .12201E-03   -1.5051    
  18  norm          2.1185        2.3684        .92537E-04   -1.5417    
  19  Prefactor     5.0471        28.316        .89512E-03   -1.5259    
  20  Prefactor     6.6164        449.54        .15610E-03   -1.5193    
  21  Normalizat    .97901        .25872        .21592E-03   -.93737    
  22  Prefactor     .80881        .23973        .23369E-03   -.99404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00056e-09
Minuit parameter uncertainties:
  1  27.1122
  2  4.70002e-06
  3  8.37147e-06
  4  0.000694095
  5  0.000461086
  6  3.87056
  7  49.579
  8  8.42981
  9  4.11999e-06
  10  0.00321394
  11  9.52391
  12  3.06972e-06
  13  0.00019739
  14  1.5903e-06
  15  10.7836
  16  9.5066
  17  46.6461
  18  2.36855
  19  23.9263
  20  109.945
  21  0.259051
  22  0.240044
Done.

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

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.000e-04  3.214e-03  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.088e-01  2.400e-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.790e-01  2.591e-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: 8.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/584885/likelihoodResults_429062401_429321601_4FGL_J2254.8-2725_daily_bin732.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) = 3476.48651706
delta logL = -3.63674480468e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3476.48651706
delta logL = -3.63613739864e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96344E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0121       1.0000          .0000       10.000    
     3 'Normalizat'    .97901       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80881       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=   3476.486     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      226 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10110E-03    .27203        .90714E-01** at limit **
   2  Index         2.1374        .73816        .50000       -.12841E-04
   3  Normalizat    .97901        .89635E-03    .45903E-01   -.36464E-04
   4  Prefactor     .80881        .89453E-03    .43832E-01   -.14911E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101104
  Index      = 2.1374
  Normalizat = 0.979012
  Prefactor  = 0.808812
 **********
 **   18 **HESSE 
 **********

 FCN=   3476.486     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      267 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10110E-03    .65815        .55252E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1374        .81239        .50000       -.60958    
   3  Normalizat    .97901        .98690E-03    .21592E-03   -.93737    
   4  Prefactor     .80881        .98487E-03    .23369E-03   -.99404    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.65098e-12
Minuit parameter uncertainties:
  1  0.00170469
  2  0.817807
  3  0.0009869
  4  0.000984871
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584885': 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) = 3476.48648039
delta logL = 3.03462002194e-07

Extracting fit parameters...

4FGL J2254.8-2725
   Spectrum: PowerLaw
324    Prefactor:  1.011e-04  1.705e-03  1.000e-04  1.000e+04 ( 1.000e-14)
325        Index:  2.137e+00  8.178e-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.088e-01  9.849e-04  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.790e-01  9.869e-04  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/584885/cmap_HighResolution_429062401_429321601_4FGL_J2254.8-2725_daily_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.21e-03', job_status='DONE', photon_flux_upper_limit='8.27e-08', time_completed='2021-09-29 02:30:44.543558', job_id='584885', GAL2='0.81', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1632907844.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='3.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='732' AND source_name='4FGL J2254.8-2725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:30:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 584885: <4FGL_J2254.8-2725_daily_bin732> in cluster <slac> Done

Job <4FGL_J2254.8-2725_daily_bin732> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 02:20:37 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:20:38 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:20:38 2021
Terminated at Wed Sep 29 02:30:44 2021
Results reported at Wed Sep 29 02:30:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2254.8-2725_daily_bin732 343.718 -27.4171 429062401 429321601 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 :                                   485.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   606 sec.
    Turnaround time :                            607 sec.

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

