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


Performing analysis on: 4FGL_J0225.6-4502_daily_bin1114
RA = 36.4048, Dec = -45.0366
tmin = 528076801, tmax = 528336001
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='384260', job_status='RUN', time_executed='2021-08-15 21:33:01.277465', time_epoch_executed='1629088381.28' WHERE source_name='4FGL J0225.6-4502' and cadence='daily' and bin_id='1114'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384260

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384260/ft1_4FGL_J0225.6-4502_daily_bin1114.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384260/ft1_4FGL_J0225.6-4502_daily_bin1114.fits outfile=/scratch/kocevski/384260/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1114.fits ra=36.4048 dec=-45.0366 rad=12.0 tmin=528076801.0 tmax=528336001.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 4.26
user 3.26
sys 0.99

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.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/384260/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1114.fits evtable="EVENTS" outfile="/scratch/kocevski/384260/ft1_filtered_4FGL_J0225.6-4502_daily_bin1114.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.30
user 0.33
sys 0.96

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384260/ft1_filtered_4FGL_J0225.6-4502_daily_bin1114.fits" evtable="EVENTS" scfile=/scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits sctable="SC_DATA" outfile=/scratch/kocevski/384260/ltcube_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.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/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits
.....................!
real 14.14
user 12.79
sys 1.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384260/ft1_filtered_4FGL_J0225.6-4502_daily_bin1114.fits evtable="EVENTS" scfile=/scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits sctable="SC_DATA" expcube=/scratch/kocevski/384260/ltcube_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.fits outfile=/scratch/kocevski/384260/expmap_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.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/384260/ltcube_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.fits
.....................!
real 193.19
user 185.73
sys 6.74

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.6-4502 @ 36.4048 -45.0366

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/384260/ft1_filtered_4FGL_J0225.6-4502_daily_bin1114.fits scfile=/scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits outfile=/scratch/kocevski/384260/cmap_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.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.4048 yref=-45.0366 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.40
user 0.39
sys 1.00

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384260/ft1_filtered_4FGL_J0225.6-4502_daily_bin1114.fits scfile=/scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits outfile=/scratch/kocevski/384260/cmap_HighResolution_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.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.4048 yref=-45.0366 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.33
user 0.39
sys 0.93

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384260/ft1_filtered_4FGL_J0225.6-4502_daily_bin1114.fits evtable="EVENTS" scfile=/scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384260/Model_4FGL_J0225.6-4502_daily_bin1114.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/384260/ft1_filtered_4FGL_J0225.6-4502_daily_bin1114.fits.....................!
real 112.55
user 109.87
sys 2.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384260/ft1_filtered_4FGL_J0225.6-4502_daily_bin1114.fits', '/scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits', expMap='/scratch/kocevski/384260/expmap_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.fits', expCube='/scratch/kocevski/384260/ltcube_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384260/Model_4FGL_J0225.6-4502_daily_bin1114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0225.6-4502'

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  2.072e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.479e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/384260/ft1_filtered_4FGL_J0225.6-4502_daily_bin1114.fits
Spacecraft file(s): /scratch/kocevski/384260/ft2_4FGL_J0225.6-4502_daily_bin1114.fits
Exposure map: /scratch/kocevski/384260/expmap_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.fits
Exposure cube: /scratch/kocevski/384260/ltcube_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384260/Model_4FGL_J0225.6-4502_daily_bin1114.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) = 5379.58592665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.964       1.0000         .10000E-03   10000.    
     2 'norm      '    58.945       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3307       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7888       1.0000         .10000E-03   10000.    
     6 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11641E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.515       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.3987       1.0000         .10000E-03   10000.    
    11 'norm      '    4.0072       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6631       1.0000         .10000E-03   10000.    
    14 'norm      '    3.4841       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.0625       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .18218E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.162       1.0000         .10000E-03   10000.    
    19 'norm      '    .81064       1.0000         .10000E-03   10000.    
    20 'Prefactor '    87.697       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.8019       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.0456       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.8614       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2852       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .39743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5379.557     FROM MIGRAD    STATUS=CONVERGED    652 CALLS     3346 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.965        19.856        .10582E-06    .12159E-04
   2  norm          58.943        14.343       -.13091E-06   -.39707E-04
   3  Prefactor     9.3276        14.918       -.20123E-06    .26238E-04
   4  Prefactor     .10000E-03    1.6943       -.15124E-06** at limit **
   5  Prefactor     1.7820        14.385        .15717E-05    .41602E-03
   6  norm          .10000E-03    30.698        .19956E-05** at limit **
   7  norm          .10000E-03    8.4878       -.59031E-06** at limit **
   8  Prefactor     .10000E-03    2.2574       -.18881E-07** at limit **
   9  Prefactor     18.512        32.925       -.63448E-07   -.59433E-05
  10  Prefactor     2.3987        2.4106       -.78515E-07   -.29229E-03
  11  norm          4.0068        1.6743       -.40054E-07    .34210E-04
  12  Prefactor     .10005E-03    19.258       -.12026E-04** at limit **
  13  Prefactor     2.6078        34.276        .89403E-05    .12299E-03
  14  norm          3.4842        1.9236       -.19025E-07    .10652E-03
  15  norm          .10000E-03    .83497        .26929E-07** at limit **
  16  Prefactor     9.0523        13.786        .33122E-06    .10567E-03
  17  Prefactor     .10000E-03    51.864        .27632E-04** at limit **
  18  Prefactor     11.163        22.500        .31826E-06    .14011E-04
  19  norm          .81057        .98440        .71871E-07    .10600E-02
  20  Prefactor     87.746        122.66       -.10999E-04    .21305E-04
  21  Prefactor     6.7981        5.6208       -.20962E-06    .29402E-03
  22  Prefactor     7.0456        12.049       -.24054E-06    .11515E-03
  23  Prefactor     .10000E-03    10.207       -.20657E-06** at limit **
  24  Prefactor     .10000E-03    2.4834       -.27311E-07** at limit **
  25  Prefactor     8.8599        11.604       -.15226E-06    .20713E-04
  26  Normalizat    1.2853        .17773        .22713E-06    .68300E-04
  27  Prefactor     .39734        .17670        .16516E-05    .15051E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9654
  norm       = 58.9432
  Prefactor  = 9.32759
  Prefactor  = 0.0001
  Prefactor  = 1.78195
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 18.5117
  Prefactor  = 2.39865
  norm       = 4.00682
  Prefactor  = 0.000100048
  Prefactor  = 2.60778
  norm       = 3.48419
  norm       = 0.0001
  Prefactor  = 9.05226
  Prefactor  = 0.0001
  Prefactor  = 11.1632
  norm       = 0.810571
  Prefactor  = 87.7455
  Prefactor  = 6.79812
  Prefactor  = 7.04558
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.85989
  Normalizat = 1.28529
  Prefactor  = 0.397339
 **********
 **   18 **HESSE 
 **********

 FCN=   5379.557     FROM HESSE     STATUS=OK           498 CALLS     3844 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.965        19.870        .12100E-03   -1.5046    
   2  norm          58.943        14.341        .52256E-04   -1.4171    
   3  Prefactor     9.3276        14.904        .13120E-03   -1.5097    
   4  Prefactor     .10000E-03    2.9813        .18617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7820        13.814        .31277E-03   -1.5441    
   6  norm          .10000E-03    30.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.6180        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2581        .10762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.512        32.253        .93081E-04   -1.4847    
  10  Prefactor     2.3987        2.4209        .11082E-03   -1.5398    
  11  norm          4.0068        1.6699        .57570E-04   -1.5308    
  12  Prefactor     .10005E-03    75.662        .50121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6078        35.562        .24976E-03   -1.5385    
  14  norm          3.4842        1.9216        .72951E-04   -1.5335    
  15  norm          .10000E-03    .84425        .65394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.0523        13.632        .13314E-03   -1.5106    
  17  Prefactor     .10000E-03    53.092        .49899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.163        22.492        .11991E-03   -1.5040    
  19  norm          .81057        .93421        .72645E-03   -1.5528    
  20  Prefactor     87.746        121.96        .21451E-03   -1.3832    
  21  Prefactor     6.7981        5.5991        .14484E-03   -1.5186    
  22  Prefactor     7.0456        12.037        .15113E-03   -1.5177    
  23  Prefactor     .10000E-03    10.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.4922        .11285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.8599        11.600        .13465E-03   -1.5113    
  26  Normalizat    1.2853        .19809        .19076E-03   -.84007    
  27  Prefactor     .39734        .19210        .34146E-03   -1.1694    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22102e-09
