/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 8 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 = 7493
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0225.1-2604_daily_bin132
RA = 36.2829, Dec = -26.0774
tmin = 273542401, tmax = 273801601
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='372984', job_status='RUN', time_executed='2021-08-15 20:59:39.277077', time_epoch_executed='1629086379.28' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='132'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/372984

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/372984/ft1_4FGL_J0225.1-2604_daily_bin132.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/372984/ft2_4FGL_J0225.1-2604_daily_bin132.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/372984/ft1_4FGL_J0225.1-2604_daily_bin132.fits outfile=/scratch/kocevski/372984/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin132.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=273542401.0 tmax=273801601.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 7.88
user 3.32
sys 4.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/372984/ft2_4FGL_J0225.1-2604_daily_bin132.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/372984/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin132.fits evtable="EVENTS" outfile="/scratch/kocevski/372984/ft1_filtered_4FGL_J0225.1-2604_daily_bin132.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 5.32
user 0.33
sys 4.94

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/372984/ft1_filtered_4FGL_J0225.1-2604_daily_bin132.fits" evtable="EVENTS" scfile=/scratch/kocevski/372984/ft2_4FGL_J0225.1-2604_daily_bin132.fits sctable="SC_DATA" outfile=/scratch/kocevski/372984/ltcube_273542401_273801601_4FGL_J0225.1-2604_daily_bin132.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/372984/ft2_4FGL_J0225.1-2604_daily_bin132.fits
.....................!
real 19.85
user 14.11
sys 5.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/372984/ft1_filtered_4FGL_J0225.1-2604_daily_bin132.fits evtable="EVENTS" scfile=/scratch/kocevski/372984/ft2_4FGL_J0225.1-2604_daily_bin132.fits sctable="SC_DATA" expcube=/scratch/kocevski/372984/ltcube_273542401_273801601_4FGL_J0225.1-2604_daily_bin132.fits outfile=/scratch/kocevski/372984/expmap_273542401_273801601_4FGL_J0225.1-2604_daily_bin132.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/372984/ltcube_273542401_273801601_4FGL_J0225.1-2604_daily_bin132.fits
.....................!
real 197.73
user 186.16
sys 11.06

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/372984/ft1_filtered_4FGL_J0225.1-2604_daily_bin132.fits scfile=/scratch/kocevski/372984/ft2_4FGL_J0225.1-2604_daily_bin132.fits outfile=/scratch/kocevski/372984/cmap_273542401_273801601_4FGL_J0225.1-2604_daily_bin132.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 5.24
user 0.37
sys 4.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/372984/ft1_filtered_4FGL_J0225.1-2604_daily_bin132.fits scfile=/scratch/kocevski/372984/ft2_4FGL_J0225.1-2604_daily_bin132.fits outfile=/scratch/kocevski/372984/cmap_HighResolution_273542401_273801601_4FGL_J0225.1-2604_daily_bin132.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 5.35
user 0.40
sys 4.82

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/372984/ft1_filtered_4FGL_J0225.1-2604_daily_bin132.fits evtable="EVENTS" scfile=/scratch/kocevski/372984/ft2_4FGL_J0225.1-2604_daily_bin132.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/372984/Model_4FGL_J0225.1-2604_daily_bin132.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/372984/ft1_filtered_4FGL_J0225.1-2604_daily_bin132.fits.....................!
real 92.45
user 84.56
sys 7.49

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.778       1.0000         .10000E-03   10000.    
     2 'norm      '    5.5588       1.0000         .10000E-03   10000.    
     3 'Prefactor '    38.069       1.0000         .10000E-03   10000.    
     4 'norm      '    2.2512       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14337       1.0000         .10000E-03   10000.    
     8 'norm      '    .10738E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.2620       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18269E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13654E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.1416       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10180E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.576       1.0000         .10000E-03   10000.    
    17 'norm      '    3.7191       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.7249       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3568       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .67723       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=   4295.268     FROM MIGRAD    STATUS=CONVERGED    823 CALLS     2647 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.778        4.3533        .75664E-04   -.23740E-04
   2  norm          5.5586        4.0405        .10599E-03   -.12979E-04
   3  Prefactor     38.047        40.702        .32480E-03   -.26252E-05
   4  norm          2.2531        2.5475        .10638E-03   -.27572E-04
   5  Prefactor     .10000E-03    9.8263        .18142E-02** at limit **
   6  Prefactor     .10000E-03    10.846        .36285E-03** at limit **
   7  Prefactor     .48936E-01    15.931        .56342E-01    .41956E-03
   8  norm          .10000E-03    175.87        .20715E-02** at limit **
   9  Prefactor     3.2558        7.8840        .22423E-03    .87714E-05
  10  Prefactor     .10003E-03    548.16        .10132E-01** at limit **
  11  Prefactor     .10000E-03    32.017        .18142E-02** at limit **
  12  norm          4.1409        3.7154        .11446E-03   -.20858E-05
  13  Prefactor     .10000E-03    12.696        .18142E-02** at limit **
  14  Prefactor     .10000E-03    44.008        .18142E-02** at limit **
  15  Prefactor     .10000E-03    3.9378        .25048E-03** at limit **
  16  Prefactor     25.524        54.966        .79210E-04    .96162E-05
  17  norm          3.7192        2.1345        .70020E-04   -.37506E-04
  18  Prefactor     .10000E-03    6.4155        .16208E-02** at limit **
  19  norm          4.7243        3.9834        .11578E-03    .83464E-05
  20  Normalizat    1.3565        .26486        .21960E-03   -.18529E-03
  21  Prefactor     .67768        .26557        .31928E-03   -.13100E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.7775
  norm       = 5.55855
  Prefactor  = 38.0468
  norm       = 2.25314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.048936
  norm       = 0.0001
  Prefactor  = 3.25575
  Prefactor  = 0.000100027
  Prefactor  = 0.0001
  norm       = 4.1409
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.5235
  norm       = 3.71918
  Prefactor  = 0.0001
  norm       = 4.72429
  Normalizat = 1.35652
  Prefactor  = 0.677678
 **********
 **   18 **HESSE 
 **********

 FCN=   4295.268     FROM HESSE     STATUS=OK           307 CALLS     2954 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.778        4.3531        .30266E-05   -1.4993    
   2  norm          5.5586        4.0404        .42395E-05   -1.5236    
   3  Prefactor     38.047        40.701        .12992E-04   -1.4474    
   4  norm          2.2531        2.5474        .42552E-05   -1.5408    
   5  Prefactor     .10000E-03    9.8278        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.846        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .48936E-01    12.458        .66006E-01   -1.5664    
   8  norm          .10000E-03    175.90        .41430E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2558        7.8825        .89691E-05   -1.5347    
  10  Prefactor     .10003E-03    568.77        .40528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    32.018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.1409        3.7149        .45785E-05   -1.5301    
  13  Prefactor     .10000E-03    12.696        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    44.013        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.9379        .50097E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.524        54.952        .31684E-05   -1.4697    
  17  norm          3.7192        2.1345        .28008E-05   -1.5322    
  18  Prefactor     .10000E-03    6.4156        .32415E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.7243        3.9832        .46312E-05   -1.5273    
  20  Normalizat    1.3565        .26503        .43919E-04   -.81895    
  21  Prefactor     .67768        .26577        .12771E-04   -1.0441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.64247e-10
