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


Performing analysis on: 4FGL_J0225.1-2604_daily_bin1305
RA = 36.2829, Dec = -26.0774
tmin = 577584001, tmax = 577843201
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='379362', job_status='RUN', time_executed='2021-08-15 21:16:33.386018', time_epoch_executed='1629087393.39' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='1305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/379362

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/379362/ft1_4FGL_J0225.1-2604_daily_bin1305.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/379362/ft1_4FGL_J0225.1-2604_daily_bin1305.fits outfile=/scratch/kocevski/379362/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1305.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=577584001.0 tmax=577843201.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 5.85
user 2.57
sys 3.05

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.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/379362/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1305.fits evtable="EVENTS" outfile="/scratch/kocevski/379362/ft1_filtered_4FGL_J0225.1-2604_daily_bin1305.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 3.48
user 0.35
sys 3.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/379362/ft1_filtered_4FGL_J0225.1-2604_daily_bin1305.fits" evtable="EVENTS" scfile=/scratch/kocevski/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.fits sctable="SC_DATA" outfile=/scratch/kocevski/379362/ltcube_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.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/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.fits
.....................!
real 19.71
user 15.98
sys 3.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/379362/ft1_filtered_4FGL_J0225.1-2604_daily_bin1305.fits evtable="EVENTS" scfile=/scratch/kocevski/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.fits sctable="SC_DATA" expcube=/scratch/kocevski/379362/ltcube_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.fits outfile=/scratch/kocevski/379362/expmap_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.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/379362/ltcube_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.fits
.....................!
real 196.63
user 186.53
sys 9.33

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/379362/ft1_filtered_4FGL_J0225.1-2604_daily_bin1305.fits scfile=/scratch/kocevski/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.fits outfile=/scratch/kocevski/379362/cmap_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.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 3.46
user 0.40
sys 3.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/379362/ft1_filtered_4FGL_J0225.1-2604_daily_bin1305.fits scfile=/scratch/kocevski/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.fits outfile=/scratch/kocevski/379362/cmap_HighResolution_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.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 3.43
user 0.39
sys 3.02

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/379362/ft1_filtered_4FGL_J0225.1-2604_daily_bin1305.fits evtable="EVENTS" scfile=/scratch/kocevski/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/379362/Model_4FGL_J0225.1-2604_daily_bin1305.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/379362/ft1_filtered_4FGL_J0225.1-2604_daily_bin1305.fits.....................!
real 113.01
user 107.50
sys 5.03

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/379362/ft1_filtered_4FGL_J0225.1-2604_daily_bin1305.fits', '/scratch/kocevski/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.fits', expMap='/scratch/kocevski/379362/expmap_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.fits', expCube='/scratch/kocevski/379362/ltcube_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/379362/Model_4FGL_J0225.1-2604_daily_bin1305.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/379362/ft1_filtered_4FGL_J0225.1-2604_daily_bin1305.fits
Spacecraft file(s): /scratch/kocevski/379362/ft2_4FGL_J0225.1-2604_daily_bin1305.fits
Exposure map: /scratch/kocevski/379362/expmap_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.fits
Exposure cube: /scratch/kocevski/379362/ltcube_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/379362/Model_4FGL_J0225.1-2604_daily_bin1305.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) = 5357.22235928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4968       1.0000         .10000E-03   10000.    
     2 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7325       1.0000         .10000E-03   10000.    
     4 'norm      '    .54369       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.617       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.9642       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20921E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    90.533       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.6180       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.210       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    82.694       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6800       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10352E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2856       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .49681       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=   5357.190     FROM MIGRAD    STATUS=CONVERGED    416 CALLS     2182 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4964        2.6152        .38393E-06    .23500E-04
   2  norm          .10000E-03    1.0126       -.79192E-07** at limit **
   3  Prefactor     3.7151        55.126       -.27215E-06   -.26112E-04
   4  norm          .54430        1.8375        .73227E-06    .83279E-04
   5  Prefactor     18.619        13.426        .14618E-07   -.17055E-04
   6  Prefactor     7.9657        5.9025        .12230E-06   -.21514E-04
   7  Prefactor     .10000E-03    16.900       -.40298E-05** at limit **
   8  norm          90.511        58.601        .78613E-06    .43820E-04
   9  Prefactor     9.6195        7.1938        .13304E-06   -.23293E-04
  10  Prefactor     .10000E-03    16.997       -.24814E-06** at limit **
  11  Prefactor     .10000E-03    18.226       -.71310E-07** at limit **
  12  norm          .10000E-03    .87994        .87364E-09** at limit **
  13  Prefactor     .10000E-03    6.2460        .92035E-08** at limit **
  14  Prefactor     24.213        27.739        .10315E-06    .76147E-05
  15  Prefactor     .10000E-03    1.2197        .65884E-07** at limit **
  16  Prefactor     82.716        50.314        .55026E-06    .33552E-04
  17  norm          1.6807        1.8852        .21647E-06    .35650E-04
  18  Prefactor     .10000E-03    9.5837        .69391E-06** at limit **
  19  norm          .10000E-03    1.2503        .12035E-06** at limit **
  20  Normalizat    1.2851        .19124       -.20614E-05    .66003E-04
  21  Prefactor     .49731        .19354        .25206E-05   -.53517E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.49639
  norm       = 0.0001
  Prefactor  = 3.71508
  norm       = 0.544303
  Prefactor  = 18.619
  Prefactor  = 7.96572
  Prefactor  = 0.0001
  norm       = 90.5107
  Prefactor  = 9.61949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.2132
  Prefactor  = 0.0001
  Prefactor  = 82.7164
  norm       = 1.6807
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.28514
  Prefactor  = 0.497315
 **********
 **   18 **HESSE 
 **********

 FCN=   5357.190     FROM HESSE     STATUS=OK           315 CALLS     2497 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4964        2.5985        .14850E-03   -1.5463    
   2  norm          .10000E-03    1.0261        .71866E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.7151        55.276        .20900E-03   -1.5322    
   4  norm          .54430        1.8319        .17535E-03   -1.5560    
   5  Prefactor     18.619        13.425        .92826E-04   -1.4845    
   6  Prefactor     7.9657        5.8962        .14208E-03   -1.5143    
   7  Prefactor     .10000E-03    17.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          90.511        58.918        .21116E-03   -1.3802    
   9  Prefactor     9.6195        7.1864        .12922E-03   -1.5088    
  10  Prefactor     .10000E-03    17.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .89219        .67006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.2522        .17866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.213        27.715        .81410E-04   -1.4723    
  15  Prefactor     .10000E-03    1.2289        .78934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     82.716        50.447        .44171E-04   -1.3886    
  17  norm          1.6807        1.8681        .10091E-03   -1.5449    
  18  Prefactor     .10000E-03    9.6474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.2618        .79865E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2851        .20460        .19637E-03   -.84011    
  21  Prefactor     .49731        .20673        .32249E-03   -1.1210    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09961e-10
