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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1141
RA = 331.892, Dec = -53.7719
tmin = 535075201, tmax = 535334401
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='195215', job_status='RUN', time_executed='2021-09-28 05:43:08.697188', time_epoch_executed='1632832988.7' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1141'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195215

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195215/ft1_4FGL_J2207.5-5346_daily_bin1141.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195215/ft2_4FGL_J2207.5-5346_daily_bin1141.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195215/ft1_4FGL_J2207.5-5346_daily_bin1141.fits outfile=/scratch/kocevski/195215/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1141.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=535075201.0 tmax=535334401.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.05
user 4.80
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195215/ft1_filtered_4FGL_J2207.5-5346_daily_bin1141.fits" evtable="EVENTS" scfile=/scratch/kocevski/195215/ft2_4FGL_J2207.5-5346_daily_bin1141.fits sctable="SC_DATA" outfile=/scratch/kocevski/195215/ltcube_535075201_535334401_4FGL_J2207.5-5346_daily_bin1141.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/195215/ft2_4FGL_J2207.5-5346_daily_bin1141.fits
.....................!
real 11.67
user 11.30
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195215/ft1_filtered_4FGL_J2207.5-5346_daily_bin1141.fits evtable="EVENTS" scfile=/scratch/kocevski/195215/ft2_4FGL_J2207.5-5346_daily_bin1141.fits sctable="SC_DATA" expcube=/scratch/kocevski/195215/ltcube_535075201_535334401_4FGL_J2207.5-5346_daily_bin1141.fits outfile=/scratch/kocevski/195215/expmap_535075201_535334401_4FGL_J2207.5-5346_daily_bin1141.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/195215/ltcube_535075201_535334401_4FGL_J2207.5-5346_daily_bin1141.fits
.....................!
real 189.98
user 185.31
sys 4.34

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/195215/ft1_filtered_4FGL_J2207.5-5346_daily_bin1141.fits scfile=/scratch/kocevski/195215/ft2_4FGL_J2207.5-5346_daily_bin1141.fits outfile=/scratch/kocevski/195215/cmap_535075201_535334401_4FGL_J2207.5-5346_daily_bin1141.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195215/ft1_filtered_4FGL_J2207.5-5346_daily_bin1141.fits scfile=/scratch/kocevski/195215/ft2_4FGL_J2207.5-5346_daily_bin1141.fits outfile=/scratch/kocevski/195215/cmap_HighResolution_535075201_535334401_4FGL_J2207.5-5346_daily_bin1141.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195215/ft1_filtered_4FGL_J2207.5-5346_daily_bin1141.fits evtable="EVENTS" scfile=/scratch/kocevski/195215/ft2_4FGL_J2207.5-5346_daily_bin1141.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195215/Model_4FGL_J2207.5-5346_daily_bin1141.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/195215/ft1_filtered_4FGL_J2207.5-5346_daily_bin1141.fits.....................!
real 56.03
user 54.75
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6268       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .39283E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    54.794       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.2977       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .61387       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6752       1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.915       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .91348       1.0000         .10000E-03   10000.    
    12 'Prefactor '    96.233       1.0000         .10000E-03   10000.    
    13 'norm      '    4.1317       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4230       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .30781E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.0673       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71978       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1560       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7854.909     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     2004 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6267        1.8107       -.47503E-06   -.24835E-03
   2  Prefactor     .10000E-03    4.3764       -.18868E-05** at limit **
   3  Prefactor     .16310E-03    27.104        .20368E-04** at limit **
   4  Prefactor     54.793        1.0087       -.12238E-06    .42449E-03
   5  Prefactor     .10000E-03    2.1034        .17490E-06** at limit **
   6  Prefactor     9.2930        1.1538        .82864E-06   -.83599E-03
   7  Prefactor     .61434        3.2675       -.51204E-05   -.12195E-03
   8  norm          1.6752        .77462        .67155E-07   -.97548E-04
   9  Prefactor     38.911        1.0686       -.32531E-06    .47232E-03
  10  Prefactor     .10000E-03    6.4926       -.36453E-06** at limit **
  11  Prefactor     .91360        2.6086        .11225E-05    .31842E-03
  12  Prefactor     96.231        1.0114       -.77944E-07    .62689E-03
  13  norm          4.1314        4.0761        .45137E-05    .20955E-03
  14  Prefactor     3.4236        3.1236        .80004E-06    .17680E-05
  15  Prefactor     .10000E-03    1.4317       -.20796E-06** at limit **
  16  Prefactor     .11549E-03    145.90       -.47701E-04** at limit **
  17  Prefactor     6.0583        9.1127        .22739E-04    .36604E-02
  18  Prefactor     .10020E-03    30.250        .18680E-04** at limit **
  19  Prefactor     .10012E-03    23.917       -.21962E-04** at limit **
  20  Prefactor     .10000E-03    4.4886        .76506E-06** at limit **
  21  Normalizat    .71956        .18287       -.11207E-04    .15499E-04
  22  Prefactor     1.1561        .14540        .51861E-05    .12028E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.62666
  Prefactor  = 0.0001
  Prefactor  = 0.000163101
  Prefactor  = 54.7933
  Prefactor  = 0.0001
  Prefactor  = 9.29301
  Prefactor  = 0.614342
  norm       = 1.6752
  Prefactor  = 38.9108
  Prefactor  = 0.0001
  Prefactor  = 0.913604
  Prefactor  = 96.2314
  norm       = 4.13144
  Prefactor  = 3.42355
  Prefactor  = 0.0001
  Prefactor  = 0.00011549
  Prefactor  = 6.05835
  Prefactor  = 0.000100199
  Prefactor  = 0.000100123
  Prefactor  = 0.0001
  Normalizat = 0.719561
  Prefactor  = 1.1561
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.909     FROM HESSE     STATUS=OK           402 CALLS     2406 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6267        1.8101        .62904E-02   -1.5384    
   2  Prefactor     .10000E-03    4.3701        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .16310E-03    130.53        .97584E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     54.793        81.535        .13547E-02   -1.4226    
   5  Prefactor     .10000E-03    2.0929        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.2930        16.615        .32858E-02   -1.5098    
   7  Prefactor     .61434        2.1857        .42626E-01   -1.5551    
   8  norm          1.6752        .77905        .81399E-02   -1.5449    
   9  Prefactor     38.911        33.408        .16063E-02   -1.4460    
  10  Prefactor     .10000E-03    6.4273        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .91360        2.6600        .12856E-01   -1.5517    
  12  Prefactor     96.231        81.785        .10243E-02   -1.3743    
  13  norm          4.1314        4.0724        .49577E-02   -1.5301    
  14  Prefactor     3.4236        3.1302        .54660E-02   -1.5338    
  15  Prefactor     .10000E-03    1.4258        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11549E-03    19.387        .11364       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.0583        10.276        .40750E-02   -1.5216    
  18  Prefactor     .10020E-03    30.714        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10012E-03    24.070        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.4796        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .71956        .16503        .66487E-01   -1.0313    
  22  Prefactor     1.1561        .12703        .35765E-01   -.87693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.05574e-07
