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


Performing analysis on: 4FGL_J0225.6-4502_daily_bin1595
RA = 36.4048, Dec = -45.0366
tmin = 652752001, tmax = 653011201
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='49740', job_status='RUN', time_executed='2021-09-11 00:02:41.745959', time_epoch_executed='1631343761.75' WHERE source_name='4FGL J0225.6-4502' and cadence='daily' and bin_id='1595'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49740

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49740/ft1_4FGL_J0225.6-4502_daily_bin1595.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49740/ft2_4FGL_J0225.6-4502_daily_bin1595.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49740/ft1_4FGL_J0225.6-4502_daily_bin1595.fits outfile=/scratch/kocevski/49740/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1595.fits ra=36.4048 dec=-45.0366 rad=12.0 tmin=652752001.0 tmax=653011201.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.19
user 2.97
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/49740/ft2_4FGL_J0225.6-4502_daily_bin1595.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/49740/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1595.fits evtable="EVENTS" outfile="/scratch/kocevski/49740/ft1_filtered_4FGL_J0225.6-4502_daily_bin1595.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49740/ft1_filtered_4FGL_J0225.6-4502_daily_bin1595.fits" evtable="EVENTS" scfile=/scratch/kocevski/49740/ft2_4FGL_J0225.6-4502_daily_bin1595.fits sctable="SC_DATA" outfile=/scratch/kocevski/49740/ltcube_652752001_653011201_4FGL_J0225.6-4502_daily_bin1595.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/49740/ft2_4FGL_J0225.6-4502_daily_bin1595.fits
.....................!
real 12.60
user 12.17
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49740/ft1_filtered_4FGL_J0225.6-4502_daily_bin1595.fits evtable="EVENTS" scfile=/scratch/kocevski/49740/ft2_4FGL_J0225.6-4502_daily_bin1595.fits sctable="SC_DATA" expcube=/scratch/kocevski/49740/ltcube_652752001_653011201_4FGL_J0225.6-4502_daily_bin1595.fits outfile=/scratch/kocevski/49740/expmap_652752001_653011201_4FGL_J0225.6-4502_daily_bin1595.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/49740/ltcube_652752001_653011201_4FGL_J0225.6-4502_daily_bin1595.fits
.....................!
real 191.74
user 186.57
sys 4.63

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/49740/ft1_filtered_4FGL_J0225.6-4502_daily_bin1595.fits scfile=/scratch/kocevski/49740/ft2_4FGL_J0225.6-4502_daily_bin1595.fits outfile=/scratch/kocevski/49740/cmap_652752001_653011201_4FGL_J0225.6-4502_daily_bin1595.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49740/ft1_filtered_4FGL_J0225.6-4502_daily_bin1595.fits scfile=/scratch/kocevski/49740/ft2_4FGL_J0225.6-4502_daily_bin1595.fits outfile=/scratch/kocevski/49740/cmap_HighResolution_652752001_653011201_4FGL_J0225.6-4502_daily_bin1595.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/49740/ft1_filtered_4FGL_J0225.6-4502_daily_bin1595.fits evtable="EVENTS" scfile=/scratch/kocevski/49740/ft2_4FGL_J0225.6-4502_daily_bin1595.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/49740/Model_4FGL_J0225.6-4502_daily_bin1595.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/49740/ft1_filtered_4FGL_J0225.6-4502_daily_bin1595.fits......................!
real 67.68
user 66.32
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    90.083       1.0000         .10000E-03   10000.    
     2 'norm      '    1.8225       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10461E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    47.749       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6796       1.0000         .10000E-03   10000.    
     6 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.2754       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.836       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13631E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.8766       1.0000         .10000E-03   10000.    
    15 'norm      '    3.0609       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.886       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    107.68       1.0000         .10000E-03   10000.    
    19 'norm      '    .69253       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6777       1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.690       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.2363       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0251       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .77552       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=   3087.898     FROM MIGRAD    STATUS=CONVERGED    650 CALLS     3384 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     90.121        106.20       -.44439E-05   -.22626E-04
   2  norm          1.8232        33.477        .98887E-06    .31926E-05
   3  Prefactor     .10000E-03    468.54        .31869E-04** at limit **
   4  Prefactor     47.749        24.161       -.41412E-06   -.14491E-03
   5  Prefactor     1.6540        39.505        .11388E-04   -.32140E-04
   6  norm          .10000E-03    31.472        .39887E-07** at limit **
   7  norm          .10000E-03    15.127        .15893E-05** at limit **
   8  Prefactor     .10000E-03    6.6053       -.96602E-08** at limit **
   9  Prefactor     .10000E-03    47.993        .51530E-06** at limit **
  10  Prefactor     .10000E-03    2.3581       -.11066E-07** at limit **
  11  norm          2.2761        2.0226       -.21760E-07   -.21503E-04
  12  Prefactor     26.830        22.808       -.12992E-06   -.28507E-04
  13  Prefactor     .10000E-03    102.45        .74968E-06** at limit **
  14  norm          1.8767        2.2884        .39620E-07   -.25804E-05
  15  norm          3.0609        3.4705        .84964E-07    .61368E-05
  16  Prefactor     18.889        20.082       -.37872E-07   -.13622E-05
  17  Prefactor     .10000E-03    14.400       -.31440E-07** at limit **
  18  Prefactor     107.69        80.920       -.17561E-06    .16314E-05
  19  norm          .69281        1.6413        .45382E-07   -.72215E-04
  20  Prefactor     .10000E-03    288.25       -.17917E-04** at limit **
  21  Prefactor     .10000E-03    1.4548       -.34934E-07** at limit **
  22  Prefactor     5.6758        15.311        .85127E-06    .63007E-05
  23  Prefactor     14.689        20.607        .18602E-06    .36338E-05
  24  Prefactor     .10000E-03    3.7515       -.90878E-07** at limit **
  25  Prefactor     9.2367        17.277        .37835E-06    .32119E-05
  26  Normalizat    1.0252        .25194       -.84234E-06   -.45834E-04
  27  Prefactor     .77539        .24938        .10995E-06   -.36010E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 90.1209
  norm       = 1.82317
  Prefactor  = 0.000100001
  Prefactor  = 47.749
  Prefactor  = 1.65404
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.27609
  Prefactor  = 26.8304
  Prefactor  = 0.0001
  norm       = 1.87671
  norm       = 3.06088
  Prefactor  = 18.8886
  Prefactor  = 0.0001
  Prefactor  = 107.689
  norm       = 0.692805
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.67577
  Prefactor  = 14.6891
  Prefactor  = 0.0001
  Prefactor  = 9.23666
  Normalizat = 1.02523
  Prefactor  = 0.775388
 **********
 **   18 **HESSE 
 **********

 FCN=   3087.898     FROM HESSE     STATUS=OK           488 CALLS     3872 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     90.121        106.62        .21168E-03   -1.3806    
   2  norm          1.8232        33.574        .30928E-03   -1.5438    
   3  Prefactor     .10000E-03    469.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     47.749        24.223        .58029E-04   -1.4325    
   5  Prefactor     1.6540        39.719        .16253E-02   -1.5451    
   6  norm          .10000E-03    31.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    15.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.6063        .13949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    48.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.3602        .83324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.2761        2.0179        .70971E-04   -1.5406    
  12  Prefactor     26.830        22.657        .77333E-04   -1.4672    
  13  Prefactor     .10000E-03    102.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.8767        2.2782        .88722E-04   -1.5434    
  15  norm          3.0609        3.4638        .10486E-03   -1.5358    
  16  Prefactor     18.889        19.857        .92163E-04   -1.4838    
  17  Prefactor     .10000E-03    14.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     107.69        81.003        .38757E-04   -1.3629    
  19  norm          .69281        1.5883        .95265E-04   -1.5542    
  20  Prefactor     .10000E-03    288.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.4557        .65438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.6758        15.397        .16858E-03   -1.5231    
  23  Prefactor     14.689        20.593        .10450E-03   -1.4941    
  24  Prefactor     .10000E-03    3.7624        .10505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     9.2367        17.302        .13187E-03   -1.5100    
  26  Normalizat    1.0252        .29790        .22677E-03   -.92190    
  27  Prefactor     .77539        .29312        .26951E-03   -1.0064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68203e-11
