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


Performing analysis on: 4FGL_J0225.1-2604_daily_bin1017
RA = 36.2829, Dec = -26.0774
tmin = 502934401, tmax = 503193601
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='376609', job_status='RUN', time_executed='2021-08-15 21:11:51.249641', time_epoch_executed='1629087111.25' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='1017'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376609

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376609/ft1_4FGL_J0225.1-2604_daily_bin1017.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376609/ft1_4FGL_J0225.1-2604_daily_bin1017.fits outfile=/scratch/kocevski/376609/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1017.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=502934401.0 tmax=503193601.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 6.09
user 3.35
sys 2.68

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.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/376609/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1017.fits evtable="EVENTS" outfile="/scratch/kocevski/376609/ft1_filtered_4FGL_J0225.1-2604_daily_bin1017.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 3.01
user 0.34
sys 2.65

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376609/ft1_filtered_4FGL_J0225.1-2604_daily_bin1017.fits" evtable="EVENTS" scfile=/scratch/kocevski/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.fits sctable="SC_DATA" outfile=/scratch/kocevski/376609/ltcube_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.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/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.fits
.....................!
real 15.91
user 12.71
sys 3.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376609/ft1_filtered_4FGL_J0225.1-2604_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.fits sctable="SC_DATA" expcube=/scratch/kocevski/376609/ltcube_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.fits outfile=/scratch/kocevski/376609/expmap_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.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/376609/ltcube_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.fits
.....................!
real 195.19
user 186.12
sys 8.52

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/376609/ft1_filtered_4FGL_J0225.1-2604_daily_bin1017.fits scfile=/scratch/kocevski/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.fits outfile=/scratch/kocevski/376609/cmap_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.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 2.98
user 0.37
sys 2.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/376609/ft1_filtered_4FGL_J0225.1-2604_daily_bin1017.fits scfile=/scratch/kocevski/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.fits outfile=/scratch/kocevski/376609/cmap_HighResolution_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.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 3.01
user 0.39
sys 2.59

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/376609/ft1_filtered_4FGL_J0225.1-2604_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/376609/Model_4FGL_J0225.1-2604_daily_bin1017.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/376609/ft1_filtered_4FGL_J0225.1-2604_daily_bin1017.fits.....................!
real 93.18
user 88.50
sys 4.46

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/376609/ft1_filtered_4FGL_J0225.1-2604_daily_bin1017.fits', '/scratch/kocevski/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.fits', expMap='/scratch/kocevski/376609/expmap_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.fits', expCube='/scratch/kocevski/376609/ltcube_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/376609/Model_4FGL_J0225.1-2604_daily_bin1017.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/376609/ft1_filtered_4FGL_J0225.1-2604_daily_bin1017.fits
Spacecraft file(s): /scratch/kocevski/376609/ft2_4FGL_J0225.1-2604_daily_bin1017.fits
Exposure map: /scratch/kocevski/376609/expmap_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.fits
Exposure cube: /scratch/kocevski/376609/ltcube_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/376609/Model_4FGL_J0225.1-2604_daily_bin1017.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) = 4458.88307083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95385       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.9320       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.722       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10110E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4347       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5196       1.0000         .10000E-03   10000.    
    12 'norm      '    .10773E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18070E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.3809       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0139       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1779       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .77429       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=   4458.837     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     1916 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95382        1.8542       -.94433E-07   -.11703E-03
   2  norm          .10000E-03    .98046       -.32627E-08** at limit **
   3  Prefactor     .10000E-03    19.867        .10877E-04** at limit **
   4  norm          4.9323        2.9319       -.12649E-06   -.25776E-04
   5  Prefactor     16.723        13.131       -.18569E-06    .10964E-04
   6  Prefactor     .10000E-03    3.4362       -.22130E-06** at limit **
   7  Prefactor     .10000E-03    6.0402        .11332E-07** at limit **
   8  norm          .10000E-03    34.522        .15634E-04** at limit **
   9  Prefactor     1.4340        2.3320        .56239E-06   -.12865E-02
  10  Prefactor     .10000E-03    15.345       -.44019E-05** at limit **
  11  Prefactor     6.5076        180.12       -.34703E-04    .34394E-05
  12  norm          .10000E-03    1.5757       -.56100E-07** at limit **
  13  Prefactor     .10000E-03    10.919        .78644E-06** at limit **
  14  Prefactor     .10000E-03    144.42       -.80328E-05** at limit **
  15  Prefactor     4.3809        4.1700        .48302E-06    .13698E-03
  16  Prefactor     .10000E-03    27.896       -.21289E-04** at limit **
  17  norm          1.0137        2.3082       -.23259E-06   -.47474E-04
  18  Prefactor     .10000E-03    4.4836       -.59064E-07** at limit **
  19  norm          .10000E-03    1.6068       -.79722E-07** at limit **
  20  Normalizat    1.1778        .18761        .24165E-05    .76855E-04
  21  Prefactor     .77436        .20015       -.10205E-05    .15871E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.953824
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.93235
  Prefactor  = 16.723
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.43403
  Prefactor  = 0.0001
  Prefactor  = 6.50756
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.38088
  Prefactor  = 0.0001
  norm       = 1.01368
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.17778
  Prefactor  = 0.774363
 **********
 **   18 **HESSE 
 **********

 FCN=   4458.837     FROM HESSE     STATUS=OK           313 CALLS     2229 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95382        1.8084        .12188E-03   -1.5513    
   2  norm          .10000E-03    1.0003        .64543E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.9323        2.9306        .84005E-04   -1.5264    
   5  Prefactor     16.723        13.164        .97943E-04   -1.4890    
   6  Prefactor     .10000E-03    3.4565        .12081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.1547        .16024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    34.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4340        11.797        .18023E-02   -1.5468    
  10  Prefactor     .10000E-03    15.358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.5076        181.27        .15717E-03   -1.5198    
  12  norm          .10000E-03    7.4344        .16127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    147.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.3809        4.1646        .12686E-03   -1.5289    
  16  Prefactor     .10000E-03    27.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0137        2.2761        .14293E-03   -1.5507    
  18  Prefactor     .10000E-03    4.4871        .13809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.6231        .82629E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1778        .22021        .20502E-03   -.87292    
  21  Prefactor     .77436        .23325        .27424E-03   -1.0068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.79303e-09
