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


Performing analysis on: 4FGL_J0225.6-4502_daily_bin1601
RA = 36.4048, Dec = -45.0366
tmin = 654307201, tmax = 654566401
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='539622', job_status='RUN', time_executed='2021-09-29 00:06:17.386030', time_epoch_executed='1632899177.39' WHERE source_name='4FGL J0225.6-4502' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/539622

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/539622/ft1_4FGL_J0225.6-4502_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/539622/ft2_4FGL_J0225.6-4502_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/539622/ft1_4FGL_J0225.6-4502_daily_bin1601.fits outfile=/scratch/kocevski/539622/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1601.fits ra=36.4048 dec=-45.0366 rad=12.0 tmin=654307201.0 tmax=654566401.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.23
user 3.97
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/539622/ft2_4FGL_J0225.6-4502_daily_bin1601.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/539622/ft1_filteredMKT_4FGL_J0225.6-4502_daily_bin1601.fits evtable="EVENTS" outfile="/scratch/kocevski/539622/ft1_filtered_4FGL_J0225.6-4502_daily_bin1601.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 0.57
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/539622/ft1_filtered_4FGL_J0225.6-4502_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/539622/ft2_4FGL_J0225.6-4502_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/539622/ltcube_654307201_654566401_4FGL_J0225.6-4502_daily_bin1601.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/539622/ft2_4FGL_J0225.6-4502_daily_bin1601.fits
.....................!
real 11.73
user 11.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/539622/ft1_filtered_4FGL_J0225.6-4502_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/539622/ft2_4FGL_J0225.6-4502_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/539622/ltcube_654307201_654566401_4FGL_J0225.6-4502_daily_bin1601.fits outfile=/scratch/kocevski/539622/expmap_654307201_654566401_4FGL_J0225.6-4502_daily_bin1601.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/539622/ltcube_654307201_654566401_4FGL_J0225.6-4502_daily_bin1601.fits
.....................!
real 190.88
user 185.47
sys 5.10

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/539622/ft1_filtered_4FGL_J0225.6-4502_daily_bin1601.fits scfile=/scratch/kocevski/539622/ft2_4FGL_J0225.6-4502_daily_bin1601.fits outfile=/scratch/kocevski/539622/cmap_654307201_654566401_4FGL_J0225.6-4502_daily_bin1601.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 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/539622/ft1_filtered_4FGL_J0225.6-4502_daily_bin1601.fits scfile=/scratch/kocevski/539622/ft2_4FGL_J0225.6-4502_daily_bin1601.fits outfile=/scratch/kocevski/539622/cmap_HighResolution_654307201_654566401_4FGL_J0225.6-4502_daily_bin1601.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 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/539622/ft1_filtered_4FGL_J0225.6-4502_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/539622/ft2_4FGL_J0225.6-4502_daily_bin1601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/539622/Model_4FGL_J0225.6-4502_daily_bin1601.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/539622/ft1_filtered_4FGL_J0225.6-4502_daily_bin1601.fits.....................!
real 88.88
user 87.50
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.6005       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6818       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.902       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1970       1.0000         .10000E-03   10000.    
     6 'norm      '    34.144       1.0000         .10000E-03   10000.    
     7 'norm      '    .12738E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .30192E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    41.966       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.6128       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3382       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.912       1.0000         .10000E-03   10000.    
    14 'norm      '    3.0354       1.0000         .10000E-03   10000.    
    15 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.3719       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10119E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8813       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.709       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10187E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.0196       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .84957       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.4222       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=   4671.085     FROM MIGRAD    STATUS=CONVERGED    657 CALLS     3322 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.044       -.37305E-06** at limit **
   2  norm          2.5987        8.3068        .19874E-06   -.62901E-04
   3  Prefactor     3.6711        157.79        .31179E-06   -.10742E-04
   4  Prefactor     21.905        10.876        .18456E-07   -.87519E-04
   5  Prefactor     3.1989        5.7832        .38113E-06    .44280E-04
   6  norm          34.145        37.760       -.55652E-09   -.24163E-07
   7  norm          .10000E-03    4.3024        .45215E-06** at limit **
   8  Prefactor     .10000E-03    171.15       -.22994E-05** at limit **
   9  Prefactor     41.932        41.128        .67591E-06   -.85637E-05
  10  Prefactor     6.6121        5.7885       -.47753E-07   -.54213E-04
  11  norm          1.3382        1.4863        .84497E-07    .99140E-05
  12  Prefactor     .10000E-03    15.769        .39116E-06** at limit **
  13  Prefactor     27.911        24.511       -.88821E-07   -.26787E-04
  14  norm          3.0350        2.4565        .24683E-07   -.48845E-04
  15  norm          .10000E-03    1.2975       -.40890E-06** at limit **
  16  Prefactor     .10000E-03    16.598        .69871E-06** at limit **
  17  Prefactor     5.3695        20.605       -.10443E-05   -.11828E-04
  18  Prefactor     .10000E-03    24.540       -.52280E-06** at limit **
  19  norm          .10000E-03    .65759       -.30748E-06** at limit **
  20  Prefactor     .10000E-03    83.043        .30911E-05** at limit **
  21  Prefactor     2.8811        2.8943        .24919E-07    .44930E-04
  22  Prefactor     11.706        14.717       -.19863E-07   -.50546E-04
  23  Prefactor     .10000E-03    18.066        .58127E-06** at limit **
  24  Prefactor     .10000E-03    9.9353        .36623E-06** at limit **
  25  Prefactor     1.0133        13.944        .48753E-06   -.15120E-04
  26  Normalizat    .84926        .24476       -.57478E-05   -.13725E-03
  27  Prefactor     1.4227        .26284        .32165E-05   -.22382E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.59875
  Prefactor  = 3.67107
  Prefactor  = 21.9054
  Prefactor  = 3.19893
  norm       = 34.1451
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.932
  Prefactor  = 6.61213
  norm       = 1.33816
  Prefactor  = 0.0001
  Prefactor  = 27.9107
  norm       = 3.03496
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.3695
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.8811
  Prefactor  = 11.7058
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.01333
  Normalizat = 0.849263
  Prefactor  = 1.42267
 **********
 **   18 **HESSE 
 **********

 FCN=   4671.085     FROM HESSE     STATUS=OK           498 CALLS     3820 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5987        8.3124        .25299E-03   -1.5386    
   3  Prefactor     3.6711        156.95        .21049E-03   -1.5325    
   4  Prefactor     21.905        10.792        .85587E-04   -1.4772    
   5  Prefactor     3.1989        5.7710        .21309E-03   -1.5350    
   6  norm          34.145        37.761        .68579E-04   -1.4539    
   7  norm          .10000E-03    4.3698        .13884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    165.02        .50358E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     41.932        41.067        .61881E-04   -1.4412    
  10  Prefactor     6.6121        5.7675        .14569E-03   -1.5194    
  11  norm          1.3382        1.4637        .82515E-04   -1.5477    
  12  Prefactor     .10000E-03    15.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.911        24.492        .75831E-04   -1.4651    
  14  norm          3.0350        2.4564        .92912E-04   -1.5360    
  15  norm          .10000E-03    2.0153        .14521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.3695        20.421        .17339E-03   -1.5244    
  18  Prefactor     .10000E-03    24.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .94648        .10252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    83.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.8811        2.9027        .11347E-03   -1.5368    
  22  Prefactor     11.706        14.701        .11707E-03   -1.5024    
  23  Prefactor     .10000E-03    18.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.0133        77.292        .49386E-02   -1.5507    
  26  Normalizat    .84926        .25517        .27969E-03   -.98267    
  27  Prefactor     1.4227        .28105        .24815E-03   -.79729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7573e-08
