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


Performing analysis on: 4FGL_J0226.5-4441_daily_bin1024
RA = 36.6481, Dec = -44.6859
tmin = 504748801, tmax = 505008001
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='405417', job_status='RUN', time_executed='2021-08-15 22:46:42.910664', time_epoch_executed='1629092802.91' WHERE source_name='4FGL J0226.5-4441' and cadence='daily' and bin_id='1024'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/405417

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/405417/ft1_4FGL_J0226.5-4441_daily_bin1024.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/405417/ft1_4FGL_J0226.5-4441_daily_bin1024.fits outfile=/scratch/kocevski/405417/ft1_filteredMKT_4FGL_J0226.5-4441_daily_bin1024.fits ra=36.6481 dec=-44.6859 rad=12.0 tmin=504748801.0 tmax=505008001.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 8.97
user 8.11
sys 0.82

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.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/405417/ft1_filteredMKT_4FGL_J0226.5-4441_daily_bin1024.fits evtable="EVENTS" outfile="/scratch/kocevski/405417/ft1_filtered_4FGL_J0226.5-4441_daily_bin1024.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.04
user 0.33
sys 0.70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/405417/ft1_filtered_4FGL_J0226.5-4441_daily_bin1024.fits" evtable="EVENTS" scfile=/scratch/kocevski/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.fits sctable="SC_DATA" outfile=/scratch/kocevski/405417/ltcube_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.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/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.fits
.....................!
real 13.67
user 12.61
sys 1.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/405417/ft1_filtered_4FGL_J0226.5-4441_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.fits sctable="SC_DATA" expcube=/scratch/kocevski/405417/ltcube_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.fits outfile=/scratch/kocevski/405417/expmap_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.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/405417/ltcube_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.fits
.....................!
real 191.15
user 185.73
sys 4.92

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/405417/ft1_filtered_4FGL_J0226.5-4441_daily_bin1024.fits scfile=/scratch/kocevski/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.fits outfile=/scratch/kocevski/405417/cmap_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.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.09
user 0.39
sys 0.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/405417/ft1_filtered_4FGL_J0226.5-4441_daily_bin1024.fits scfile=/scratch/kocevski/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.fits outfile=/scratch/kocevski/405417/cmap_HighResolution_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.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.09
user 0.40
sys 0.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/405417/ft1_filtered_4FGL_J0226.5-4441_daily_bin1024.fits evtable="EVENTS" scfile=/scratch/kocevski/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/405417/Model_4FGL_J0226.5-4441_daily_bin1024.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/405417/ft1_filtered_4FGL_J0226.5-4441_daily_bin1024.fits.....................!
real 54.20
user 51.90
sys 1.88

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/405417/ft1_filtered_4FGL_J0226.5-4441_daily_bin1024.fits', '/scratch/kocevski/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.fits', expMap='/scratch/kocevski/405417/expmap_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.fits', expCube='/scratch/kocevski/405417/ltcube_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/405417/Model_4FGL_J0226.5-4441_daily_bin1024.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/405417/ft1_filtered_4FGL_J0226.5-4441_daily_bin1024.fits
Spacecraft file(s): /scratch/kocevski/405417/ft2_4FGL_J0226.5-4441_daily_bin1024.fits
Exposure map: /scratch/kocevski/405417/expmap_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.fits
Exposure cube: /scratch/kocevski/405417/ltcube_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/405417/Model_4FGL_J0226.5-4441_daily_bin1024.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) = 2439.35010348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.866       1.0000         .10000E-03   10000.    
     2 'norm      '    60.743       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11535E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.9198       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .31460E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    61.634       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.029       1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.696       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.0208       1.0000         .10000E-03   10000.    
    11 'norm      '    5.8914       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13862E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    .81752       1.0000         .10000E-03   10000.    
    15 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    71.172       1.0000         .10000E-03   10000.    
    17 'Prefactor '    55.177       1.0000         .10000E-03   10000.    
    18 'Prefactor '    98.878       1.0000         .10000E-03   10000.    
    19 'norm      '    2.2572       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6551       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .34995       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .27142E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .43477E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    125.78       1.0000         .10000E-03   10000.    
    26 'Prefactor '    13.829       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .44280       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2438.597     FROM MIGRAD    STATUS=CONVERGED    227 CALLS     2724 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.085        15.283       -.13581E-04    .12958E-02
   2  norm          59.777        24.492        .15380E-05   -.31706E-03
   3  Prefactor     .10000E-03    121.17       -.94626E-05** at limit **
   4  Prefactor     5.0323        7.0001       -.10983E-05    .13512E-04
   5  Prefactor     .10000E-03    20.014        .47788E-05** at limit **
   6  norm          57.984        95.015       -.40343E-03    .32475E-02
   7  norm          .10000E-03    5.8937        .49953E-06** at limit **
   8  Prefactor     10.360        20.030       -.62097E-05    .23043E-04
   9  Prefactor     41.460        40.257        .67582E-04    .42958E-03
  10  Prefactor     9.1131        9.2361        .18168E-04   -.36659E-04
  11  norm          5.9014        3.6702        .65116E-06    .27567E-04
  12  Prefactor     .10000E-03    13.267       -.14659E-06** at limit **
  13  Prefactor     .10000E-03    44.782        .20900E-05** at limit **
  14  norm          .82705        6.3612       -.60708E-05    .36382E-05
  15  norm          .10000E-03    4.2077       -.84988E-06** at limit **
  16  Prefactor     73.803        31.618       -.12186E-04   -.56469E-03
  17  Prefactor     57.334        34.466       -.13554E-04   -.19751E-03
  18  Prefactor     105.10        67.115       -.12978E-03   -.12204E-02
  19  norm          2.2251        2.3658        .87418E-06    .29489E-04
  20  Prefactor     .31945E-03    341.34       -.38404E-03** at limit **
  21  Prefactor     .54451        57.906        .39200E-04   -.49451E-04
  22  Prefactor     .10000E-03    69.165        .19804E-04** at limit **
  23  Prefactor     .10000E-03    24.208        .53766E-06** at limit **
  24  Prefactor     .10000E-03    6.4426        .51700E-06** at limit **
  25  Prefactor     129.41        53.189       -.12558E-03   -.57446E-02
  26  Prefactor     16.296        57.305        .99235E-04   -.74976E-04
  27  Normalizat    .43118        .36520       -.85538E-06    .44137E-04
  28  Prefactor     1.1395        .36563        .14470E-04    .61033E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.0848
  norm       = 59.7769
  Prefactor  = 0.000100002
  Prefactor  = 5.03232
  Prefactor  = 0.0001
  norm       = 57.9836
  norm       = 0.0001
  Prefactor  = 10.3597
  Prefactor  = 41.4605
  Prefactor  = 9.11306
  norm       = 5.90138
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.827054
  norm       = 0.0001
  Prefactor  = 73.8026
  Prefactor  = 57.3342
  Prefactor  = 105.104
  norm       = 2.22513
  Prefactor  = 0.000319454
  Prefactor  = 0.544509
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 129.406
  Prefactor  = 16.2962
  Normalizat = 0.431185
  Prefactor  = 1.13947
 **********
 **   18 **HESSE 
 **********

 FCN=   2438.597     FROM HESSE     STATUS=OK           583 CALLS     3307 TOTAL
                     EDM=   .79E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.085        42.334        .15871E-02   -1.4425    
   2  norm          59.777        25.165        .12870E-02   -1.4160    
   3  Prefactor     .10000E-03    117.92        .90806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.0323        7.0070        .45333E-02   -1.5259    
   5  Prefactor     .10000E-03    19.800        .10685E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          57.984        114.18        .12777E-02   -1.4184    
   7  norm          .10000E-03    5.8512        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.360        20.162        .31633E-02   -1.5064    
   9  Prefactor     41.460        41.396        .15709E-02   -1.4419    
  10  Prefactor     9.1131        9.3077        .33362E-02   -1.5104    
  11  norm          5.9014        3.6926        .41362E-02   -1.5222    
  12  Prefactor     .10000E-03    13.218        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    44.534        .90922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .82705        6.4455        .12505E-01   -1.5526    
  15  norm          .10000E-03    4.1374        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     73.803        46.013        .11896E-02   -1.3988    
  17  Prefactor     57.334        46.492        .13500E-02   -1.4192    
  18  Prefactor     105.10        96.570        .10107E-02   -1.3654    
  19  norm          2.2251        2.4524        .68361E-02   -1.5410    
  20  Prefactor     .31945E-03    675.23        .52822E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .54451        16.194        .67108E-01   -1.5560    
  22  Prefactor     .10000E-03    67.549        .91579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    24.210        .96945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.4257        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     129.41        91.566        .89731E-03   -1.3428    
  26  Prefactor     16.296        57.611        .26928E-02   -1.4900    
  27  Normalizat    .43118        .32952        .78833E-01   -1.1572    
  28  Prefactor     1.1395        .31545        .54947E-01   -.88215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9172e-07
