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


Performing analysis on: 4FGL_J2300.7-2645_daily_bin1420
RA = 345.182, Dec = -26.7502
tmin = 607392001, tmax = 607651201
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='639392', job_status='RUN', time_executed='2021-09-29 05:30:51.851538', time_epoch_executed='1632918651.85' WHERE source_name='4FGL J2300.7-2645' and cadence='daily' and bin_id='1420'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639392

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639392/ft1_4FGL_J2300.7-2645_daily_bin1420.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639392/ft2_4FGL_J2300.7-2645_daily_bin1420.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639392/ft1_4FGL_J2300.7-2645_daily_bin1420.fits outfile=/scratch/kocevski/639392/ft1_filteredMKT_4FGL_J2300.7-2645_daily_bin1420.fits ra=345.182 dec=-26.7502 rad=12.0 tmin=607392001.0 tmax=607651201.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 5.32
user 5.08
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/639392/ft1_filtered_4FGL_J2300.7-2645_daily_bin1420.fits" evtable="EVENTS" scfile=/scratch/kocevski/639392/ft2_4FGL_J2300.7-2645_daily_bin1420.fits sctable="SC_DATA" outfile=/scratch/kocevski/639392/ltcube_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.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/639392/ft2_4FGL_J2300.7-2645_daily_bin1420.fits
.....................!
real 15.56
user 15.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639392/ft1_filtered_4FGL_J2300.7-2645_daily_bin1420.fits evtable="EVENTS" scfile=/scratch/kocevski/639392/ft2_4FGL_J2300.7-2645_daily_bin1420.fits sctable="SC_DATA" expcube=/scratch/kocevski/639392/ltcube_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.fits outfile=/scratch/kocevski/639392/expmap_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.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/639392/ltcube_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.fits
.....................!
real 190.57
user 185.22
sys 4.95

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/639392/ft1_filtered_4FGL_J2300.7-2645_daily_bin1420.fits scfile=/scratch/kocevski/639392/ft2_4FGL_J2300.7-2645_daily_bin1420.fits outfile=/scratch/kocevski/639392/cmap_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639392/ft1_filtered_4FGL_J2300.7-2645_daily_bin1420.fits scfile=/scratch/kocevski/639392/ft2_4FGL_J2300.7-2645_daily_bin1420.fits outfile=/scratch/kocevski/639392/cmap_HighResolution_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.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/639392/ft1_filtered_4FGL_J2300.7-2645_daily_bin1420.fits evtable="EVENTS" scfile=/scratch/kocevski/639392/ft2_4FGL_J2300.7-2645_daily_bin1420.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/639392/Model_4FGL_J2300.7-2645_daily_bin1420.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/639392/ft1_filtered_4FGL_J2300.7-2645_daily_bin1420.fits.....................!
real 52.44
user 50.92
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/639392/ft1_filtered_4FGL_J2300.7-2645_daily_bin1420.fits', '/scratch/kocevski/639392/ft2_4FGL_J2300.7-2645_daily_bin1420.fits', expMap='/scratch/kocevski/639392/expmap_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.fits', expCube='/scratch/kocevski/639392/ltcube_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/639392/Model_4FGL_J2300.7-2645_daily_bin1420.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/639392/ft1_filtered_4FGL_J2300.7-2645_daily_bin1420.fits
Spacecraft file(s): /scratch/kocevski/639392/ft2_4FGL_J2300.7-2645_daily_bin1420.fits
Exposure map: /scratch/kocevski/639392/expmap_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.fits
Exposure cube: /scratch/kocevski/639392/ltcube_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/639392/Model_4FGL_J2300.7-2645_daily_bin1420.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) = 6823.8142905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.160       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.5729       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.062       1.0000         .10000E-03   10000.    
     9 'norm      '    .21571E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.016       1.0000         .10000E-03   10000.    
    12 'norm      '    .58620       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .52681       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10264E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4798       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19821E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.2574       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84295       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0219       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=   6822.798     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2373 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5871        .75453E-07** at limit **
   2  Prefactor     .10000E-03    2.2415        .26858E-07** at limit **
   3  norm          .10000E-03    21.521       -.53185E-07** at limit **
   4  Prefactor     29.162        16.149        .22307E-07   -.33857E-04
   5  Prefactor     .10000E-03    3.5355        .71759E-07** at limit **
   6  norm          1.5735        1.5240        .10609E-06    .21364E-03
   7  Prefactor     .10000E-03    24.335       -.13213E-07** at limit **
   8  Prefactor     10.065        9.8176        .58586E-06    .53196E-04
   9  norm          .10007E-03    3.2407        .35025E-05** at limit **
  10  Prefactor     .10000E-03    9.4244       -.33789E-06** at limit **
  11  Prefactor     10.019        9.0224        .58616E-06    .49107E-03
  12  norm          .58642        .56798        .38774E-07    .11187E-02
  13  Prefactor     .10000E-03    21.614        .37918E-07** at limit **
  14  Prefactor     .50661        10.155        .49820E-05   -.15803E-03
  15  Prefactor     .10000E-03    6.4734       -.32788E-06** at limit **
  16  Prefactor     .10000E-03    10.672        .33440E-07** at limit **
  17  norm          .10000E-03    3.7119        .63673E-07** at limit **
  18  Prefactor     .10000E-03    10.794       -.33688E-07** at limit **
  19  norm          .10000E-03    1.6688        .10612E-06** at limit **
  20  Prefactor     1.4576        18.326        .13637E-04    .17454E-03
  21  Prefactor     .10000E-03    113.46       -.62515E-06** at limit **
  22  Prefactor     4.2216        57.722       -.29737E-06   -.14697E-03
  23  Normalizat    .84289        .15136        .67797E-06   -.38281E-04
  24  Prefactor     1.0218        .14903       -.15893E-05   -.36735E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.1623
  Prefactor  = 0.0001
  norm       = 1.5735
  Prefactor  = 0.0001
  Prefactor  = 10.0653
  norm       = 0.000100072
  Prefactor  = 0.0001
  Prefactor  = 10.0194
  norm       = 0.586419
  Prefactor  = 0.0001
  Prefactor  = 0.506609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.45764
  Prefactor  = 0.0001
  Prefactor  = 4.22157
  Normalizat = 0.842892
  Prefactor  = 1.02179
 **********
 **   18 **HESSE 
 **********

 FCN=   6822.798     FROM HESSE     STATUS=OK           395 CALLS     2768 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.6088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.2476        .12077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    21.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.162        16.151        .74193E-04   -1.4627    
   5  Prefactor     .10000E-03    3.5497        .15165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5735        1.5103        .96650E-04   -1.5457    
   7  Prefactor     .10000E-03    24.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.065        9.8545        .63160E-03   -1.5073    
   9  norm          .10007E-03    17.121        .20354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.4809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.019        8.6715        .12661E-03   -1.5075    
  12  norm          .58642        .54884        .47588E-04   -1.5555    
  13  Prefactor     .10000E-03    21.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .50661        48.437        .44215E-02   -1.5566    
  15  Prefactor     .10000E-03    6.5497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.7442        .15540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.7484        .20823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.4576        20.367        .17643E-02   -1.5467    
  21  Prefactor     .10000E-03    114.06        .20237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.2216        59.130        .19527E-03   -1.5297    
  23  Normalizat    .84289        .18192        .23258E-03   -.98497    
  24  Prefactor     1.0218        .17853        .21673E-03   -.92007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.59501e-09
