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


Performing analysis on: 4FGL_J0455.7-4617_daily_bin1171
RA = 73.9463, Dec = -46.2871
tmin = 542851201, tmax = 543110401
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='845644', job_status='RUN', time_executed='2021-08-21 13:47:51.097241', time_epoch_executed='1629578871.1' WHERE source_name='4FGL J0455.7-4617' and cadence='daily' and bin_id='1171'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845644

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

Retrieving the FT1 file...

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

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

Retrieving 4 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845644/ft1_4FGL_J0455.7-4617_daily_bin1171.fits


Retrieving the FT1 file...

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

Retrieving 4 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845644/ft1_4FGL_J0455.7-4617_daily_bin1171.fits outfile=/scratch/kocevski/845644/ft1_filteredMKT_4FGL_J0455.7-4617_daily_bin1171.fits ra=73.9463 dec=-46.2871 rad=12.0 tmin=542851201.0 tmax=543110401.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.88
user 0.58
sys 7.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.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/845644/ft1_filteredMKT_4FGL_J0455.7-4617_daily_bin1171.fits evtable="EVENTS" outfile="/scratch/kocevski/845644/ft1_filtered_4FGL_J0455.7-4617_daily_bin1171.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 6.89
user 0.30
sys 6.56

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845644/ft1_filtered_4FGL_J0455.7-4617_daily_bin1171.fits" evtable="EVENTS" scfile=/scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits sctable="SC_DATA" outfile=/scratch/kocevski/845644/ltcube_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.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/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits
.....................!
real 9.84
user 1.46
sys 8.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845644/ft1_filtered_4FGL_J0455.7-4617_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits sctable="SC_DATA" expcube=/scratch/kocevski/845644/ltcube_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.fits outfile=/scratch/kocevski/845644/expmap_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.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/845644/ltcube_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.fits
.....................!
real 200.99
user 187.79
sys 12.77

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.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template.
Added 196 point sources and 2 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 J0455.7-4617 @ 73.9463 -46.2871

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/845644/ft1_filtered_4FGL_J0455.7-4617_daily_bin1171.fits scfile=/scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits outfile=/scratch/kocevski/845644/cmap_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.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=73.9463 yref=-46.2871 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 7.72
user 0.34
sys 7.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845644/ft1_filtered_4FGL_J0455.7-4617_daily_bin1171.fits scfile=/scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits outfile=/scratch/kocevski/845644/cmap_HighResolution_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.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=73.9463 yref=-46.2871 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 6.88
user 0.35
sys 6.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/845644/ft1_filtered_4FGL_J0455.7-4617_daily_bin1171.fits evtable="EVENTS" scfile=/scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/845644/Model_4FGL_J0455.7-4617_daily_bin1171.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
adding source LMC-North
Working on...
/scratch/kocevski/845644/ft1_filtered_4FGL_J0455.7-4617_daily_bin1171.fits.................!
real 31.60
user 21.10
sys 9.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/845644/ft1_filtered_4FGL_J0455.7-4617_daily_bin1171.fits', '/scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits', expMap='/scratch/kocevski/845644/expmap_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.fits', expCube='/scratch/kocevski/845644/ltcube_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/845644/Model_4FGL_J0455.7-4617_daily_bin1171.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0455.7-4617'

4FGL J0455.7-4617
   Spectrum: LogParabola
