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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin1083
RA = 186.392, Dec = -28.8625
tmin = 520041601, tmax = 520300801
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='625452', job_status='RUN', time_executed='2021-09-05 14:38:59.550470', time_epoch_executed='1630877939.55' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='1083'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/625452

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/625452/ft1_4FGL_J1225.5-2851_daily_bin1083.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/625452/ft2_4FGL_J1225.5-2851_daily_bin1083.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/625452/ft1_4FGL_J1225.5-2851_daily_bin1083.fits outfile=/scratch/kocevski/625452/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1083.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=520041601.0 tmax=520300801.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.28
user 4.02
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/625452/ft2_4FGL_J1225.5-2851_daily_bin1083.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/625452/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1083.fits evtable="EVENTS" outfile="/scratch/kocevski/625452/ft1_filtered_4FGL_J1225.5-2851_daily_bin1083.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.51
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/625452/ft1_filtered_4FGL_J1225.5-2851_daily_bin1083.fits" evtable="EVENTS" scfile=/scratch/kocevski/625452/ft2_4FGL_J1225.5-2851_daily_bin1083.fits sctable="SC_DATA" outfile=/scratch/kocevski/625452/ltcube_520041601_520300801_4FGL_J1225.5-2851_daily_bin1083.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/625452/ft2_4FGL_J1225.5-2851_daily_bin1083.fits
.....................!
real 11.80
user 11.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/625452/ft1_filtered_4FGL_J1225.5-2851_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/625452/ft2_4FGL_J1225.5-2851_daily_bin1083.fits sctable="SC_DATA" expcube=/scratch/kocevski/625452/ltcube_520041601_520300801_4FGL_J1225.5-2851_daily_bin1083.fits outfile=/scratch/kocevski/625452/expmap_520041601_520300801_4FGL_J1225.5-2851_daily_bin1083.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/625452/ltcube_520041601_520300801_4FGL_J1225.5-2851_daily_bin1083.fits
.....................!
real 191.17
user 185.43
sys 5.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
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/625452/ft1_filtered_4FGL_J1225.5-2851_daily_bin1083.fits scfile=/scratch/kocevski/625452/ft2_4FGL_J1225.5-2851_daily_bin1083.fits outfile=/scratch/kocevski/625452/cmap_520041601_520300801_4FGL_J1225.5-2851_daily_bin1083.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/625452/ft1_filtered_4FGL_J1225.5-2851_daily_bin1083.fits scfile=/scratch/kocevski/625452/ft2_4FGL_J1225.5-2851_daily_bin1083.fits outfile=/scratch/kocevski/625452/cmap_HighResolution_520041601_520300801_4FGL_J1225.5-2851_daily_bin1083.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/625452/ft1_filtered_4FGL_J1225.5-2851_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/625452/ft2_4FGL_J1225.5-2851_daily_bin1083.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/625452/Model_4FGL_J1225.5-2851_daily_bin1083.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/625452/ft1_filtered_4FGL_J1225.5-2851_daily_bin1083.fits.....................!
real 100.98
user 99.56
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.694       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    40.875       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14573E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13382E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    89.739       1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.608       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7089       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.0536       1.0000         .10000E-03   10000.    
    14 'norm      '    .98439       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.2145       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.6987       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0147       1.0000         .10000E-03   10000.    
    20 'norm      '    7.4777       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6242       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75511       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=   5739.781     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2350 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.699        9.9524        .16133E-05    .33102E-04
   2  Prefactor     .10000E-03    18.828        .11038E-05** at limit **
   3  norm          40.874        28.130        .45781E-07   -.11616E-05
   4  Prefactor     .10000E-03    9.3889        .18434E-09** at limit **
   5  norm          .10000E-03    1.8357       -.86948E-07** at limit **
   6  Prefactor     .10000E-03    5.8369       -.13630E-05** at limit **
   7  Prefactor     .10000E-03    62.035        .15380E-05** at limit **
   8  Prefactor     .10000E-03    10.253        .10694E-06** at limit **
   9  Prefactor     89.698        51.479       -.55690E-05   -.53117E-04
  10  Prefactor     30.664        42.730       -.80479E-05    .69317E-04
  11  Prefactor     2.5322        591.64       -.13505E-04    .89111E-05
  12  Prefactor     .10000E-03    21.050       -.12760E-05** at limit **
  13  Prefactor     9.0550        14.753       -.34687E-06    .71725E-05
  14  norm          .98448        1.1036        .10022E-06    .12074E-03
  15  Prefactor     .10000E-03    25.000       -.56057E-06** at limit **
  16  norm          7.2111        7.2376        .91211E-07   -.10274E-04
  17  Prefactor     .10000E-03    6.7711        .51438E-07** at limit **
  18  norm          3.6990        7.3142        .37570E-06   -.62177E-05
  19  Prefactor     8.0116        13.955        .27853E-05   -.20297E-04
  20  norm          7.4779        6.9986       -.90405E-07   -.64803E-05
  21  Normalizat    1.6233        .30331        .37977E-05   -.14001E-03
  22  Prefactor     .75551        .12322       -.28903E-05    .21529E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.6989
  Prefactor  = 0.0001
  norm       = 40.8745
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 89.6984
  Prefactor  = 30.6644
  Prefactor  = 2.5322
  Prefactor  = 0.0001
  Prefactor  = 9.05499
  norm       = 0.984484
  Prefactor  = 0.0001
  norm       = 7.2111
  Prefactor  = 0.0001
  norm       = 3.69903
  Prefactor  = 8.01156
  norm       = 7.47791
  Normalizat = 1.62327
  Prefactor  = 0.755509
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.781     FROM HESSE     STATUS=OK           342 CALLS     2692 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.699        10.086        .61260E-03   -1.5054    
   2  Prefactor     .10000E-03    18.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          40.874        28.134        .62698E-04   -1.4428    
   4  Prefactor     .10000E-03    9.4097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.8397        .10022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8267        .17742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    62.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     89.698        51.570        .21208E-03   -1.3811    
  10  Prefactor     30.664        44.565        .72422E-04   -1.4600    
  11  Prefactor     2.5322        667.75        .24748E-02   -1.5390    
  12  Prefactor     .10000E-03    21.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.0550        14.778        .13320E-03   -1.5106    
  14  norm          .98448        1.0609        .80676E-03   -1.5510    
  15  Prefactor     .10000E-03    25.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.2111        7.1886        .14934E-03   -1.5171    
  17  Prefactor     .10000E-03    6.8079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.6990        7.3051        .20999E-03   -1.5323    
  19  Prefactor     8.0116        13.979        .70813E-03   -1.5142    
  20  norm          7.4779        6.9968        .14666E-03   -1.5161    
  21  Normalizat    1.6233        .35779        .33207E-03   -.74371    
  22  Prefactor     .75551        .14446        .19523E-03   -1.0139    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63148e-10
