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


Performing analysis on: 4FGL_J1225.5-2851_daily_bin1434
RA = 186.392, Dec = -28.8625
tmin = 611020801, tmax = 611280001
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='627387', job_status='RUN', time_executed='2021-09-05 14:42:40.105510', time_epoch_executed='1630878160.11' WHERE source_name='4FGL J1225.5-2851' and cadence='daily' and bin_id='1434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/627387

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/627387/ft1_4FGL_J1225.5-2851_daily_bin1434.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/627387/ft2_4FGL_J1225.5-2851_daily_bin1434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/627387/ft1_4FGL_J1225.5-2851_daily_bin1434.fits outfile=/scratch/kocevski/627387/ft1_filteredMKT_4FGL_J1225.5-2851_daily_bin1434.fits ra=186.392 dec=-28.8625 rad=12.0 tmin=611020801.0 tmax=611280001.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.59
user 3.28
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/627387/ft1_filtered_4FGL_J1225.5-2851_daily_bin1434.fits" evtable="EVENTS" scfile=/scratch/kocevski/627387/ft2_4FGL_J1225.5-2851_daily_bin1434.fits sctable="SC_DATA" outfile=/scratch/kocevski/627387/ltcube_611020801_611280001_4FGL_J1225.5-2851_daily_bin1434.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/627387/ft2_4FGL_J1225.5-2851_daily_bin1434.fits
.....................!
real 11.87
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/627387/ft1_filtered_4FGL_J1225.5-2851_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/627387/ft2_4FGL_J1225.5-2851_daily_bin1434.fits sctable="SC_DATA" expcube=/scratch/kocevski/627387/ltcube_611020801_611280001_4FGL_J1225.5-2851_daily_bin1434.fits outfile=/scratch/kocevski/627387/expmap_611020801_611280001_4FGL_J1225.5-2851_daily_bin1434.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/627387/ltcube_611020801_611280001_4FGL_J1225.5-2851_daily_bin1434.fits
.....................!
real 190.70
user 185.29
sys 5.02

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/627387/ft1_filtered_4FGL_J1225.5-2851_daily_bin1434.fits scfile=/scratch/kocevski/627387/ft2_4FGL_J1225.5-2851_daily_bin1434.fits outfile=/scratch/kocevski/627387/cmap_611020801_611280001_4FGL_J1225.5-2851_daily_bin1434.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.63
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/627387/ft1_filtered_4FGL_J1225.5-2851_daily_bin1434.fits scfile=/scratch/kocevski/627387/ft2_4FGL_J1225.5-2851_daily_bin1434.fits outfile=/scratch/kocevski/627387/cmap_HighResolution_611020801_611280001_4FGL_J1225.5-2851_daily_bin1434.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.61
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.396       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11684E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    10.727       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6751       1.0000         .10000E-03   10000.    
     7 'Prefactor '    110.91       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.1838       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.188       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11306E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11621E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13257E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3435       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.2766       1.0000         .10000E-03   10000.    
    18 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.2867       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5134       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80409       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=   7000.124     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2415 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.396        7.8927       -.45725E-06   -.55379E-04
   2  Prefactor     .10000E-03    10.127        .38663E-06** at limit **
   3  norm          .10000E-03    7.4802        .28578E-07** at limit **
   4  Prefactor     .10001E-03    30.506        .53524E-05** at limit **
   5  norm          10.729        7.0001       -.19901E-05   -.33595E-03
   6  Prefactor     8.6926        7.8324       -.11059E-05   -.16920E-03
   7  Prefactor     110.89        77.498       -.11806E-04   -.17781E-04
   8  Prefactor     9.1824        11.807       -.63194E-06   -.41533E-04
   9  Prefactor     10.964        44.337       -.21345E-05   -.14081E-04
  10  Prefactor     .10000E-03    12.788       -.21051E-06** at limit **
  11  Prefactor     .10000E-03    16.187        .26040E-06** at limit **
  12  Prefactor     .10000E-03    31.465        .10225E-04** at limit **
  13  Prefactor     .10030E-03    7.3871       -.33400E-05** at limit **
  14  norm          1.3435        1.0937       -.91299E-07    .62604E-05
  15  Prefactor     .10000E-03    70.626        .10736E-05** at limit **
  16  norm          .10000E-03    5.5880       -.44922E-07** at limit **
  17  Prefactor     4.2764        4.4888       -.19394E-06    .12304E-06
  18  norm          .10000E-03    5.0136       -.11439E-06** at limit **
  19  Prefactor     .10000E-03    4.9812       -.38314E-07** at limit **
  20  norm          5.2865        6.6580        .91945E-06   -.13148E-03
  21  Normalizat    1.5132        .26486        .27854E-05    .35198E-04
  22  Prefactor     .80421        .10996        .19245E-06    .28279E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3956
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100009
  norm       = 10.7286
  Prefactor  = 8.69255
  Prefactor  = 110.891
  Prefactor  = 9.18242
  Prefactor  = 10.9635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001003
  norm       = 1.34347
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.2764
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.28646
  Normalizat = 1.51321
  Prefactor  = 0.804209
 **********
 **   18 **HESSE 
 **********

 FCN=   7000.124     FROM HESSE     STATUS=OK           340 CALLS     2755 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.396        7.9002        .10207E-03   -1.4923    
   2  Prefactor     .10000E-03    10.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.4827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    31.540        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.729        7.0492        .12233E-03   -1.5053    
   6  Prefactor     8.6926        7.7907        .13609E-03   -1.5118    
   7  Prefactor     110.89        77.043        .38194E-04   -1.3598    
   8  Prefactor     9.1824        11.810        .13225E-03   -1.5102    
   9  Prefactor     10.964        43.746        .11977E-03   -1.5046    
  10  Prefactor     .10000E-03    12.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10030E-03    31.430        .42995E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3435        1.0939        .37795E-04   -1.5476    
  15  Prefactor     .10000E-03    70.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.7248        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.2764        4.4792        .17566E-03   -1.5294    
  18  norm          .10000E-03    5.2132        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.0206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.2865        6.6394        .17481E-03   -1.5248    
  21  Normalizat    1.5132        .31661        .33976E-03   -.77408    
  22  Prefactor     .80421        .13191        .19189E-03   -.99573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.79903e-09
