/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 51 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7403
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0225.1-2604_daily_bin1484
RA = 36.2829, Dec = -26.0774
tmin = 623980801, tmax = 624240001
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='379616', job_status='RUN', time_executed='2021-08-15 21:18:24.587497', time_epoch_executed='1629087504.59' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='1484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/379616

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/379616/ft1_4FGL_J0225.1-2604_daily_bin1484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/379616/ft2_4FGL_J0225.1-2604_daily_bin1484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/379616/ft1_4FGL_J0225.1-2604_daily_bin1484.fits outfile=/scratch/kocevski/379616/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1484.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=623980801.0 tmax=624240001.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 5.24
user 3.77
sys 1.43

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/379616/ft1_filtered_4FGL_J0225.1-2604_daily_bin1484.fits" evtable="EVENTS" scfile=/scratch/kocevski/379616/ft2_4FGL_J0225.1-2604_daily_bin1484.fits sctable="SC_DATA" outfile=/scratch/kocevski/379616/ltcube_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.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/379616/ft2_4FGL_J0225.1-2604_daily_bin1484.fits
.....................!
real 15.13
user 12.89
sys 1.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/379616/ft1_filtered_4FGL_J0225.1-2604_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/379616/ft2_4FGL_J0225.1-2604_daily_bin1484.fits sctable="SC_DATA" expcube=/scratch/kocevski/379616/ltcube_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.fits outfile=/scratch/kocevski/379616/expmap_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.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/379616/ltcube_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.fits
.....................!
real 194.49
user 185.73
sys 7.24

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/379616/ft1_filtered_4FGL_J0225.1-2604_daily_bin1484.fits scfile=/scratch/kocevski/379616/ft2_4FGL_J0225.1-2604_daily_bin1484.fits outfile=/scratch/kocevski/379616/cmap_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.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 1.75
user 0.39
sys 1.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/379616/ft1_filtered_4FGL_J0225.1-2604_daily_bin1484.fits scfile=/scratch/kocevski/379616/ft2_4FGL_J0225.1-2604_daily_bin1484.fits outfile=/scratch/kocevski/379616/cmap_HighResolution_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.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 1.84
user 0.39
sys 1.42

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/379616/ft1_filtered_4FGL_J0225.1-2604_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/379616/ft2_4FGL_J0225.1-2604_daily_bin1484.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/379616/Model_4FGL_J0225.1-2604_daily_bin1484.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/379616/ft1_filtered_4FGL_J0225.1-2604_daily_bin1484.fits.....................!
real 99.84
user 96.63
sys 2.88

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/379616/ft1_filtered_4FGL_J0225.1-2604_daily_bin1484.fits', '/scratch/kocevski/379616/ft2_4FGL_J0225.1-2604_daily_bin1484.fits', expMap='/scratch/kocevski/379616/expmap_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.fits', expCube='/scratch/kocevski/379616/ltcube_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/379616/Model_4FGL_J0225.1-2604_daily_bin1484.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/379616/ft1_filtered_4FGL_J0225.1-2604_daily_bin1484.fits
Spacecraft file(s): /scratch/kocevski/379616/ft2_4FGL_J0225.1-2604_daily_bin1484.fits
Exposure map: /scratch/kocevski/379616/expmap_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.fits
Exposure cube: /scratch/kocevski/379616/ltcube_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/379616/Model_4FGL_J0225.1-2604_daily_bin1484.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4733.08139163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20527       1.0000         .10000E-03   10000.    
     2 'norm      '    4.3642       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.0622       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.9371       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .38038       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.3552       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11018E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .96068E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4599       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .27665E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.7844       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.1841       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2876       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .67627       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=   4732.952     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     1970 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22437        1.6922       -.10401E-06   -.21860E-03
   2  norm          4.3620        3.5127        .20798E-07    .23341E-04
   3  Prefactor     .10000E-03    21.039       -.98641E-06** at limit **
   4  norm          3.0627        2.5181       -.80849E-09   -.15443E-03
   5  Prefactor     6.9374        9.1935        .74843E-07    .11117E-03
   6  Prefactor     .38611        4.3130       -.39342E-05    .61041E-03
   7  Prefactor     8.3563        10.397        .19515E-07   -.25823E-04
   8  norm          .10000E-03    27.231       -.76999E-06** at limit **
   9  Prefactor     .10000E-03    5.4634       -.23266E-06** at limit **
  10  Prefactor     .10000E-03    21.267        .14969E-05** at limit **
  11  Prefactor     .10000E-03    97.441       -.30337E-05** at limit **
  12  norm          .10059E-03    1.3072        .24643E-06** at limit **
  13  Prefactor     .10000E-03    13.181       -.90110E-07** at limit **
  14  Prefactor     9.4718        32.437        .12132E-04    .42364E-04
  15  Prefactor     .10001E-03    2.2053       -.51953E-08** at limit **
  16  Prefactor     .10000E-03    48.719       -.11828E-05** at limit **
  17  norm          5.7849        2.4854       -.66274E-07    .43566E-04
  18  Prefactor     .10000E-03    8.2936        .22898E-07** at limit **
  19  norm          3.1843        2.7765       -.44634E-07   -.10785E-03
  20  Normalizat    1.2874        .19598       -.71063E-06    .31483E-03
  21  Prefactor     .67640        .20655        .57095E-06    .88798E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.224373
  norm       = 4.36201
  Prefactor  = 0.0001
  norm       = 3.06267
  Prefactor  = 6.93744
  Prefactor  = 0.386108
  Prefactor  = 8.35633
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100588
  Prefactor  = 0.0001
  Prefactor  = 9.4718
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 5.78491
  Prefactor  = 0.0001
  norm       = 3.18427
  Normalizat = 1.28738
  Prefactor  = 0.676404
 **********
 **   18 **HESSE 
 **********

 FCN=   4732.952     FROM HESSE     STATUS=OK           333 CALLS     2303 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22437        8.5486        .16695E-02   -1.5613    
   2  norm          4.3620        3.5088        .10850E-03   -1.5290    
   3  Prefactor     .10000E-03    21.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.0627        2.5119        .94749E-04   -1.5358    
   5  Prefactor     6.9374        9.1702        .15232E-03   -1.5181    
   6  Prefactor     .38611        7.6760        .25193E-02   -1.5584    
   7  Prefactor     8.3563        10.391        .13869E-03   -1.5130    
   8  norm          .10000E-03    27.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.5779        .15693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    98.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10059E-03    4.5353        .26511E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.4718        33.182        .13030E-03   -1.5092    
  15  Prefactor     .10001E-03    33.072        .19697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    49.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.7849        2.4891        .67794E-04   -1.5227    
  18  Prefactor     .10000E-03    8.3344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.1843        2.7715        .10370E-03   -1.5351    
  20  Normalizat    1.2874        .22903        .20218E-03   -.83944    
  21  Prefactor     .67640        .23923        .29833E-03   -1.0446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43091e-09
