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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1453
RA = 331.892, Dec = -53.7719
tmin = 615945601, tmax = 616204801
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='196685', job_status='RUN', time_executed='2021-09-28 05:47:58.752391', time_epoch_executed='1632833278.75' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196685

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196685/ft1_4FGL_J2207.5-5346_daily_bin1453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196685/ft1_4FGL_J2207.5-5346_daily_bin1453.fits outfile=/scratch/kocevski/196685/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1453.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=615945601.0 tmax=616204801.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.42
user 4.16
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.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/196685/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1453.fits evtable="EVENTS" outfile="/scratch/kocevski/196685/ft1_filtered_4FGL_J2207.5-5346_daily_bin1453.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.54
user 0.37
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196685/ft1_filtered_4FGL_J2207.5-5346_daily_bin1453.fits" evtable="EVENTS" scfile=/scratch/kocevski/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.fits sctable="SC_DATA" outfile=/scratch/kocevski/196685/ltcube_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.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/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.fits
.....................!
real 17.08
user 16.71
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196685/ft1_filtered_4FGL_J2207.5-5346_daily_bin1453.fits evtable="EVENTS" scfile=/scratch/kocevski/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.fits sctable="SC_DATA" expcube=/scratch/kocevski/196685/ltcube_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.fits outfile=/scratch/kocevski/196685/expmap_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.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/196685/ltcube_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.fits
.....................!
real 194.60
user 189.89
sys 4.30

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/196685/ft1_filtered_4FGL_J2207.5-5346_daily_bin1453.fits scfile=/scratch/kocevski/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.fits outfile=/scratch/kocevski/196685/cmap_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.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.61
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196685/ft1_filtered_4FGL_J2207.5-5346_daily_bin1453.fits scfile=/scratch/kocevski/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.fits outfile=/scratch/kocevski/196685/cmap_HighResolution_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196685/ft1_filtered_4FGL_J2207.5-5346_daily_bin1453.fits evtable="EVENTS" scfile=/scratch/kocevski/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196685/Model_4FGL_J2207.5-5346_daily_bin1453.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/196685/ft1_filtered_4FGL_J2207.5-5346_daily_bin1453.fits.....................!
real 53.57
user 52.00
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/196685/ft1_filtered_4FGL_J2207.5-5346_daily_bin1453.fits', '/scratch/kocevski/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.fits', expMap='/scratch/kocevski/196685/expmap_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.fits', expCube='/scratch/kocevski/196685/ltcube_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/196685/Model_4FGL_J2207.5-5346_daily_bin1453.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/196685/ft1_filtered_4FGL_J2207.5-5346_daily_bin1453.fits
Spacecraft file(s): /scratch/kocevski/196685/ft2_4FGL_J2207.5-5346_daily_bin1453.fits
Exposure map: /scratch/kocevski/196685/expmap_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.fits
Exposure cube: /scratch/kocevski/196685/ltcube_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/196685/Model_4FGL_J2207.5-5346_daily_bin1453.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) = 6865.04652488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.851       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13966E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.082       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .31521       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.9029       1.0000         .10000E-03   10000.    
    12 'Prefactor '    97.589       1.0000         .10000E-03   10000.    
    13 'norm      '    7.3262       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7817       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .40367       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.470       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .62992E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79397       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0346       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=   6865.030     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2398 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.851        4.4536        .90439E-06    .43490E-04
   2  Prefactor     .10000E-03    17.232       -.38839E-05** at limit **
   3  Prefactor     .10000E-03    21.574        .37232E-05** at limit **
   4  Prefactor     .10000E-03    26.472       -.75897E-05** at limit **
   5  Prefactor     .10000E-03    8.9812        .14902E-07** at limit **
   6  Prefactor     16.082        18.030       -.21378E-06   -.22046E-04
   7  Prefactor     .10000E-03    2.6131       -.57193E-08** at limit **
   8  norm          .31519        .38896        .10247E-07    .11563E-03
   9  Prefactor     .10000E-03    18.931        .47260E-05** at limit **
  10  Prefactor     .10000E-03    2.9443       -.23631E-07** at limit **
  11  Prefactor     6.9034        3.8947        .59512E-07   -.34999E-03
  12  Prefactor     97.592        79.907        .23795E-05   -.21112E-04
  13  norm          7.3254        7.8148       -.37612E-06   -.20734E-03
  14  Prefactor     1.7815        3.2573       -.35851E-06   -.84995E-03
  15  Prefactor     .39881        2.2208       -.52992E-06   -.14248E-03
  16  Prefactor     21.453        23.074       -.17206E-05   -.36364E-03
  17  Prefactor     .10030E-03    5.8127        .23024E-05** at limit **
  18  Prefactor     .10000E-03    30.251       -.49313E-05** at limit **
  19  Prefactor     .10000E-03    85.670       -.32550E-05** at limit **
  20  Prefactor     .10000E-03    9.5592        .47342E-07** at limit **
  21  Normalizat    .79373        .17200        .12608E-06   -.21819E-03
  22  Prefactor     1.0348        .13362       -.42067E-06   -.14290E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.851
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.0823
  Prefactor  = 0.0001
  norm       = 0.315186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.90337
  Prefactor  = 97.5918
  norm       = 7.32541
  Prefactor  = 1.78146
  Prefactor  = 0.398805
  Prefactor  = 21.4531
  Prefactor  = 0.0001003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.79373
  Prefactor  = 1.03477
 **********
 **   18 **HESSE 
 **********

 FCN=   6865.030     FROM HESSE     STATUS=OK           344 CALLS     2742 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.851        4.4320        .77236E-04   -1.4794    
   2  Prefactor     .10000E-03    17.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    26.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.3542        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.082        18.032        .99873E-04   -1.4906    
   7  Prefactor     .10000E-03    2.7057        .26138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .31519        .36038        .55848E-03   -1.5596    
   9  Prefactor     .10000E-03    18.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.9582        .13874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.9034        3.8968        .11669E-03   -1.5182    
  12  Prefactor     97.592        79.862        .40691E-04   -1.3729    
  13  norm          7.3254        7.8245        .14818E-03   -1.5167    
  14  Prefactor     1.7815        3.2987        .19508E-03   -1.5441    
  15  Prefactor     .39881        8.0077        .23311E-02   -1.5582    
  16  Prefactor     21.453        22.058        .86444E-04   -1.4781    
  17  Prefactor     .10030E-03    38.078        .35135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    30.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    86.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.6156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .79373        .20084        .28177E-03   -1.0030    
  22  Prefactor     1.0348        .15687        .20096E-03   -.91579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83855e-08