Minuit parameter uncertainties:
  1  19.8816
  2  14.3414
  3  14.9101
  4  1.62151e-05
  5  9.9258
  6  8.30331e-05
  7  0.000196641
  8  2.7984e-06
  9  32.2837
  10  2.42098
  11  1.66994
  12  0.00381851
  13  19.2737
  14  1.92166
  15  3.33497e-06
  16  13.6368
  17  0.000105791
  18  22.5094
  19  0.934223
  20  122.313
  21  5.59949
  22  12.0413
  23  1.3642e-05
  24  4.71867e-06
  25  11.6033
  26  0.198203
  27  0.192408
Done.

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

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  3.819e-03  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.479e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  3.973e-01  1.924e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.285e+00  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 36.405 -45.037
Photon Flux Upper Limit: 8.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384260/likelihoodResults_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.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) = 5379.55692593
delta logL = -6.27265935691e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5379.55692592
delta logL = -6.27081235507e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96328E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4785       1.0000          .0000       10.000    
     3 'Normalizat'    1.2853       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .39734       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5379.497     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      273 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24709        .61388        .21224E-01   -.15784E-02
   2  Index         4.2982        .90178        .16456        .86366E-04
   3  Normalizat    1.2615        .18090        .33074E-01    .31749E-04
   4  Prefactor     .41205        .17765        .75784E-01    .71708E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.247091
  Index      = 4.29818
  Normalizat = 1.26145
  Prefactor  = 0.412049
 **********
 **   18 **HESSE 
 **********

 FCN=   5379.497     FROM HESSE     STATUS=OK            33 CALLS      306 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24709        3.2710        .80652E-03   -1.5807    
   2  Index         4.2982        3.1551        .10760E-01   -.14083    
   3  Normalizat    1.2615        .19359        .19228E-03   -.84724    
   4  Prefactor     .41205        .19405        .33567E-03   -1.1620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21038e-11
