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


Performing analysis on: 4FGL_J0225.1-2604_daily_bin1448
RA = 36.2829, Dec = -26.0774
tmin = 614649601, tmax = 614908801
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='379565', job_status='RUN', time_executed='2021-08-15 21:18:00.522441', time_epoch_executed='1629087480.52' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='1448'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/379565

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/379565/ft1_4FGL_J0225.1-2604_daily_bin1448.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/379565/ft2_4FGL_J0225.1-2604_daily_bin1448.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/379565/ft1_4FGL_J0225.1-2604_daily_bin1448.fits outfile=/scratch/kocevski/379565/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1448.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=614649601.0 tmax=614908801.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.29
user 3.47
sys 2.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/379565/ft2_4FGL_J0225.1-2604_daily_bin1448.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/379565/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1448.fits evtable="EVENTS" outfile="/scratch/kocevski/379565/ft1_filtered_4FGL_J0225.1-2604_daily_bin1448.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.35
sys 2.63

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/379565/ft1_filtered_4FGL_J0225.1-2604_daily_bin1448.fits" evtable="EVENTS" scfile=/scratch/kocevski/379565/ft2_4FGL_J0225.1-2604_daily_bin1448.fits sctable="SC_DATA" outfile=/scratch/kocevski/379565/ltcube_614649601_614908801_4FGL_J0225.1-2604_daily_bin1448.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/379565/ft2_4FGL_J0225.1-2604_daily_bin1448.fits
.....................!
real 15.78
user 12.60
sys 3.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/379565/ft1_filtered_4FGL_J0225.1-2604_daily_bin1448.fits evtable="EVENTS" scfile=/scratch/kocevski/379565/ft2_4FGL_J0225.1-2604_daily_bin1448.fits sctable="SC_DATA" expcube=/scratch/kocevski/379565/ltcube_614649601_614908801_4FGL_J0225.1-2604_daily_bin1448.fits outfile=/scratch/kocevski/379565/expmap_614649601_614908801_4FGL_J0225.1-2604_daily_bin1448.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/379565/ltcube_614649601_614908801_4FGL_J0225.1-2604_daily_bin1448.fits
.....................!
real 196.05
user 187.10
sys 8.54

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/379565/ft1_filtered_4FGL_J0225.1-2604_daily_bin1448.fits scfile=/scratch/kocevski/379565/ft2_4FGL_J0225.1-2604_daily_bin1448.fits outfile=/scratch/kocevski/379565/cmap_614649601_614908801_4FGL_J0225.1-2604_daily_bin1448.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.97
user 0.38
sys 2.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/379565/ft1_filtered_4FGL_J0225.1-2604_daily_bin1448.fits scfile=/scratch/kocevski/379565/ft2_4FGL_J0225.1-2604_daily_bin1448.fits outfile=/scratch/kocevski/379565/cmap_HighResolution_614649601_614908801_4FGL_J0225.1-2604_daily_bin1448.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.03
user 0.40
sys 2.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.5033       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3408       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.165       1.0000         .10000E-03   10000.    
     8 'norm      '    5.2680       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    47.052       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.5624       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.5605       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3893       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7021       1.0000         .10000E-03   10000.    
    19 'norm      '    2.8518       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0672       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94248       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=   5068.413     FROM MIGRAD    STATUS=CONVERGED    471 CALLS     2206 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3311        .17594E-06** at limit **
   2  norm          .10000E-03    1.4384        .23551E-09** at limit **
   3  Prefactor     .10000E-03    28.613       -.21946E-06** at limit **
   4  norm          1.5026        2.0105        .10898E-06   -.15925E-03
   5  Prefactor     .10000E-03    4.8900        .93172E-08** at limit **
   6  Prefactor     4.3405        4.2921        .10009E-07   -.91346E-04
   7  Prefactor     18.175        12.312        .44403E-07    .48230E-04
   8  norm          5.1191        94.911       -.41729E-05   -.32066E-04
   9  Prefactor     .10000E-03    1.9636       -.68507E-07** at limit **
  10  Prefactor     47.053        40.432        .57881E-05    .54528E-03
  11  Prefactor     .10000E-03    25.993        .45498E-06** at limit **
  12  norm          5.5621        3.4257        .72776E-06   -.12350E-02
  13  Prefactor     .10000E-03    14.269       -.14072E-06** at limit **
  14  Prefactor     .10000E-03    17.763        .10765E-06** at limit **
  15  Prefactor     .10000E-03    2.1182       -.42082E-08** at limit **
  16  Prefactor     3.4882        138.56       -.53668E-05   -.28633E-04
  17  norm          1.3889        1.6835        .89242E-07   -.12694E-03
  18  Prefactor     4.7006        10.304        .40083E-05   -.60270E-03
  19  norm          2.8517        4.0246        .10217E-06   -.17231E-03
  20  Normalizat    1.0674        .18306       -.66775E-06   -.56165E-04
  21  Prefactor     .94228        .19946       -.56961E-06   -.48330E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.50264
  Prefactor  = 0.0001
  Prefactor  = 4.34048
  Prefactor  = 18.1754
  norm       = 5.11907
  Prefactor  = 0.0001
  Prefactor  = 47.0532
  Prefactor  = 0.0001
  norm       = 5.56207
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.48817
  norm       = 1.38895
  Prefactor  = 4.70061
  norm       = 2.85174
  Normalizat = 1.06742
  Prefactor  = 0.942278
 **********
 **   18 **HESSE 
 **********

 FCN=   5068.413     FROM HESSE     STATUS=OK           319 CALLS     2525 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4429        .15912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.4627        .83328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    28.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5026        1.9877        .11187E-03   -1.5463    
   5  Prefactor     .10000E-03    4.8990        .15374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.3405        4.2934        .14159E-03   -1.5291    
   7  Prefactor     18.175        12.208        .93974E-04   -1.4855    
   8  norm          5.1191        95.139        .17512E-03   -1.5255    
   9  Prefactor     .10000E-03    1.9678        .97415E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     47.053        44.216        .58455E-04   -1.4335    
  11  Prefactor     .10000E-03    26.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.5621        3.5047        .50196E-03   -1.5236    
  13  Prefactor     .10000E-03    14.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.1465        .10116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.4882        138.57        .21419E-03   -1.5334    
  17  norm          1.3889        1.6541        .97003E-04   -1.5472    
  18  Prefactor     4.7006        10.983        .92787E-03   -1.5274    
  19  norm          2.8517        4.0039        .16029E-03   -1.5370    
  20  Normalizat    1.0674        .21258        .21994E-03   -.90805    
  21  Prefactor     .94228        .23233        .26325E-03   -.94679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54116e-09