Minuit parameter uncertainties:
  1  1.41851e-05
  2  2.8957e-06
  3  0.000118708
  4  16.153
  5  8.35387e-06
  6  1.51038
  7  9.55812e-05
  8  9.8561
  9  0.00221947
  10  7.62374e-05
  11  8.67257
  12  0.548846
  13  7.59883e-05
  14  9.91457
  15  8.26337e-05
  16  2.91726e-05
  17  8.99571e-06
  18  3.64223e-05
  19  8.34702e-06
  20  10.9015
  21  0.000193165
  22  31.6364
  23  0.182049
  24  0.178637
Done.

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

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.000e-04  8.263e-05  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.022e+00  1.786e-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:  8.429e-01  1.820e-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.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/639392/likelihoodResults_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.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) = 6822.79833488
delta logL = -0.000727907826331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6822.79760693
delta logL = 4.24988684244e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4225       1.0000          .0000       10.000    
     3 'Normalizat'    .84290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0218       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=   6822.798     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      245 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10262E-03    .68504E-01    .58310E-01** at limit **
   2  Index         2.5039        6.5784        .50000       -.25877E-04
   3  Normalizat    .84289        .47738E-03    .23258E-03    .98933E-04
   4  Prefactor     1.0218        .48802E-03    .21673E-03    .78945E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102618
  Index      = 2.50395
  Normalizat = 0.84289
  Prefactor  = 1.02179
 **********
 **   18 **HESSE 
 **********

 FCN=   6822.798     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10262E-03    21.337        .31449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5039        8.7414        .50000       -.52269    
   3  Normalizat    .84289        .62091E-02    .93033E-05   -.98497    
   4  Prefactor     1.0218        .63475E-02    .86692E-05   -.92007    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.02769e-08
Minuit parameter uncertainties:
  1  0.0149537
  2  154.573
  3  0.00620907
  4  0.00634747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639392': 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) = 6822.79760661
delta logL = 3.66822860087e-07

Extracting fit parameters...

4FGL J2300.7-2645
   Spectrum: PowerLaw
348    Prefactor:  1.026e-04  1.495e-02  1.000e-04  1.000e+04 ( 1.000e-13)
349        Index:  2.504e+00  1.546e+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.022e+00  6.347e-03  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:  8.429e-01  6.209e-03  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/639392/cmap_HighResolution_607392001_607651201_4FGL_J2300.7-2645_daily_bin1420.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.81e-03', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2021-09-29 05:42:24.223982', job_id='639392', GAL2='1.02', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632919344.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='3.67e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1420' AND source_name='4FGL J2300.7-2645' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 05:42:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 639392: <4FGL_J2300.7-2645_daily_bin1420> in cluster <slac> Done

Job <4FGL_J2300.7-2645_daily_bin1420> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 05:30:15 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 05:30: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:30:18 2021
Terminated at Wed Sep 29 05:42:24 2021
Results reported at Wed Sep 29 05:42:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2300.7-2645_daily_bin1420 345.182 -26.7502 607392001 607651201 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 :                                   683.11 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            729 sec.

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

