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


Performing analysis on: 4FGL_J0225.1-2604_daily_bin829
RA = 36.2829, Dec = -26.0774
tmin = 454204801, tmax = 454464001
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='376343', job_status='RUN', time_executed='2021-08-15 21:09:37.460011', time_epoch_executed='1629086977.46' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='829'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376343

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376343/ft1_4FGL_J0225.1-2604_daily_bin829.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376343/ft2_4FGL_J0225.1-2604_daily_bin829.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376343/ft1_4FGL_J0225.1-2604_daily_bin829.fits outfile=/scratch/kocevski/376343/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin829.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=454204801.0 tmax=454464001.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 11.52
user 3.36
sys 6.71

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/376343/ft2_4FGL_J0225.1-2604_daily_bin829.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/376343/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin829.fits evtable="EVENTS" outfile="/scratch/kocevski/376343/ft1_filtered_4FGL_J0225.1-2604_daily_bin829.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 7.45
user 0.36
sys 6.70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376343/ft1_filtered_4FGL_J0225.1-2604_daily_bin829.fits" evtable="EVENTS" scfile=/scratch/kocevski/376343/ft2_4FGL_J0225.1-2604_daily_bin829.fits sctable="SC_DATA" outfile=/scratch/kocevski/376343/ltcube_454204801_454464001_4FGL_J0225.1-2604_daily_bin829.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/376343/ft2_4FGL_J0225.1-2604_daily_bin829.fits
.....................!
real 22.49
user 14.55
sys 7.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376343/ft1_filtered_4FGL_J0225.1-2604_daily_bin829.fits evtable="EVENTS" scfile=/scratch/kocevski/376343/ft2_4FGL_J0225.1-2604_daily_bin829.fits sctable="SC_DATA" expcube=/scratch/kocevski/376343/ltcube_454204801_454464001_4FGL_J0225.1-2604_daily_bin829.fits outfile=/scratch/kocevski/376343/expmap_454204801_454464001_4FGL_J0225.1-2604_daily_bin829.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/376343/ltcube_454204801_454464001_4FGL_J0225.1-2604_daily_bin829.fits
.....................!
real 202.16
user 186.51
sys 13.32

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/376343/ft1_filtered_4FGL_J0225.1-2604_daily_bin829.fits scfile=/scratch/kocevski/376343/ft2_4FGL_J0225.1-2604_daily_bin829.fits outfile=/scratch/kocevski/376343/cmap_454204801_454464001_4FGL_J0225.1-2604_daily_bin829.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 7.16
user 0.40
sys 6.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/376343/ft1_filtered_4FGL_J0225.1-2604_daily_bin829.fits scfile=/scratch/kocevski/376343/ft2_4FGL_J0225.1-2604_daily_bin829.fits outfile=/scratch/kocevski/376343/cmap_HighResolution_454204801_454464001_4FGL_J0225.1-2604_daily_bin829.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 7.03
user 0.39
sys 6.50

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/376343/ft1_filtered_4FGL_J0225.1-2604_daily_bin829.fits evtable="EVENTS" scfile=/scratch/kocevski/376343/ft2_4FGL_J0225.1-2604_daily_bin829.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/376343/Model_4FGL_J0225.1-2604_daily_bin829.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/376343/ft1_filtered_4FGL_J0225.1-2604_daily_bin829.fits.....................!
real 97.93
user 87.40
sys 9.82

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75007       1.0000         .10000E-03   10000.    
     2 'norm      '    .63037       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.2724       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.112       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .15459E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4175       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10948E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    85.663       1.0000         .10000E-03   10000.    
    12 'norm      '    5.2683       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    32.694       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.1498       1.0000         .10000E-03   10000.    
    19 'norm      '    3.0697       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0868       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97852       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=   4310.613     FROM MIGRAD    STATUS=CONVERGED    810 CALLS     2586 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75019        2.6675        .18895E-03    .17569E-04
   2  norm          .63001        5.8584        .22008E-02    .62081E-03
   3  Prefactor     .10000E-03    17.917        .18142E-02** at limit **
   4  norm          1.2727        2.8601        .15684E-03   -.31727E-03
   5  Prefactor     .10000E-03    6.2177        .15972E-02** at limit **
   6  Prefactor     24.113        10.313        .81575E-04    .26479E-03
   7  Prefactor     .10000E-03    7.0319        .16952E-02** at limit **
   8  norm          .10000E-03    388.97        .36285E-03** at limit **
   9  Prefactor     3.4159        8.7984        .21882E-03   -.61774E-04
  10  Prefactor     .10001E-03    62.395        .13799    ** at limit **
  11  Prefactor     85.674        76.852        .43405E-04    .38660E-04
  12  norm          5.2692        3.5141        .96624E-04   -.50358E-04
  13  Prefactor     .10000E-03    11.965        .18142E-02** at limit **
  14  Prefactor     32.682        47.884        .70079E-04   -.49154E-04
  15  Prefactor     .10000E-03    1.7108        .83749E-03** at limit **
  16  Prefactor     .10000E-03    69.756        .18142E-02** at limit **
  17  norm          .10000E-03    2.1704        .18498E-03** at limit **
  18  Prefactor     3.1484        8.1271        .22839E-03    .18567E-04
  19  norm          3.0700        3.6040        .13039E-03   -.18510E-03
  20  Normalizat    1.0868        .26364        .23677E-03   -.33804E-04
  21  Prefactor     .97867        .26947        .27215E-03   -.23686E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.750185
  norm       = 0.630014
  Prefactor  = 0.0001
  norm       = 1.27267
  Prefactor  = 0.0001
  Prefactor  = 24.1132
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 3.4159
  Prefactor  = 0.000100005
  Prefactor  = 85.6745
  norm       = 5.26921
  Prefactor  = 0.0001
  Prefactor  = 32.6818
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.14843
  norm       = 3.06997
  Normalizat = 1.08677
  Prefactor  = 0.978665
 **********
 **   18 **HESSE 
 **********

 FCN=   4310.613     FROM HESSE     STATUS=OK           307 CALLS     2893 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75019        2.6627        .75581E-05   -1.5535    
   2  norm          .63001        5.7908        .88031E-04   -1.5549    
   3  Prefactor     .10000E-03    17.917        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.2727        2.8591        .62735E-05   -1.5482    
   5  Prefactor     .10000E-03    6.2181        .31943E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.113        10.312        .32630E-05   -1.4725    
   7  Prefactor     .10000E-03    7.0332        .33905E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    388.99        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4159        8.7956        .87528E-05   -1.5338    
  10  Prefactor     .10001E-03    61.502        .13933       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     85.674        76.842        .86810E-05   -1.3854    
  12  norm          5.2692        3.5137        .38650E-05   -1.5249    
  13  Prefactor     .10000E-03    11.965        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     32.682        47.874        .28032E-05   -1.4564    
  15  Prefactor     .10000E-03    1.7109        .16750E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    69.766        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.1704        .36995E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.1484        8.1270        .91357E-05   -1.5353    
  19  norm          3.0700        3.6037        .52158E-05   -1.5358    
  20  Normalizat    1.0868        .26331        .94706E-05   -.90178    
  21  Prefactor     .97867        .26971        .10886E-04   -.93444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86608e-10