Minuit parameter uncertainties:
  1  10.0875
  2  3.15867e-05
  3  28.1428
  4  3.49501e-05
  5  6.51116e-06
  6  0.000114853
  7  0.000684044
  8  9.00821e-06
  9  51.5954
  10  44.6135
  11  83.1936
  12  5.91744e-05
  13  14.7842
  14  1.06088
  15  1.83222e-05
  16  7.18943
  17  7.35253e-06
  18  7.30687
  19  13.9844
  20  6.99758
  21  0.358359
  22  0.144529
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  5.917e-05  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:  7.555e-01  1.445e-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.623e+00  3.584e-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.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/625452/likelihoodResults_520041601_520300801_4FGL_J1225.5-2851_daily_bin1083.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) = 5739.78115153
delta logL = -0.000226091277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5739.78092743
delta logL = -1.99071109819e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9783       1.0000          .0000       10.000    
     3 'Normalizat'    1.6233       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75551       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5739.781     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      278 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11456E-03    5.0662        .18142E-01** at limit **
   2  Index         2.7099        5.2101        .50000        .17974E-04
   3  Normalizat    1.6233        .41593E-02    .33206E-03   -.70870E-04
   4  Prefactor     .75551        .17591E-02    .19523E-03   -.15601E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00011456
  Index      = 2.70995
  Normalizat = 1.62327
  Prefactor  = 0.755506
 **********
 **   18 **HESSE 
 **********

 FCN=   5739.781     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11456E-03    131.48        .29490E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7099        6.2358        .50000       -.47576    
   3  Normalizat    1.6233        .21261E-01    .13282E-04   -.74371    
   4  Prefactor     .75551        .89921E-02    .78091E-05   -1.0139    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.38033e-08
Minuit parameter uncertainties:
  1  0.0876996
  2  617.885
  3  0.021261
  4  0.00899215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/625452': 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) = 5739.78092663
delta logL = -1.18484240375e-06

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  1.146e-04  8.770e-02  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.710e+00  6.179e+02  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:  7.555e-01  8.992e-03  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.623e+00  2.126e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/625452/cmap_HighResolution_520041601_520300801_4FGL_J1225.5-2851_daily_bin1083.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2021-09-05 14:50:21.743456', job_id='625452', GAL2='0.76', fit_tolerance='1e-08', EG2='1.62', EG='1.62', time_epoch_completed='1630878621.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-1.18e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1083' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 14:50:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 625452: <4FGL_J1225.5-2851_daily_bin1083> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin1083 186.392 -28.8625 520041601 520300801 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 :                                   676.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            879 sec.

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

