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


Performing analysis on: 4FGL_J0225.6-4502_daily_bin1531
RA = 36.4048, Dec = -45.0366
tmin = 636163201, tmax = 636422401
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='386938', job_status='RUN', time_executed='2021-08-15 21:43:20.451196', time_epoch_executed='1629089000.45' WHERE source_name='4FGL J0225.6-4502' and cadence='daily' and bin_id='1531'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/386938

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/386938/ft1_4FGL_J0225.6-4502_daily_bin1531.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/386938/ft1_4FGL_J0225.6-4502_daily_bin1531.fits outfile=/scratch/kocevski/386938/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1531.fits ra=36.4048 dec=-45.0366 rad=12.0 tmin=636163201.0 tmax=636422401.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.20
user 3.45
sys 1.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.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/386938/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1531.fits evtable="EVENTS" outfile="/scratch/kocevski/386938/ft1_filtered_4FGL_J0225.6-4502_daily_bin1531.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 2.05
user 0.32
sys 1.68

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/386938/ft1_filtered_4FGL_J0225.6-4502_daily_bin1531.fits" evtable="EVENTS" scfile=/scratch/kocevski/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.fits sctable="SC_DATA" outfile=/scratch/kocevski/386938/ltcube_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.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/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.fits
.....................!
real 15.12
user 12.96
sys 2.04

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/386938/ft1_filtered_4FGL_J0225.6-4502_daily_bin1531.fits evtable="EVENTS" scfile=/scratch/kocevski/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.fits sctable="SC_DATA" expcube=/scratch/kocevski/386938/ltcube_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.fits outfile=/scratch/kocevski/386938/expmap_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.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/386938/ltcube_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.fits
.....................!
real 193.39
user 185.34
sys 7.13

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/386938/ft1_filtered_4FGL_J0225.6-4502_daily_bin1531.fits scfile=/scratch/kocevski/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.fits outfile=/scratch/kocevski/386938/cmap_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.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 2.01
user 0.38
sys 1.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/386938/ft1_filtered_4FGL_J0225.6-4502_daily_bin1531.fits scfile=/scratch/kocevski/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.fits outfile=/scratch/kocevski/386938/cmap_HighResolution_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.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 2.04
user 0.39
sys 1.61

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/386938/ft1_filtered_4FGL_J0225.6-4502_daily_bin1531.fits evtable="EVENTS" scfile=/scratch/kocevski/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/386938/Model_4FGL_J0225.6-4502_daily_bin1531.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/386938/ft1_filtered_4FGL_J0225.6-4502_daily_bin1531.fits.....................!
real 86.16
user 81.20
sys 3.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/386938/ft1_filtered_4FGL_J0225.6-4502_daily_bin1531.fits', '/scratch/kocevski/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.fits', expMap='/scratch/kocevski/386938/expmap_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.fits', expCube='/scratch/kocevski/386938/ltcube_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/386938/Model_4FGL_J0225.6-4502_daily_bin1531.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  1.000e-04  1.000e+04 ( 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/386938/ft1_filtered_4FGL_J0225.6-4502_daily_bin1531.fits
Spacecraft file(s): /scratch/kocevski/386938/ft2_4FGL_J0225.6-4502_daily_bin1531.fits
Exposure map: /scratch/kocevski/386938/expmap_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.fits
Exposure cube: /scratch/kocevski/386938/ltcube_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/386938/Model_4FGL_J0225.6-4502_daily_bin1531.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) = 4047.5281324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    16.875       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.258       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.650       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .34706E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.6329       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9575       1.0000         .10000E-03   10000.    
    11 'norm      '    3.1098       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.6199       1.0000         .10000E-03   10000.    
    15 'norm      '    3.1948       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.1365       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10505E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .24829E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .74112E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.8067       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    51.461       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1087       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .89701       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4047.492     FROM MIGRAD    STATUS=CONVERGED    674 CALLS     3349 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.472        .64618E-07** at limit **
   2  norm          16.877        10.410       -.25017E-08   -.17421E-05
   3  Prefactor     13.265        34.293       -.18734E-06    .58369E-05
   4  Prefactor     .10000E-03    1.6688       -.32663E-09** at limit **
   5  Prefactor     10.657        12.430        .13764E-06    .25452E-04
   6  norm          .10000E-03    26.420        .40748E-06** at limit **
   7  norm          .10000E-03    13.959       -.49435E-05** at limit **
   8  Prefactor     .10000E-03    7.4230       -.46253E-07** at limit **
   9  Prefactor     6.7456        41.018        .38286E-05    .15157E-04
  10  Prefactor     3.9581        3.9926        .51342E-08   -.60866E-04
  11  norm          3.1101        1.5879       -.10272E-07    .36553E-04
  12  Prefactor     .10000E-03    24.196       -.44924E-06** at limit **
  13  Prefactor     .10000E-03    14.485       -.44543E-06** at limit **
  14  norm          4.6195        2.6465       -.95594E-09    .95204E-04
  15  norm          3.1953        4.7546       -.49728E-07    .22749E-03
  16  Prefactor     8.1395        15.543       -.15887E-06    .39320E-04
  17  Prefactor     .10000E-03    21.596       -.20030E-06** at limit **
  18  Prefactor     .10000E-03    71.402        .14310E-05** at limit **
  19  norm          .10000E-03    1.0431        .26293E-07** at limit **
  20  Prefactor     .10000E-03    248.15        .15711E-05** at limit **
  21  Prefactor     .10000E-03    4.6436        .11173E-05** at limit **
  22  Prefactor     4.7986        12.843        .47263E-07    .10154E-03
  23  Prefactor     .10000E-03    76.715       -.16302E-05** at limit **
  24  Prefactor     .10000E-03    15.527        .43234E-06** at limit **
  25  Prefactor     51.482        35.200       -.15423E-06    .85936E-05
  26  Normalizat    1.1082        .22996       -.61887E-07   -.24137E-05
  27  Prefactor     .89717        .22432        .14206E-06    .60199E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 16.877
  Prefactor  = 13.265
  Prefactor  = 0.0001
  Prefactor  = 10.6569
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.74565
  Prefactor  = 3.95811
  norm       = 3.11006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.61952
  norm       = 3.19526
  Prefactor  = 8.13953
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.7986
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.4823
  Normalizat = 1.10822
  Prefactor  = 0.897165
 **********
 **   18 **HESSE 
 **********

 FCN=   4047.492     FROM HESSE     STATUS=OK           490 CALLS     3839 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          16.877        10.410        .97498E-04   -1.4886    
   3  Prefactor     13.265        34.342        .11001E-03   -1.4979    
   4  Prefactor     .10000E-03    1.6693        .80261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.657        12.346        .12277E-03   -1.5055    
   6  norm          .10000E-03    26.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    14.801        .28382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.4475        .16929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.7456        41.561        .15581E-03   -1.5188    
  10  Prefactor     3.9581        3.9970        .12317E-03   -1.5310    
  11  norm          3.1101        1.5868        .54691E-04   -1.5355    
  12  Prefactor     .10000E-03    24.856        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.6195        2.6388        .75268E-04   -1.5278    
  15  norm          3.1953        4.7769        .15482E-03   -1.5350    
  16  Prefactor     8.1395        15.301        .14055E-03   -1.5137    
  17  Prefactor     .10000E-03    21.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    71.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.9847        .12220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    248.23        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    13.481        .23142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.7986        12.642        .18350E-03   -1.5270    
  23  Prefactor     .10000E-03    77.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    15.958        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     51.482        35.270        .55907E-04   -1.4272    
  26  Normalizat    1.1082        .26855        .22994E-03   -.89488    
  27  Prefactor     .89717        .26101        .26868E-03   -.96240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28752e-10
