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


Performing analysis on: 4FGL_J0225.1-2604_daily_bin1373
RA = 36.2829, Dec = -26.0774
tmin = 595209601, tmax = 595468801
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='379457', job_status='RUN', time_executed='2021-08-15 21:17:07.507250', time_epoch_executed='1629087427.51' WHERE source_name='4FGL J0225.1-2604' and cadence='daily' and bin_id='1373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/379457

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/379457/ft1_4FGL_J0225.1-2604_daily_bin1373.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/379457/ft2_4FGL_J0225.1-2604_daily_bin1373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/379457/ft1_4FGL_J0225.1-2604_daily_bin1373.fits outfile=/scratch/kocevski/379457/ft1_filteredMKT_4FGL_J0225.1-2604_daily_bin1373.fits ra=36.2829 dec=-26.0774 rad=12.0 tmin=595209601.0 tmax=595468801.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 3.53
user 2.70
sys 0.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/379457/ft1_filtered_4FGL_J0225.1-2604_daily_bin1373.fits" evtable="EVENTS" scfile=/scratch/kocevski/379457/ft2_4FGL_J0225.1-2604_daily_bin1373.fits sctable="SC_DATA" outfile=/scratch/kocevski/379457/ltcube_595209601_595468801_4FGL_J0225.1-2604_daily_bin1373.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/379457/ft2_4FGL_J0225.1-2604_daily_bin1373.fits
.....................!
real 15.68
user 14.59
sys 1.01

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/379457/ft1_filtered_4FGL_J0225.1-2604_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/379457/ft2_4FGL_J0225.1-2604_daily_bin1373.fits sctable="SC_DATA" expcube=/scratch/kocevski/379457/ltcube_595209601_595468801_4FGL_J0225.1-2604_daily_bin1373.fits outfile=/scratch/kocevski/379457/expmap_595209601_595468801_4FGL_J0225.1-2604_daily_bin1373.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/379457/ltcube_595209601_595468801_4FGL_J0225.1-2604_daily_bin1373.fits
.....................!
real 192.62
user 186.16
sys 5.70

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/379457/ft1_filtered_4FGL_J0225.1-2604_daily_bin1373.fits scfile=/scratch/kocevski/379457/ft2_4FGL_J0225.1-2604_daily_bin1373.fits outfile=/scratch/kocevski/379457/cmap_595209601_595468801_4FGL_J0225.1-2604_daily_bin1373.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.08
user 0.38
sys 0.69

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/379457/ft1_filtered_4FGL_J0225.1-2604_daily_bin1373.fits scfile=/scratch/kocevski/379457/ft2_4FGL_J0225.1-2604_daily_bin1373.fits outfile=/scratch/kocevski/379457/cmap_HighResolution_595209601_595468801_4FGL_J0225.1-2604_daily_bin1373.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.16
user 0.39
sys 0.76

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/379457/ft1_filtered_4FGL_J0225.1-2604_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/379457/ft2_4FGL_J0225.1-2604_daily_bin1373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/379457/Model_4FGL_J0225.1-2604_daily_bin1373.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/379457/ft1_filtered_4FGL_J0225.1-2604_daily_bin1373.fits.....................!
real 84.83
user 82.49
sys 2.02

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35668       1.0000         .10000E-03   10000.    
     2 'norm      '    3.0228       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.4516       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7570       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2914       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .11024E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.621       1.0000         .10000E-03   10000.    
    10 'Prefactor '    67.961       1.0000         .10000E-03   10000.    
    11 'Prefactor '    63.003       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10393E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    56.342       1.0000         .10000E-03   10000.    
    17 'norm      '    3.9858       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    10.613       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3743       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .76141       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=   4107.886     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     2203 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35508        3.4756       -.41500E-07    .56582E-03
   2  norm          3.0251        4.7106       -.33476E-06   -.38273E-04
   3  Prefactor     .10000E-03    25.558        .35679E-06** at limit **
   4  norm          7.4520        5.6208        .13996E-06    .74890E-04
   5  Prefactor     9.7483        22.091       -.46828E-06    .12350E-04
   6  Prefactor     1.2946        18.828        .27971E-05   -.12833E-03
   7  Prefactor     .10000E-03    6.9714        .18391E-05** at limit **
   8  norm          .10000E-03    40.651        .34633E-05** at limit **
   9  Prefactor     13.622        10.413        .26797E-06    .97945E-04
  10  Prefactor     67.916        79.369        .24062E-06    .24696E-04
  11  Prefactor     62.999        60.076        .53041E-06    .28700E-04
  12  norm          .10000E-03    .97045       -.33650E-06** at limit **
  13  Prefactor     .10000E-03    8.7260       -.30669E-06** at limit **
  14  Prefactor     .10000E-03    22.561       -.34047E-06** at limit **
  15  Prefactor     .10000E-03    6.7878       -.11661E-05** at limit **
  16  Prefactor     56.346        50.837        .80483E-06    .27376E-04
  17  norm          3.9860        3.4671        .82315E-07    .69380E-04
  18  Prefactor     .10000E-03    12.936       -.92143E-06** at limit **
  19  norm          10.613        6.3349        .35521E-07    .31287E-04
  20  Normalizat    1.3738        .25467       -.27068E-05    .18861E-03
  21  Prefactor     .76185        .25609        .34184E-05    .54173E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.355084
  norm       = 3.02507
  Prefactor  = 0.0001
  norm       = 7.452
  Prefactor  = 9.74834
  Prefactor  = 1.29459
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 13.6218
  Prefactor  = 67.9165
  Prefactor  = 62.9987
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.3461
  norm       = 3.98603
  Prefactor  = 0.0001
  norm       = 10.6131
  Normalizat = 1.37384
  Prefactor  = 0.761849
 **********
 **   18 **HESSE 
 **********

 FCN=   4107.886     FROM HESSE     STATUS=OK           317 CALLS     2520 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35508        7.8521        .18136E-02   -1.5589    
   2  norm          3.0251        4.7191        .15694E-03   -1.5360    
   3  Prefactor     .10000E-03    25.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.4520        5.6173        .12573E-03   -1.5162    
   5  Prefactor     9.7483        22.402        .12829E-03   -1.5083    
   6  Prefactor     1.2946        21.022        .19481E-02   -1.5480    
   7  Prefactor     .10000E-03    7.1505        .16733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    41.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.622        10.470        .10853E-03   -1.4970    
  10  Prefactor     67.916        79.521        .24344E-03   -1.4058    
  11  Prefactor     62.999        60.149        .50555E-04   -1.4119    
  12  norm          .10000E-03    .98930        .61732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.7418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.1531        .32711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     56.346        50.931        .53443E-04   -1.4205    
  17  norm          3.9860        3.4591        .10530E-03   -1.5309    
  18  Prefactor     .10000E-03    13.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.613        6.3295        .11836E-03   -1.5056    
  20  Normalizat    1.3738        .28621        .22905E-03   -.81388    
  21  Prefactor     .76185        .28495        .31899E-03   -1.0115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54879e-09