Minuit parameter uncertainties:
  1  1.79779
  2  3.42098
  3  0.193702
  4  0.194359
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384260': 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) = 5379.49683201
delta logL = 0.0600311932976

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  2.471e-01  1.798e+00  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  4.298e+00  3.421e+00  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  1.057e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  4.120e-01  1.944e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
564   Normalization:  1.261e+00  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 36.405 -45.037

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/384260/cmap_HighResolution_528076801_528336001_4FGL_J0225.6-4502_daily_bin1114.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.66e-03', job_status='DONE', photon_flux_upper_limit='8.58e-08', time_completed='2021-08-15 21:46:30.969716', job_id='384260', GAL2='0.41', fit_tolerance='1e-08', EG2='1.26', EG='1.29', time_epoch_completed='1629089190.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.40', dlogl='6.00e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1114' AND source_name='4FGL J0225.6-4502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:46:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 384260: <4FGL_J0225.6-4502_daily_bin1114> in cluster <slac> Done

Job <4FGL_J0225.6-4502_daily_bin1114> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 21:30:48 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:32:09 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:32:09 2021
Terminated at Sun Aug 15 21:46:31 2021
Results reported at Sun Aug 15 21:46:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.6-4502_daily_bin1114 36.4048 -45.0366 528076801 528336001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0225.6-4502 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   815.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   862 sec.
    Turnaround time :                            943 sec.

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

