/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 193 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7393
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1309
RA = 331.892, Dec = -53.7719
tmin = 578620801, tmax = 578880001
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='195484', job_status='RUN', time_executed='2021-09-28 05:44:08.734057', time_epoch_executed='1632833048.73' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1309'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195484

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195484/ft1_4FGL_J2207.5-5346_daily_bin1309.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195484/ft1_4FGL_J2207.5-5346_daily_bin1309.fits outfile=/scratch/kocevski/195484/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1309.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=578620801.0 tmax=578880001.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.56
user 3.33
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.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/195484/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1309.fits evtable="EVENTS" outfile="/scratch/kocevski/195484/ft1_filtered_4FGL_J2207.5-5346_daily_bin1309.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195484/ft1_filtered_4FGL_J2207.5-5346_daily_bin1309.fits" evtable="EVENTS" scfile=/scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits sctable="SC_DATA" outfile=/scratch/kocevski/195484/ltcube_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.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/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195484/ft1_filtered_4FGL_J2207.5-5346_daily_bin1309.fits evtable="EVENTS" scfile=/scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits sctable="SC_DATA" expcube=/scratch/kocevski/195484/ltcube_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.fits outfile=/scratch/kocevski/195484/expmap_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.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/195484/ltcube_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.fits
.....................!
real 189.94
user 184.79
sys 4.75

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

Setting source of interest to:
4FGL J2207.5-5346 @ 331.892 -53.7719

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/195484/ft1_filtered_4FGL_J2207.5-5346_daily_bin1309.fits scfile=/scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits outfile=/scratch/kocevski/195484/cmap_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.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=331.892 yref=-53.7719 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195484/ft1_filtered_4FGL_J2207.5-5346_daily_bin1309.fits scfile=/scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits outfile=/scratch/kocevski/195484/cmap_HighResolution_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.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=331.892 yref=-53.7719 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/195484/ft1_filtered_4FGL_J2207.5-5346_daily_bin1309.fits evtable="EVENTS" scfile=/scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195484/Model_4FGL_J2207.5-5346_daily_bin1309.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/195484/ft1_filtered_4FGL_J2207.5-5346_daily_bin1309.fits.....................!
real 49.31
user 47.94
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/195484/ft1_filtered_4FGL_J2207.5-5346_daily_bin1309.fits', '/scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits', expMap='/scratch/kocevski/195484/expmap_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.fits', expCube='/scratch/kocevski/195484/ltcube_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/195484/Model_4FGL_J2207.5-5346_daily_bin1309.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.5-5346'

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.875e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/195484/ft1_filtered_4FGL_J2207.5-5346_daily_bin1309.fits
Spacecraft file(s): /scratch/kocevski/195484/ft2_4FGL_J2207.5-5346_daily_bin1309.fits
Exposure map: /scratch/kocevski/195484/expmap_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.fits
Exposure cube: /scratch/kocevski/195484/ltcube_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/195484/Model_4FGL_J2207.5-5346_daily_bin1309.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) = 6401.80966942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.790       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2934       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.4343       1.0000         .10000E-03   10000.    
     8 'norm      '    .88743       1.0000         .10000E-03   10000.    
     9 'Prefactor '    55.916       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15264E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7904       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .29067E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.592       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4038       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11416E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .23350E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.890       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12608E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0268       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94848       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6401.796     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2369 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.2318       -.34628E-06** at limit **
   2  Prefactor     23.775        21.503       -.43161E-06    .31506E-04
   3  Prefactor     .10000E-03    19.576       -.27057E-06** at limit **
   4  Prefactor     .10000E-03    19.040        .17291E-06** at limit **
   5  Prefactor     2.2937        5.7354       -.48705E-06   -.18223E-04
   6  Prefactor     .10000E-03    6.1911       -.21089E-06** at limit **
   7  Prefactor     4.4312        4.5467       -.73768E-06   -.11828E-03
   8  norm          .88755        .82914       -.11828E-06   -.19540E-03
   9  Prefactor     55.833        43.907       -.31309E-05   -.13476E-04
  10  Prefactor     .10000E-03    24.889       -.49676E-05** at limit **
  11  Prefactor     1.7894        1.9021       -.26324E-07   -.64427E-04
  12  Prefactor     .10000E-03    39.253        .41172E-06** at limit **
  13  norm          .10000E-03    3.7956       -.34619E-06** at limit **
  14  Prefactor     15.591        5.7703       -.15806E-08   -.46795E-05
  15  Prefactor     7.4037        6.2268        .32343E-07    .26948E-04
  16  Prefactor     .10000E-03    31.792       -.10686E-05** at limit **
  17  Prefactor     .10000E-03    6.9441       -.20423E-05** at limit **
  18  Prefactor     .10000E-03    27.660       -.37947E-06** at limit **
  19  Prefactor     10.921        36.594        .22636E-05   -.51130E-05
  20  Prefactor     .10000E-03    32.716       -.15128E-05** at limit **
  21  Normalizat    1.0265        .19056       -.10961E-05    .13350E-03
  22  Prefactor     .94862        .14403        .19700E-05   -.12473E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 23.7748
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.29373
  Prefactor  = 0.0001
  Prefactor  = 4.43117
  norm       = 0.887547
  Prefactor  = 55.8333
  Prefactor  = 0.0001
  Prefactor  = 1.78935
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.5913
  Prefactor  = 7.40374
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 10.921
  Prefactor  = 0.0001
  Normalizat = 1.02648
  Prefactor  = 0.948618
 **********
 **   18 **HESSE 
 **********

 FCN=   6401.796     FROM HESSE     STATUS=OK           350 CALLS     2719 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3421        .23378E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.775        21.487        .82126E-04   -1.4732    
   3  Prefactor     .10000E-03    19.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.2937        5.7075        .27104E-03   -1.5405    
   6  Prefactor     .10000E-03    6.1973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4312        4.5599        .82467E-03   -1.5287    
   8  norm          .88755        .79676        .67748E-03   -1.5520    
   9  Prefactor     55.833        43.630        .26822E-03   -1.4212    
  10  Prefactor     .10000E-03    26.586        .35350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.7894        1.9053        .11038E-03   -1.5440    
  12  Prefactor     .10000E-03    39.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    13.248        .30278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.591        5.7784        .10143E-03   -1.4918    
  15  Prefactor     7.4037        6.2263        .14740E-03   -1.5164    
  16  Prefactor     .10000E-03    32.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    25.768        .34519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    27.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.921        36.483        .12141E-03   -1.5047    
  20  Prefactor     .10000E-03    33.920        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0265        .20962        .26669E-03   -.92148    
  22  Prefactor     .94862        .15699        .21414E-03   -.94462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40271e-10