Minuit parameter uncertainties:
  1  106.849
  2  15.6574
  3  0.00136424
  4  24.2277
  5  16.2223
  6  4.35342e-07
  7  6.94476e-06
  8  3.14024e-07
  9  5.1067e-06
  10  1.03111e-06
  11  2.01794
  12  22.664
  13  5.00184e-05
  14  2.2783
  15  3.46405
  16  19.8643
  17  1.59628e-06
  18  81.086
  19  1.58844
  20  0.000669811
  21  1.50124e-06
  22  15.4075
  23  20.6024
  24  5.43455e-06
  25  17.3115
  26  0.298388
  27  0.293715
Done.

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

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  2.683e+01  2.266e+01  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:  7.754e-01  2.937e-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.025e+00  2.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.62
Ra Dec: 36.405 -45.037
Photon Index (Fixed Index): 2.48 +/- 0.00
Photon Flux (Fixed Index): 6.27e-08 +/- 5.30e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 1.58e-05

TS (Fixed Index): 3.62
Ra Dec: 36.405 -45.037
Photon Flux Upper Limit: 1.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.44e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/49740/likelihoodResults_652752001_653011201_4FGL_J0225.6-4502_daily_bin1595.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) = 3087.37846069
delta logL = 0.519518008422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3087.37817102
delta logL = 0.51980767376

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.492       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7760       1.0000          .0000       10.000    
     3 'Normalizat'    1.0685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74347       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=   3087.378     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      230 TOTAL
                     EDM=   .60E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.712        41.889        .16364E-02    .70169E-06
   2  Index         1.7767        .67734        .19024       -.13335E-04
   3  Normalizat    1.0685        .23251        .39456E-01    .37660E-05
   4  Prefactor     .74337        .24252        .62120E-01    .96676E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.7124
  Index      = 1.77672
  Normalizat = 1.06849
  Prefactor  = 0.743372
 **********
 **   18 **HESSE 
 **********

 FCN=   3087.378     FROM HESSE     STATUS=OK            31 CALLS      261 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.712        32.721        .65456E-04   -1.4479    
   2  Index         1.7767        .60358        .73093E-02   -.70057    
   3  Normalizat    1.0685        .27072        .22279E-03   -.90770    
   4  Prefactor     .74337        .28336        .27477E-03   -1.0185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.48312e-11