Minuit parameter uncertainties:
  1  2.07967e-06
  2  10.4113
  3  34.393
  4  5.40444e-07
  5  12.3489
  6  1.93846e-05
  7  3.72964e-05
  8  4.14688e-06
  9  33.5219
  10  3.9973
  11  1.58678
  12  0.000138827
  13  1.69533e-05
  14  2.63886
  15  4.77747
  16  15.3088
  17  1.64633e-05
  18  6.26268e-05
  19  4.43706e-07
  20  0.000177046
  21  0.000229337
  22  12.6492
  23  1.25031e-05
  24  1.80746e-05
  25  35.2846
  26  0.268883
  27  0.261373
Done.

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

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.388e-04  1.000e-04  1.000e+04 ( 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:  8.972e-01  2.614e-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.108e+00  2.689e-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: 8.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/386938/likelihoodResults_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.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) = 4047.49256234
delta logL = -0.000191912838091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4047.49236968
delta logL = 7.47803824197e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8294       1.0000          .0000       10.000    
     3 'Normalizat'    1.1082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89717       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=   4047.492     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      245 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .26068        .61508E-01** at limit **
   2  Index         2.8643        8.3759        .50000       -.78558E-05
   3  Normalizat    1.1082        .98426E-03    .37676E-01   -.27651E-03
   4  Prefactor     .89717        .10517E-02    .44969E-01   -.12212E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.86428
  Normalizat = 1.10822
  Prefactor  = 0.897166
 **********
 **   18 **HESSE 
 **********

 FCN=   4047.492     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      278 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    76.176        .33315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8643        5.5762        .50000       -.44133    
   3  Normalizat    1.1082        .70555E-02    .22994E-03   -.89488    
   4  Prefactor     .89717        .75368E-02    .26868E-03   -.96240    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.09785e-08
Minuit parameter uncertainties:
  1  0.000339327
  2  150.992
  3  0.00705552
  4  0.0075368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/386938': 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) = 4047.4923696
delta logL = 8.19439719635e-07

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  3.393e-04  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.864e+00  1.510e+02  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:  8.972e-01  7.537e-03  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.108e+00  7.056e-03  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/386938/cmap_HighResolution_636163201_636422401_4FGL_J0225.6-4502_daily_bin1531.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.34e-03', job_status='DONE', photon_flux_upper_limit='8.17e-08', time_completed='2021-08-15 21:54:55.013069', job_id='386938', GAL2='0.90', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1629089695.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='8.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1531' AND source_name='4FGL J0225.6-4502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:54:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 386938: <4FGL_J0225.6-4502_daily_bin1531> in cluster <slac> Done

Job <4FGL_J0225.6-4502_daily_bin1531> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Aug 15 21:40:33 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:41:29 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:41:29 2021
Terminated at Sun Aug 15 21:54:56 2021
Results reported at Sun Aug 15 21:54:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.6-4502_daily_bin1531 36.4048 -45.0366 636163201 636422401 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 :                                   703.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            863 sec.

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

