/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 22 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 = 7475
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0226.3-1845_daily_bin1084
RA = 36.5838, Dec = -18.763
tmin = 520300801, tmax = 520560001
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='391612', job_status='RUN', time_executed='2021-08-15 22:00:11.607703', time_epoch_executed='1629090011.61' WHERE source_name='4FGL J0226.3-1845' and cadence='daily' and bin_id='1084'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/391612

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/391612/ft1_4FGL_J0226.3-1845_daily_bin1084.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/391612/ft1_4FGL_J0226.3-1845_daily_bin1084.fits outfile=/scratch/kocevski/391612/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1084.fits ra=36.5838 dec=-18.763 rad=12.0 tmin=520300801.0 tmax=520560001.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 16.12
user 5.80
sys 9.42

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.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/391612/ft1_filteredMKT_4FGL_J0226.3-1845_daily_bin1084.fits evtable="EVENTS" outfile="/scratch/kocevski/391612/ft1_filtered_4FGL_J0226.3-1845_daily_bin1084.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 9.87
user 0.34
sys 9.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/391612/ft1_filtered_4FGL_J0226.3-1845_daily_bin1084.fits" evtable="EVENTS" scfile=/scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits sctable="SC_DATA" outfile=/scratch/kocevski/391612/ltcube_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.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/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits
.....................!
real 27.02
user 15.20
sys 10.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/391612/ft1_filtered_4FGL_J0226.3-1845_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits sctable="SC_DATA" expcube=/scratch/kocevski/391612/ltcube_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.fits outfile=/scratch/kocevski/391612/expmap_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.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/391612/ltcube_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.fits
.....................!
real 203.65
user 186.07
sys 16.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
Added 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J0226.3-1845 @ 36.5838 -18.763

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/391612/ft1_filtered_4FGL_J0226.3-1845_daily_bin1084.fits scfile=/scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits outfile=/scratch/kocevski/391612/cmap_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.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.5838 yref=-18.763 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 9.18
user 0.37
sys 8.77

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/391612/ft1_filtered_4FGL_J0226.3-1845_daily_bin1084.fits scfile=/scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits outfile=/scratch/kocevski/391612/cmap_HighResolution_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.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.5838 yref=-18.763 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 9.38
user 0.39
sys 8.89

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/391612/ft1_filtered_4FGL_J0226.3-1845_daily_bin1084.fits evtable="EVENTS" scfile=/scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/391612/Model_4FGL_J0226.3-1845_daily_bin1084.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 GAL_V02
Working on...
/scratch/kocevski/391612/ft1_filtered_4FGL_J0226.3-1845_daily_bin1084.fits.....................!
real 56.74
user 43.43
sys 12.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/391612/ft1_filtered_4FGL_J0226.3-1845_daily_bin1084.fits', '/scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits', expMap='/scratch/kocevski/391612/expmap_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.fits', expCube='/scratch/kocevski/391612/ltcube_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/391612/Model_4FGL_J0226.3-1845_daily_bin1084.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0226.3-1845'

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  6.797e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/391612/ft1_filtered_4FGL_J0226.3-1845_daily_bin1084.fits
Spacecraft file(s): /scratch/kocevski/391612/ft2_4FGL_J0226.3-1845_daily_bin1084.fits
Exposure map: /scratch/kocevski/391612/expmap_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.fits
Exposure cube: /scratch/kocevski/391612/ltcube_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/391612/Model_4FGL_J0226.3-1845_daily_bin1084.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) = 4418.98545897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11557E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.3368       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.999       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9524       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10305E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.474       1.0000         .10000E-03   10000.    
     9 'norm      '    .41079E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .43805E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.041       1.0000         .10000E-03   10000.    
    15 'norm      '    5.6093       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .82556E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.078       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0926       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .64089       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4418.934     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2061 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.926        .74292E-06** at limit **
   2  norm          .10000E-03    .55389        .13652E-07** at limit **
   3  Prefactor     .10000E-03    1.4271        .51048E-07** at limit **
   4  Prefactor     6.3574        16.370        .12754E-05    .11685E-04
   5  Prefactor     26.998        15.529        .18315E-06   -.55390E-04
   6  Prefactor     2.9490        5.6641        .43377E-06    .27298E-04
   7  Prefactor     .10000E-03    18.268       -.17006E-05** at limit **
   8  Prefactor     17.475        16.984        .25292E-07   -.31987E-04
   9  norm          .10001E-03    148.19       -.52597E-05** at limit **
  10  Prefactor     .10000E-03    2.0462        .38546E-07** at limit **
  11  Prefactor     .10004E-03    180.72       -.99324E-05** at limit **
  12  Prefactor     .10000E-03    15.202        .13859E-06** at limit **
  13  Prefactor     .10000E-03    6.1673        .35558E-07** at limit **
  14  Prefactor     23.042        26.174        .50026E-06   -.13198E-04
  15  norm          5.6094        2.1929        .74691E-07   -.30065E-03
  16  Prefactor     .10062E-03    14.910       -.32377E-05** at limit **
  17  Prefactor     .10000E-03    49.345        .22125E-06** at limit **
  18  Prefactor     .10000E-03    9.8723        .78742E-07** at limit **
  19  norm          .10000E-03    1.8696        .25525E-06** at limit **
  20  Prefactor     11.076        12.897        .31124E-06    .36317E-04
  21  Normalizat    1.0926        .17372       -.17477E-05   -.53956E-03
  22  Prefactor     .64092        .18054       -.12723E-05   -.42229E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.35736
  Prefactor  = 26.9976
  Prefactor  = 2.94901
  Prefactor  = 0.0001
  Prefactor  = 17.4746
  norm       = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 0.000100038
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.0423
  norm       = 5.60936
  Prefactor  = 0.000100618
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0759
  Normalizat = 1.09261
  Prefactor  = 0.640919
 **********
 **   18 **HESSE 
 **********

 FCN=   4418.934     FROM HESSE     STATUS=OK           338 CALLS     2399 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .55851        .48304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.4432        .77556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.3574        16.249        .15945E-03   -1.5204    
   5  Prefactor     26.998        15.532        .77099E-04   -1.4668    
   6  Prefactor     2.9490        5.6220        .19648E-03   -1.5364    
   7  Prefactor     .10000E-03    18.547        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.475        16.985        .95814E-04   -1.4872    
   9  norm          .10001E-03    149.66        .21251E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.0600        .92856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10004E-03    183.64        .42443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1697        .16124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.042        26.194        .83447E-04   -1.4748    
  15  norm          5.6094        2.1879        .58773E-04   -1.5234    
  16  Prefactor     .10062E-03    53.235        .36387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    49.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.8930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.4450        .17664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.076        12.899        .12037E-03   -1.5042    
  21  Normalizat    1.0926        .20451        .19424E-03   -.89989    
  22  Prefactor     .64092        .21427        .26707E-03   -1.0589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2037e-08
