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


Performing analysis on: 4FGL_J2307.6+1451_daily_bin1285
RA = 346.922, Dec = 14.8644
tmin = 572400001, tmax = 572659201
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='671147', job_status='RUN', time_executed='2021-09-29 07:10:49.731715', time_epoch_executed='1632924649.73' WHERE source_name='4FGL J2307.6+1451' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671147

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671147/ft1_4FGL_J2307.6+1451_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671147/ft1_4FGL_J2307.6+1451_daily_bin1285.fits outfile=/scratch/kocevski/671147/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1285.fits ra=346.922 dec=14.8644 rad=12.0 tmin=572400001.0 tmax=572659201.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 3.74
user 3.45
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.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/671147/ft1_filteredMKT_4FGL_J2307.6+1451_daily_bin1285.fits evtable="EVENTS" outfile="/scratch/kocevski/671147/ft1_filtered_4FGL_J2307.6+1451_daily_bin1285.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.84
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/671147/ft1_filtered_4FGL_J2307.6+1451_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/671147/ltcube_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.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/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits
.....................!
real 11.77
user 11.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671147/ft1_filtered_4FGL_J2307.6+1451_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/671147/ltcube_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.fits outfile=/scratch/kocevski/671147/expmap_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.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/671147/ltcube_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.fits
.....................!
real 190.93
user 185.90
sys 4.22

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

Setting source of interest to:
4FGL J2307.6+1451 @ 346.922 14.8644

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/671147/ft1_filtered_4FGL_J2307.6+1451_daily_bin1285.fits scfile=/scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits outfile=/scratch/kocevski/671147/cmap_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.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=346.922 yref=14.8644 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671147/ft1_filtered_4FGL_J2307.6+1451_daily_bin1285.fits scfile=/scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits outfile=/scratch/kocevski/671147/cmap_HighResolution_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.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=346.922 yref=14.8644 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/671147/ft1_filtered_4FGL_J2307.6+1451_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/671147/Model_4FGL_J2307.6+1451_daily_bin1285.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/671147/ft1_filtered_4FGL_J2307.6+1451_daily_bin1285.fits.....................!
real 79.91
user 78.51
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/671147/ft1_filtered_4FGL_J2307.6+1451_daily_bin1285.fits', '/scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits', expMap='/scratch/kocevski/671147/expmap_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.fits', expCube='/scratch/kocevski/671147/ltcube_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/671147/Model_4FGL_J2307.6+1451_daily_bin1285.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2307.6+1451'

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.115e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/671147/ft1_filtered_4FGL_J2307.6+1451_daily_bin1285.fits
Spacecraft file(s): /scratch/kocevski/671147/ft2_4FGL_J2307.6+1451_daily_bin1285.fits
Exposure map: /scratch/kocevski/671147/expmap_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.fits
Exposure cube: /scratch/kocevski/671147/ltcube_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/671147/Model_4FGL_J2307.6+1451_daily_bin1285.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) = 7320.20499279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .32079       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1918       1.0000         .10000E-03   10000.    
     5 'norm      '    .83061       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.405       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6735       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .64504E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.561       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.589       1.0000         .10000E-03   10000.    
    18 'norm      '    6.0711       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12715E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.8365       1.0000         .10000E-03   10000.    
    21 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.8438       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1900       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94007       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   7320.163     FROM MIGRAD    STATUS=CONVERGED    960 CALLS     2784 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.7245        .18142E-02** at limit **
   2  Prefactor     .10000E-03    28.486        .18142E-02** at limit **
   3  Prefactor     .32075        .18854        .27089E-04    .16283E-03
   4  Prefactor     3.1925        7.8488        .22681E-03    .15890E-04
   5  norm          .83121        1.5715        .16055E-02    .64457E-03
   6  Prefactor     .10000E-03    18.825        .18142E-02** at limit **
   7  Prefactor     29.403        13.902        .73884E-04   -.92323E-06
   8  Prefactor     .10000E-03    8.1990        .18142E-02** at limit **
   9  Prefactor     1.6734        .23908        .15005E-04   -.33033E-04
  10  Prefactor     .10100E-03    7.6405        .69100E-01** at limit **
  11  Prefactor     .10000E-03    22.498        .18142E-02** at limit **
  12  Prefactor     .10000E-03    3.3095        .15164E-02** at limit **
  13  Prefactor     17.564        14.270        .95576E-04   -.71370E-05
  14  Prefactor     .10000E-03    8.1294        .18142E-02** at limit **
  15  Prefactor     .10000E-03    5.0375        .18142E-02** at limit **
  16  Prefactor     .10000E-03    6.0588        .18142E-02** at limit **
  17  Prefactor     22.590        18.096        .84277E-04    .10792E-05
  18  norm          6.0895        8.9049        .16295E-03   -.64606E-04
  19  Prefactor     .10014E-03    50.959        .40761E-02** at limit **
  20  Prefactor     2.8159        43.597        .24145E-03    .28675E-04
  21  norm          .10000E-03    4.1386        .16995E-02** at limit **
  22  Prefactor     3.8428        5.9923        .20585E-03    .11543E-04
  23  Normalizat    1.1903        .26160        .32416E-03    .49801E-05
  24  Prefactor     .94001        .14765        .20917E-03   -.40329E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.320746
  Prefactor  = 3.1925
  norm       = 0.831207
  Prefactor  = 0.0001
  Prefactor  = 29.4028
  Prefactor  = 0.0001
  Prefactor  = 1.67342
  Prefactor  = 0.000101001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.564
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.5896
  norm       = 6.08948
  Prefactor  = 0.000100138
  Prefactor  = 2.81589
  norm       = 0.0001
  Prefactor  = 3.84276
  Normalizat = 1.19027
  Prefactor  = 0.940008
 **********
 **   18 **HESSE 
 **********

 FCN=   7320.163     FROM HESSE     STATUS=OK           385 CALLS     3169 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.7257        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.508        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .32075        .18852        .10836E-05   -1.5595    
   4  Prefactor     3.1925        7.8481        .90722E-05   -1.5351    
   5  norm          .83121        1.5682        .64221E-04   -1.5526    
   6  Prefactor     .10000E-03    18.827        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     29.403        13.885        .29554E-05   -1.4623    
   8  Prefactor     .10000E-03    8.1994        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6734        .23908        .30011E-05   -1.5449    
  10  Prefactor     .10100E-03    7.0897        .73678E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.499        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.3099        .30327E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.564        14.270        .38230E-05   -1.4870    
  14  Prefactor     .10000E-03    8.1301        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.0415        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.0602        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.590        18.097        .33711E-05   -1.4757    
  18  norm          6.0895        8.8762        .65179E-05   -1.5214    
  19  Prefactor     .10014E-03    52.036        .16304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.8159        43.582        .96580E-05   -1.5372    
  21  norm          .10000E-03    4.1387        .33991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.8428        5.9921        .82338E-05   -1.5316    
  23  Normalizat    1.1903        .26175        .12966E-04   -.86904    
  24  Prefactor     .94001        .14777        .83668E-05   -.94757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28062e-09
