/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 123 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 = 7572
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2207.6+0053_daily_bin412
RA = 331.914, Dec = 0.8907
tmin = 346118401, tmax = 346377601
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='198702', job_status='RUN', time_executed='2021-09-28 05:53:09.707538', time_epoch_executed='1632833589.71' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/198702

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/198702/ft1_4FGL_J2207.6+0053_daily_bin412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/198702/ft1_4FGL_J2207.6+0053_daily_bin412.fits outfile=/scratch/kocevski/198702/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin412.fits ra=331.914 dec=0.8907 rad=12.0 tmin=346118401.0 tmax=346377601.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.01
user 3.80
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.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/198702/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin412.fits evtable="EVENTS" outfile="/scratch/kocevski/198702/ft1_filtered_4FGL_J2207.6+0053_daily_bin412.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/198702/ft1_filtered_4FGL_J2207.6+0053_daily_bin412.fits" evtable="EVENTS" scfile=/scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits sctable="SC_DATA" outfile=/scratch/kocevski/198702/ltcube_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.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/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits
.....................!
real 11.66
user 11.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/198702/ft1_filtered_4FGL_J2207.6+0053_daily_bin412.fits evtable="EVENTS" scfile=/scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits sctable="SC_DATA" expcube=/scratch/kocevski/198702/ltcube_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.fits outfile=/scratch/kocevski/198702/expmap_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.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/198702/ltcube_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.fits
.....................!
real 192.94
user 187.37
sys 5.25

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

Setting source of interest to:
4FGL J2207.6+0053 @ 331.914 0.8907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/198702/ft1_filtered_4FGL_J2207.6+0053_daily_bin412.fits scfile=/scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits outfile=/scratch/kocevski/198702/cmap_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.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.914 yref=0.8907 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/198702/ft1_filtered_4FGL_J2207.6+0053_daily_bin412.fits scfile=/scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits outfile=/scratch/kocevski/198702/cmap_HighResolution_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.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.914 yref=0.8907 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/198702/ft1_filtered_4FGL_J2207.6+0053_daily_bin412.fits evtable="EVENTS" scfile=/scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198702/Model_4FGL_J2207.6+0053_daily_bin412.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/198702/ft1_filtered_4FGL_J2207.6+0053_daily_bin412.fits.....................!
real 69.76
user 68.42
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/198702/ft1_filtered_4FGL_J2207.6+0053_daily_bin412.fits', '/scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits', expMap='/scratch/kocevski/198702/expmap_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.fits', expCube='/scratch/kocevski/198702/ltcube_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/198702/Model_4FGL_J2207.6+0053_daily_bin412.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.6+0053'

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.216e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/198702/ft1_filtered_4FGL_J2207.6+0053_daily_bin412.fits
Spacecraft file(s): /scratch/kocevski/198702/ft2_4FGL_J2207.6+0053_daily_bin412.fits
Exposure map: /scratch/kocevski/198702/expmap_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.fits
Exposure cube: /scratch/kocevski/198702/ltcube_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/198702/Model_4FGL_J2207.6+0053_daily_bin412.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) = 7375.72623134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13326E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    71.755       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14848       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.037       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.9263       1.0000         .10000E-03   10000.    
     9 'norm      '    7.2830       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11317E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5268       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10549E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6163       1.0000         .10000E-03   10000.    
    19 'norm      '    6.4981       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.841       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .77069       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92549       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7375.656     FROM MIGRAD    STATUS=CONVERGED    925 CALLS     3030 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10069E-03    214.56        .81545E-02** at limit **
   2  Prefactor     71.841        51.154        .47392E-04    .81897E-04
   3  Prefactor     .11670        19.338        .16087E-02    .95810E-03
   4  Prefactor     .10000E-03    43.543        .18142E-02** at limit **
   5  Prefactor     11.040        18.163        .12060E-03    .58165E-04
   6  Prefactor     .10000E-03    39.389        .18142E-02** at limit **
   7  Prefactor     .10000E-03    15.930        .18142E-02** at limit **
   8  norm          4.9254        2.5698        .95229E-04   -.18027E-03
   9  norm          7.2831        11.045        .74313E-03   -.14510E-03
  10  Prefactor     .10000E-03    1.8660        .11448E-02** at limit **
  11  Prefactor     .10004E-03    69.452        .42537E-02** at limit **
  12  Prefactor     1.5178        40.766        .34556E-03    .14476E-05
  13  Prefactor     .10000E-03    15.227        .18142E-02** at limit **
  14  Prefactor     .10000E-03    13.827        .18142E-02** at limit **
  15  Prefactor     .10000E-03    159.47        .36285E-03** at limit **
  16  Prefactor     .10000E-03    7.2208        .18142E-02** at limit **
  17  Prefactor     .10000E-03    3.7272        .16190E-02** at limit **
  18  Prefactor     1.6163        2.4888        .16248E-03   -.81166E-04
  19  norm          6.4977        3.1353        .10097E-03   -.82086E-04
  20  Prefactor     .10000E-03    1.4879        .10230E-02** at limit **
  21  Prefactor     28.831        43.906        .74601E-04    .15544E-04
  22  Normalizat    .77079        .22314        .32303E-03   -.20532E-03
  23  Prefactor     .92552        .12493        .17082E-03   -.41450E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100685
  Prefactor  = 71.8405
  Prefactor  = 0.116703
  Prefactor  = 0.000100001
  Prefactor  = 11.0401
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.92539
  norm       = 7.28312
  Prefactor  = 0.0001
  Prefactor  = 0.000100036
  Prefactor  = 1.51778
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.61631
  norm       = 6.49775
  Prefactor  = 0.0001
  Prefactor  = 28.8313
  Normalizat = 0.770788
  Prefactor  = 0.925516
 **********
 **   18 **HESSE 
 **********

 FCN=   7375.656     FROM HESSE     STATUS=OK           348 CALLS     3378 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10069E-03    224.20        .32618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     71.841        48.794        .94785E-05   -1.4011    
   3  Prefactor     .11670        17.465        .64349E-04   -1.5640    
   4  Prefactor     .10000E-03    43.556        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.040        18.150        .48238E-05   -1.5043    
   6  Prefactor     .10000E-03    39.389        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.931        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.9254        2.5694        .38092E-05   -1.5264    
   9  norm          7.2831        11.044        .29725E-04   -1.5168    
  10  Prefactor     .10000E-03    1.8660        .22896E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10004E-03    71.468        .17015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5178        40.729        .13822E-04   -1.5462    
  13  Prefactor     .10000E-03    15.233        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.831        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    159.48        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.2248        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.7272        .32381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.6163        2.4881        .64991E-05   -1.5454    
  19  norm          6.4977        3.1348        .40386E-05   -1.5198    
  20  Prefactor     .10000E-03    1.4879        .20460E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     28.831        43.904        .29841E-05   -1.4634    
  22  Normalizat    .77079        .22251        .12921E-04   -1.0116    
  23  Prefactor     .92552        .12497        .34163E-04   -.95255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45134e-09
