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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin806
RA = 186.392, Dec = -28.8625
tmin = 448243201, tmax = 448502401
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='623403', job_status='RUN', time_executed='2021-09-05 14:32:57.346579', time_epoch_executed='1630877577.35' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='806'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/623403

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/623403/ft1_4FGL_J1225.5-2851_daily_bin806.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/623403/ft2_4FGL_J1225.5-2851_daily_bin806.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/623403/ft1_4FGL_J1225.5-2851_daily_bin806.fits outfile=/scratch/kocevski/623403/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin806.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=448243201.0 tmax=448502401.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 5.20
user 4.93
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/623403/ft2_4FGL_J1225.5-2851_daily_bin806.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/623403/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin806.fits evtable="EVENTS" outfile="/scratch/kocevski/623403/ft1_filtered_4FGL_J1225.5-2851_daily_bin806.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/623403/ft1_filtered_4FGL_J1225.5-2851_daily_bin806.fits" evtable="EVENTS" scfile=/scratch/kocevski/623403/ft2_4FGL_J1225.5-2851_daily_bin806.fits sctable="SC_DATA" outfile=/scratch/kocevski/623403/ltcube_448243201_448502401_4FGL_J1225.5-2851_daily_bin806.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/623403/ft2_4FGL_J1225.5-2851_daily_bin806.fits
.....................!
real 11.79
user 11.45
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/623403/ft1_filtered_4FGL_J1225.5-2851_daily_bin806.fits evtable="EVENTS" scfile=/scratch/kocevski/623403/ft2_4FGL_J1225.5-2851_daily_bin806.fits sctable="SC_DATA" expcube=/scratch/kocevski/623403/ltcube_448243201_448502401_4FGL_J1225.5-2851_daily_bin806.fits outfile=/scratch/kocevski/623403/expmap_448243201_448502401_4FGL_J1225.5-2851_daily_bin806.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/623403/ltcube_448243201_448502401_4FGL_J1225.5-2851_daily_bin806.fits
.....................!
real 190.84
user 186.28
sys 4.23

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/623403/ft1_filtered_4FGL_J1225.5-2851_daily_bin806.fits scfile=/scratch/kocevski/623403/ft2_4FGL_J1225.5-2851_daily_bin806.fits outfile=/scratch/kocevski/623403/cmap_448243201_448502401_4FGL_J1225.5-2851_daily_bin806.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/623403/ft1_filtered_4FGL_J1225.5-2851_daily_bin806.fits scfile=/scratch/kocevski/623403/ft2_4FGL_J1225.5-2851_daily_bin806.fits outfile=/scratch/kocevski/623403/cmap_HighResolution_448243201_448502401_4FGL_J1225.5-2851_daily_bin806.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/623403/ft1_filtered_4FGL_J1225.5-2851_daily_bin806.fits evtable="EVENTS" scfile=/scratch/kocevski/623403/ft2_4FGL_J1225.5-2851_daily_bin806.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/623403/Model_4FGL_J1225.5-2851_daily_bin806.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/623403/ft1_filtered_4FGL_J1225.5-2851_daily_bin806.fits.....................!
real 112.17
user 110.73
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33648E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.868       1.0000         .10000E-03   10000.    
     5 'norm      '    3.9429       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.2346       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10944E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.707       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.684       1.0000         .10000E-03   10000.    
    14 'norm      '    .68513       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11162E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.4549       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.8769       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5556       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0738       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0010       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=   6470.340     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2456 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    5.2362        .56250E-01** at limit **
   2  Prefactor     .10004E-03    18.911        .90712E-02** at limit **
   3  norm          .10000E-03    9.4515        .90712E-02** at limit **
   4  Prefactor     10.869        21.720        .30383E-02    .33961E-03
   5  norm          3.9431        6.4463        .50788E-02    .36323E-03
   6  Prefactor     5.2348        7.2707        .43922E-02    .17019E-02
   7  Prefactor     .10000E-03    75.589        .90712E-02** at limit **
   8  Prefactor     .10005E-03    5.0641        .90712E-01** at limit **
   9  Prefactor     .10000E-03    21.815        .90712E-02** at limit **
  10  Prefactor     .10000E-03    40.595        .90712E-02** at limit **
  11  Prefactor     41.728        49.586        .15518E-02   -.12519E-02
  12  Prefactor     .10000E-03    8.3337        .90712E-02** at limit **
  13  Prefactor     10.684        10.759        .30644E-02   -.14558E-03
  14  norm          .68517        1.0954        .12005E-01    .13207E-02
  15  Prefactor     .10003E-03    356.20        .90712E-02** at limit **
  16  norm          3.4524        6.0083        .54395E-02    .61350E-03
  17  Prefactor     .10000E-03    3.1679        .90712E-02** at limit **
  18  norm          3.8773        5.6483        .51233E-02    .68746E-03
  19  Prefactor     2.5557        8.9810        .63848E-02    .36479E-03
  20  norm          .10000E-03    2.4016        .90712E-02** at limit **
  21  Normalizat    1.0737        .25902        .82362E-01   -.26763E-04
  22  Prefactor     1.0011        .11258        .45353E-01   -.99252E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100024
  Prefactor  = 0.000100044
  norm       = 0.0001
  Prefactor  = 10.8691
  norm       = 3.94314
  Prefactor  = 5.23475
  Prefactor  = 0.000100001
  Prefactor  = 0.000100054
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 41.7277
  Prefactor  = 0.0001
  Prefactor  = 10.684
  norm       = 0.685173
  Prefactor  = 0.000100026
  norm       = 3.45239
  Prefactor  = 0.0001
  norm       = 3.87732
  Prefactor  = 2.55573
  norm       = 0.0001
  Normalizat = 1.07372
  Prefactor  = 1.00108
 **********
 **   18 **HESSE 
 **********

 FCN=   6470.340     FROM HESSE     STATUS=OK           350 CALLS     2806 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    5.2777        .55927E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10004E-03    18.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.4552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.869        21.543        .12153E-03   -1.5048    
   5  norm          3.9431        6.3773        .19833E-03   -1.5311    
   6  Prefactor     5.2348        7.2739        .17569E-03   -1.5250    
   7  Prefactor     .10000E-03    75.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10005E-03    18.940        .35173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    21.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    40.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.728        49.340        .62072E-04   -1.4415    
  12  Prefactor     .10000E-03    8.3419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.684        10.758        .12257E-03   -1.5054    
  14  norm          .68517        1.0632        .10040E-03   -1.5542    
  15  Prefactor     .10003E-03    358.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.4524        5.9765        .21758E-03   -1.5336    
  17  Prefactor     .10000E-03    3.1786        .13947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8773        5.6364        .20493E-03   -1.5314    
  19  Prefactor     2.5557        8.9709        .25539E-03   -1.5388    
  20  norm          .10000E-03    2.4085        .12173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0737        .30760        .36464E-03   -.90600    
  22  Prefactor     1.0011        .13498        .16924E-03   -.92693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7768e-08
