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


Performing analysis on: 4FGL_J0225.6-4502_daily_bin1598
RA = 36.4048, Dec = -45.0366
tmin = 653529601, tmax = 653788801
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='719769', job_status='RUN', time_executed='2021-09-20 00:05:37.620752', time_epoch_executed='1632121537.62' WHERE source_name='4FGL J0225.6-4502' and cadence='daily' and bin_id='1598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/719769

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/719769/ft1_4FGL_J0225.6-4502_daily_bin1598.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/719769/ft2_4FGL_J0225.6-4502_daily_bin1598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/719769/ft1_4FGL_J0225.6-4502_daily_bin1598.fits outfile=/scratch/kocevski/719769/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1598.fits ra=36.4048 dec=-45.0366 rad=12.0 tmin=653529601.0 tmax=653788801.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.09
user 4.81
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/719769/ft1_filtered_4FGL_J0225.6-4502_daily_bin1598.fits" evtable="EVENTS" scfile=/scratch/kocevski/719769/ft2_4FGL_J0225.6-4502_daily_bin1598.fits sctable="SC_DATA" outfile=/scratch/kocevski/719769/ltcube_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.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/719769/ft2_4FGL_J0225.6-4502_daily_bin1598.fits
.....................!
real 11.80
user 11.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/719769/ft1_filtered_4FGL_J0225.6-4502_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/719769/ft2_4FGL_J0225.6-4502_daily_bin1598.fits sctable="SC_DATA" expcube=/scratch/kocevski/719769/ltcube_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.fits outfile=/scratch/kocevski/719769/expmap_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.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/719769/ltcube_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.fits
.....................!
real 190.52
user 185.27
sys 4.88

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/719769/ft1_filtered_4FGL_J0225.6-4502_daily_bin1598.fits scfile=/scratch/kocevski/719769/ft2_4FGL_J0225.6-4502_daily_bin1598.fits outfile=/scratch/kocevski/719769/cmap_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/719769/ft1_filtered_4FGL_J0225.6-4502_daily_bin1598.fits scfile=/scratch/kocevski/719769/ft2_4FGL_J0225.6-4502_daily_bin1598.fits outfile=/scratch/kocevski/719769/cmap_HighResolution_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/719769/ft1_filtered_4FGL_J0225.6-4502_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/719769/ft2_4FGL_J0225.6-4502_daily_bin1598.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/719769/Model_4FGL_J0225.6-4502_daily_bin1598.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/719769/ft1_filtered_4FGL_J0225.6-4502_daily_bin1598.fits.....................!
real 109.92
user 108.48
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/719769/ft1_filtered_4FGL_J0225.6-4502_daily_bin1598.fits', '/scratch/kocevski/719769/ft2_4FGL_J0225.6-4502_daily_bin1598.fits', expMap='/scratch/kocevski/719769/expmap_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.fits', expCube='/scratch/kocevski/719769/ltcube_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/719769/Model_4FGL_J0225.6-4502_daily_bin1598.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/719769/ft1_filtered_4FGL_J0225.6-4502_daily_bin1598.fits
Spacecraft file(s): /scratch/kocevski/719769/ft2_4FGL_J0225.6-4502_daily_bin1598.fits
Exposure map: /scratch/kocevski/719769/expmap_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.fits
Exposure cube: /scratch/kocevski/719769/ltcube_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/719769/Model_4FGL_J0225.6-4502_daily_bin1598.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) = 5673.09947177

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.3656       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17915E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.630       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.4831       1.0000         .10000E-03   10000.    
     6 'norm      '    24.082       1.0000         .10000E-03   10000.    
     7 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7830       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.432       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.6740       1.0000         .10000E-03   10000.    
    11 'norm      '    .49519       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.364       1.0000         .10000E-03   10000.    
    14 'norm      '    .16762       1.0000         .10000E-03   10000.    
    15 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.7597       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.0815       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .33050E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.9405       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.7124       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .58387       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.4329       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=   5673.065     FROM MIGRAD    STATUS=CONVERGED    666 CALLS     3346 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3564        .25845E-06** at limit **
   2  norm          2.3657        6.6720        .13541E-06   -.32651E-03
   3  Prefactor     .10021E-03    13.724       -.71516E-06** at limit **
   4  Prefactor     13.628        5.9617       -.98305E-06    .78348E-04
   5  Prefactor     3.4830        6.6040       -.26924E-06   -.38778E-04
   6  norm          24.070        35.980       -.91751E-05   -.38615E-05
   7  norm          .10000E-03    2.5380        .19740E-06** at limit **
   8  Prefactor     2.7818        9.1806        .50206E-06   -.17051E-03
   9  Prefactor     15.428        22.864       -.54259E-06   -.40596E-05
  10  Prefactor     7.6737        5.2449       -.10987E-05   -.85510E-04
  11  norm          .49549        1.3208        .53451E-06    .12912E-03
  12  Prefactor     .10000E-03    10.032       -.72169E-06** at limit **
  13  Prefactor     13.363        13.144       -.12485E-07    .13018E-04
  14  norm          .16704        1.1101       -.55612E-07   -.86353E-04
  15  norm          .10000E-03    1.3492       -.33166E-07** at limit **
  16  Prefactor     .10000E-03    3.0917        .26829E-06** at limit **
  17  Prefactor     .10000E-03    10.923        .10794E-05** at limit **
  18  Prefactor     .10000E-03    27.750       -.32635E-06** at limit **
  19  norm          .10000E-03    .25342       -.88733E-07** at limit **
  20  Prefactor     .10000E-03    87.169        .26826E-05** at limit **
  21  Prefactor     6.7609        7.5190        .35034E-06    .10949E-04
  22  Prefactor     2.0837        20.304       -.25442E-06   -.16543E-03
  23  Prefactor     .10000E-03    64.195        .99928E-06** at limit **
  24  Prefactor     3.9437        4.4125       -.22570E-06   -.64327E-05
  25  Prefactor     1.7154        39.367       -.10800E-05   -.93532E-04
  26  Normalizat    .58396        .16464        .67828E-07    .50839E-04
  27  Prefactor     1.4328        .18557        .80485E-06   -.72047E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.36566
  Prefactor  = 0.000100208
  Prefactor  = 13.6283
  Prefactor  = 3.48299
  norm       = 24.0705
  norm       = 0.0001
  Prefactor  = 2.7818
  Prefactor  = 15.4276
  Prefactor  = 7.67366
  norm       = 0.495488
  Prefactor  = 0.0001
  Prefactor  = 13.3631
  norm       = 0.167039
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.76087
  Prefactor  = 2.08367
  Prefactor  = 0.0001
  Prefactor  = 3.94372
  Prefactor  = 1.71539
  Normalizat = 0.583964
  Prefactor  = 1.4328
 **********
 **   18 **HESSE 
 **********

 FCN=   5673.065     FROM HESSE     STATUS=OK           498 CALLS     3844 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3657        8.3825        .13321E-02   -1.5400    
   3  Prefactor     .10021E-03    116.51        .53493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.628        5.9302        .10849E-03   -1.4969    
   5  Prefactor     3.4830        6.5748        .21666E-03   -1.5335    
   6  norm          24.070        35.880        .81626E-04   -1.4726    
   7  norm          .10000E-03    2.5507        .11678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7818        10.059        .12196E-02   -1.5374    
   9  Prefactor     15.428        22.911        .10195E-03   -1.4922    
  10  Prefactor     7.6737        5.1711        .12824E-03   -1.5154    
  11  norm          .49549        1.3003        .12402E-03   -1.5567    
  12  Prefactor     .10000E-03    10.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.363        13.143        .10957E-03   -1.4977    
  14  norm          .16704        5.4771        .14978E-02   -1.5626    
  15  norm          .10000E-03    2.4023        .16877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.0976        .12931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .25863        .37004E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    87.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.7609        7.4649        .15433E-03   -1.5188    
  22  Prefactor     2.0837        27.956        .14311E-02   -1.5419    
  23  Prefactor     .10000E-03    66.943        .39442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.9437        4.4100        .16151E-03   -1.5311    
  25  Prefactor     1.7154        49.325        .16060E-02   -1.5446    
  26  Normalizat    .58396        .19439        .27672E-03   -1.0867    
  27  Prefactor     1.4328        .22177        .21470E-03   -.79440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54909e-08