Minuit parameter uncertainties:
  1  4.43203
  2  3.92794e-05
  3  1.12651e-05
  4  3.05307e-07
  5  5.58344e-06
  6  18.038
  7  1.50718e-07
  8  0.360384
  9  1.01936e-05
  10  4.7391e-06
  11  3.89693
  12  79.9498
  13  7.82564
  14  3.299
  15  3.57419
  16  22.0663
  17  0.00676183
  18  3.18783e-06
  19  0.000159012
  20  3.61335e-06
  21  0.20103
  22  0.15694
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  6.903e+00  3.897e+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:  1.035e+00  1.569e-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:  7.937e-01  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.86
Ra Dec: 331.892 -53.772
Photon Index (Fixed Index): 2.44 +/- 0.00
Photon Flux (Fixed Index): 6.33e-08 +/- 3.57e-08
Energy Flux (Fixed Index): 1.98e-05 +/- 1.12e-05

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) = 6864.65535917
delta logL = 0.375054977841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6864.60714499
delta logL = 0.423269153727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6000       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9594       1.0000          .0000       10.000    
     3 'Normalizat'    .76246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0497       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=   6864.607     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      239 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6023        38.554        .46918E-02    .27828E-03
   2  Index         2.9595        3.2128        .14023        .12976E-03
   3  Normalizat    .76277        .73515E-01    .64820E-01    .36532E-04
   4  Prefactor     1.0495        .51898E-01    .39930E-01    .23655E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.60227
  Index      = 2.9595
  Normalizat = 0.762772
  Prefactor  = 1.04952
 **********
 **   18 **HESSE 
 **********

 FCN=   6864.607     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6023        4.2055        .84792E-04   -1.5279    
   2  Index         2.9595        .66289        .53042E-02   -.42037    
   3  Normalizat    .76277        .19590        .28676E-03   -1.0146    
   4  Prefactor     1.0495        .15549        .19964E-03   -.91097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01787e-11
Minuit parameter uncertainties:
  1  4.20582
  2  0.665239
  3  0.196081
  4  0.155559
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196685': 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) = 6864.60714154
delta logL = 0.423272606843

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  4.602e+00  4.206e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.959e+00  6.652e-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:  1.050e+00  1.556e-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:  7.628e-01  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.77
Ra Dec: 331.892 -53.772
Photon Index (Free Index): 2.96 +/- 0.67
Photon Flux (Free Index): 8.84e-08 +/- 4.90e-08
Energy Flux (Free Index): 1.80e-05 +/- 9.33e-06

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/196685/cmap_HighResolution_615945601_616204801_4FGL_J2207.5-5346_daily_bin1453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.33e-08', energy_flux2='1.80e-05', photon_flux_error='3.57e-08', dlogl='4.23e-01', energy_flux='1.98e-05', photon_flux2='8.84e-08', job_status='DONE', time_completed='2021-09-28 05:58:43.178474', photon_index_error2='0.67', photon_index2='2.96', ts='5.86', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='9.33e-06', EG='0.79', time_epoch_completed='1632833923.18', return_code='0', job_id='196685', GAL2='1.05', EG2='0.76', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.90e-08', ts2='6.77', photon_index='2.44' WHERE bin_id='1453' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:58:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 196685: <4FGL_J2207.5-5346_daily_bin1453> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1453> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 05:45:13 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:45:15 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:45:15 2021
Terminated at Tue Sep 28 05:58:43 2021
Results reported at Tue Sep 28 05:58:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1453 331.892 -53.7719 615945601 616204801 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 :                                   640.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

