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


Performing analysis on: 4FGL_J0225.1-2604_daily_bin702
RA = 36.2829, Dec = -26.0774
tmin = 421286401, tmax = 421545601
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='376160', job_status='RUN', time_executed='2021-08-15 21:07:44.430059', time_epoch_executed='1629086864.43' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376160

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376160/ft1_4FGL_J0225.1-2604_daily_bin702.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376160/ft2_4FGL_J0225.1-2604_daily_bin702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376160/ft1_4FGL_J0225.1-2604_daily_bin702.fits outfile=/scratch/kocevski/376160/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin702.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=421286401.0 tmax=421545601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 11.68
user 3.49
sys 8.07

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/376160/ft2_4FGL_J0225.1-2604_daily_bin702.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/376160/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin702.fits evtable="EVENTS" outfile="/scratch/kocevski/376160/ft1_filtered_4FGL_J0225.1-2604_daily_bin702.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 7.74
user 0.36
sys 7.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376160/ft1_filtered_4FGL_J0225.1-2604_daily_bin702.fits" evtable="EVENTS" scfile=/scratch/kocevski/376160/ft2_4FGL_J0225.1-2604_daily_bin702.fits sctable="SC_DATA" outfile=/scratch/kocevski/376160/ltcube_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.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/376160/ft2_4FGL_J0225.1-2604_daily_bin702.fits
.....................!
real 22.56
user 13.35
sys 9.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376160/ft1_filtered_4FGL_J0225.1-2604_daily_bin702.fits evtable="EVENTS" scfile=/scratch/kocevski/376160/ft2_4FGL_J0225.1-2604_daily_bin702.fits sctable="SC_DATA" expcube=/scratch/kocevski/376160/ltcube_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.fits outfile=/scratch/kocevski/376160/expmap_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.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/376160/ltcube_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.fits
.....................!
real 202.37
user 186.98
sys 14.79

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 180 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0225.1-2604 @ 36.2829 -26.0774

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/376160/ft1_filtered_4FGL_J0225.1-2604_daily_bin702.fits scfile=/scratch/kocevski/376160/ft2_4FGL_J0225.1-2604_daily_bin702.fits outfile=/scratch/kocevski/376160/cmap_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=36.2829 yref=-26.0774 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 8.21
user 0.40
sys 7.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/376160/ft1_filtered_4FGL_J0225.1-2604_daily_bin702.fits scfile=/scratch/kocevski/376160/ft2_4FGL_J0225.1-2604_daily_bin702.fits outfile=/scratch/kocevski/376160/cmap_HighResolution_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=36.2829 yref=-26.0774 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 7.51
user 0.40
sys 7.06

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/376160/ft1_filtered_4FGL_J0225.1-2604_daily_bin702.fits evtable="EVENTS" scfile=/scratch/kocevski/376160/ft2_4FGL_J0225.1-2604_daily_bin702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/376160/Model_4FGL_J0225.1-2604_daily_bin702.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/376160/ft1_filtered_4FGL_J0225.1-2604_daily_bin702.fits.....................!
real 86.90
user 74.94
sys 11.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/376160/ft1_filtered_4FGL_J0225.1-2604_daily_bin702.fits', '/scratch/kocevski/376160/ft2_4FGL_J0225.1-2604_daily_bin702.fits', expMap='/scratch/kocevski/376160/expmap_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.fits', expCube='/scratch/kocevski/376160/ltcube_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/376160/Model_4FGL_J0225.1-2604_daily_bin702.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0225.1-2604'

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  3.561e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.518e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/376160/ft1_filtered_4FGL_J0225.1-2604_daily_bin702.fits
Spacecraft file(s): /scratch/kocevski/376160/ft2_4FGL_J0225.1-2604_daily_bin702.fits
Exposure map: /scratch/kocevski/376160/expmap_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.fits
Exposure cube: /scratch/kocevski/376160/ltcube_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/376160/Model_4FGL_J0225.1-2604_daily_bin702.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) = 3605.24090817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9303       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13576E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .66700       1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.226       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10479E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10360E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4902       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    97.707       1.0000         .10000E-03   10000.    
    12 'norm      '    8.7559       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13166E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.213       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .79150E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10601E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.2556       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.812       1.0000         .10000E-03   10000.    
    19 'norm      '    5.6209       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1383       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .65532       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3605.185     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2233 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9287        3.4553       -.32610E-06    .27554E-03
   2  norm          .10000E-03    .89461       -.37670E-07** at limit **
   3  Prefactor     .10000E-03    48.276       -.35215E-05** at limit **
   4  norm          .66634        2.5761       -.18634E-05    .15080E-03
   5  Prefactor     23.211        19.634       -.74949E-06    .17310E-03
   6  Prefactor     .10000E-03    5.7282       -.28597E-06** at limit **
   7  Prefactor     .10000E-03    9.9262        .48782E-07** at limit **
   8  norm          .10000E-03    92.078        .40044E-05** at limit **
   9  Prefactor     7.4813        10.087       -.16168E-05    .32123E-04
  10  Prefactor     .10000E-03    29.294        .24618E-05** at limit **
  11  Prefactor     97.739        81.022        .16509E-05   -.78393E-04
  12  norm          8.7577        5.1807       -.29079E-06    .15728E-03
  13  Prefactor     .10000E-03    45.488       -.26920E-06** at limit **
  14  Prefactor     12.221        38.661       -.15392E-05    .14814E-04
  15  Prefactor     .10000E-03    32.973        .16014E-04** at limit **
  16  Prefactor     .10000E-03    87.181       -.14805E-05** at limit **
  17  norm          3.2541        3.2116       -.50561E-06    .23656E-03
  18  Prefactor     11.811        17.976       -.35873E-06    .68669E-04
  19  norm          5.6204        4.5817        .82565E-07    .20367E-03
  20  Normalizat    1.1385        .23925        .16913E-05    .16562E-03
  21  Prefactor     .65557        .23298        .41542E-05    .41646E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.92871
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.66634
  Prefactor  = 23.2109
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 7.48127
  Prefactor  = 0.0001
  Prefactor  = 97.7394
  norm       = 8.75766
  Prefactor  = 0.0001
  Prefactor  = 12.2205
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 3.25407
  Prefactor  = 11.8105
  norm       = 5.62041
  Normalizat = 1.13845
  Prefactor  = 0.65557
 **********
 **   18 **HESSE 
 **********

 FCN=   3605.185     FROM HESSE     STATUS=OK           315 CALLS     2548 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9287        3.4535        .88993E-04   -1.5264    
   2  norm          .10000E-03    .89624        .55457E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    48.530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .66634        2.5957        .17703E-03   -1.5545    
   5  Prefactor     23.211        19.637        .83115E-04   -1.4744    
   6  Prefactor     .10000E-03    5.7681        .14026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.167        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    92.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.4813        10.051        .14654E-03   -1.5161    
  10  Prefactor     .10000E-03    29.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     97.739        80.134        .20333E-03   -1.3727    
  12  norm          8.7577        5.1793        .98910E-04   -1.5116    
  13  Prefactor     .10000E-03    45.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.221        38.588        .11463E-03   -1.5009    
  15  Prefactor     .10000E-03    33.066        .23802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    87.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.2541        3.1989        .98200E-04   -1.5347    
  18  Prefactor     11.811        17.971        .11656E-03   -1.5021    
  19  norm          5.6204        4.5737        .10986E-03   -1.5234    
  20  Normalizat    1.1385        .27544        .21736E-03   -.88527    
  21  Prefactor     .65557        .27425        .29879E-03   -1.0529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58622e-09