Minuit parameter uncertainties:
  1  32.7362
  2  0.606113
  3  0.271066
  4  0.283912
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49740': 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) = 3087.37814838
delta logL = 0.519830315873

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  3.771e+01  3.274e+01  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  1.777e+00  6.061e-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:  7.434e-01  2.839e-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.068e+00  2.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.69
Ra Dec: 36.405 -45.037
Photon Index (Free Index): 1.78 +/- 0.61
Photon Flux (Free Index): 3.19e-08 +/- 3.76e-08
Energy Flux (Free Index): 4.10e-05 +/- 5.53e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/49740/cmap_HighResolution_652752001_653011201_4FGL_J0225.6-4502_daily_bin1595.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', comment='SUCCESS', photon_flux='6.27e-08', energy_flux2='4.10e-05', photon_flux_error='5.30e-08', dlogl='5.20e-01', energy_flux='1.87e-05', photon_flux2='3.19e-08', job_status='DONE', time_completed='2021-09-11 00:12:07.804800', photon_index_error2='0.61', photon_index2='1.78', ts='3.62', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='5.53e-05', EG='1.03', time_epoch_completed='1631344327.8', return_code='0', job_id='49740', GAL2='0.74', EG2='1.07', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='3.76e-08', ts2='4.69', photon_index='2.48' WHERE bin_id='1595' AND source_name='4FGL J0225.6-4502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:12:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 49740: <4FGL_J0225.6-4502_daily_bin1595> in cluster <slac> Done

Job <4FGL_J0225.6-4502_daily_bin1595> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 00:01:36 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 00:01:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 00:01:37 2021
Terminated at Sat Sep 11 00:12:08 2021
Results reported at Sat Sep 11 00:12:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.6-4502_daily_bin1595 36.4048 -45.0366 652752001 653011201 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 :                                   568.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            632 sec.

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