Minuit parameter uncertainties:
  1  1.40355e-05
  2  21.4939
  3  1.90949e-05
  4  1.91333e-05
  5  5.70885
  6  7.18496e-06
  7  4.56025
  8  0.796769
  9  43.6548
  10  6.77163e-05
  11  1.90537
  12  3.00118e-05
  13  3.48595e-05
  14  5.77857
  15  6.22683
  16  0.000123621
  17  0.000297073
  18  1.40279e-07
  19  36.5576
  20  0.000190443
  21  0.20979
  22  0.157063
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.789e+00  1.905e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.436e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  9.486e-01  1.571e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.026e+00  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.06
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 1.64e-08 +/- 1.75e-08
Energy Flux (Fixed Index): 5.14e-06 +/- 5.47e-06

TS (Fixed Index): 3.06
Ra Dec: 331.892 -53.772
Photon Flux Upper Limit: 7.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195484/likelihoodResults_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.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): 0
logL (Free Index) = 6400.02574544
delta logL = 1.77062145784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6399.94600139
delta logL = 1.85036551137

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6399.946     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      212 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0206        1.0293        .12778E-01    .19770E-02
   2  Index         1.0833        .37471        .22190       -.51467E-04
   3  Normalizat    1.0387        .17166        .60001E-01   -.28546E-03
   4  Prefactor     .94401        .13366        .45564E-01   -.71905E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.02062
  Index      = 1.08326
  Normalizat = 1.03868
  Prefactor  = 0.944013
 **********
 **   18 **HESSE 
 **********

 FCN=   6399.946     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0206        1.5022        .75206E-03   -1.5506    
   2  Index         1.0833        .56946        .89210E-02   -.90003    
   3  Normalizat    1.0387        .19847        .26535E-03   -.91746    
   4  Prefactor     .94401        .15465        .21452E-03   -.94620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2496e-09
Minuit parameter uncertainties:
  1  1.5023
  2  0.572691
  3  0.198615
  4  0.154722
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195484': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6399.94600127
delta logL = 1.85036562442

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.021e+00  1.502e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  1.083e+00  5.727e-01  0.000e+00  1.000e+01 (-1.000e+00)
338        Scale:  7.415e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  9.440e-01  1.547e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.039e+00  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.76
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 1.08 +/- 0.57
Photon Flux (Free Index): 4.70e-09 +/- 5.14e-09
Energy Flux (Free Index): 5.48e-05 +/- 8.23e-05

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/195484/cmap_HighResolution_578620801_578880001_4FGL_J2207.5-5346_daily_bin1309.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', comment='SUCCESS', photon_flux='1.64e-08', energy_flux2='5.48e-05', photon_flux_error='1.75e-08', dlogl='1.85e+00', energy_flux='5.14e-06', photon_flux2='4.70e-09', job_status='DONE', time_completed='2021-09-28 05:55:35.428003', photon_index_error2='0.57', photon_index2='1.08', ts='3.06', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='7.33e-08', energy_flux_error2='8.23e-05', EG='1.03', time_epoch_completed='1632833735.43', return_code='0', job_id='195484', GAL2='0.94', EG2='1.04', return_code2='0', energy_flux_error='5.47e-06', photon_flux_error2='5.14e-09', ts2='6.76', photon_index='2.44' WHERE bin_id='1309' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:55:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 195484: <4FGL_J2207.5-5346_daily_bin1309> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1309> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:40:44 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:40:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:40:47 2021
Terminated at Tue Sep 28 05:55:36 2021
Results reported at Tue Sep 28 05:55:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1309 331.892 -53.7719 578620801 578880001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.5-5346 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   641.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            892 sec.

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