Minuit parameter uncertainties:
  1  1.81017
  2  3.55846e-05
  3  0.18191
  4  81.7013
  5  1.4539e-05
  6  16.6228
  7  2.18597
  8  0.779054
  9  33.4242
  10  2.38609e-05
  11  2.66031
  12  81.8812
  13  4.07266
  14  3.13031
  15  2.51217e-06
  16  0.0346698
  17  10.2795
  18  0.00495211
  19  0.00344117
  20  2.81609e-05
  21  0.165145
  22  0.127068
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  9.136e-01  2.660e+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.156e+00  1.271e-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.196e-01  1.651e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/195215/likelihoodResults_535075201_535334401_4FGL_J2207.5-5346_daily_bin1141.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) = 7854.84330087
delta logL = 0.0661941730441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7854.83777399
delta logL = 0.0717210590847

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70734       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0554       1.0000          .0000       10.000    
     3 'Normalizat'    .71038       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1600       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=   7854.838     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      219 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70688        21.279        .12090E-01    .16765E-02
   2  Index         3.0556        2.7468        .31987        .41134E-04
   3  Normalizat    .71038        .22504E-01    .66883E-01    .30828E-04
   4  Prefactor     1.1600        .18317E-01    .35654E-01   -.11110E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.706876
  Index      = 3.05561
  Normalizat = 0.710381
  Prefactor  = 1.15998
 **********
 **   18 **HESSE 
 **********

 FCN=   7854.838     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70688        2.5194        .14326E-03   -1.5540    
   2  Index         3.0556        2.0617        .99164E-02   -.39941    
   3  Normalizat    .71038        .17982        .29594E-03   -1.0348    
   4  Prefactor     1.1600        .14475        .19196E-03   -.87572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81036e-09
Minuit parameter uncertainties:
  1  2.51982
  2  2.13755
  3  0.179966
  4  0.144802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195215': 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) = 7854.83777396
delta logL = 0.0717210867824

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  7.069e-01  2.520e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  3.056e+00  2.138e+00  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.160e+00  1.448e-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.104e-01  1.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 331.892 -53.772

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/195215/cmap_HighResolution_535075201_535334401_4FGL_J2207.5-5346_daily_bin1141.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-03', job_status='DONE', photon_flux_upper_limit='7.02e-08', time_completed='2021-09-28 05:54:53.484582', job_id='195215', GAL2='1.16', fit_tolerance='1e-08', EG2='0.71', EG='0.72', time_epoch_completed='1632833693.48', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='7.17e-02', ts2='0.29', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1141' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:54:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 195215: <4FGL_J2207.5-5346_daily_bin1141> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1141> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:40:22 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:40:23 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:23 2021
Terminated at Tue Sep 28 05:54:54 2021
Results reported at Tue Sep 28 05:54:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1141 331.892 -53.7719 535075201 535334401 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 :                                   695.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            872 sec.

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