Minuit parameter uncertainties:
  1  3.33957
  2  4.71972
  3  2.64138e-05
  4  5.61768
  5  22.4214
  6  10.4375
  7  0.00010599
  8  0.000484617
  9  10.4715
  10  79.6455
  11  60.2071
  12  6.10741e-06
  13  2.12639e-05
  14  2.61128e-05
  15  6.67139e-05
  16  50.9709
  17  3.45932
  18  7.38959e-05
  19  6.32994
  20  0.28654
  21  0.285503
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  7.618e-01  2.855e-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.374e+00  2.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.95
Ra Dec: 36.283 -26.077
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 7.26e-08 +/- 5.58e-08
Energy Flux (Fixed Index): 2.07e-05 +/- 1.59e-05

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

Saving results to:
/scratch/kocevski/379457/likelihoodResults_595209601_595468801_4FGL_J0225.1-2604_daily_bin1373.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) = 4107.85963492
delta logL = 0.0263361316984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4107.85727754
delta logL = 0.0286935127015

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.089       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3550       1.0000          .0000       10.000    
     3 'Normalizat'    1.3853       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75331       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=   4107.857     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      236 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.088        10.876        .10671E-03    .19749E-02
   2  Index         2.3549        .66866        .78193E-02    .44899E-03
   3  Normalizat    1.3853        .26838        .22829E-03   -.19976E-03
   4  Prefactor     .75327        .28365        .32060E-03   -.16103E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.0884
  Index      = 2.35492
  Normalizat = 1.38528
  Prefactor  = 0.753272
 **********
 **   18 **HESSE 
 **********

 FCN=   4107.857     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.088        10.856        .21341E-04   -1.4957    
   2  Index         2.3549        .66714        .31277E-03   -.55744    
   3  Normalizat    1.3853        .26862        .45657E-04   -.81055    
   4  Prefactor     .75327        .28385        .12824E-04   -1.0147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.26812e-09
Minuit parameter uncertainties:
  1  10.8579
  2  0.669919
  3  0.268893
  4  0.284399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/379457': 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) = 4107.85727752
delta logL = 0.0286935375698

Extracting fit parameters...

4FGL J0225.1-2604
   Spectrum: PowerLaw
281    Prefactor:  1.409e+01  1.086e+01  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.355e+00  6.699e-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:  7.533e-01  2.844e-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.385e+00  2.689e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.00
Ra Dec: 36.283 -26.077
Photon Index (Free Index): 2.35 +/- 0.67
Photon Flux (Free Index): 6.33e-08 +/- 6.35e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.84e-05

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/379457/cmap_HighResolution_595209601_595468801_4FGL_J0225.1-2604_daily_bin1373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.49e-02', comment='SUCCESS', photon_flux='7.26e-08', energy_flux2='2.21e-05', photon_flux_error='5.58e-08', dlogl='2.87e-02', energy_flux='2.07e-05', photon_flux2='6.33e-08', job_status='DONE', time_completed='2021-08-15 21:26:46.896519', photon_index_error2='0.67', photon_index2='2.35', ts='2.95', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='1.92e-07', energy_flux_error2='1.84e-05', EG='1.37', time_epoch_completed='1629088006.9', return_code='0', job_id='379457', GAL2='0.75', EG2='1.39', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='6.35e-08', ts2='3.00', photon_index='2.52' WHERE bin_id='1373' AND source_name='4FGL J0225.1-2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:26:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 379457: <4FGL_J0225.1-2604_daily_bin1373> in cluster <slac> Done

Job <4FGL_J0225.1-2604_daily_bin1373> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Aug 15 21:15:27 2021
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:16:05 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:05 2021
Terminated at Sun Aug 15 21:26:47 2021
Results reported at Sun Aug 15 21:26:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.1-2604_daily_bin1373 36.2829 -26.0774 595209601 595468801 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 :                                   581.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             384.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            680 sec.

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