Minuit parameter uncertainties:
  1  7.90077
  2  1.28122e-05
  3  3.36805e-06
  4  0.00105945
  5  7.04977
  6  7.79158
  7  77.113
  8  11.813
  9  43.8559
  10  0.000111277
  11  6.06268e-05
  12  3.28541e-05
  13  0.00614153
  14  1.09392
  15  2.60507e-05
  16  9.04601e-06
  17  4.47953
  18  2.41573e-05
  19  8.18295e-06
  20  6.64035
  21  0.317026
  22  0.131962
Done.

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

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  3.285e-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:  8.042e-01  1.320e-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.513e+00  3.170e-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.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/627387/likelihoodResults_611020801_611280001_4FGL_J1225.5-2851_daily_bin1434.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) = 7000.12384363
delta logL = -0.000151233524775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7000.12369275
delta logL = -3.53570612788e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3585       1.0000          .0000       10.000    
     3 'Normalizat'    1.5132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80421       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=   7000.124     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      274 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    6483.8        .18142E-02** at limit **
   2  Index         2.4146        8.7593        .50000       -.20824E-04
   3  Normalizat    1.5132        .82538E-01    .33976E-03   -.27933E-03
   4  Prefactor     .80421        .35540E-01    .19189E-03   -.30472E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  Index      = 2.41464
  Normalizat = 1.51321
  Prefactor  = 0.804209
 **********
 **   18 **HESSE 
 **********

 FCN=   7000.124     FROM HESSE     STATUS=OK            29 CALLS      303 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    57.769        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4146        6.0342        .50000       -.54343    
   3  Normalizat    1.5132        .30304        .67953E-04   -.77408    
   4  Prefactor     .80421        .13061        .38377E-04   -.99573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36452e-10
Minuit parameter uncertainties:
  1  0.00155275
  2  5.99907
  3  0.303409
  4  0.130656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/627387': 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) = 7000.12369249
delta logL = -9.20890670386e-08

Extracting fit parameters...

4FGL J1225.5-2851
   Spectrum: PowerLaw
293    Prefactor:  1.000e-04  1.553e-03  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.415e+00  5.999e+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.042e-01  1.307e-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.513e+00  3.034e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/627387/cmap_HighResolution_611020801_611280001_4FGL_J1225.5-2851_daily_bin1434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.74e-03', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2021-09-05 14:57:09.388453', job_id='627387', GAL2='0.80', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1630879029.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='-9.21e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1434' AND source_name='4FGL J1225.5-2851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 14:57:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 627387: <4FGL_J1225.5-2851_daily_bin1434> in cluster <slac> Done

Job <4FGL_J1225.5-2851_daily_bin1434> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 14:41:00 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 14:41:02 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:41:02 2021
Terminated at Sun Sep  5 14:57:10 2021
Results reported at Sun Sep  5 14:57:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.5-2851_daily_bin1434 186.392 -28.8625 611020801 611280001 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 :                                   751.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            970 sec.

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