Minuit parameter uncertainties:
  1  0.024888
  2  48.8215
  3  2.85493
  4  0.000436262
  5  18.1588
  6  0.000289337
  7  0.000163028
  8  2.56947
  9  11.0468
  10  6.36221e-06
  11  0.00322005
  12  15.7362
  13  7.5048e-05
  14  0.000104474
  15  0.00120696
  16  3.96997e-05
  17  2.43521e-06
  18  2.48831
  19  3.13483
  20  1.26145e-06
  21  43.9529
  22  0.222771
  23  0.125009
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  1.045e-04  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.255e-01  1.250e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  7.708e-01  2.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 7.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/198702/likelihoodResults_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7375.65652267
delta logL = -0.000344691542523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7375.65617894
delta logL = -9.63660568232e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7375.656     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      246 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    684.35        .18142E-02** at limit **
   2  Index         2.6083        6.0598        .50000       -.50480E-04
   3  Normalizat    .77079        .27563E-01    .32304E-03    .55183E-04
   4  Prefactor     .92551        .15975E-01    .17082E-03    .10220E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010006
  Index      = 2.60833
  Normalizat = 0.770791
  Prefactor  = 0.925514
 **********
 **   18 **HESSE 
 **********

 FCN=   7375.656     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    6211.3        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6083        7.8443        .50000       -.49876    
   3  Normalizat    .77079        .62845E-01    .12921E-04   -1.0116    
   4  Prefactor     .92551        .36425E-01    .34163E-04   -.95255    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.99206e-09
Minuit parameter uncertainties:
  1  0.025109
  2  49.8262
  3  0.0628512
  4  0.0364255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/198702': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7375.65617678
delta logL = 1.20099048218e-06

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.001e-04  2.511e-02  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.608e+00  4.983e+01  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  9.255e-01  3.643e-02  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  7.708e-01  6.285e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.914 0.891

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/198702/cmap_HighResolution_346118401_346377601_4FGL_J2207.6+0053_daily_bin412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.16e-03', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2021-09-28 06:05:59.669184', job_id='198702', GAL2='0.93', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1632834359.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.20e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='412' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:05:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 198702: <4FGL_J2207.6+0053_daily_bin412> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin412> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 05:50:54 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:50:55 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:50:55 2021
Terminated at Tue Sep 28 06:06:00 2021
Results reported at Tue Sep 28 06:06:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin412 331.914 0.8907 346118401 346377601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.6+0053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   765.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            906 sec.

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

