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


Performing analysis on: 4FGL_J0225.6-4502_daily_bin1351
RA = 36.4048, Dec = -45.0366
tmin = 589507201, tmax = 589766401
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='385646', job_status='RUN', time_executed='2021-08-15 21:38:34.501805', time_epoch_executed='1629088714.5' WHERE source_name='4FGL J0225.6-4502' and cadence='daily' and bin_id='1351'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/385646

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/385646/ft1_4FGL_J0225.6-4502_daily_bin1351.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/385646/ft2_4FGL_J0225.6-4502_daily_bin1351.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/385646/ft1_4FGL_J0225.6-4502_daily_bin1351.fits outfile=/scratch/kocevski/385646/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1351.fits ra=36.4048 dec=-45.0366 rad=12.0 tmin=589507201.0 tmax=589766401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 7.09
user 2.77
sys 4.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/385646/ft1_filtered_4FGL_J0225.6-4502_daily_bin1351.fits" evtable="EVENTS" scfile=/scratch/kocevski/385646/ft2_4FGL_J0225.6-4502_daily_bin1351.fits sctable="SC_DATA" outfile=/scratch/kocevski/385646/ltcube_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.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/385646/ft2_4FGL_J0225.6-4502_daily_bin1351.fits
.....................!
real 19.77
user 14.89
sys 4.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/385646/ft1_filtered_4FGL_J0225.6-4502_daily_bin1351.fits evtable="EVENTS" scfile=/scratch/kocevski/385646/ft2_4FGL_J0225.6-4502_daily_bin1351.fits sctable="SC_DATA" expcube=/scratch/kocevski/385646/ltcube_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.fits outfile=/scratch/kocevski/385646/expmap_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.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/385646/ltcube_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.fits
.....................!
real 196.73
user 186.10
sys 10.12

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/385646/ft1_filtered_4FGL_J0225.6-4502_daily_bin1351.fits scfile=/scratch/kocevski/385646/ft2_4FGL_J0225.6-4502_daily_bin1351.fits outfile=/scratch/kocevski/385646/cmap_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.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 4.45
user 0.39
sys 4.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/385646/ft1_filtered_4FGL_J0225.6-4502_daily_bin1351.fits scfile=/scratch/kocevski/385646/ft2_4FGL_J0225.6-4502_daily_bin1351.fits outfile=/scratch/kocevski/385646/cmap_HighResolution_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.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 4.50
user 0.39
sys 4.04

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/385646/ft1_filtered_4FGL_J0225.6-4502_daily_bin1351.fits evtable="EVENTS" scfile=/scratch/kocevski/385646/ft2_4FGL_J0225.6-4502_daily_bin1351.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/385646/Model_4FGL_J0225.6-4502_daily_bin1351.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/385646/ft1_filtered_4FGL_J0225.6-4502_daily_bin1351.fits.....................!
real 103.73
user 96.89
sys 6.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/385646/ft1_filtered_4FGL_J0225.6-4502_daily_bin1351.fits', '/scratch/kocevski/385646/ft2_4FGL_J0225.6-4502_daily_bin1351.fits', expMap='/scratch/kocevski/385646/expmap_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.fits', expCube='/scratch/kocevski/385646/ltcube_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/385646/Model_4FGL_J0225.6-4502_daily_bin1351.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/385646/ft1_filtered_4FGL_J0225.6-4502_daily_bin1351.fits
Spacecraft file(s): /scratch/kocevski/385646/ft2_4FGL_J0225.6-4502_daily_bin1351.fits
Exposure map: /scratch/kocevski/385646/expmap_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.fits
Exposure cube: /scratch/kocevski/385646/ltcube_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/385646/Model_4FGL_J0225.6-4502_daily_bin1351.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) = 4618.271134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.395       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    60.222       1.0000         .10000E-03   10000.    
     7 'norm      '    .10489E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.306       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1590       1.0000         .10000E-03   10000.    
    11 'norm      '    27.051       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14733E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.3845       1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.4566       1.0000         .10000E-03   10000.    
    16 'Prefactor '    85.860       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .74210       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.2196       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.6263       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.4001       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .75635       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4618.265     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     2783 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10021E-03    16.891       -.12767E-04** at limit **
   2  norm          .10000E-03    4.7118        .59023E-06** at limit **
   3  Prefactor     36.397        1.0558        .14545E-06   -.58328E-03
   4  Prefactor     .10010E-03    16.242        .54429E-05** at limit **
   5  Prefactor     .10000E-03    3.3910       -.17001E-06** at limit **
   6  norm          60.221        1.0085       -.49092E-07    .34184E-03
   7  norm          .10000E-03    7.5169        .25348E-06** at limit **
   8  Prefactor     11.312        1.0794       -.15942E-06    .31632E-03
   9  Prefactor     .10050E-03    12.989        .52000E-05** at limit **
  10  Prefactor     1.1590        4.5754       -.67938E-05   -.32540E-03
  11  norm          27.050        4.1496        .21383E-05    .26956E-02
  12  Prefactor     .16494E-03    90.757       -.33820E-04** at limit **
  13  Prefactor     8.3724        1.5545        .10842E-05   -.11811E-02
  14  norm          .10000E-03    1.1983       -.26344E-06** at limit **
  15  norm          4.4569        3.9336        .32953E-05    .37603E-03
  16  Prefactor     85.855        1.0644        .40424E-07   -.65226E-03
  17  Prefactor     .10004E-03    5.4320       -.86554E-05** at limit **
  18  Prefactor     .10034E-03    52.808        .13728E-04** at limit **
  19  norm          .74173        1.7235       -.96984E-06    .10137E-03
  20  Prefactor     .12986E-03    75.909       -.10449E-04** at limit **
  21  Prefactor     .10000E-03    2.5837       -.49180E-07** at limit **
  22  Prefactor     9.2200        1.0069        .21835E-07   -.90481E-04
  23  Prefactor     .10006E-03    7.0678       -.13169E-04** at limit **
  24  Prefactor     6.6252        1.0321        .16189E-06    .15430E-03
  25  Prefactor     .10010E-03    11.469        .18469E-04** at limit **
  26  Normalizat    1.4000        .28102       -.92341E-05   -.53941E-04
  27  Prefactor     .75654        .28524       -.12397E-05   -.37117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010021
  norm       = 0.0001
  Prefactor  = 36.3969
  Prefactor  = 0.000100104
  Prefactor  = 0.0001
  norm       = 60.221
  norm       = 0.0001
  Prefactor  = 11.3118
  Prefactor  = 0.000100495
  Prefactor  = 1.159
  norm       = 27.0503
  Prefactor  = 0.000164942
  Prefactor  = 8.37238
  norm       = 0.0001
  norm       = 4.45688
  Prefactor  = 85.8547
  Prefactor  = 0.000100036
  Prefactor  = 0.000100339
  norm       = 0.741732
  Prefactor  = 0.000129865
  Prefactor  = 0.0001
  Prefactor  = 9.22001
  Prefactor  = 0.000100062
  Prefactor  = 6.62522
  Prefactor  = 0.000100102
  Normalizat = 1.40005
  Prefactor  = 0.756537
 **********
 **   18 **HESSE 
 **********

 FCN=   4618.265     FROM HESSE     STATUS=OK           552 CALLS     3335 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10021E-03    27.112        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.7074        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     36.397        55.980        .16608E-02   -1.4501    
   4  Prefactor     .10010E-03    16.859        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.3899        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          60.221        71.021        .12926E-02   -1.4154    
   7  norm          .10000E-03    3.5000        .48326E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.312        21.826        .29786E-02   -1.5035    
   9  Prefactor     .10050E-03    24.070        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.1590        4.6834        .10707E-01   -1.5493    
  11  norm          27.050        4.1897        .19256E-02   -1.4667    
  12  Prefactor     .16494E-03    29.328        .10625       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.3724        28.132        .34612E-02   -1.5129    
  14  norm          .10000E-03    1.1772        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.4569        3.9461        .47685E-02   -1.5286    
  16  Prefactor     85.855        28.680        .10839E-02   -1.3852    
  17  Prefactor     .10004E-03    12.657        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10034E-03    54.639        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .74173        1.8670        .12222E-01   -1.5536    
  20  Prefactor     .12986E-03    131.52        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.5679        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     9.2200        14.036        .32998E-02   -1.5101    
  23  Prefactor     .10006E-03    12.758        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.6252        7.5751        .38973E-02   -1.5193    
  25  Prefactor     .10010E-03    12.165        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.4000        .24434        .57549E-01   -.80627    
  27  Prefactor     .75654        .24302        .78243E-01   -1.0135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78934e-07
