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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin1089
RA = 345.182, Dec = -26.7502
tmin = 521596801, tmax = 521856001
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='638196', job_status='RUN', time_executed='2021-09-29 05:28:01.607719', time_epoch_executed='1632918481.61' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='1089'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638196

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638196/ft1_4FGL_J2300.7-2645_daily_bin1089.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638196/ft1_4FGL_J2300.7-2645_daily_bin1089.fits outfile=/scratch/kocevski/638196/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1089.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=521596801.0 tmax=521856001.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.35
user 4.09
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.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/638196/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1089.fits evtable="EVENTS" outfile="/scratch/kocevski/638196/ft1_filtered_4FGL_J2300.7-2645_daily_bin1089.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.49
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638196/ft1_filtered_4FGL_J2300.7-2645_daily_bin1089.fits" evtable="EVENTS" scfile=/scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits sctable="SC_DATA" outfile=/scratch/kocevski/638196/ltcube_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.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/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits
.....................!
real 11.96
user 11.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638196/ft1_filtered_4FGL_J2300.7-2645_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits sctable="SC_DATA" expcube=/scratch/kocevski/638196/ltcube_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.fits outfile=/scratch/kocevski/638196/expmap_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.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/638196/ltcube_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.fits
.....................!
real 189.70
user 185.23
sys 4.15

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
Added 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J2300.7-2645 @ 345.182 -26.7502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/638196/ft1_filtered_4FGL_J2300.7-2645_daily_bin1089.fits scfile=/scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits outfile=/scratch/kocevski/638196/cmap_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.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=345.182 yref=-26.7502 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638196/ft1_filtered_4FGL_J2300.7-2645_daily_bin1089.fits scfile=/scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits outfile=/scratch/kocevski/638196/cmap_HighResolution_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.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=345.182 yref=-26.7502 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/638196/ft1_filtered_4FGL_J2300.7-2645_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638196/Model_4FGL_J2300.7-2645_daily_bin1089.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 GAL_V02
Working on...
/scratch/kocevski/638196/ft1_filtered_4FGL_J2300.7-2645_daily_bin1089.fits.....................!
real 51.79
user 50.47
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638196/ft1_filtered_4FGL_J2300.7-2645_daily_bin1089.fits', '/scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits', expMap='/scratch/kocevski/638196/expmap_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.fits', expCube='/scratch/kocevski/638196/ltcube_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638196/Model_4FGL_J2300.7-2645_daily_bin1089.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2300.7-2645'

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.072e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.405e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/638196/ft1_filtered_4FGL_J2300.7-2645_daily_bin1089.fits
Spacecraft file(s): /scratch/kocevski/638196/ft2_4FGL_J2300.7-2645_daily_bin1089.fits
Exposure map: /scratch/kocevski/638196/expmap_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.fits
Exposure cube: /scratch/kocevski/638196/ltcube_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638196/Model_4FGL_J2300.7-2645_daily_bin1089.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) = 6461.13030133

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5677       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    23.884       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.328       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.012       1.0000         .10000E-03   10000.    
     6 'norm      '    2.9601       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3737       1.0000         .10000E-03   10000.    
     9 'norm      '    5.6663       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.498       1.0000         .10000E-03   10000.    
    12 'norm      '    .85343       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3008       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.6124       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.966       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93356       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0607       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6461.076     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2313 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5677        9.1198       -.54090E-06   -.62756E-04
   2  Prefactor     .10000E-03    11.405        .69885E-05** at limit **
   3  norm          23.883        17.647       -.64554E-06    .28373E-04
   4  Prefactor     21.327        23.959       -.21992E-05   -.54277E-04
   5  Prefactor     10.011        11.943       -.16367E-05    .15065E-04
   6  norm          2.9600        1.8610       -.62896E-07    .40122E-03
   7  Prefactor     .10000E-03    19.148       -.12870E-04** at limit **
   8  Prefactor     8.3730        8.5240       -.81726E-06   -.58854E-04
   9  norm          5.6671        4.6661        .66499E-06   -.90572E-04
  10  Prefactor     .10000E-03    9.1378       -.33488E-05** at limit **
  11  Prefactor     14.502        10.568       -.30347E-06    .11592E-03
  12  norm          .85353        .71643       -.12523E-06   -.62911E-03
  13  Prefactor     .10000E-03    13.257       -.15151E-05** at limit **
  14  Prefactor     3.2979        13.434       -.36258E-05   -.12606E-03
  15  Prefactor     .10000E-03    3.4956        .36540E-07** at limit **
  16  Prefactor     .10000E-03    6.8840        .51592E-06** at limit **
  17  norm          .10000E-03    2.1263       -.76677E-07** at limit **
  18  Prefactor     .10000E-03    26.236        .68766E-05** at limit **
  19  norm          5.6143        3.6941        .42990E-05    .74988E-04
  20  Prefactor     22.920        31.738       -.58595E-04   -.93774E-05
  21  Prefactor     .10000E-03    28.399        .80009E-05** at limit **
  22  Prefactor     .10000E-03    32.430       -.10570E-05** at limit **
  23  Normalizat    .93363        .18554        .63779E-05   -.19525E-03
  24  Prefactor     1.0607        .17686       -.64677E-06    .20518E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.56773
  Prefactor  = 0.000100001
  norm       = 23.8833
  Prefactor  = 21.3268
  Prefactor  = 10.0111
  norm       = 2.96001
  Prefactor  = 0.0001
  Prefactor  = 8.37295
  norm       = 5.66712
  Prefactor  = 0.0001
  Prefactor  = 14.5017
  norm       = 0.853529
  Prefactor  = 0.0001
  Prefactor  = 3.29786
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.61432
  Prefactor  = 22.9202
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.933626
  Prefactor  = 1.06067
 **********
 **   18 **HESSE 
 **********

 FCN=   6461.076     FROM HESSE     STATUS=OK           399 CALLS     2712 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5677        9.1155        .17026E-03   -1.5236    
   2  Prefactor     .10000E-03    11.700        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          23.883        17.645        .81964E-04   -1.4730    
   4  Prefactor     21.327        23.995        .86730E-04   -1.4784    
   5  Prefactor     10.011        11.955        .12664E-03   -1.5075    
   6  norm          2.9600        1.8620        .84067E-04   -1.5364    
   7  Prefactor     .10000E-03    19.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.3730        8.5301        .13854E-03   -1.5129    
   9  norm          5.6671        4.6445        .13921E-03   -1.5232    
  10  Prefactor     .10000E-03    9.1484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.502        10.811        .10519E-03   -1.4946    
  12  norm          .85353        .70565        .48057E-03   -1.5523    
  13  Prefactor     .10000E-03    13.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2979        13.429        .22284E-03   -1.5345    
  15  Prefactor     .10000E-03    3.5001        .14664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.8843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.1365        .11447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.6143        3.6880        .11439E-03   -1.5234    
  20  Prefactor     22.920        31.747        .83583E-04   -1.4750    
  21  Prefactor     .10000E-03    28.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    32.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .93363        .21881        .25568E-03   -.95288    
  24  Prefactor     1.0607        .20848        .24086E-03   -.90734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01479e-09