Minuit parameter uncertainties:
  1  1.27717e-05
  2  8.31607
  3  48.1426
  4  10.7925
  5  5.77203
  6  37.7874
  7  9.04625e-05
  8  0.000340554
  9  41.0951
  10  5.76799
  11  1.46377
  12  7.80345e-05
  13  24.5006
  14  2.45653
  15  3.20218e-05
  16  9.25263e-05
  17  20.4472
  18  1.72066e-05
  19  1.67576e-05
  20  0.000302989
  21  2.90287
  22  14.7059
  23  2.51202e-05
  24  1.55052e-05
  25  17.7229
  26  0.255532
  27  0.281359
Done.

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

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  7.803e-05  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:  1.423e+00  2.814e-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:  8.493e-01  2.555e-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: 9.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/539622/likelihoodResults_654307201_654566401_4FGL_J0225.6-4502_daily_bin1601.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) = 4671.08512252
delta logL = -0.000299796904983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4671.08482506
delta logL = -2.34354411077e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1740       1.0000          .0000       10.000    
     3 'Normalizat'    .84926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4227       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=   4671.085     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      254 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    71.807        .90712E-02** at limit **
   2  Index         3.1466        6.0539        .50000        .27854E-04
   3  Normalizat    .84926        .14703E-01    .63232E-01    .13871E-04
   4  Prefactor     1.4227        .16446E-01    .56123E-01    .72752E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.14656
  Normalizat = 0.849262
  Prefactor  = 1.42267
 **********
 **   18 **HESSE 
 **********

 FCN=   4671.085     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.3951        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1466        6.5279        .50000       -.37975    
   3  Normalizat    .84926        .24491        .27969E-03   -.98267    
   4  Prefactor     1.4227        .27430        .24815E-03   -.79729    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.94851e-10
Minuit parameter uncertainties:
  1  9.45959e-05
  2  4.64507
  3  0.245227
  4  0.274579
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/539622': 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) = 4671.08482488
delta logL = -2.15867385123e-06

Extracting fit parameters...

4FGL J0225.6-4502
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  9.460e-05  1.000e-04  1.000e+04 ( 1.000e-13)
285        Index:  3.147e+00  4.645e+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:  1.423e+00  2.746e-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:  8.493e-01  2.452e-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/539622/cmap_HighResolution_654307201_654566401_4FGL_J0225.6-4502_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.38e-03', job_status='DONE', photon_flux_upper_limit='9.50e-08', time_completed='2021-09-29 00:18:14.678016', job_id='539622', GAL2='1.42', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632899894.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.42', dlogl='-2.16e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1601' AND source_name='4FGL J0225.6-4502' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:18:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 539622: <4FGL_J0225.6-4502_daily_bin1601> in cluster <slac> Done

Job <4FGL_J0225.6-4502_daily_bin1601> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 00:05:21 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:05:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:05:22 2021
Terminated at Wed Sep 29 00:18:15 2021
Results reported at Wed Sep 29 00:18:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0225.6-4502_daily_bin1601 36.4048 -45.0366 654307201 654566401 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 :                                   693.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             311.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            774 sec.

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