Minuit parameter uncertainties:
  1  0.00477628
  2  3.22793e-06
  3  56.0612
  4  0.00264378
  5  7.9512e-08
  6  71.1207
  7  8.35852e-06
  8  21.8411
  9  0.00690951
  10  4.66006
  11  4.18972
  12  0.0873264
  13  28.1761
  14  7.47137e-07
  15  3.94631
  16  28.6843
  17  0.00135644
  18  0.00862016
  19  1.86716
  20  0.12562
  21  2.37044e-07
  22  14.0407
  23  0.0017806
  24  7.57617
  25  0.00222758
  26  0.244542
  27  0.243367
Done.

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

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.649e-04  8.733e-02  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:  7.565e-01  2.434e-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.400e+00  2.445e-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: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/385646/likelihoodResults_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.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) = 4618.26526946
delta logL = -2.35538036577e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4618.26526946
delta logL = -2.35488078033e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96345E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4785       1.0000          .0000       10.000    
     3 'Normalizat'    1.4000       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75654       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=   4618.265     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      257 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10745E-03    .80690        .11170    ** at limit **
   2  Index         2.2888        5.8210        .50000        .26847E-05
   3  Normalizat    1.4000        .10899E-02    .57549E-01    .14746E-03
   4  Prefactor     .75654        .11347E-02    .78243E-01    .15274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000107455
  Index      = 2.28879
  Normalizat = 1.40005
  Prefactor  = 0.756538
 **********
 **   18 **HESSE 
 **********

 FCN=   4618.265     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      298 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10745E-03    1.1074        .96786E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2888        6.1191        .50000       -.57310    
   3  Normalizat    1.4000        .11489E-02    .25448E-03   -.80627    
   4  Prefactor     .75654        .11941E-02    .34639E-03   -1.0135    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.01015e-10
Minuit parameter uncertainties:
  1  0.00574666
  2  29.9894
  3  0.0011489
  4  0.00119407
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/385646': 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) = 4618.26524551
delta logL = 3.92426045437e-07

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.075e-04  5.747e-03  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  2.289e+00  2.999e+01  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:  7.565e-01  1.194e-03  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.400e+00  1.149e-03  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/385646/cmap_HighResolution_589507201_589766401_4FGL_J0225.6-4502_daily_bin1351.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.76e-03', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2021-08-15 21:51:11.516338', job_id='385646', GAL2='0.76', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1629089471.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='3.92e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1351' AND source_name='4FGL J0225.6-4502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 21:51:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 385646: <4FGL_J0225.6-4502_daily_bin1351> in cluster <slac> Done

Job <4FGL_J0225.6-4502_daily_bin1351> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Aug 15 21:35:44 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 21:37:00 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:37:00 2021
Terminated at Sun Aug 15 21:51:13 2021
Results reported at Sun Aug 15 21:51:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.6-4502_daily_bin1351 36.4048 -45.0366 589507201 589766401 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.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            929 sec.

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

