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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin964
RA = 186.392, Dec = -28.8625
tmin = 489196801, tmax = 489456001
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='625277', job_status='RUN', time_executed='2021-09-05 14:35:45.755292', time_epoch_executed='1630877745.76' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='964'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/625277

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/625277/ft1_4FGL_J1225.5-2851_daily_bin964.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/625277/ft1_4FGL_J1225.5-2851_daily_bin964.fits outfile=/scratch/kocevski/625277/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin964.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=489196801.0 tmax=489456001.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 4.92
user 4.68
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.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/625277/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin964.fits evtable="EVENTS" outfile="/scratch/kocevski/625277/ft1_filtered_4FGL_J1225.5-2851_daily_bin964.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.54
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/625277/ft1_filtered_4FGL_J1225.5-2851_daily_bin964.fits" evtable="EVENTS" scfile=/scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits sctable="SC_DATA" outfile=/scratch/kocevski/625277/ltcube_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.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/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits
.....................!
real 11.58
user 11.22
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/625277/ft1_filtered_4FGL_J1225.5-2851_daily_bin964.fits evtable="EVENTS" scfile=/scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits sctable="SC_DATA" expcube=/scratch/kocevski/625277/ltcube_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.fits outfile=/scratch/kocevski/625277/expmap_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.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/625277/ltcube_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.fits
.....................!
real 189.00
user 184.76
sys 3.88

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
Extended source CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 183 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1225.5-2851 @ 186.392 -28.8625

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/625277/ft1_filtered_4FGL_J1225.5-2851_daily_bin964.fits scfile=/scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits outfile=/scratch/kocevski/625277/cmap_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.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=186.392 yref=-28.8625 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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/625277/ft1_filtered_4FGL_J1225.5-2851_daily_bin964.fits scfile=/scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits outfile=/scratch/kocevski/625277/cmap_HighResolution_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.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=186.392 yref=-28.8625 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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/625277/ft1_filtered_4FGL_J1225.5-2851_daily_bin964.fits evtable="EVENTS" scfile=/scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/625277/Model_4FGL_J1225.5-2851_daily_bin964.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/625277/ft1_filtered_4FGL_J1225.5-2851_daily_bin964.fits.....................!
real 123.05
user 121.64
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/625277/ft1_filtered_4FGL_J1225.5-2851_daily_bin964.fits', '/scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits', expMap='/scratch/kocevski/625277/expmap_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.fits', expCube='/scratch/kocevski/625277/ltcube_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/625277/Model_4FGL_J1225.5-2851_daily_bin964.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1225.5-2851'

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.708e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  1.028e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/625277/ft1_filtered_4FGL_J1225.5-2851_daily_bin964.fits
Spacecraft file(s): /scratch/kocevski/625277/ft2_4FGL_J1225.5-2851_daily_bin964.fits
Exposure map: /scratch/kocevski/625277/expmap_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.fits
Exposure cube: /scratch/kocevski/625277/ltcube_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/625277/Model_4FGL_J1225.5-2851_daily_bin964.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) = 7208.30337709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0920       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8162       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .55378E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4126       1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.970       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.113       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16210E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    3.6893       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    32.243       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.8626       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .41797E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3436       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96453       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7208.293     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2775 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0979        6.6977       -.47749E-06    .20512E-04
   2  Prefactor     .10000E-03    40.654       -.12073E-05** at limit **
   3  norm          .10000E-03    23.680        .24831E-07** at limit **
   4  Prefactor     .10000E-03    60.643       -.72719E-05** at limit **
   5  norm          .10000E-03    5.0997       -.13711E-05** at limit **
   6  Prefactor     1.8160        6.5826       -.28024E-06    .51507E-05
   7  Prefactor     .10000E-03    910.51       -.45970E-05** at limit **
   8  Prefactor     2.4152        10.089       -.10303E-06    .28228E-05
   9  Prefactor     34.973        36.175       -.18919E-06   -.28527E-05
  10  Prefactor     .10000E-03    22.943       -.20005E-05** at limit **
  11  Prefactor     .10000E-03    55.006       -.10724E-05** at limit **
  12  Prefactor     27.129        21.217        .21182E-06    .52050E-05
  13  Prefactor     .10000E-03    247.61        .36506E-05** at limit **
  14  norm          3.6896        1.4301        .13821E-07    .17921E-04
  15  Prefactor     .10000E-03    57.035        .14958E-06** at limit **
  16  norm          32.243        9.4664        .15159E-06    .32541E-04
  17  Prefactor     .10000E-03    3.2290       -.25359E-06** at limit **
  18  norm          7.8633        5.3108        .74045E-07    .50485E-06
  19  Prefactor     .10000E-03    4.2093       -.30424E-06** at limit **
  20  norm          .10000E-03    4.7186        .40621E-07** at limit **
  21  Normalizat    1.3434        .27573       -.26049E-06    .25603E-04
  22  Prefactor     .96446        .11828        .53443E-06   -.65089E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09787
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.81601
  Prefactor  = 0.0001
  Prefactor  = 2.41524
  Prefactor  = 34.9732
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.1294
  Prefactor  = 0.0001
  norm       = 3.68957
  Prefactor  = 0.0001
  norm       = 32.2434
  Prefactor  = 0.0001
  norm       = 7.86333
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.34341
  Prefactor  = 0.964462
 **********
 **   18 **HESSE 
 **********

 FCN=   7208.293     FROM HESSE     STATUS=OK           352 CALLS     3127 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0979        6.6965        .28541E-03   -1.5418    
   2  Prefactor     .10000E-03    40.695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    23.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    60.933        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.1170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8160        6.6136        .15496E-02   -1.5438    
   7  Prefactor     .10000E-03    909.96        .38116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4152        10.108        .26356E-03   -1.5397    
   9  Prefactor     34.973        36.325        .67767E-04   -1.4525    
  10  Prefactor     .10000E-03    23.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    55.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.129        21.224        .76937E-04   -1.4666    
  13  Prefactor     .10000E-03    17.384        .94682E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.6896        1.4289        .60428E-04   -1.5324    
  15  Prefactor     .10000E-03    57.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          32.243        9.4535        .70567E-04   -1.4572    
  17  Prefactor     .10000E-03    3.2481        .14898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.8633        5.3041        .14300E-03   -1.5147    
  19  Prefactor     .10000E-03    4.2286        .17020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    15.322        .35757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3434        .32998        .37494E-03   -.82280    
  22  Prefactor     .96446        .14195        .18855E-03   -.93924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.4635e-11