294         norm:  4.061e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  2.483e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
296         beta:  8.159e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
297           Eb:  6.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/845644/ft1_filtered_4FGL_J0455.7-4617_daily_bin1171.fits
Spacecraft file(s): /scratch/kocevski/845644/ft2_4FGL_J0455.7-4617_daily_bin1171.fits
Exposure map: /scratch/kocevski/845644/expmap_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.fits
Exposure cube: /scratch/kocevski/845644/ltcube_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/845644/Model_4FGL_J0455.7-4617_daily_bin1171.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) = 199.070591448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12786E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.8344       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .37501E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.5707       1.0000         .10000E-03   10000.    
    11 'norm      '    .11708E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    17.981       1.0000         .10000E-03   10000.    
    21 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    40.032       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .27764E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    147.82       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .60251       1.0000         .10000E-03   10000.    
    28 'norm      '    .15023E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    .10196E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.3309       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   198.9746     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     3984 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    24.913       -.11003E-04** at limit **
   2  Prefactor     .10519E-03    212.28       -.11018E-03** at limit **
   3  Prefactor     .10002E-03    31.420       -.47815E-04** at limit **
   4  Prefactor     .10115E-03    16.737        .25578E-04** at limit **
   5  norm          .10041E-03    35.171        .64444E-04** at limit **
   6  Prefactor     .10088E-03    19.641       -.16054E-04** at limit **
   7  norm          2.8354        2.6823        .12882E-06    .32203E-04
   8  Prefactor     .10907E-03    7.2445       -.28146E-04** at limit **
   9  Prefactor     .10000E-03    9.5349        .27524E-06** at limit **
  10  norm          6.5474        3.0060       -.44544E-05    .12514E-04
  11  norm          .10071E-03    22.033        .27064E-04** at limit **
  12  Prefactor     .10000E-03    9.7536        .13103E-06** at limit **
  13  Prefactor     .10129E-03    28.189       -.31114E-04** at limit **
  14  norm          .10008E-03    20.570        .24735E-04** at limit **
  15  Prefactor     .13774E-03    83.682        .23456E-04** at limit **
  16  Prefactor     .10455E-03    40.121        .25452E-04** at limit **
  17  Prefactor     .10179E-03    44.966        .43041E-04** at limit **
  18  Prefactor     .10006E-03    20.525       -.20337E-04** at limit **
  19  Prefactor     .10031E-03    40.888       -.46753E-04** at limit **
  20  norm          17.985        1.0301       -.32814E-06   -.29331E-05
  21  norm          .10166E-03    27.631       -.51996E-05** at limit **
  22  norm          40.038        1.5454        .88319E-06   -.96518E-04
  23  Prefactor     .10023E-03    4.0669       -.13688E-04** at limit **
  24  Prefactor     .10420E-03    33.896       -.20723E-04** at limit **
  25  Prefactor     147.81        2.6172       -.13151E-05    .21563E-02
  26  norm          .10000E-03    8.9868       -.11730E-05** at limit **
  27  Prefactor     .58814        6.5347       -.32713E-04    .27093E-03
  28  norm          .43884E-03    238.31       -.16604E-03** at limit **
  29  norm          .10333E-03    56.687        .57508E-04** at limit **
  30  Normalizat    .10000E-01    1.8367       -.10319E-04** at limit **
  31  Prefactor     1.3313        .52139        .34480E-05    .37772E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100042
  Prefactor  = 0.000105189
  Prefactor  = 0.00010002
  Prefactor  = 0.000101153
  norm       = 0.000100414
  Prefactor  = 0.000100879
  norm       = 2.83538
  Prefactor  = 0.000109067
  Prefactor  = 0.0001
  norm       = 6.5474
  norm       = 0.000100705
  Prefactor  = 0.0001
  Prefactor  = 0.000101287
  norm       = 0.000100079
  Prefactor  = 0.000137739
  Prefactor  = 0.000104546
  Prefactor  = 0.000101791
  Prefactor  = 0.000100061
  Prefactor  = 0.000100305
  norm       = 17.9847
  norm       = 0.000101664
  norm       = 40.0383
  Prefactor  = 0.000100225
  Prefactor  = 0.000104201
  Prefactor  = 147.815
  norm       = 0.0001
  Prefactor  = 0.588139
  norm       = 0.000438842
  norm       = 0.00010333
  Normalizat = 0.01
  Prefactor  = 1.33132
 **********
 **   18 **HESSE 
 **********

 FCN=   198.9746     FROM HESSE     STATUS=OK           688 CALLS     4672 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    25.240        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10519E-03    462.61        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10002E-03    100.23        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10115E-03    29.009        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10041E-03    64.504        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10088E-03    29.942        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.8354        2.6925        .48978E-02   -1.5371    
   8  Prefactor     .10907E-03    1074.4        .10646E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.5323        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.5474        155.53        .39139E-02   -1.5196    
  11  norm          .10071E-03    49.964        .26293E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.7481        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10129E-03    89.024        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10008E-03    21.043        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .13774E-03    263.20        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10455E-03    150.14        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10179E-03    164.27        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10006E-03    20.863        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10031E-03    52.534        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          17.985        17.465        .23613E-02   -1.4860    
  21  norm          .10166E-03    81.861        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          40.038        93.208        .15838E-02   -1.4442    
  23  Prefactor     .10023E-03    113.91        .84415E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10420E-03    124.46        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     147.81        310.80        .82864E-03   -1.3270    
  26  norm          .10000E-03    8.9520        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .58814        8910.7        .19833       -1.5555    
  28  norm          .43884E-03    799.96        .90712E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          .10333E-03    201.15        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .10000E-01    1.6457        .19224       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     1.3313        .72378        .47387E-01   -.82380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49132e-06
