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


Performing analysis on: 4FGL_J0226.5-4441_daily_bin1218
RA = 36.6481, Dec = -44.6859
tmin = 555033601, tmax = 555292801
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='406925', job_status='RUN', time_executed='2021-08-15 22:49:21.165013', time_epoch_executed='1629092961.17' WHERE source_name='4FGL J0226.5-4441' and cadence='daily' and bin_id='1218'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/406925

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/406925/ft1_4FGL_J0226.5-4441_daily_bin1218.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/406925/ft1_4FGL_J0226.5-4441_daily_bin1218.fits outfile=/scratch/kocevski/406925/ft1_filteredMKT_4FGL_J0226.5-4441_daily_bin1218.fits ra=36.6481 dec=-44.6859 rad=12.0 tmin=555033601.0 tmax=555292801.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.88
user 3.41
sys 1.41

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.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/406925/ft1_filteredMKT_4FGL_J0226.5-4441_daily_bin1218.fits evtable="EVENTS" outfile="/scratch/kocevski/406925/ft1_filtered_4FGL_J0226.5-4441_daily_bin1218.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 1.84
user 0.34
sys 1.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/406925/ft1_filtered_4FGL_J0226.5-4441_daily_bin1218.fits" evtable="EVENTS" scfile=/scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits sctable="SC_DATA" outfile=/scratch/kocevski/406925/ltcube_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.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/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits
.....................!
real 15.67
user 13.85
sys 1.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/406925/ft1_filtered_4FGL_J0226.5-4441_daily_bin1218.fits evtable="EVENTS" scfile=/scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits sctable="SC_DATA" expcube=/scratch/kocevski/406925/ltcube_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.fits outfile=/scratch/kocevski/406925/expmap_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.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/406925/ltcube_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.fits
.....................!
real 193.92
user 186.80
sys 6.24

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 Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 180 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 J0226.5-4441 @ 36.6481 -44.6859

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/406925/ft1_filtered_4FGL_J0226.5-4441_daily_bin1218.fits scfile=/scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits outfile=/scratch/kocevski/406925/cmap_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.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=36.6481 yref=-44.6859 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 1.73
user 0.38
sys 1.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/406925/ft1_filtered_4FGL_J0226.5-4441_daily_bin1218.fits scfile=/scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits outfile=/scratch/kocevski/406925/cmap_HighResolution_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.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=36.6481 yref=-44.6859 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 1.86
user 0.38
sys 1.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/406925/ft1_filtered_4FGL_J0226.5-4441_daily_bin1218.fits evtable="EVENTS" scfile=/scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/406925/Model_4FGL_J0226.5-4441_daily_bin1218.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 EG_v02
adding source Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/406925/ft1_filtered_4FGL_J0226.5-4441_daily_bin1218.fits.......!
real 16.73
user 13.80
sys 2.75

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/406925/ft1_filtered_4FGL_J0226.5-4441_daily_bin1218.fits', '/scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits', expMap='/scratch/kocevski/406925/expmap_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.fits', expCube='/scratch/kocevski/406925/ltcube_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/406925/Model_4FGL_J0226.5-4441_daily_bin1218.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0226.5-4441'

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  2.526e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
285        Index:  1.949e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  3.547e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/406925/ft1_filtered_4FGL_J0226.5-4441_daily_bin1218.fits
Spacecraft file(s): /scratch/kocevski/406925/ft2_4FGL_J0226.5-4441_daily_bin1218.fits
Exposure map: /scratch/kocevski/406925/expmap_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.fits
Exposure cube: /scratch/kocevski/406925/ltcube_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/406925/Model_4FGL_J0226.5-4441_daily_bin1218.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 103.548160093

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 101.697129482

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5295       1.0000         .10000E-03   10000.    
     2 'norm      '    8.8108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    118.43       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.215       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .65867       1.0000         .10000E-03   10000.    
     6 'norm      '    7.5407       1.0000         .10000E-03   10000.    
     7 'norm      '    .15524       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11282E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0186       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6690       1.0000         .10000E-03   10000.    
    11 'norm      '    4.2939       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19493       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .93983       1.0000         .10000E-03   10000.    
    14 'norm      '    3.1983       1.0000         .10000E-03   10000.    
    15 'norm      '    15.743       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3355       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.7911       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7473       1.0000         .10000E-03   10000.    
    19 'norm      '    1.9780       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.2577       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.2587       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.3006       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.6357       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.0480       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.0121       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.7629       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .54680       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .66209E-06   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   101.6815     FROM MIGRAD    STATUS=CONVERGED    157 CALLS      309 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29334E-03    813.65        .86286E-02** at limit **
   2  norm          8.8108        1.0016         .0000         .0000    
   3  Prefactor     121.66        1.0134       -.51760E-04    .10274E-01
   4  Prefactor     18.046        .99572        .17051E-04   -.19307E-03
   5  Prefactor     .10272E-03    .35416        .48890E-03** at limit **
   6  norm          7.5407        1.0022         .0000         .0000    
   7  norm          .10000E-03    .23870       -.71730E-04** at limit **
   8  Prefactor     .10000E-03    .20609       -.58326E-04** at limit **
   9  Prefactor     .10398E-03    .41265       -.37015E-03** at limit **
  10  Prefactor     2.6690        1.0187         .0000         .0000    
  11  norm          4.2939        1.0069         .0000         .0000    
  12  Prefactor     .18604E-03    .24773       -.54535E-03** at limit **
  13  Prefactor     .40305E-03    .41933       -.62406E-03** at limit **
  14  norm          3.1983        1.0128         .0000         .0000    
  15  norm          15.851        1.0039        .19626E-04   -.36420E-03
  16  Prefactor     5.3355        1.0045         .0000         .0000    
  17  Prefactor     .10013E-03    .15262       -.94628E-04** at limit **
  18  Prefactor     .14472E-03    .94260E-01   -.43348E-03** at limit **
  19  norm          1.9780        1.0362         .0000         .0000    
  20  Prefactor     .37916E-03    .34637E-01    .50764E-03** at limit **
  21  Prefactor     2.2587        1.0269         .0000         .0000    
  22  Prefactor     3.3006        1.0120         .0000         .0000    
  23  Prefactor     2.6357        1.0192         .0000         .0000    
  24  Prefactor     2.0480        1.0334         .0000         .0000    
  25  Prefactor     .29123E-03    .42830        .44418E-03** at limit **
  26  Prefactor     3.7629        1.0091         .0000         .0000    
  27  Normalizat    .54528        .88033        .32104E-04   -.74820E-04
  28  Prefactor     .57732E-13    .25731       -.55465E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000293337
  norm       = 8.8108
  Prefactor  = 121.658
  Prefactor  = 18.0458
  Prefactor  = 0.000102721
  norm       = 7.54065
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000103983
  Prefactor  = 2.66903
  norm       = 4.29387
  Prefactor  = 0.000186038
  Prefactor  = 0.000403054
  norm       = 3.19835
  norm       = 15.8514
  Prefactor  = 5.33551
  Prefactor  = 0.000100135
  Prefactor  = 0.000144716
  norm       = 1.97798
  Prefactor  = 0.000379158
  Prefactor  = 2.25874
  Prefactor  = 3.30059
  Prefactor  = 2.63572
  Prefactor  = 2.04802
  Prefactor  = 0.000291233
  Prefactor  = 3.76292
  Normalizat = 0.545281
  Prefactor  = 5.77316e-14
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   101.6815     FROM HESSE     STATUS=FAILED        13 CALLS      322 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29334E-03    813.65        .86286E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          499.13        490.29         .0000       -1.5114    
   3  Prefactor     121.66        1.0134       -.51760E-04   -1.3497    
   4  Prefactor     18.046        .99572        .17051E-04   -1.4858    
   5  Prefactor     .10272E-03    .35416        .48890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.5407        1.0022         .0000       -1.5159    
   7  norm          .10000E-03    .23870       -.71730E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .20609       -.58326E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10398E-03    .41265       -.37015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.6690        1.0187         .0000       -1.5381    
  11  norm          4.2939        1.0069         .0000       -1.5294    
  12  Prefactor     .18604E-03    .24773       -.54535E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .40305E-03    .41933       -.62406E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1983        1.0128         .0000       -1.5350    
  15  norm          15.851        1.0039        .19626E-04   -1.4911    
  16  Prefactor     5.3355        1.0045         .0000       -1.5246    
  17  Prefactor     .10013E-03    .15262       -.94628E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .14472E-03    .94260E-01   -.43348E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9780        1.0362         .0000       -1.5427    
  20  Prefactor     .37916E-03    .34637E-01    .50764E-03   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.2587        1.0269         .0000       -1.5407    
  22  Prefactor     3.3006        1.0120         .0000       -1.5345    
  23  Prefactor     2.6357        1.0192         .0000       -1.5383    
  24  Prefactor     2.0480        1.0334         .0000       -1.5422    
  25  Prefactor     .29123E-03    .42830        .44418E-03   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.7629        1.0091         .0000       -1.5320    
  27  Normalizat    .54528        .88033        .32104E-04   -1.1036    
  28  Prefactor     .57732E-13    .25731       -.55465E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.89657e-10
