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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin979
RA = 186.392, Dec = -28.8625
tmin = 493084801, tmax = 493344001
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='625299', job_status='RUN', time_executed='2021-09-05 14:38:11.330112', time_epoch_executed='1630877891.33' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='979'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/625299

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/625299/ft1_4FGL_J1225.5-2851_daily_bin979.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/625299/ft2_4FGL_J1225.5-2851_daily_bin979.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/625299/ft1_4FGL_J1225.5-2851_daily_bin979.fits outfile=/scratch/kocevski/625299/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin979.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=493084801.0 tmax=493344001.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.65
user 3.44
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/625299/ft2_4FGL_J1225.5-2851_daily_bin979.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/625299/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin979.fits evtable="EVENTS" outfile="/scratch/kocevski/625299/ft1_filtered_4FGL_J1225.5-2851_daily_bin979.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/625299/ft1_filtered_4FGL_J1225.5-2851_daily_bin979.fits" evtable="EVENTS" scfile=/scratch/kocevski/625299/ft2_4FGL_J1225.5-2851_daily_bin979.fits sctable="SC_DATA" outfile=/scratch/kocevski/625299/ltcube_493084801_493344001_4FGL_J1225.5-2851_daily_bin979.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/625299/ft2_4FGL_J1225.5-2851_daily_bin979.fits
.....................!
real 11.65
user 11.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/625299/ft1_filtered_4FGL_J1225.5-2851_daily_bin979.fits evtable="EVENTS" scfile=/scratch/kocevski/625299/ft2_4FGL_J1225.5-2851_daily_bin979.fits sctable="SC_DATA" expcube=/scratch/kocevski/625299/ltcube_493084801_493344001_4FGL_J1225.5-2851_daily_bin979.fits outfile=/scratch/kocevski/625299/expmap_493084801_493344001_4FGL_J1225.5-2851_daily_bin979.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/625299/ltcube_493084801_493344001_4FGL_J1225.5-2851_daily_bin979.fits
.....................!
real 191.22
user 186.18
sys 4.61

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/625299/ft1_filtered_4FGL_J1225.5-2851_daily_bin979.fits scfile=/scratch/kocevski/625299/ft2_4FGL_J1225.5-2851_daily_bin979.fits outfile=/scratch/kocevski/625299/cmap_493084801_493344001_4FGL_J1225.5-2851_daily_bin979.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/625299/ft1_filtered_4FGL_J1225.5-2851_daily_bin979.fits scfile=/scratch/kocevski/625299/ft2_4FGL_J1225.5-2851_daily_bin979.fits outfile=/scratch/kocevski/625299/cmap_HighResolution_493084801_493344001_4FGL_J1225.5-2851_daily_bin979.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.57
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/625299/ft1_filtered_4FGL_J1225.5-2851_daily_bin979.fits evtable="EVENTS" scfile=/scratch/kocevski/625299/ft2_4FGL_J1225.5-2851_daily_bin979.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/625299/Model_4FGL_J1225.5-2851_daily_bin979.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/625299/ft1_filtered_4FGL_J1225.5-2851_daily_bin979.fits.....................!
real 112.57
user 110.87
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1631       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.5463       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.030       1.0000         .10000E-03   10000.    
     5 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7216       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .46595E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.837       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4379       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.1134       1.0000         .10000E-03   10000.    
    14 'norm      '    .45141       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.154       1.0000         .10000E-03   10000.    
    16 'norm      '    15.090       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .27179       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .99287E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    12.312       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.8957       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86149       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=   6426.073     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2708 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1624        7.0866       -.71502E-06    .33773E-03
   2  Prefactor     .10000E-03    22.737       -.19163E-05** at limit **
   3  norm          6.5415        23.220       -.13327E-05    .21665E-04
   4  Prefactor     10.024        18.482       -.99303E-06    .41340E-04
   5  norm          .10000E-03    2.3894        .38698E-07** at limit **
   6  Prefactor     5.7174        8.1009       -.91816E-06    .12077E-03
   7  Prefactor     .10000E-03    24.293        .23712E-06** at limit **
   8  Prefactor     .10022E-03    46.517       -.24917E-04** at limit **
   9  Prefactor     31.834        33.080        .22035E-05   -.22097E-03
  10  Prefactor     .10000E-03    10.902       -.18908E-06** at limit **
  11  Prefactor     .10000E-03    25.415        .41841E-06** at limit **
  12  Prefactor     2.4175        158.75       -.45957E-05    .30164E-05
  13  Prefactor     9.1107        14.896       -.73163E-06    .72805E-04
  14  norm          .44999        1.0588       -.12741E-05   -.71999E-03
  15  Prefactor     17.082        45.886        .90171E-05   -.22715E-03
  16  norm          15.092        7.4497       -.31552E-06    .20704E-03
  17  Prefactor     .10000E-03    1.9758        .29797E-06** at limit **
  18  norm          .22453        85.107        .31548E-04   -.11629E-03
  19  Prefactor     .10004E-03    7.3889       -.24189E-05** at limit **
  20  norm          12.326        14.935       -.26145E-06    .31459E-03
  21  Normalizat    1.8963        .32037        .32359E-05    .24266E-03
  22  Prefactor     .86149        .12858        .20747E-05    .23347E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.16237
  Prefactor  = 0.000100001
  norm       = 6.54145
  Prefactor  = 10.0241
  norm       = 0.0001
  Prefactor  = 5.71741
  Prefactor  = 0.0001
  Prefactor  = 0.000100222
  Prefactor  = 31.8344
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.41755
  Prefactor  = 9.1107
  norm       = 0.449992
  Prefactor  = 17.0822
  norm       = 15.0919
  Prefactor  = 0.0001
  norm       = 0.224529
  Prefactor  = 0.000100042
  norm       = 12.3263
  Normalizat = 1.89625
  Prefactor  = 0.861486
 **********
 **   18 **HESSE 
 **********

 FCN=   6426.073     FROM HESSE     STATUS=OK           348 CALLS     3056 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1624        7.0867        .13240E-03   -1.5102    
   2  Prefactor     .10000E-03    22.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.5415        23.232        .15685E-03   -1.5196    
   4  Prefactor     10.024        18.517        .12653E-03   -1.5075    
   5  norm          .10000E-03    2.3914        .12077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.7174        8.0839        .16792E-03   -1.5230    
   7  Prefactor     .10000E-03    24.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10022E-03    133.71        .55896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     31.834        32.886        .71013E-04   -1.4579    
  10  Prefactor     .10000E-03    10.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    25.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4175        160.04        .26205E-03   -1.5397    
  13  Prefactor     9.1107        14.903        .13276E-03   -1.5104    
  14  norm          .44999        1.0515        .12198E-03   -1.5574    
  15  Prefactor     17.082        45.462        .96702E-04   -1.4881    
  16  norm          15.092        7.4317        .10311E-03   -1.4931    
  17  Prefactor     .10000E-03    1.9758        .10993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .22453        115.10        .41942E-02   -1.5613    
  19  Prefactor     .10004E-03    31.047        .42063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          12.326        14.891        .11416E-03   -1.5006    
  21  Normalizat    1.8963        .39192        .35176E-03   -.67177    
  22  Prefactor     .86149        .15589        .20659E-03   -.97500    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98518e-09