Minuit parameter uncertainties:
  1  5.06269e-07
  2  1.7211e-06
  3  4.01912e-05
  4  1.98781
  5  1.71939e-06
  6  4.29374
  7  12.2097
  8  44.2186
  9  3.28201e-06
  10  44.2466
  11  0.000104231
  12  3.50481
  13  1.64019e-05
  14  3.20977e-05
  15  2.64385e-06
  16  44.0796
  17  1.65417
  18  10.9878
  19  4.00426
  20  0.21275
  21  0.232572
Done.

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

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  3.282e-06  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:  9.423e-01  2.326e-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.067e+00  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.283 -26.077
Photon Flux Upper Limit: 5.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/379565/likelihoodResults_614649601_614908801_4FGL_J0225.1-2604_daily_bin1448.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) = 5068.41534991
delta logL = -0.00239253795826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5068.41295738
delta logL = -8.01901478553e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5148       1.0000          .0000       10.000    
     3 'Normalizat'    1.0674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94230       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5068.413     FROM MIGRAD    STATUS=FAILED        95 CALLS      242 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    458.76        .97457E-03** at limit **
   2  Index         2.3267        8.3546        .50000       -.27972E-06
   3  Normalizat    1.0674        .14166        .21994E-03    .35717E-04
   4  Prefactor     .94228        .16106        .26325E-03    .38997E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5068.413     FROM SIMPLEX   STATUS=UNCHANGED    207 CALLS      449 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    458.76        .22889E-03** at limit **
   2  Index         2.3267        8.3546        .37869E-06   -.27972E-06
   3  Normalizat    1.0674        .14166        .35809E-07    .35717E-04
   4  Prefactor     .94228        .16106        .23560E-07    .38997E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5068.413     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      483 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1000        .19491E-03** at limit **
   2  Index         2.3275        6.8879        .50000       -.21460E-06
   3  Normalizat    1.0674        .20246        .87977E-05    .35407E-04
   4  Prefactor     .94228        .23022        .10530E-04    .38867E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.32747
  Normalizat = 1.06742
  Prefactor  = 0.942278
 **********
 **   18 **HESSE 
 **********

 FCN=   5068.413     FROM HESSE     STATUS=OK            29 CALLS      512 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9976        .38983E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3275        8.4101        .50000       -.56392    
   3  Normalizat    1.0674        .20254        .17595E-05   -.90805    
   4  Prefactor     .94228        .23029        .21060E-05   -.94679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39369e-11
Minuit parameter uncertainties:
  1  1.41248e-05
  2  126.241
  3  0.202683
  4  0.230534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/379565': 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) = 5068.41295704
delta logL = 3.28459464072e-07

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  1.412e-05  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.327e+00  1.262e+02  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:  9.423e-01  2.305e-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.067e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/379565/cmap_HighResolution_614649601_614908801_4FGL_J0225.1-2604_daily_bin1448.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-03', job_status='DONE', photon_flux_upper_limit='5.38e-08', time_completed='2021-08-15 21:29:39.204132', job_id='379565', GAL2='0.94', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1629088179.2', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.28e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1448' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:29:39 PDT 2021


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

Job <4FGL_J0225.1-2604_daily_bin1448> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 15 21:15:33 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:16:44 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:16:44 2021
Terminated at Sun Aug 15 21:29:40 2021
Results reported at Sun Aug 15 21:29:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.1-2604_daily_bin1448 36.2829 -26.0774 614649601 614908801 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 :                                   718.30 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            847 sec.

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