Minuit parameter uncertainties:
  1  0.804415
  2  1.00162
  3  1.01339
  4  0.995726
  5  0.00196346
  6  1.00221
  7  3.01211e-06
  8  1.17075e-05
  9  0.00256407
  10  1.01872
  11  1.00694
  12  0.00923346
  13  0.0225462
  14  1.01277
  15  1.00394
  16  1.00446
  17  0.000287065
  18  0.00410608
  19  1.03618
  20  0.00621903
  21  1.02688
  22  1.01196
  23  1.01923
  24  1.03343
  25  0.0181003
  26  1.00911
  27  0.904502
  28  2.44605e-07
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 101.681455747

Extracting fit parameters...

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  4.031e-04  2.255e-02  1.000e-04  1.000e+04 ( 1.000e-14)
285        Index:  1.949e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  3.547e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  5.773e-14  2.446e-07  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  5.453e-01  9.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.648 -44.686
Photon Flux Upper Limit: 6.80e-06 ph cm-2 s-1
Energy Flux Upper Limit: 5.08e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/406925/likelihoodResults_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.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) = 101.681455747
delta logL = -2.2531310151e-10

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 101.681455754
delta logL = -6.71786892781e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40243E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9489       1.0000          .0000       10.000    
     3 'Normalizat'    .54533       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51553E-11   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   101.6815     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      222 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10184E-03    280.04        .21261E-01** at limit **
   2  Index         2.0727        6.0286        .50000        .47138E-06
   3  Normalizat    .54529        .10356E-01    .17793E-03    .12683E-05
   4  Prefactor     .29582E-11    .33417E-03    .43899E-03** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101839
  Index      = 2.07266
  Normalizat = 0.545286
  Prefactor  = 2.95819e-12
 **********
 **   18 **HESSE 
 **********

 FCN=   101.6815     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      251 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10184E-03    1895.0        .29041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0727        8.4419        .50000       -.62546    
   3  Normalizat    .54529        .27798E-01    .35586E-04   -1.1036    
   4  Prefactor     .29582E-11    .24075E-02    .87799E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.48757e-11