Minuit parameter uncertainties:
  1  4.3532
  2  4.04058
  3  40.7304
  4  2.54756
  5  1.74527e-05
  6  2.07961e-05
  7  1.56034
  8  0.000195174
  9  7.88504
  10  0.00796726
  11  1.91437e-05
  12  3.71515
  13  4.34739e-06
  14  0.000147734
  15  1.55856e-05
  16  55.0616
  17  2.1345
  18  1.65966e-05
  19  3.98345
  20  0.265296
  21  0.266264
Done.

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

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  3.256e+00  7.885e+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:  6.777e-01  2.663e-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.357e+00  2.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/372984/likelihoodResults_273542401_273801601_4FGL_J0225.1-2604_daily_bin132.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) = 4295.22256744
delta logL = 0.0450293860877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4295.21951688
delta logL = 0.0480799485349

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7989       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0372       1.0000          .0000       10.000    
     3 'Normalizat'    1.3427       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68747       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=   4295.220     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      225 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7921        241.91        .60794E-02    .47618E-03
   2  Index         3.0388        5.3324        .24078        .39831E-04
   3  Normalizat    1.3434        .60138E-01    .49880E-01    .10898E-03
   4  Prefactor     .68700        .61988E-01    .71687E-01    .23962E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.79207
  Index      = 3.03882
  Normalizat = 1.34338
  Prefactor  = 0.686995
 **********
 **   18 **HESSE 
 **********

 FCN=   4295.220     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7921        7.9102        .20730E-03   -1.5374    
   2  Index         3.0388        2.0280        .14490E-01   -.40306    
   3  Normalizat    1.3434        .25442        .22052E-03   -.82281    
   4  Prefactor     .68700        .26594        .31729E-03   -1.0404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.62532e-11
Minuit parameter uncertainties:
  1  7.91313
  2  2.10027
  3  0.254654
  4  0.266428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/372984': 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) = 4295.21951135
delta logL = 0.0480854742264

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  2.792e+00  7.913e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  3.039e+00  2.100e+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.870e-01  2.664e-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.343e+00  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
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/372984/cmap_HighResolution_273542401_273801601_4FGL_J0225.1-2604_daily_bin132.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-08-15 21:10:51.703338', job_id='372984', GAL2='0.69', fit_tolerance='1e-08', EG2='1.34', EG='1.36', time_epoch_completed='1629087051.7', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='4.81e-02', ts2='0.32', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='132' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:10:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 372984: <4FGL_J0225.1-2604_daily_bin132> in cluster <slac> Done

Job <4FGL_J0225.1-2604_daily_bin132> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 15 20:55:40 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 20:57:59 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 20:57:59 2021
Terminated at Sun Aug 15 21:10:53 2021
Results reported at Sun Aug 15 21:10:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.1-2604_daily_bin132 36.2829 -26.0774 273542401 273801601 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 :                                   741.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            913 sec.

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