Minuit parameter uncertainties:
  1  1.80851
  2  2.38261e-06
  3  2.85381e-05
  4  2.93066
  5  13.1659
  6  5.19759e-06
  7  1.92193e-05
  8  2.75664e-05
  9  8.22799
  10  2.32984e-05
  11  68.9227
  12  6.81406e-05
  13  1.49196e-06
  14  0.000497918
  15  4.16487
  16  6.28046e-05
  17  2.27633
  18  6.411e-07
  19  1.28276e-06
  20  0.220381
  21  0.233547
Done.

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

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  1.434e+00  8.228e+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

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  7.744e-01  2.335e-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.178e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 36.283 -26.077
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/376609/likelihoodResults_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.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) = 4458.71692451
delta logL = 0.120129756735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4458.6268766
delta logL = 0.210177663568

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23695       1.0000         .10000E-03   10000.    
     2 'Index     '    5.1645       1.0000          .0000       10.000    
     3 'Normalizat'    1.1237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81601       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.

 FCN=   4458.627     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      222 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23642        5.0005        .10145E-01    .16217E-02
   2  Index         5.1664        3.6228        .20147        .65578E-04
   3  Normalizat    1.1238        .30129E-01    .37108E-01   -.91641E-04
   4  Prefactor     .81598        .33546E-01    .43925E-01   -.22483E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.236422
  Index      = 5.1664
  Normalizat = 1.12384
  Prefactor  = 0.81598
 **********
 **   18 **HESSE 
 **********

 FCN=   4458.627     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      253 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23642        24.422        .45799E-04   -1.5611    
   2  Index         5.1664        6.3961        .83048E-02    .33286E-01
   3  Normalizat    1.1238        .17887        .20923E-03   -.88990    
   4  Prefactor     .81598        .19212        .26767E-03   -.99142    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.92893e-07
Minuit parameter uncertainties:
  1  4.80678
  2  13.1027
  3  0.178963
  4  0.192275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376609': 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) = 4458.62687573
delta logL = 0.210178533987

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  2.364e-01  4.807e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  5.166e+00  1.310e+01  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:  8.160e-01  1.923e-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.124e+00  1.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/376609/cmap_HighResolution_502934401_503193601_4FGL_J0225.1-2604_daily_bin1017.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.76e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-08-15 21:22:01.287209', job_id='376609', GAL2='0.82', fit_tolerance='1e-08', EG2='1.12', EG='1.18', time_epoch_completed='1629087721.29', return_code2='102', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='2.10e-01', ts2='0.51', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1017' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:22:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 376609: <4FGL_J0225.1-2604_daily_bin1017> in cluster <slac> Done

Job <4FGL_J0225.1-2604_daily_bin1017> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 15 21:05:46 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:10:23 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:10:23 2021
Terminated at Sun Aug 15 21:22:02 2021
Results reported at Sun Aug 15 21:22:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.1-2604_daily_bin1017 36.2829 -26.0774 502934401 503193601 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 :                                   642.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            976 sec.

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