Minuit parameter uncertainties:
  1  0.122141
  2  625.15
  3  0.0277988
  4  1.68787e-07
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/406925': 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) = 101.681455622
delta logL = 1.25204451251e-07

Extracting fit parameters...

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  1.018e-04  1.221e-01  1.000e-04  1.000e+04 ( 1.000e-14)
285        Index:  2.073e+00  6.251e+02  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  3.547e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  2.958e-12  1.688e-07  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  5.453e-01  2.780e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.648 -44.686

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/406925/cmap_HighResolution_555033601_555292801_4FGL_J0226.5-4441_daily_bin1218.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.08e-01', job_status='DONE', photon_flux_upper_limit='6.80e-06', time_completed='2021-08-15 22:55:25.259111', job_id='406925', GAL2='0.00', fit_tolerance='1e-08', EG2='0.55', EG='0.55', time_epoch_completed='1629093325.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='1.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1218' AND source_name='4FGL J0226.5-4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:55:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0119>
Subject: Job 406925: <4FGL_J0226.5-4441_daily_bin1218> in cluster <slac> Done

Job <4FGL_J0226.5-4441_daily_bin1218> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 22:45:52 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 22:47:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 22:47:55 2021
Terminated at Sun Aug 15 22:55:26 2021
Results reported at Sun Aug 15 22:55:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.5-4441_daily_bin1218 36.6481 -44.6859 555033601 555292801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0226.5-4441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   366.49 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             413.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   452 sec.
    Turnaround time :                            574 sec.

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

