aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 48 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7534
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0225.6-4502_daily_bin1719
RA = 36.4048, Dec = -45.0366
tmin = 684892801, tmax = 685152001
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='644194', job_status='RUN', time_executed='2022-09-18 00:07:24.388053', time_epoch_executed='1663484844.39' WHERE source_name='4FGL J0225.6-4502' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644194

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644194/ft1_4FGL_J0225.6-4502_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644194/ft1_4FGL_J0225.6-4502_daily_bin1719.fits outfile=/scratch/kocevski/644194/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1719.fits ra=36.4048 dec=-45.0366 rad=12.0 tmin=684892801.0 tmax=685152001.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.13
user 2.93
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.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/644194/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/644194/ft1_filtered_4FGL_J0225.6-4502_daily_bin1719.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.16

Number of photons that the gtmktime cut: 308

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644194/ft1_filtered_4FGL_J0225.6-4502_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/644194/ltcube_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.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/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits
.....................!
real 14.75
user 14.23
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644194/ft1_filtered_4FGL_J0225.6-4502_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/644194/ltcube_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.fits outfile=/scratch/kocevski/644194/expmap_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.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/644194/ltcube_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.fits
.....................!
real 194.67
user 186.49
sys 5.71

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_8years/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.6-4502 @ 36.4048 -45.0366

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/644194/ft1_filtered_4FGL_J0225.6-4502_daily_bin1719.fits scfile=/scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits outfile=/scratch/kocevski/644194/cmap_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.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.4048 yref=-45.0366 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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644194/ft1_filtered_4FGL_J0225.6-4502_daily_bin1719.fits scfile=/scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits outfile=/scratch/kocevski/644194/cmap_HighResolution_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.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.4048 yref=-45.0366 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/644194/ft1_filtered_4FGL_J0225.6-4502_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/644194/Model_4FGL_J0225.6-4502_daily_bin1719.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/644194/ft1_filtered_4FGL_J0225.6-4502_daily_bin1719.fits.....................!
real 73.89
user 72.06
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644194/ft1_filtered_4FGL_J0225.6-4502_daily_bin1719.fits', '/scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits', expMap='/scratch/kocevski/644194/expmap_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.fits', expCube='/scratch/kocevski/644194/ltcube_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644194/Model_4FGL_J0225.6-4502_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0225.6-4502'

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  2.072e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.479e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/644194/ft1_filtered_4FGL_J0225.6-4502_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/644194/ft2_4FGL_J0225.6-4502_daily_bin1719.fits
Exposure map: /scratch/kocevski/644194/expmap_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.fits
Exposure cube: /scratch/kocevski/644194/ltcube_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644194/Model_4FGL_J0225.6-4502_daily_bin1719.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) = 3425.27730706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    61.856       1.0000          .0000       .10000E+07
     2 'Prefactor '    .19504E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.2993       1.0000          .0000       .10000E+07
     4 'Prefactor '    .89857E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .13934       1.0000          .0000       .10000E+07
     6 'norm      '    1.8993       1.0000          .0000       .10000E+07
     7 'Prefactor '    .67028E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    44.521       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14803E-05   1.0000          .0000       .10000E+07
    10 'norm      '    2.3898       1.0000          .0000       .10000E+07
    11 'Prefactor '    .38130E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .69725E-03   1.0000          .0000       .10000E+07
    13 'norm      '    1.7088       1.0000          .0000       .10000E+07
    14 'norm      '    2.6136       1.0000          .0000       .10000E+07
    15 'Prefactor '    16.621       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18500E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    72.586       1.0000          .0000       .10000E+07
    18 'norm      '    .63838E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .49135E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    12.938       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.2457       1.0000          .0000       .10000E+07
    22 'Prefactor '    .51477E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .21041E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.4584       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .66039       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3425.078     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2132 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          61.882        1.0689        .15438E-08    .98171E-02
   2  Prefactor     .23322E-05    56.630        .18189E-05** at limit **
   3  Prefactor     5.5047        7.5782       -.33549E-06   -.13017E-01
   4  Prefactor     .10175E-06    9.5447       -.69008E-06** at limit **
   5  norm          .26540E-06    12.355       -.97089E-06** at limit **
   6  norm          1.6913        12.803       -.56561E-06   -.44151E-02
   7  Prefactor     .57321E-06    16.126       -.45312E-06** at limit **
   8  Prefactor     45.799        15.149       -.14531E-06    .28519    
   9  Prefactor     .20556E-06    8.2176        .12053E-06** at limit **
  10  norm          2.3906        1.9939       -.25471E-06    .45711E-02
  11  Prefactor     .16923E-05    13.023       -.78572E-07** at limit **
  12  Prefactor     .84488E-07    13.650        .98031E-06** at limit **
  13  norm          1.7069        1.8159        .48077E-07   -.18561E-02
  14  norm          2.6306        3.9771        .50940E-06   -.15191E-02
  15  Prefactor     16.322        2.2066        .24249E-07   -.12723E-01
  16  Prefactor     .10306E-05    18.328       -.48293E-06** at limit **
  17  Prefactor     68.985        60.336       -.49827E-07    .83445E-01
  18  norm           .0000        1.4177       -.41205E-06** at limit **
  19  Prefactor     .99920E-09    3.4914        .20163E-06** at limit **
  20  Prefactor     12.969        12.690       -.23437E-06   -.65292E-03
  21  Prefactor     5.3730        7.4257       -.16960E-07   -.32050E-02
  22  Prefactor     .36974E-05    7.7403       -.93220E-07** at limit **
  23  Prefactor     .46158E-06    6.6481       -.69027E-06** at limit **
  24  Normalizat    1.4587        .28977       -.12459E-06    .11828E-03
  25  Prefactor     .66100        .29670       -.14825E-04    .85423E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 61.882
  Prefactor  = 2.33219e-06
  Prefactor  = 5.50466
  Prefactor  = 1.01752e-07
  norm       = 2.65399e-07
  norm       = 1.69134
  Prefactor  = 5.73208e-07
  Prefactor  = 45.7989
  Prefactor  = 2.05558e-07
  norm       = 2.39058
  Prefactor  = 1.69231e-06
  Prefactor  = 8.4488e-08
  norm       = 1.70688
  norm       = 2.63064
  Prefactor  = 16.3224
  Prefactor  = 1.03056e-06
  Prefactor  = 68.985
  norm       = 0
  Prefactor  = 9.99201e-10
  Prefactor  = 12.9688
  Prefactor  = 5.37296
  Prefactor  = 3.69743e-06
  Prefactor  = 4.61575e-07
  Normalizat = 1.45875
  Prefactor  = 0.660999
 **********
 **   18 **HESSE 
 **********

 FCN=   3425.078     FROM HESSE     STATUS=OK           475 CALLS     2607 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          61.882        25.178        .12716E-03   -1.5551    
   2  Prefactor     .23322E-05    57.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5047        15.613        .43637E-03   -1.5661    
   4  Prefactor     .10175E-06    10.931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .26540E-06    97.159        .12974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6913        16.215        .75443E-03   -1.5682    
   7  Prefactor     .57321E-06    34.977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     45.799        52.123        .14988E-03   -1.5573    
   9  Prefactor     .20556E-06    10.067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3906        2.0078        .66225E-03   -1.5677    
  11  Prefactor     .16923E-05    19.828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .84488E-07    13.879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.7069        1.8157        .80393E-03   -1.5682    
  14  norm          2.6306        3.9967        .63068E-03   -1.5676    
  15  Prefactor     16.322        18.983        .24540E-03   -1.5627    
  16  Prefactor     .10306E-05    34.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     68.985        62.788        .11738E-03   -1.5542    
  18  norm           .0000        1.3868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .99920E-09    3.4834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.969        12.774        .27823E-03   -1.5636    
  21  Prefactor     5.3730        15.700        .43863E-03   -1.5662    
  22  Prefactor     .36974E-05    19.440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .46158E-06    9.3774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.4587        .25190        .50022E-01   -.78944    
  25  Prefactor     .66100        .25421        .73096E-01   -1.0508    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.86228e-06