Minuit parameter uncertainties:
  1  42.3654
  2  25.1693
  3  0.00106436
  4  7.00817
  5  1.22e-05
  6  114.611
  7  2.65011e-06
  8  20.1754
  9  41.425
  10  9.30916
  11  3.69279
  12  9.11645e-06
  13  9.2311e-06
  14  4.6181
  15  1.86055e-06
  16  46.0348
  17  46.521
  18  96.7149
  19  2.4525
  20  0.778823
  21  5.94018
  22  0.000562058
  23  1.54383e-05
  24  3.46621e-06
  25  91.6667
  26  57.8084
  27  0.331023
  28  0.31597
Done.

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

Extracting fit parameters...

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  9.231e-06  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:  1.139e+00  3.160e-01  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:  4.312e-01  3.310e-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: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/405417/likelihoodResults_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.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) = 2438.59695214
delta logL = -0.000106304796191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2438.59685237
delta logL = -6.53675033391e-06

Fit tolerance = 1e-08

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

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

 FCN=   2438.597     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      238 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.230        .10556E-01** at limit **
   2  Index         2.0013        5.3121        .50000        .21901E-04
   3  Normalizat    .43118        .36218E-02    .78833E-01    .15941E-04
   4  Prefactor     1.1395        .39881E-02    .54947E-01    .45393E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.00127
  Normalizat = 0.431184
  Prefactor  = 1.13947
 **********
 **   18 **HESSE 
 **********

 FCN=   2438.597     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      271 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.350        .21111E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0013        5.0027        .50000       -.64318    
   3  Normalizat    .43118        .84995E-02    .34919E-03   -1.1572    
   4  Prefactor     1.1395        .93803E-02    .24294E-03   -.88215    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.05714e-07