Minuit parameter uncertainties:
  1  1.07727e-05
  2  4.07902e-05
  3  0.188521
  4  7.85061
  5  1.56829
  6  7.48787e-05
  7  13.8861
  8  1.12174e-05
  9  0.239079
  10  0.00532799
  11  0.000197527
  12  2.818e-06
  13  14.2723
  14  9.98088e-06
  15  5.26572e-06
  16  2.44507e-05
  17  18.1009
  18  8.87814
  19  0.00536606
  20  22.1748
  21  1.09802e-06
  22  5.99306
  23  0.262034
  24  0.14783
Done.

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

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  2.818e-06  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.184e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.400e-01  1.478e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.190e+00  2.620e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 346.922 14.864
Photon Flux Upper Limit: 7.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/671147/likelihoodResults_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.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) = 7320.16488467
delta logL = -0.00143765643315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7320.16344985
delta logL = -2.84321686195e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11912E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1715       1.0000          .0000       10.000    
     3 'Normalizat'    1.1904       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93997       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7320.163     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.896        .90712E-02** at limit **
   2  Index         2.1588        7.7441        .50000        .30998E-04
   3  Normalizat    1.1903        .17460E-01    .73251E-01    .24860E-04
   4  Prefactor     .94001        .10201E-01    .45512E-01    .27080E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.15878
  Normalizat = 1.19027
  Prefactor  = 0.940008
 **********
 **   18 **HESSE 
 **********

 FCN=   7320.163     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      235 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    695.03        .15265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1588        5.1703        .50000       -.60437    
   3  Normalizat    1.1903        .13898        .32416E-03   -.86904    
   4  Prefactor     .94001        .81265E-01    .20917E-03   -.94757    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.91766e-07
Minuit parameter uncertainties:
  1  9.41478e-05
  2  59.9859
  3  0.139025
  4  0.0812752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671147': 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) = 7320.16344682
delta logL = 1.9348681235e-07

Extracting fit parameters...

4FGL J2307.6+1451
   Spectrum: PowerLaw
343    Prefactor:  1.000e-04  9.415e-05  1.000e-04  1.000e+04 ( 1.000e-13)
344        Index:  2.159e+00  5.999e+01  0.000e+00  1.000e+01 (-1.000e+00)
345        Scale:  1.928e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.400e-01  8.128e-02  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.190e+00  1.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 346.922 14.864

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/671147/cmap_HighResolution_572400001_572659201_4FGL_J2307.6+1451_daily_bin1285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.49e-08', time_completed='2021-09-29 07:23:21.755594', job_id='671147', GAL2='0.94', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1632925401.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.93e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1285' AND source_name='4FGL J2307.6+1451' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 07:23:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 671147: <4FGL_J2307.6+1451_daily_bin1285> in cluster <slac> Done

Job <4FGL_J2307.6+1451_daily_bin1285> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 07:10:39 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 07:10:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 07:10:40 2021
Terminated at Wed Sep 29 07:23:22 2021
Results reported at Wed Sep 29 07:23:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2307.6+1451_daily_bin1285 346.922 14.8644 572400001 572659201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2307.6+1451 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   743.01 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             297.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            763 sec.

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