Minuit parameter uncertainties:
  1  0.00206745
  2  0.0987635
  3  0.00281565
  4  0.0115735
  5  0.0103442
  6  0.0102676
  7  2.69258
  8  0.201116
  9  4.91425e-06
  10  64.01
  11  0.0118838
  12  2.21324e-06
  13  0.0214372
  14  0.00257819
  15  0.200211
  16  0.0523819
  17  0.0344014
  18  0.00224807
  19  0.0080175
  20  17.47
  21  0.023376
  22  93.55
  23  0.0101471
  24  0.0458248
  25  314.338
  26  3.19126e-05
  27  167.611
  28  1.05568
  29  0.0519379
  30  3.19849e-06
  31  0.729372
Done.

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

Extracting fit parameters...

4FGL J0455.7-4617
   Spectrum: LogParabola
294         norm:  1.001e-04  2.578e-03  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  2.483e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
296         beta:  8.159e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
297           Eb:  6.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.331e+00  7.294e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  1.000e-02  3.198e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 73.946 -46.287
Photon Flux Upper Limit: 8.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.46e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/845644/likelihoodResults_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.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) = 198.974784386
delta logL = -0.00014771297748

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 198.974640939
delta logL = -4.26680588816e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5656       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3314       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6410E+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=   198.9746     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      301 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1382.1        .38657E-02** at limit **
   2  alpha         1.7736        2.5775        .50000       -.27434E-07
   3  Normalizat    .10000E-01    .23089        .98331E-02** at limit **
   4  Prefactor     1.3313        .17764        .20945E-03    .89858E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.77359
  Normalizat = 0.01
  Prefactor  = 1.33132
 **********
 **   18 **HESSE 
 **********

 FCN=   198.9746     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      328 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7220.5        .72065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7736        3.0921        .50000       -.29482    
   3  Normalizat    .10000E-01    1.1984        .19666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3313        .41056        .41890E-04   -.82380    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.09796e-09
Minuit parameter uncertainties:
  1  0.000575256
  2  7655.13
  3  1.2343e-05
  4  0.411563
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845644': 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) = 198.974636128
delta logL = 5.44672957403e-07

Extracting fit parameters...

4FGL J0455.7-4617
   Spectrum: LogParabola
294         norm:  1.000e-04  5.753e-04  1.000e-04  1.000e+04 ( 1.000e-12)
295        alpha:  1.774e+00  7.655e+03  0.000e+00  5.000e+00 ( 1.000e+00)
296         beta:  8.159e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
297           Eb:  6.907e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
635    Prefactor:  1.331e+00  4.116e-01  0.000e+00  1.000e+01 ( 1.000e+00)
636        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
637        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  1.000e-02  1.234e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 73.946 -46.287

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/845644/cmap_HighResolution_542851201_543110401_4FGL_J0455.7-4617_daily_bin1171.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-04', job_status='DONE', photon_flux_upper_limit='8.37e-07', time_completed='2021-08-21 13:54:21.545038', job_id='845644', GAL2='1.33', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629579261.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='5.45e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1171' AND source_name='4FGL J0455.7-4617' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 13:54:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 845644: <4FGL_J0455.7-4617_daily_bin1171> in cluster <slac> Done

Job <4FGL_J0455.7-4617_daily_bin1171> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 21 13:45:39 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 13:45:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 21 13:45:41 2021
Terminated at Sat Aug 21 13:54:23 2021
Results reported at Sat Aug 21 13:54:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0455.7-4617_daily_bin1171 73.9463 -46.2871 542851201 543110401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0455.7-4617 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   504.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   521 sec.
    Turnaround time :                            524 sec.

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

