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

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

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

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

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

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


Performing analysis on: 4FGL_J2207.5-5346_daily_bin1420
RA = 331.892, Dec = -53.7719
tmin = 607392001, tmax = 607651201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='195654', job_status='RUN', time_executed='2021-09-28 05:44:13.608546', time_epoch_executed='1632833053.61' WHERE source_name='4FGL J2207.5-5346' and cadence='daily' and bin_id='1420'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195654

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195654/ft1_4FGL_J2207.5-5346_daily_bin1420.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195654/ft1_4FGL_J2207.5-5346_daily_bin1420.fits outfile=/scratch/kocevski/195654/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1420.fits ra=331.892 dec=-53.7719 rad=12.0 tmin=607392001.0 tmax=607651201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.29
user 5.04
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/195654/ft1_filteredMKT_4FGL_J2207.5-5346_daily_bin1420.fits evtable="EVENTS" outfile="/scratch/kocevski/195654/ft1_filtered_4FGL_J2207.5-5346_daily_bin1420.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195654/ft1_filtered_4FGL_J2207.5-5346_daily_bin1420.fits" evtable="EVENTS" scfile=/scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits sctable="SC_DATA" outfile=/scratch/kocevski/195654/ltcube_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits
.....................!
real 11.67
user 11.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195654/ft1_filtered_4FGL_J2207.5-5346_daily_bin1420.fits evtable="EVENTS" scfile=/scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits sctable="SC_DATA" expcube=/scratch/kocevski/195654/ltcube_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits outfile=/scratch/kocevski/195654/expmap_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/195654/ltcube_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits
.....................!
real 190.03
user 185.30
sys 4.32

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/195654/ft1_filtered_4FGL_J2207.5-5346_daily_bin1420.fits scfile=/scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits outfile=/scratch/kocevski/195654/cmap_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195654/ft1_filtered_4FGL_J2207.5-5346_daily_bin1420.fits scfile=/scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits outfile=/scratch/kocevski/195654/cmap_HighResolution_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195654/ft1_filtered_4FGL_J2207.5-5346_daily_bin1420.fits evtable="EVENTS" scfile=/scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195654/Model_4FGL_J2207.5-5346_daily_bin1420.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/195654/ft1_filtered_4FGL_J2207.5-5346_daily_bin1420.fits.....................!
real 52.63
user 51.32
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/195654/ft1_filtered_4FGL_J2207.5-5346_daily_bin1420.fits', '/scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits', expMap='/scratch/kocevski/195654/expmap_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits', expCube='/scratch/kocevski/195654/ltcube_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/195654/Model_4FGL_J2207.5-5346_daily_bin1420.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/195654/ft1_filtered_4FGL_J2207.5-5346_daily_bin1420.fits
Spacecraft file(s): /scratch/kocevski/195654/ft2_4FGL_J2207.5-5346_daily_bin1420.fits
Exposure map: /scratch/kocevski/195654/expmap_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits
Exposure cube: /scratch/kocevski/195654/ltcube_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/195654/Model_4FGL_J2207.5-5346_daily_bin1420.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2386       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.829       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    124.42       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.481       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5465       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.853       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2762       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0919       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    52.784       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12310E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10383E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .47605       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0869       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=   7013.781     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2386 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2381        1.9414       -.29374E-06   -.91544E-03
   2  Prefactor     25.826        17.275       -.40948E-06   -.23609E-03
   3  Prefactor     .10000E-03    10.324        .18237E-05** at limit **
   4  Prefactor     124.40        91.283       -.16434E-04   -.18268E-05
   5  Prefactor     14.481        7.6927       -.18328E-06   -.10806E-03
   6  Prefactor     .10000E-03    16.307       -.93093E-06** at limit **
   7  Prefactor     3.5466        3.5438        .27876E-05   -.40809E-03
   8  norm          .10000E-03    .26968        .94186E-07** at limit **
   9  Prefactor     40.856        26.794        .14300E-05    .48015E-04
  10  Prefactor     .10000E-03    4.0207       -.87230E-08** at limit **
  11  Prefactor     1.2768        2.1386       -.26996E-06   -.57508E-03
  12  Prefactor     .10000E-03    64.447       -.47904E-04** at limit **
  13  norm          .10000E-03    1.8990        .58351E-08** at limit **
  14  Prefactor     1.0917        2.5288       -.65297E-06   -.12109E-02
  15  Prefactor     .10000E-03    .82553       -.23847E-07** at limit **
  16  Prefactor     52.785        22.922        .33846E-06    .31278E-05
  17  Prefactor     .10000E-03    6.2775       -.18673E-06** at limit **
  18  Prefactor     .10000E-03    56.896        .41462E-04** at limit **
  19  Prefactor     .10000E-03    10.845       -.15867E-05** at limit **
  20  Prefactor     .10000E-03    2.9566        .16784E-07** at limit **
  21  Normalizat    .47586        .15739       -.11703E-05    .61002E-04
  22  Prefactor     1.0871        .12384        .96363E-06   -.36426E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.23812
  Prefactor  = 25.8264
  Prefactor  = 0.0001
  Prefactor  = 124.398
  Prefactor  = 14.4808
  Prefactor  = 0.0001
  Prefactor  = 3.5466
  norm       = 0.0001
  Prefactor  = 40.8557
  Prefactor  = 0.0001
  Prefactor  = 1.27676
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.09172
  Prefactor  = 0.0001
  Prefactor  = 52.7848
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.47586
  Prefactor  = 1.08707
 **********
 **   18 **HESSE 
 **********

 FCN=   7013.781     FROM HESSE     STATUS=OK           342 CALLS     2728 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2381        1.9159        .14018E-03   -1.5485    
   2  Prefactor     25.826        17.258        .39411E-03   -1.4691    
   3  Prefactor     .10000E-03    10.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     124.40        91.512        .18043E-03   -1.3473    
   5  Prefactor     14.481        7.6820        .10525E-03   -1.4947    
   6  Prefactor     .10000E-03    16.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.5466        3.5080        .14801E-03   -1.5331    
   8  norm          .10000E-03    .27828        .84823E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.856        26.787        .62715E-04   -1.4429    
  10  Prefactor     .10000E-03    4.0928        .16386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2768        2.0956        .15228E-03   -1.5482    
  12  Prefactor     .10000E-03    64.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.9010        .11271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0917        2.5154        .19304E-03   -1.5499    
  15  Prefactor     .10000E-03    .82724        .74296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     52.785        22.991        .55205E-04   -1.4254    
  17  Prefactor     .10000E-03    6.3297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    56.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.9595        .14064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .47586        .17552        .31452E-03   -1.1355    
  22  Prefactor     1.0871        .14057        .17643E-03   -.89881    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56141e-09