Minuit parameter uncertainties:
  1  0.000716932
  2  0.00182231
  3  1.2283e-05
  4  21.5586
  5  6.37838
  6  7.27515
  7  0.000509157
  8  0.00202605
  9  0.000246787
  10  1.6361e-05
  11  49.3885
  12  3.38938e-06
  13  10.7602
  14  1.06321
  15  0.00616278
  16  5.97749
  17  2.77187e-06
  18  5.63716
  19  8.97564
  20  6.35817e-07
  21  0.308117
  22  0.135023
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  3.389e-06  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:  1.001e+00  1.350e-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.074e+00  3.081e-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: 7.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/623403/likelihoodResults_448243201_448502401_4FGL_J1225.5-2851_daily_bin806.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) = 6470.34021221
delta logL = -0.000570913062802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6470.33964132
delta logL = -2.70501914201e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4192       1.0000          .0000       10.000    
     3 'Normalizat'    1.0737       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0011       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=   6470.340     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10265E-03    9.3137        .18142E-01** at limit **
   2  Index         2.3008        8.8484        .50000        .11299E-04
   3  Normalizat    1.0737        .65252E-02    .36464E-03   -.93845E-05
   4  Prefactor     1.0011        .29552E-02    .16924E-03    .95525E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102646
  Index      = 2.3008
  Normalizat = 1.07372
  Prefactor  = 1.00108
 **********
 **   18 **HESSE 
 **********

 FCN=   6470.340     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10265E-03    143.93        .23458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3008        6.0393        .50000       -.57025    
   3  Normalizat    1.0737        .26078E-01    .14586E-04   -.90600    
   4  Prefactor     1.0011        .11810E-01    .33847E-04   -.92693    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20583e-08
Minuit parameter uncertainties:
  1  0.0391224
  2  796.299
  3  0.026078
  4  0.0118105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/623403': 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) = 6470.33964104
delta logL = 2.5455665309e-07

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  1.026e-04  3.912e-02  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.301e+00  7.963e+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:  1.001e+00  1.181e-02  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.074e+00  2.608e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/623403/cmap_HighResolution_448243201_448502401_4FGL_J1225.5-2851_daily_bin806.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.19e-03', job_status='DONE', photon_flux_upper_limit='7.99e-08', time_completed='2021-09-05 14:45:13.485255', job_id='623403', GAL2='1.00', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630878313.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='806' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 14:45:13 PDT 2021


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

Job <4FGL_J1225.5-2851_daily_bin806> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sun Sep  5 14:30:25 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 14:30:26 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:30:26 2021
Terminated at Sun Sep  5 14:45:14 2021
Results reported at Sun Sep  5 14:45:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin806 186.392 -28.8625 448243201 448502401 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 :                             291.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            889 sec.

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