Minuit parameter uncertainties:
  1  3.04395e-06
  2  8.38668
  3  0.00986262
  4  5.93043
  5  6.57621
  6  35.912
  7  2.43608e-06
  8  10.0656
  9  22.9237
  10  5.17136
  11  1.30038
  12  6.87773e-06
  13  13.1457
  14  1.91262
  15  1.66693e-05
  16  1.87842e-06
  17  4.613e-06
  18  1.14014e-05
  19  3.37462e-07
  20  9.54953e-06
  21  7.46597
  22  15.2727
  23  7.40571e-05
  24  4.41038
  25  18.4131
  26  0.194614
  27  0.221921
Done.

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

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  6.878e-06  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:  1.433e+00  2.219e-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:  5.840e-01  1.946e-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: 6.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/719769/likelihoodResults_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.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) = 5673.06507353
delta logL = -0.000471501204629

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5673.0646024
delta logL = -3.67460415873e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4692       1.0000          .0000       10.000    
     3 'Normalizat'    .58385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4329       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=   5673.065     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1646.1        .90712E-02** at limit **
   2  Index         2.4600        6.0025        .50000        .78909E-05
   3  Normalizat    .58396        .71806E-01    .62542E-01    .33156E-04
   4  Prefactor     1.4328        .83187E-01    .48569E-01    .47169E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.46004
  Normalizat = 0.583963
  Prefactor  = 1.4328
 **********
 **   18 **HESSE 
 **********

 FCN=   5673.065     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      248 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1500.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4600        5.1663        .50000       -.53285    
   3  Normalizat    .58396        .63994E-01    .27672E-03   -1.0867    
   4  Prefactor     1.4328        .74942E-01    .21470E-03   -.79440    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.13852e-08
Minuit parameter uncertainties:
  1  0.000166118
  2  53.7953
  3  0.0640021
  4  0.0749482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/719769': 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) = 5673.064602
delta logL = 3.42888597515e-08

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.661e-04  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.460e+00  5.380e+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:  1.433e+00  7.495e-02  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:  5.840e-01  6.400e-02  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/719769/cmap_HighResolution_653529601_653788801_4FGL_J0225.6-4502_daily_bin1598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.95e-03', job_status='DONE', photon_flux_upper_limit='6.38e-08', time_completed='2021-09-20 00:19:21.211748', job_id='719769', GAL2='1.43', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1632122361.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.43', dlogl='3.43e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1598' AND source_name='4FGL J0225.6-4502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 20 00:19:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 719769: <4FGL_J0225.6-4502_daily_bin1598> in cluster <slac> Done

Job <4FGL_J0225.6-4502_daily_bin1598> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 20 00:05:21 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 20 00:05:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 20 00:05:24 2021
Terminated at Mon Sep 20 00:19:21 2021
Results reported at Mon Sep 20 00:19:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.6-4502_daily_bin1598 36.4048 -45.0366 653529601 653788801 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 :                                   795.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            840 sec.

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