Minuit parameter uncertainties:
  1  2.76969
  2  3.50897
  3  8.00827e-06
  4  2.51202
  5  9.17201
  6  3.44319
  7  10.3929
  8  6.63856e-06
  9  1.99926e-05
  10  1.12677e-05
  11  3.06947e-05
  12  0.00326561
  13  2.98452e-06
  14  33.2465
  15  0.000831649
  16  0.000213178
  17  2.48919
  18  4.52788e-06
  19  2.77161
  20  0.229212
  21  0.239591
Done.

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

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  1.999e-05  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.764e-01  2.396e-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.287e+00  2.292e-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: 7.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/379616/likelihoodResults_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.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) = 4732.95306526
delta logL = -0.000854185082972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4732.9101705
delta logL = 0.0420405726236

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18785       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4786       1.0000          .0000       10.000    
     3 'Normalizat'    1.2693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68906       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=   4732.910     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      319 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18774        3.7145        .21499E-01    .38816E-03
   2  Index         4.4784        1.9681        .44086        .75764E-04
   3  Normalizat    1.2693        .14582E-01    .33379E-01    .85401E-06
   4  Prefactor     .68902        .16197E-01    .66859E-01    .18414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.187743
  Index      = 4.47843
  Normalizat = 1.26932
  Prefactor  = 0.689024
 **********
 **   18 **HESSE 
 **********

 FCN=   4732.910     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      354 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18774        113.02        .80564E-03   -1.5621    
   2  Index         4.4784        5.5789        .85044E-02   -.10450    
   3  Normalizat    1.2693        .15957        .20341E-03   -.84487    
   4  Prefactor     .68902        .16265        .29583E-03   -1.0396    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.258e-07
Minuit parameter uncertainties:
  1  9.22765
  2  30.0903
  3  0.15963
  4  0.162761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/379616': 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) = 4732.91017043
delta logL = 0.042040644661

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  1.877e-01  9.228e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  4.478e+00  3.009e+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:  6.890e-01  1.628e-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.269e+00  1.596e-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/379616/cmap_HighResolution_623980801_624240001_4FGL_J0225.1-2604_daily_bin1484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-03', job_status='DONE', photon_flux_upper_limit='7.33e-08', time_completed='2021-08-15 21:29:20.182519', job_id='379616', GAL2='0.69', fit_tolerance='1e-08', EG2='1.27', EG='1.29', time_epoch_completed='1629088160.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='4.20e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1484' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:29:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0119>
Subject: Job 379616: <4FGL_J0225.1-2604_daily_bin1484> in cluster <slac> Done

Job <4FGL_J0225.1-2604_daily_bin1484> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 15 21:15:37 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:17:01 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:17:01 2021
Terminated at Sun Aug 15 21:29:20 2021
Results reported at Sun Aug 15 21:29:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.1-2604_daily_bin1484 36.2829 -26.0774 623980801 624240001 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 :                                   646.42 sec.
    Max Memory :                                 1158 MB
    Average Memory :                             307.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            823 sec.

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

