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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin1015
RA = 186.392, Dec = -28.8625
tmin = 502416001, tmax = 502675201
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='625355', job_status='RUN', time_executed='2021-09-05 14:36:20.223684', time_epoch_executed='1630877780.22' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/625355

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/625355/ft1_4FGL_J1225.5-2851_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/625355/ft1_4FGL_J1225.5-2851_daily_bin1015.fits outfile=/scratch/kocevski/625355/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1015.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=502416001.0 tmax=502675201.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.54
user 3.29
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.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/625355/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1015.fits evtable="EVENTS" outfile="/scratch/kocevski/625355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1015.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/625355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/625355/ltcube_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.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/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.fits
.....................!
real 11.56
user 11.26
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/625355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/625355/ltcube_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.fits outfile=/scratch/kocevski/625355/expmap_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.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/625355/ltcube_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.fits
.....................!
real 189.61
user 184.81
sys 4.40

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/625355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1015.fits scfile=/scratch/kocevski/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.fits outfile=/scratch/kocevski/625355/cmap_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.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.60
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/625355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1015.fits scfile=/scratch/kocevski/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.fits outfile=/scratch/kocevski/625355/cmap_HighResolution_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.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.56
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/625355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/625355/Model_4FGL_J1225.5-2851_daily_bin1015.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/625355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1015.fits....................!
real 116.26
user 114.62
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/625355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1015.fits', '/scratch/kocevski/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.fits', expMap='/scratch/kocevski/625355/expmap_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.fits', expCube='/scratch/kocevski/625355/ltcube_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/625355/Model_4FGL_J1225.5-2851_daily_bin1015.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/625355/ft1_filtered_4FGL_J1225.5-2851_daily_bin1015.fits
Spacecraft file(s): /scratch/kocevski/625355/ft2_4FGL_J1225.5-2851_daily_bin1015.fits
Exposure map: /scratch/kocevski/625355/expmap_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.fits
Exposure cube: /scratch/kocevski/625355/ltcube_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/625355/Model_4FGL_J1225.5-2851_daily_bin1015.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) = 7023.68047342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.426       1.0000         .10000E-03   10000.    
     3 'norm      '    6.4985       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7884       1.0000         .10000E-03   10000.    
     5 'norm      '    13.971       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2201       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    46.659       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9608       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .40960       1.0000         .10000E-03   10000.    
    14 'norm      '    .45120       1.0000         .10000E-03   10000.    
    15 'Prefactor '    67.580       1.0000         .10000E-03   10000.    
    16 'norm      '    20.043       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2224       1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.4749       1.0000         .10000E-03   10000.    
    20 'norm      '    2.8727       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0784       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95438       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=   7023.679     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2400 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.7371        .10831E-06** at limit **
   2  Prefactor     18.425        20.096        .64621E-07    .21665E-05
   3  norm          6.4960        13.564        .18253E-06   -.22931E-05
   4  Prefactor     9.7591        24.873        .29181E-06   -.50601E-05
   5  norm          13.973        8.6232        .32066E-07   -.62650E-04
   6  Prefactor     3.2193        3.6004        .81257E-07   -.29167E-04
   7  Prefactor     .10000E-03    29.862        .66473E-07** at limit **
   8  Prefactor     .10000E-03    2.8795       -.50839E-08** at limit **
   9  Prefactor     .10000E-03    10.139        .37019E-07** at limit **
  10  Prefactor     46.639        27.190        .45680E-07    .66738E-05
  11  Prefactor     .10000E-03    89.992        .70476E-06** at limit **
  12  Prefactor     2.9504        27.752        .93757E-06    .11150E-07
  13  Prefactor     .10329        12.678        .21921E-06    .13317E-04
  14  norm          .45113        .85447        .47715E-06    .15257E-03
  15  Prefactor     67.633        82.118        .23796E-06    .39226E-04
  16  norm          20.044        9.5733       -.34295E-06   -.67627E-04
  17  Prefactor     2.2209        6.0157        .11488E-05   -.97656E-04
  18  norm          .10000E-03    2.6487       -.42611E-07** at limit **
  19  Prefactor     1.4710        13.546        .21348E-05   -.42807E-04
  20  norm          2.8713        5.2136        .39471E-06   -.52919E-04
  21  Normalizat    1.0792        .25222       -.11809E-05   -.86422E-04
  22  Prefactor     .95426        .10883       -.10097E-06   -.18686E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.4251
  norm       = 6.49596
  Prefactor  = 9.75915
  norm       = 13.9729
  Prefactor  = 3.21928
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.6393
  Prefactor  = 0.0001
  Prefactor  = 2.95039
  Prefactor  = 0.103293
  norm       = 0.45113
  Prefactor  = 67.6328
  norm       = 20.0439
  Prefactor  = 2.22091
  norm       = 0.0001
  Prefactor  = 1.47102
  norm       = 2.87125
  Normalizat = 1.07921
  Prefactor  = 0.954256
 **********
 **   18 **HESSE 
 **********

 FCN=   7023.679     FROM HESSE     STATUS=OK           362 CALLS     2762 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.156        .31136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.425        20.016        .93304E-04   -1.4849    
   3  norm          6.4960        13.558        .15743E-03   -1.5198    
   4  Prefactor     9.7591        24.767        .12808E-03   -1.5083    
   5  norm          13.973        8.5908        .10716E-03   -1.4960    
   6  Prefactor     3.2193        3.5948        .16257E-03   -1.5349    
   7  Prefactor     .10000E-03    29.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.8814        .13889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     46.639        27.152        .29350E-03   -1.4341    
  11  Prefactor     .10000E-03    90.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9504        27.618        .23600E-03   -1.5364    
  13  Prefactor     .10329        20.136        .82058E-01   -1.5644    
  14  norm          .45113        .83325        .10582E-02   -1.5574    
  15  Prefactor     67.633        81.973        .24412E-03   -1.4061    
  16  norm          20.044        9.5022        .89465E-04   -1.4812    
  17  Prefactor     2.2209        5.8746        .27583E-03   -1.5410    
  18  norm          .10000E-03    2.6680        .13314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4710        13.484        .35366E-03   -1.5465    
  20  norm          2.8713        5.1918        .23982E-03   -1.5369    
  21  Normalizat    1.0792        .30044        .37509E-03   -.90422    
  22  Prefactor     .95426        .13009        .17536E-03   -.94270    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48529e-10