Minuit parameter uncertainties:
  1  7.08738
  2  0.000306924
  3  23.2644
  4  18.5275
  5  1.29451e-05
  6  8.08544
  7  7.91542e-05
  8  0.0109257
  9  32.9043
  10  1.23907e-05
  11  0.000150714
  12  39.4501
  13  14.9094
  14  1.05158
  15  45.5543
  16  7.43213
  17  2.85961e-05
  18  10.1846
  19  0.00228642
  20  14.8959
  21  0.392581
  22  0.155967
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  2.418e+00  3.945e+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:  8.615e-01  1.560e-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.896e+00  3.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.392 -28.863
Photon Flux Upper Limit: 1.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/625299/likelihoodResults_493084801_493344001_4FGL_J1225.5-2851_daily_bin979.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) = 6425.51764846
delta logL = 0.555721152557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6425.51620351
delta logL = 0.557166109865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1721       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5130       1.0000          .0000       10.000    
     3 'Normalizat'    1.7662       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89423       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=   6425.516     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      248 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1476        30.154        .10591E-02    .31099E-03
   2  Index         4.5237        3.6131        .11017        .17539E-03
   3  Normalizat    1.7657        .10252        .81639E-01    .56863E-05
   4  Prefactor     .89439        .41870E-01    .44931E-01    .70312E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.1476
  Index      = 4.52374
  Normalizat = 1.76574
  Prefactor  = 0.894391
 **********
 **   18 **HESSE 
 **********

 FCN=   6425.516     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      281 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1476        53.837        .42364E-04   -1.5494    
   2  Index         4.5237        7.2387        .59852E-02   -.95396E-01
   3  Normalizat    1.7657        .30496        .36132E-03   -.70561    
   4  Prefactor     .89439        .12714        .20308E-03   -.96337    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00351e-09
Minuit parameter uncertainties:
  1  15.7349
  2  6.66533
  3  0.30529
  4  0.127186
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/625299': 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) = 6425.51619776
delta logL = 0.557171856192

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  1.148e+00  1.573e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  4.524e+00  6.665e+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:  8.944e-01  1.272e-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.766e+00  3.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 186.392 -28.863
Photon Index (Free Index): 4.52 +/- 6.67
Photon Flux (Free Index): 1.24e-07 +/- 1.21e-07
Energy Flux (Free Index): 1.73e-05 +/- 2.16e-05

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/625299/cmap_HighResolution_493084801_493344001_4FGL_J1225.5-2851_daily_bin979.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-02', comment='SUCCESS', energy_flux2='1.73e-05', dlogl='5.57e-01', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-09-05 14:50:29.332911', photon_index_error2='6.67', photon_index2='4.52', ts='0.00', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='2.16e-05', EG='1.90', time_epoch_completed='1630878629.33', return_code='0', job_id='625299', GAL2='0.89', EG2='1.77', return_code2='102', photon_flux_error2='1.21e-07', ts2='1.21', photon_index='2.43' WHERE bin_id='979' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 14:50:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 625299: <4FGL_J1225.5-2851_daily_bin979> in cluster <slac> Done

Job <4FGL_J1225.5-2851_daily_bin979> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 14:35:33 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 14:35:34 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:34 2021
Terminated at Sun Sep  5 14:50:30 2021
Results reported at Sun Sep  5 14:50:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin979 186.392 -28.8625 493084801 493344001 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 :                                   733.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             302.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            897 sec.

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