Minuit parameter uncertainties:
  1  6.6989
  2  2.35997e-06
  3  5.14945e-06
  4  3.21476e-05
  5  2.16588e-06
  6  6.61622
  7  0.000157153
  8  9.88437
  9  36.3484
  10  5.03806e-05
  11  4.48967e-05
  12  21.2297
  13  2.52617e-05
  14  1.4289
  15  1.2371e-05
  16  9.45393
  17  5.55324e-06
  18  5.30445
  19  1.08437e-06
  20  0.000138047
  21  0.330498
  22  0.142001
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.713e+01  2.123e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.433e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  1.028e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  9.645e-01  1.420e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.343e+00  3.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.82
Ra Dec: 186.392 -28.863
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 5.50e-08 +/- 4.30e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 1.35e-05

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): 0
logL (Free Index) = 7207.57795039
delta logL = 0.714588310229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7207.51643394
delta logL = 0.776104756259

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7207.516     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      213 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.274        112.78        .16411E-02    .24372E-03
   2  Index         1.7522        1.4476        .24926        .24571E-04
   3  Normalizat    1.3690        .27767        .84030E-01   -.12492E-03
   4  Prefactor     .95845        .11932        .45746E-01   -.18446E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.2744
  Index      = 1.75219
  Normalizat = 1.36902
  Prefactor  = 0.958453
 **********
 **   18 **HESSE 
 **********

 FCN=   7207.516     FROM HESSE     STATUS=OK            29 CALLS      242 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.274        32.068        .65646E-04   -1.4486    
   2  Index         1.7522        .51991        .88327E-02   -.70701    
   3  Normalizat    1.3690        .32231        .37202E-03   -.81529    
   4  Prefactor     .95845        .14120        .18910E-03   -.94127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86597e-10
Minuit parameter uncertainties:
  1  32.0824
  2  0.521542
  3  0.322784
  4  0.141256
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/625277': 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): 0
logL (Free Index) = 7207.51643394
delta logL = 0.776104756532

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  3.727e+01  3.208e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  1.752e+00  5.215e-01  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  1.028e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  9.585e-01  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
594   Normalization:  1.369e+00  3.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.37
Ra Dec: 186.392 -28.863
Photon Index (Free Index): 1.75 +/- 0.52
Photon Flux (Free Index): 2.93e-08 +/- 3.27e-08
Energy Flux (Free Index): 4.05e-05 +/- 4.92e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/625277/cmap_HighResolution_489196801_489456001_4FGL_J1225.5-2851_daily_bin964.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.50e-08', energy_flux2='4.05e-05', photon_flux_error='4.30e-08', dlogl='7.76e-01', energy_flux='1.73e-05', photon_flux2='2.93e-08', job_status='DONE', time_completed='2021-09-05 14:48:05.824177', photon_index_error2='0.52', photon_index2='1.75', ts='5.82', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='4.92e-05', EG='1.34', time_epoch_completed='1630878485.82', return_code='0', job_id='625277', GAL2='0.96', EG2='1.37', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='3.27e-08', ts2='7.37', photon_index='2.43' WHERE bin_id='964' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 14:48:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 625277: <4FGL_J1225.5-2851_daily_bin964> in cluster <slac> Done

Job <4FGL_J1225.5-2851_daily_bin964> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 14:35:32 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 14:35:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 14:35:33 2021
Terminated at Sun Sep  5 14:48:07 2021
Results reported at Sun Sep  5 14:48:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin964 186.392 -28.8625 489196801 489456001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1225.5-2851 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   731.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             348.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            755 sec.

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