Minuit parameter uncertainties:
  1  2.59869
  2  4.10395e-07
  3  28.6917
  4  1.83211
  5  13.4272
  6  5.89665
  7  0.000101635
  8  58.9562
  9  7.18701
  10  3.68369e-05
  11  4.03043e-05
  12  1.78931e-06
  13  1.37075e-06
  14  27.7296
  15  5.64253e-07
  16  50.4736
  17  1.86815
  18  5.93734e-06
  19  2.81993e-07
  20  0.204727
  21  0.207045
Done.

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

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  9.619e+00  7.187e+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

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  4.973e-01  2.070e-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.285e+00  2.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.91
Ra Dec: 36.283 -26.077
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 5.13e-08 +/- 3.83e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.09e-05

TS (Fixed Index): 2.91
Ra Dec: 36.283 -26.077
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/379362/likelihoodResults_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.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): 0
logL (Free Index) = 5357.10261914
delta logL = 0.0877736795073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5357.09626376
delta logL = 0.0941290561186

Fit tolerance = 1e-08

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

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

 FCN=   5357.096     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      239 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.428        7.7573        .12408E-03    .29788E-03
   2  Index         2.2354        .61205        .81709E-02    .80905E-04
   3  Normalizat    1.2984        .19342        .19556E-03    .36169E-03
   4  Prefactor     .48630        .20443        .32580E-03    .12914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4278
  Index      = 2.2354
  Normalizat = 1.29841
  Prefactor  = 0.486302
 **********
 **   18 **HESSE 
 **********

 FCN=   5357.096     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.428        7.7506        .49631E-05   -1.5062    
   2  Index         2.2354        .61137        .32684E-03   -.58586    
   3  Normalizat    1.2984        .19351        .39111E-04   -.83614    
   4  Prefactor     .48630        .20450        .13032E-04   -1.1261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64531e-10
Minuit parameter uncertainties:
  1  7.75136
  2  0.613582
  3  0.193622
  4  0.204814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/379362': 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) = 5357.09626373
delta logL = 0.0941290860783

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  1.043e+01  7.751e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.235e+00  6.136e-01  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.863e-01  2.048e-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.298e+00  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.11
Ra Dec: 36.283 -26.077
Photon Index (Free Index): 2.24 +/- 0.61
Photon Flux (Free Index): 4.17e-08 +/- 3.89e-08
Energy Flux (Free Index): 1.76e-05 +/- 1.58e-05

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/379362/cmap_HighResolution_577584001_577843201_4FGL_J0225.1-2604_daily_bin1305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', photon_flux='5.13e-08', energy_flux2='1.76e-05', photon_flux_error='3.83e-08', dlogl='9.41e-02', energy_flux='1.46e-05', photon_flux2='4.17e-08', job_status='DONE', time_completed='2021-08-15 21:28:03.349048', photon_index_error2='0.61', photon_index2='2.24', ts='2.91', fit_tolerance='1e-08', GAL='0.50', photon_index_error='0.00', photon_flux_upper_limit='1.32e-07', energy_flux_error2='1.58e-05', EG='1.29', time_epoch_completed='1629088083.35', return_code='0', job_id='379362', GAL2='0.49', EG2='1.30', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='3.89e-08', ts2='3.11', photon_index='2.52' WHERE bin_id='1305' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:28:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 379362: <4FGL_J0225.1-2604_daily_bin1305> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.1-2604_daily_bin1305 36.2829 -26.0774 577584001 577843201 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 :                                   728.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             328.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            762 sec.

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