Minuit parameter uncertainties:
  1  0.00067935
  2  57.6947
  3  0.00849952
  4  0.00938028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/405417': 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) = 2438.59684609
delta logL = -2.5838971851e-07

Extracting fit parameters...

4FGL J0226.5-4441
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  6.794e-04  1.000e-04  1.000e+04 ( 1.000e-14)
285        Index:  2.001e+00  5.769e+01  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:  1.139e+00  9.380e-03  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:  4.312e-01  8.500e-03  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/405417/cmap_HighResolution_504748801_505008001_4FGL_J0226.5-4441_daily_bin1024.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.26e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-08-15 22:55:39.305426', job_id='405417', GAL2='1.14', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1629093339.31', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='-2.58e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1024' AND source_name='4FGL J0226.5-4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:55:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 405417: <4FGL_J0226.5-4441_daily_bin1024> in cluster <slac> Done

Job <4FGL_J0226.5-4441_daily_bin1024> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 15 22:40:51 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 22:46:02 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:46:02 2021
Terminated at Sun Aug 15 22:55:40 2021
Results reported at Sun Aug 15 22:55:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.5-4441_daily_bin1024 36.6481 -44.6859 504748801 505008001 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 :                                   538.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   577 sec.
    Turnaround time :                            889 sec.

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