Minuit parameter uncertainties:
  1  2.66312
  2  3.82028
  3  6.75298e-06
  4  2.85939
  5  1.68088e-05
  6  10.3129
  7  3.94803e-06
  8  0.00207555
  9  8.79891
  10  0.00114633
  11  76.9312
  12  3.51385
  13  6.59231e-06
  14  47.9305
  15  3.1879e-07
  16  0.000221718
  17  1.92127e-05
  18  8.12983
  19  3.60393
  20  0.263633
  21  0.270078
Done.

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

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  3.416e+00  8.799e+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:  9.787e-01  2.701e-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.087e+00  2.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/376343/likelihoodResults_454204801_454464001_4FGL_J0225.1-2604_daily_bin829.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) = 4310.57820409
delta logL = 0.0345272800469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4310.57656174
delta logL = 0.0361696219297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8502       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1913       1.0000          .0000       10.000    
     3 'Normalizat'    1.0919       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97392       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=   4310.577     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      245 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8507        8.5593        .20567E-03   -.97287E-05
   2  Index         2.1915        1.1304        .14046E-01   -.54690E-04
   3  Normalizat    1.0918        .24178        .23629E-03   -.36373E-04
   4  Prefactor     .97398        .26570        .27270E-03   -.39980E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.85068
  Index      = 2.19145
  Normalizat = 1.09183
  Prefactor  = 0.973975
 **********
 **   18 **HESSE 
 **********

 FCN=   4310.577     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .34E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8507        8.6185        .82267E-05   -1.5315    
   2  Index         2.1915        1.1387        .28092E-02   -.59645    
   3  Normalizat    1.0918        .24205        .94518E-05   -.90015    
   4  Prefactor     .97398        .26594        .10908E-04   -.93602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36618e-12
Minuit parameter uncertainties:
  1  8.62131
  2  1.15357
  3  0.242291
  4  0.266294
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376343': 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) = 4310.57656169
delta logL = 0.0361696758337

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  3.851e+00  8.621e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.191e+00  1.154e+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:  9.740e-01  2.663e-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.092e+00  2.423e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/376343/cmap_HighResolution_454204801_454464001_4FGL_J0225.1-2604_daily_bin829.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2021-08-15 21:21:22.401547', job_id='376343', GAL2='0.97', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1629087682.4', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.62e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='829' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:21:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 376343: <4FGL_J0225.1-2604_daily_bin829> in cluster <slac> Done

Job <4FGL_J0225.1-2604_daily_bin829> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 15 21:05:30 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:07:33 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:07:33 2021
Terminated at Sun Aug 15 21:21:24 2021
Results reported at Sun Aug 15 21:21:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.1-2604_daily_bin829 36.2829 -26.0774 454204801 454464001 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 :                                   796.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             249.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            954 sec.

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