Minuit parameter uncertainties:
  1  9.11777
  2  0.000164488
  3  17.6491
  4  24.0054
  5  11.9574
  6  1.86201
  7  1.23731e-05
  8  8.53131
  9  4.64484
  10  1.30434e-05
  11  10.8123
  12  0.705656
  13  1.27698e-05
  14  13.3144
  15  1.35856e-06
  16  2.46353e-06
  17  6.01199e-06
  18  9.53824e-05
  19  3.6882
  20  31.7705
  21  0.000101696
  22  1.82707e-05
  23  0.219022
  24  0.20864
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  1.359e-06  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.405e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.061e+00  2.086e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  9.336e-01  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 345.182 -26.750
Photon Flux Upper Limit: 6.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638196/likelihoodResults_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.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) = 6461.07784617
delta logL = -0.00135760262765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.0764884
delta logL = 1.67980942933e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3849       1.0000          .0000       10.000    
     3 'Normalizat'    .93364       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0607       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+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=   6461.076     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      235 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10260E-03    1.5145        .14915E-01** at limit **
   2  Index         2.2881        5.4542        .50000        .40221E-04
   3  Normalizat    .93363        .26533E-02    .25568E-03   -.11116E-05
   4  Prefactor     1.0607        .26606E-02    .24086E-03   -.61360E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102599
  Index      = 2.28807
  Normalizat = 0.933631
  Prefactor  = 1.06067
 **********
 **   18 **HESSE 
 **********

 FCN=   6461.076     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      264 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10260E-03    56.645        .15329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2881        6.2839        .50000       -.57328    
   3  Normalizat    .93363        .16436E-01    .10227E-04   -.95288    
   4  Prefactor     1.0607        .16481E-01    .96345E-05   -.90734    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.4624e-07
Minuit parameter uncertainties:
  1  0.0242886
  2  367.221
  3  0.0164364
  4  0.0164811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638196': 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) = 6461.07648765
delta logL = 9.14282281883e-07

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.026e-04  2.429e-02  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.288e+00  3.672e+02  0.000e+00  1.000e+01 (-1.000e+00)
350        Scale:  1.367e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  1.061e+00  1.648e-02  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  9.336e-01  1.644e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 345.182 -26.750

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/638196/cmap_HighResolution_521596801_521856001_4FGL_J2300.7-2645_daily_bin1089.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.06e-08', time_completed='2021-09-29 05:39:37.521533', job_id='638196', GAL2='1.06', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1632919177.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='9.14e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1089' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:39:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 638196: <4FGL_J2300.7-2645_daily_bin1089> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin1089> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 05:25:16 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:25:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 05:25:18 2021
Terminated at Wed Sep 29 05:39:38 2021
Results reported at Wed Sep 29 05:39:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin1089 345.182 -26.7502 521596801 521856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2300.7-2645 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   645.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            862 sec.

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

