/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 64 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_J0225.1-2604_daily_bin1376
RA = 36.2829, Dec = -26.0774
tmin = 595987201, tmax = 596246401
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='379462', job_status='RUN', time_executed='2021-08-15 21:17:21.077224', time_epoch_executed='1629087441.08' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='1376'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/379462

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/379462/ft1_4FGL_J0225.1-2604_daily_bin1376.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/379462/ft1_4FGL_J0225.1-2604_daily_bin1376.fits outfile=/scratch/kocevski/379462/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1376.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=595987201.0 tmax=596246401.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.19
user 2.95
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.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/379462/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1376.fits evtable="EVENTS" outfile="/scratch/kocevski/379462/ft1_filtered_4FGL_J0225.1-2604_daily_bin1376.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/379462/ft1_filtered_4FGL_J0225.1-2604_daily_bin1376.fits" evtable="EVENTS" scfile=/scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits sctable="SC_DATA" outfile=/scratch/kocevski/379462/ltcube_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.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/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits
.....................!
real 15.16
user 14.79
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/379462/ft1_filtered_4FGL_J0225.1-2604_daily_bin1376.fits evtable="EVENTS" scfile=/scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits sctable="SC_DATA" expcube=/scratch/kocevski/379462/ltcube_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.fits outfile=/scratch/kocevski/379462/expmap_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.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/379462/ltcube_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.fits
.....................!
real 192.91
user 187.21
sys 5.17

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 J0225.1-2604 @ 36.2829 -26.0774

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/379462/ft1_filtered_4FGL_J0225.1-2604_daily_bin1376.fits scfile=/scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits outfile=/scratch/kocevski/379462/cmap_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.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.2829 yref=-26.0774 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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/379462/ft1_filtered_4FGL_J0225.1-2604_daily_bin1376.fits scfile=/scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits outfile=/scratch/kocevski/379462/cmap_HighResolution_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.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.2829 yref=-26.0774 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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/379462/ft1_filtered_4FGL_J0225.1-2604_daily_bin1376.fits evtable="EVENTS" scfile=/scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/379462/Model_4FGL_J0225.1-2604_daily_bin1376.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/379462/ft1_filtered_4FGL_J0225.1-2604_daily_bin1376.fits.....................!
real 90.58
user 89.08
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/379462/ft1_filtered_4FGL_J0225.1-2604_daily_bin1376.fits', '/scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits', expMap='/scratch/kocevski/379462/expmap_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.fits', expCube='/scratch/kocevski/379462/ltcube_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/379462/Model_4FGL_J0225.1-2604_daily_bin1376.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0225.1-2604'

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  3.561e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.518e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/379462/ft1_filtered_4FGL_J0225.1-2604_daily_bin1376.fits
Spacecraft file(s): /scratch/kocevski/379462/ft2_4FGL_J0225.1-2604_daily_bin1376.fits
Exposure map: /scratch/kocevski/379462/expmap_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.fits
Exposure cube: /scratch/kocevski/379462/ltcube_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/379462/Model_4FGL_J0225.1-2604_daily_bin1376.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) = 4444.11490066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51479       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3110       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5618       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.252       1.0000         .10000E-03   10000.    
     8 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7490       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .52958       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.959       1.0000         .10000E-03   10000.    
    19 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4166       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .46995       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4444.111     FROM MIGRAD    STATUS=CONVERGED    439 CALLS     2173 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51426        2.3262       -.20259E-06   -.26721E-03
   2  norm          1.3115        2.7756       -.52759E-06   -.21202E-03
   3  Prefactor     .10000E-03    14.982       -.55745E-05** at limit **
   4  norm          .10000E-03    1.7935       -.12050E-07** at limit **
   5  Prefactor     .10000E-03    3.1159       -.33642E-07** at limit **
   6  Prefactor     2.5623        2.7780        .94889E-06   -.22281E-02
   7  Prefactor     20.249        14.797       -.42833E-06    .19812E-04
   8  norm          .10000E-03    31.318       -.47432E-05** at limit **
   9  Prefactor     .10000E-03    4.7986       -.70246E-07** at limit **
  10  Prefactor     .10000E-03    17.943       -.39964E-05** at limit **
  11  Prefactor     .10000E-03    13.021        .39517E-05** at limit **
  12  norm          .10000E-03    1.1000       -.31507E-08** at limit **
  13  Prefactor     .10000E-03    6.8406       -.14894E-06** at limit **
  14  Prefactor     .10000E-03    22.606        .78928E-05** at limit **
  15  Prefactor     3.7493        3.1733        .20381E-06    .50448E-04
  16  Prefactor     .10000E-03    20.169        .21510E-05** at limit **
  17  norm          .52955        1.9209       -.19096E-06   -.29305E-03
  18  Prefactor     12.951        18.756       -.40335E-05   -.12041E-03
  19  norm          .10000E-03    1.4718        .26627E-07** at limit **
  20  Normalizat    1.4164        .19896        .72929E-06   -.26445E-04
  21  Prefactor     .47013        .20731       -.17383E-06    .24898E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.514265
  norm       = 1.31145
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.56232
  Prefactor  = 20.2491
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.74926
  Prefactor  = 0.0001
  norm       = 0.529545
  Prefactor  = 12.9506
  norm       = 0.0001
  Normalizat = 1.41643
  Prefactor  = 0.470125
 **********
 **   18 **HESSE 
 **********

 FCN=   4444.111     FROM HESSE     STATUS=OK           313 CALLS     2486 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51426        2.3528        .19448E-03   -1.5565    
   2  norm          1.3115        2.7459        .15398E-03   -1.5479    
   3  Prefactor     .10000E-03    15.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.8308        .87088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.1173        .11493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5623        5.1588        .10316E-02   -1.5388    
   7  Prefactor     20.249        14.792        .89002E-04   -1.4808    
   8  norm          .10000E-03    31.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.8631        .14256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.1307        .13648E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.8455        .17030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7493        3.1758        .10603E-03   -1.5321    
  16  Prefactor     .10000E-03    20.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .52955        1.9421        .16611E-03   -1.5562    
  18  Prefactor     12.951        18.927        .11127E-03   -1.4988    
  19  norm          .10000E-03    1.4877        .78946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4164        .22426        .18897E-03   -.80154    
  21  Prefactor     .47013        .23043        .33101E-03   -1.1337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.48291e-09