Minuit parameter uncertainties:
  1  3.45364
  2  5.03659e-06
  3  0.000461904
  4  2.59618
  5  19.6424
  6  9.57787e-06
  7  0.000147197
  8  0.000359551
  9  10.0531
  10  6.60858e-05
  11  80.2231
  12  5.17953
  13  0.000177314
  14  38.6666
  15  0.000605229
  16  0.00032961
  17  3.19906
  18  17.9788
  19  4.57397
  20  0.275792
  21  0.27481
Done.

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

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  7.481e+00  1.005e+01  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.518e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  6.556e-01  2.748e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.138e+00  2.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/376160/likelihoodResults_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.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) = 3605.13690898
delta logL = 0.0482661795709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3605.12951779
delta logL = 0.0556573687581

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4270       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8952       1.0000          .0000       10.000    
     3 'Normalizat'    1.1210       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66934       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3605.130     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      239 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4251        10.297        .15832E-03    .45452E-03
   2  Index         2.8953        1.2539        .87426E-02    .94563E-04
   3  Normalizat    1.1210        .26369        .21880E-03   -.77025E-03
   4  Prefactor     .66929        .27688        .29598E-03   -.57281E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.42505
  Index      = 2.89535
  Normalizat = 1.121
  Prefactor  = 0.669289
 **********
 **   18 **HESSE 
 **********

 FCN=   3605.130     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4251        9.6943        .63326E-05   -1.5201    
   2  Index         2.8953        1.1806        .34970E-03   -.43447    
   3  Normalizat    1.1210        .26384        .43760E-04   -.89080    
   4  Prefactor     .66929        .27684        .59196E-04   -1.0474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56915e-09
Minuit parameter uncertainties:
  1  9.69669
  2  1.19432
  3  0.264155
  4  0.27741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376160': 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) = 3605.12951775
delta logL = 0.0556574070865

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  6.425e+00  9.697e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.895e+00  1.194e+00  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  5.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  6.693e-01  2.774e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
566   Normalization:  1.121e+00  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.77
Ra Dec: 36.283 -26.077

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/376160/cmap_HighResolution_421286401_421545601_4FGL_J0225.1-2604_daily_bin702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', job_status='DONE', photon_flux_upper_limit='1.59e-07', time_completed='2021-08-15 21:18:37.060299', job_id='376160', GAL2='0.67', fit_tolerance='1e-08', EG2='1.12', EG='1.14', time_epoch_completed='1629087517.06', return_code2='0', ts='0.77', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='5.57e-02', ts2='0.89', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='702' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:18:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0012>
Subject: Job 376160: <4FGL_J0225.1-2604_daily_bin702> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.1-2604_daily_bin702 36.2829 -26.0774 421286401 421545601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0225.1-2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   758.03 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             282.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            800 sec.

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