Minuit parameter uncertainties:
  1  5.93036e-05
  2  20.0228
  3  13.5644
  4  24.7934
  5  8.59156
  6  3.59499
  7  3.32836e-06
  8  1.00372e-06
  9  1.30701e-06
  10  27.1591
  11  6.9003e-05
  12  18.0643
  13  2.88394
  14  0.833271
  15  82.1105
  16  9.50289
  17  5.87613
  18  2.29701e-06
  19  8.90984
  20  5.19263
  21  0.300914
  22  0.130137
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.950e+00  1.806e+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.543e-01  1.301e-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.079e+00  3.009e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 186.392 -28.863
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/625355/likelihoodResults_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.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): 0
logL (Free Index) = 7023.67178017
delta logL = 0.0077025294886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7023.67131181
delta logL = 0.00817088306303

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4955       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8014       1.0000          .0000       10.000    
     3 'Normalizat'    1.0752       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95509       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7023.671     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      345 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5221        29.731        .12936E-02    .61606E-05
   2  Index         2.8012        3.0891        .67257E-02    .18577E-05
   3  Normalizat    1.0753        .28996        .37570E-03    .46903E-05
   4  Prefactor     .95509        .12824        .17529E-03    .20988E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52209
  Index      = 2.80117
  Normalizat = 1.07532
  Prefactor  = 0.955086
 **********
 **   18 **HESSE 
 **********

 FCN=   7023.671     FROM HESSE     STATUS=OK            27 CALLS      372 TOTAL
                     EDM=   .99E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5221        23.103        .51745E-04   -1.5390    
   2  Index         2.8012        2.7842        .26903E-03   -.45534    
   3  Normalizat    1.0753        .29019        .15028E-04   -.90548    
   4  Prefactor     .95509        .12827        .35058E-04   -.94242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.94808e-13
Minuit parameter uncertainties:
  1  15.2743
  2  3.00308
  3  0.290617
  4  0.128313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/625355': 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) = 7023.67130891
delta logL = 0.00817378735883

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.522e+00  1.527e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.801e+00  3.003e+00  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.551e-01  1.283e-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.075e+00  2.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 186.392 -28.863

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/625355/cmap_HighResolution_502416001_502675201_4FGL_J1225.5-2851_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.68e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-05 14:49:00.108536', job_id='625355', GAL2='0.96', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1630878540.11', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.17e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1015' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 14:49:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 625355: <4FGL_J1225.5-2851_daily_bin1015> in cluster <slac> Done

Job <4FGL_J1225.5-2851_daily_bin1015> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 14:35:36 2021
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 14:35:37 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:37 2021
Terminated at Sun Sep  5 14:49:01 2021
Results reported at Sun Sep  5 14:49:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin1015 186.392 -28.8625 502416001 502675201 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 :                                   749.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             343.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            805 sec.

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