Minuit parameter uncertainties:
  1  2.19989
  2  2.74619
  3  0.000158003
  4  1.86807e-06
  5  1.32204e-06
  6  5.15967
  7  14.7947
  8  0.000184386
  9  9.54501e-06
  10  0.000125139
  11  0.000100537
  12  2.16594e-06
  13  4.9622e-06
  14  0.000259428
  15  3.17597
  16  0.000107313
  17  1.94232
  18  18.9358
  19  3.74181e-06
  20  0.224416
  21  0.230884
Done.

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

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  9.545e-06  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.518e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  4.701e-01  2.309e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.416e+00  2.244e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.283 -26.077
Photon Flux Upper Limit: 7.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/379462/likelihoodResults_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.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) = 4444.11245945
delta logL = -0.000978618215413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4444.11148105
delta logL = -2.22418748308e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5391       1.0000          .0000       10.000    
     3 'Normalizat'    1.4164       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .47024       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4444.102     FROM MIGRAD    STATUS=FAILED       159 CALLS      311 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66028E-01    17.494        .14504E-01   -.17423E-02
   2  Index         4.7617        7.2575        .50000        .46684E-05
   3  Normalizat    1.4073        .33742E-01    .18897E-03    .26290E-04
   4  Prefactor     .47655        .34016E-01    .33101E-03    .17551E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4444.102     FROM SIMPLEX   STATUS=UNCHANGED     78 CALLS      389 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66028E-01    17.494        .18477E-03   -.17423E-02
   2  Index         4.7617        7.2575        .83465E-02    .46684E-05
   3  Normalizat    1.4073        .33742E-01    .13138E-03    .26290E-04
   4  Prefactor     .47655        .34016E-01    .75639E-04    .17551E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4444.102     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      424 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66030E-01    1.4291        .81772E-03   -.40734E-03
   2  Index         4.7617        7.1346        .11798E-01    .34766E-05
   3  Normalizat    1.4073        .22537        .75588E-05    .59259E-04
   4  Prefactor     .47655        .23415        .13240E-04    .26618E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0660296
  Index      = 4.76175
  Normalizat = 1.4073
  Prefactor  = 0.476552
 **********
 **   18 **HESSE 
 **********

 FCN=   4444.102     FROM HESSE     STATUS=OK            27 CALLS      451 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66030E-01    2.7506        .32709E-04   -1.5759    
   2  Index         4.7617        7.3782        .47193E-03   -.47668E-01
   3  Normalizat    1.4073        .22572        .15118E-05   -.80418    
   4  Prefactor     .47655        .23431        .26481E-05   -1.1307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67463e-12
Minuit parameter uncertainties:
  1  0.85173
  2  7.3777
  3  0.225879
  4  0.234781
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/379462': 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) = 4444.10162358
delta logL = 0.00985724360453

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  6.603e-02  8.517e-01  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  4.762e+00  7.378e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  4.766e-01  2.348e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.407e+00  2.259e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.283 -26.077

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/379462/cmap_HighResolution_595987201_596246401_4FGL_J0225.1-2604_daily_bin1376.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-03', job_status='DONE', photon_flux_upper_limit='7.69e-08', time_completed='2021-08-15 21:27:17.548558', job_id='379462', GAL2='0.48', fit_tolerance='1e-08', EG2='1.41', EG='1.42', time_epoch_completed='1629088037.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.47', dlogl='9.86e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1376' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:27:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 379462: <4FGL_J0225.1-2604_daily_bin1376> in cluster <slac> Done

Job <4FGL_J0225.1-2604_daily_bin1376> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 15 21:15:27 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:16:08 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:16:08 2021
Terminated at Sun Aug 15 21:27:17 2021
Results reported at Sun Aug 15 21:27:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.1-2604_daily_bin1376 36.2829 -26.0774 595987201 596246401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0225.1-2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   590.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            710 sec.

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