Minuit parameter uncertainties:
  1  1.91597
  2  17.2612
  3  9.55347e-06
  4  91.6167
  5  7.68251
  6  4.24636e-05
  7  3.50818
  8  4.53259e-06
  9  26.7948
  10  1.14463e-05
  11  2.09573
  12  3.54072e-05
  13  1.68933e-07
  14  2.51563
  15  1.5777e-07
  16  22.9945
  17  1.1904e-05
  18  6.34037e-05
  19  4.08768e-07
  20  1.98027e-07
  21  0.175723
  22  0.14062
Done.

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

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.277e+00  2.096e+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.087e+00  1.406e-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:  4.759e-01  1.757e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/195654/likelihoodResults_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7013.77624308
delta logL = 0.00509308594701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7013.77493184
delta logL = 0.00640432047385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3894       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2763       1.0000          .0000       10.000    
     3 'Normalizat'    .47789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0860       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=   7013.775     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      216 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3902        47.281        .92184E-02    .54075E-03
   2  Index         2.2758        3.3291        .42146        .49868E-05
   3  Normalizat    .47796        .29151E-01    .70893E-01    .17859E-03
   4  Prefactor     1.0859        .22759E-01    .38145E-01    .36324E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.3902
  Index      = 2.27581
  Normalizat = 0.477957
  Prefactor  = 1.08593
 **********
 **   18 **HESSE 
 **********

 FCN=   7013.775     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3902        2.4364        .15868E-03   -1.5472    
   2  Index         2.2758        1.3420        .10570E-01   -.57620    
   3  Normalizat    .47796        .16561        .31385E-03   -1.1345    
   4  Prefactor     1.0859        .13697        .17651E-03   -.89918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.11066e-11
Minuit parameter uncertainties:
  1  2.43661
  2  1.36608
  3  0.165783
  4  0.137014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195654': 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) = 7013.77493167
delta logL = 0.00640449305138

Extracting fit parameters...

4FGL J2207.5-5346
   Spectrum: PowerLaw
336    Prefactor:  1.390e+00  2.437e+00  1.000e-04  1.000e+04 ( 1.000e-12)
337        Index:  2.276e+00  1.366e+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.086e+00  1.370e-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:  4.780e-01  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.58
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/195654/cmap_HighResolution_607392001_607651201_4FGL_J2207.5-5346_daily_bin1420.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2021-09-28 05:56:26.091197', job_id='195654', GAL2='1.09', fit_tolerance='1e-08', EG2='0.48', EG='0.48', time_epoch_completed='1632833786.09', return_code2='0', ts='0.58', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='6.40e-03', ts2='0.59', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='1420' AND source_name='4FGL J2207.5-5346' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 05:56:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 195654: <4FGL_J2207.5-5346_daily_bin1420> in cluster <slac> Done

Job <4FGL_J2207.5-5346_daily_bin1420> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:40:59 2021
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:41:00 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:41:00 2021
Terminated at Tue Sep 28 05:56:26 2021
Results reported at Tue Sep 28 05:56:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.5-5346_daily_bin1420 331.892 -53.7719 607392001 607651201 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 :                                   678.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            927 sec.

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