Minuit parameter uncertainties:
  1  25.1776
  2  0.0231279
  3  15.6129
  4  0.00210925
  5  0.010156
  6  10.474
  7  0.00895542
  8  52.1232
  9  0.00287716
  10  2.0078
  11  0.0115856
  12  0.00216556
  13  1.81573
  14  3.99671
  15  18.9833
  16  0.0118607
  17  62.7885
  18  1.07333e-05
  19  0.000119003
  20  12.7745
  21  15.6998
  22  0.0169563
  23  0.00416093
  24  0.252111
  25  0.254656
Done.

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

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.692e-06  1.159e-02  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  2.479e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  6.610e-01  2.547e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.459e+00  2.521e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.405 -45.037
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/644194/likelihoodResults_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.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) = 3425.10295618
delta logL = -0.0248651704278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3425.00285339
delta logL = 0.0752376255164

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52873E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.2872       1.0000          .0000       10.000    
     3 'Normalizat'    1.4240       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68502       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3425.003     FROM MIGRAD    STATUS=CONVERGED    127 CALLS      345 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44518E-02    .16222        .22583E-03** at limit **
   2  Index         6.3648        2.9126        .20882        .10197E-03
   3  Normalizat    1.4249        .29552E-01    .50501E-01    .16730E-03
   4  Prefactor     .68451        .30557E-01    .71956E-01    .76991E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00445179
  Index      = 6.3648
  Normalizat = 1.42487
  Prefactor  = 0.684506
 **********
 **   18 **HESSE 
 **********

 FCN=   3425.003     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      378 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44518E-02    1.5202        .97053E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.3648        5.4725        .78365E-02    .27647    
   3  Normalizat    1.4249        .16773        .22326E-03   -.79912    
   4  Prefactor     .68451        .17067        .31848E-03   -1.0414    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.084e-09
Minuit parameter uncertainties:
  1  0.16453
  2  16.8456
  3  0.167797
  4  0.170801
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644194': 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) = 3425.00283077
delta logL = 0.0752602450889

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  4.452e-03  1.645e-01  0.000e+00  1.000e+06 ( 1.000e-13)
285        Index:  6.365e+00  1.685e+01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  6.845e-01  1.708e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.425e+00  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.405 -45.037

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/644194/cmap_HighResolution_684892801_685152001_4FGL_J0225.6-4502_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.55e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2022-09-18 00:16:23.282582', job_id='644194', GAL2='0.68', fit_tolerance='1e-08', EG2='1.42', EG='1.46', time_epoch_completed='1663485383.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='7.53e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1719' AND source_name='4FGL J0225.6-4502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 00:16:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 644194: <4FGL_J0225.6-4502_daily_bin1719> in cluster <slac> Done

Job <4FGL_J0225.6-4502_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 00:04:53 2022
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 00:06:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 00:06:25 2022
Terminated at Sun Sep 18 00:16:24 2022
Results reported at Sun Sep 18 00:16:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.6-4502_daily_bin1719 36.4048 -45.0366 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0225.6-4502 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   536.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   598 sec.
    Turnaround time :                            691 sec.

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