Minuit parameter uncertainties:
  1  0.000408647
  2  2.22315e-06
  3  5.08365e-06
  4  16.2603
  5  15.534
  6  5.62298
  7  0.000147444
  8  16.9899
  9  0.00275433
  10  4.74618e-06
  11  0.00532562
  12  5.02911e-05
  13  6.5103e-06
  14  26.2068
  15  2.18789
  16  0.0114853
  17  0.000133931
  18  1.26321e-05
  19  2.80183e-05
  20  12.9024
  21  0.20466
  22  0.214549
Done.

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

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  5.326e-03  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.572e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  6.409e-01  2.145e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.093e+00  2.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.584 -18.763
Photon Flux Upper Limit: 8.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/391612/likelihoodResults_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.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) = 4418.93371647
delta logL = -2.5835454835e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4418.9336906
delta logL = 4.322919267e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7727       1.0000          .0000       10.000    
     3 'Normalizat'    1.0926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64092       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4418.934     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      247 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    186.28        .90712E-02** at limit **
   2  Index         2.7597        6.3706        .50000        .36609E-06
   3  Normalizat    1.0926        .39002E-02    .38309E-01    .18395E-03
   4  Prefactor     .64092        .42294E-02    .60375E-01    .12881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Index      = 2.75966
  Normalizat = 1.09261
  Prefactor  = 0.640921
 **********
 **   18 **HESSE 
 **********

 FCN=   4418.934     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      278 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    7107.9        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7597        6.3021        .50000       -.46460    
   3  Normalizat    1.0926        .20142E-01    .19424E-03   -.89989    
   4  Prefactor     .64092        .21812E-01    .26707E-03   -1.0589    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.1833e-09
Minuit parameter uncertainties:
  1  0.0134252
  2  1157.58
  3  0.0201419
  4  0.0218123
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/391612': 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) = 4418.93369059
delta logL = 4.59695002064e-08

Extracting fit parameters...

4FGL J0226.3-1845
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.343e-02  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.760e+00  1.158e+03  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  6.409e-01  2.181e-02  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  1.093e+00  2.014e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.584 -18.763

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/391612/cmap_HighResolution_520300801_520560001_4FGL_J0226.3-1845_daily_bin1084.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.61e-08', time_completed='2021-08-15 22:11:50.665381', job_id='391612', GAL2='0.64', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1629090710.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='4.60e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1084' AND source_name='4FGL J0226.3-1845' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 22:11:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 391612: <4FGL_J0226.3-1845_daily_bin1084> in cluster <slac> Done

Job <4FGL_J0226.3-1845_daily_bin1084> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 15 21:55:31 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:57:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 21:57:07 2021
Terminated at Sun Aug 15 22:11:52 2021
Results reported at Sun Aug 15 22:11:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0226.3-1845_daily_bin1084 36.5838 -18.763 520300801 520560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0226.3-1845 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   818.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             242.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            981 sec.

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

