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


Performing analysis on: 4FGL_J1200.7+2008_daily_bin762
RA = 180.187, Dec = 20.1354
tmin = 436838401, tmax = 437097601
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='260400', job_status='RUN', time_executed='2021-09-04 20:40:57.246041', time_epoch_executed='1630813257.25' WHERE source_name='4FGL J1200.7+2008' and cadence='daily' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260400

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260400/ft1_4FGL_J1200.7+2008_daily_bin762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260400/ft1_4FGL_J1200.7+2008_daily_bin762.fits outfile=/scratch/kocevski/260400/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin762.fits ra=180.187 dec=20.1354 rad=12.0 tmin=436838401.0 tmax=437097601.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.01
user 4.72
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.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/260400/ft1_filteredMKT_4FGL_J1200.7+2008_daily_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/260400/ft1_filtered_4FGL_J1200.7+2008_daily_bin762.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.52
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260400/ft1_filtered_4FGL_J1200.7+2008_daily_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/260400/ltcube_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.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/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits
.....................!
real 11.94
user 11.57
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260400/ft1_filtered_4FGL_J1200.7+2008_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/260400/ltcube_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.fits outfile=/scratch/kocevski/260400/expmap_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.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/260400/ltcube_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.fits
.....................!
real 190.98
user 186.32
sys 4.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 192 point sources and 0 extended sources

Setting source of interest to:
4FGL J1200.7+2008 @ 180.187 20.1354

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/260400/ft1_filtered_4FGL_J1200.7+2008_daily_bin762.fits scfile=/scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits outfile=/scratch/kocevski/260400/cmap_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.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=180.187 yref=20.1354 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260400/ft1_filtered_4FGL_J1200.7+2008_daily_bin762.fits scfile=/scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits outfile=/scratch/kocevski/260400/cmap_HighResolution_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.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=180.187 yref=20.1354 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/260400/ft1_filtered_4FGL_J1200.7+2008_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/260400/Model_4FGL_J1200.7+2008_daily_bin762.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/260400/ft1_filtered_4FGL_J1200.7+2008_daily_bin762.fits.....................!
real 64.75
user 63.39
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/260400/ft1_filtered_4FGL_J1200.7+2008_daily_bin762.fits', '/scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits', expMap='/scratch/kocevski/260400/expmap_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.fits', expCube='/scratch/kocevski/260400/ltcube_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/260400/Model_4FGL_J1200.7+2008_daily_bin762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.7+2008'

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.085e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/260400/ft1_filtered_4FGL_J1200.7+2008_daily_bin762.fits
Spacecraft file(s): /scratch/kocevski/260400/ft2_4FGL_J1200.7+2008_daily_bin762.fits
Exposure map: /scratch/kocevski/260400/expmap_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.fits
Exposure cube: /scratch/kocevski/260400/ltcube_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/260400/Model_4FGL_J1200.7+2008_daily_bin762.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) = 6667.45618884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    26.886       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.059       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2294       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8443       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4636       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.417       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15257E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6552       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.714       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.9140       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.2131       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3319       1.0000         .10000E-03   10000.    
    20 'norm      '    11.413       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.452       1.0000         .10000E-03   10000.    
    23 'Prefactor '    29.127       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0991       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94430       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6667.450     FROM MIGRAD    STATUS=CONVERGED    618 CALLS     3217 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.6593        .90712E-02** at limit **
   2  norm          26.889        16.401        .19315E-02    .99578E-04
   3  Prefactor     .10000E-03    6.0789        .90712E-02** at limit **
   4  Prefactor     31.057        43.242        .17974E-02    .74747E-03
   5  Prefactor     .10000E-03    29.010        .90712E-02** at limit **
   6  Prefactor     3.2360        43.705        .56353E-02    .77473E-04
   7  Prefactor     .10000E-03    6.4540        .90712E-02** at limit **
   8  Prefactor     .10000E-03    .66198        .90712E-02** at limit **
   9  Prefactor     2.8438        7.7398        .60273E-02   -.43436E-03
  10  norm          1.4637        1.0654        .88882E-02   -.26985E-04
  11  Prefactor     23.411        28.283        .20694E-02    .51106E-03
  12  Prefactor     .10000E-03    4.0579        .49591E-01** at limit **
  13  Prefactor     .10000E-03    103.25        .90712E-02** at limit **
  14  Prefactor     1.6559        3.0096        .82012E-02    .73569E-03
  15  Prefactor     .10000E-03    .94170        .90712E-02** at limit **
  16  norm          13.715        5.1015        .27040E-02    .23867E-03
  17  Prefactor     3.9142        3.2663        .50982E-02    .12448E-02
  18  Prefactor     2.2128        3.4489        .69119E-02    .68767E-03
  19  Prefactor     6.3320        6.4087        .39879E-02   -.11641E-02
  20  norm          11.414        .88690        .29645E-02    .85758E-04
  21  norm          .10000E-03    1.6006        .90712E-02** at limit **
  22  Prefactor     11.452        9.4531        .29595E-02    .44632E-03
  23  Prefactor     29.131        18.745        .18559E-02    .19122E-03
  24  Prefactor     .10000E-03    11.870        .90712E-02** at limit **
  25  Normalizat    1.0990        .23366        .73084E-01    .20416E-04
  26  Prefactor     .94442        .20967        .76879E-01    .14004E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 26.8891
  Prefactor  = 0.0001
  Prefactor  = 31.0571
  Prefactor  = 0.0001
  Prefactor  = 3.23597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.8438
  norm       = 1.46367
  Prefactor  = 23.4112
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.65595
  Prefactor  = 0.0001
  norm       = 13.7147
  Prefactor  = 3.91422
  Prefactor  = 2.21284
  Prefactor  = 6.33202
  norm       = 11.4136
  norm       = 0.0001
  Prefactor  = 11.4524
  Prefactor  = 29.1306
  Prefactor  = 0.0001
  Normalizat = 1.09898
  Prefactor  = 0.944421
 **********
 **   18 **HESSE 
 **********

 FCN=   6667.450     FROM HESSE     STATUS=OK           462 CALLS     3679 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          26.889        16.516        .77260E-04   -1.4670    
   3  Prefactor     .10000E-03    6.1180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     31.057        43.401        .71895E-04   -1.4593    
   5  Prefactor     .10000E-03    29.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.2360        44.183        .22541E-03   -1.5348    
   7  Prefactor     .10000E-03    6.4834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .66616        .64801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8438        7.7093        .24109E-03   -1.5371    
  10  norm          1.4637        1.0655        .68773E-04   -1.5466    
  11  Prefactor     23.411        28.417        .82776E-04   -1.4740    
  12  Prefactor     .10000E-03    4.2142        .48048E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    103.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6559        2.9722        .17987E-03   -1.5451    
  15  Prefactor     .10000E-03    .94291        .77355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.715        5.1007        .10217E-03   -1.4967    
  17  Prefactor     3.9142        3.2647        .61961E-03   -1.5312    
  18  Prefactor     2.2128        3.4109        .16930E-03   -1.5410    
  19  Prefactor     6.3320        6.4076        .15951E-03   -1.5205    
  20  norm          11.414        .89064        .20193E-04   -1.5032    
  21  norm          .10000E-03    1.6022        .10088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.452        9.4530        .11838E-03   -1.5031    
  23  Prefactor     29.131        18.692        .74235E-04   -1.4628    
  24  Prefactor     .10000E-03    11.888        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0990        .28324        .32342E-03   -.89785    
  26  Prefactor     .94442        .25100        .34022E-03   -.94606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.60466e-09
Minuit parameter uncertainties:
  1  9.08421e-06
  2  16.5187
  3  5.15325e-06
  4  43.4447
  5  4.06918e-05
  6  23.9356
  7  3.36696e-06
  8  7.50956e-07
  9  7.71194
  10  1.06547
  11  28.4334
  12  2.71605e-05
  13  5.538e-05
  14  2.97248
  15  6.5552e-07
  16  5.10082
  17  3.26481
  18  3.41121
  19  6.4083
  20  0.890638
  21  7.07244e-07
  22  9.45424
  23  18.696
  24  1.05738e-05
  25  0.283632
  26  0.251308
Done.

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

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  2.716e-05  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.520e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  9.444e-01  2.513e-01  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.099e+00  2.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.187 20.135
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/260400/likelihoodResults_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.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) = 6667.45052932
delta logL = -9.3008319709e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6667.45043661
delta logL = -2.9676266422e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6667.450     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      266 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .13539        .68623E-01** at limit **
   2  Index         2.7277        7.0872        .50000       -.42328E-06
   3  Normalizat    1.0990        .14779E-02    .73084E-01    .19458E-04
   4  Prefactor     .94442        .14603E-02    .76879E-01    .17689E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.72765
  Normalizat = 1.09898
  Prefactor  = 0.944422
 **********
 **   18 **HESSE 
 **********

 FCN=   6667.450     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      309 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .45271        .38625E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7277        5.8495        .50000       -.47178    
   3  Normalizat    1.0990        .18312E-02    .32342E-03   -.89785    
   4  Prefactor     .94442        .18089E-02    .34022E-03   -.94606    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.63313e-12
Minuit parameter uncertainties:
  1  2.06002e-05
  2  29.9706
  3  0.00183117
  4  0.00180895
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260400': 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) = 6667.45043577
delta logL = 5.3361600294e-07

Extracting fit parameters...

4FGL J1200.7+2008
   Spectrum: PowerLaw
281    Prefactor:  1.000e-04  2.060e-05  1.000e-04  1.000e+04 ( 1.000e-12)
282        Index:  2.728e+00  2.997e+01  0.000e+00  1.000e+01 (-1.000e+00)
283        Scale:  7.262e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
614    Prefactor:  9.444e-01  1.809e-03  0.000e+00  1.000e+01 ( 1.000e+00)
615        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
616        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
613   Normalization:  1.099e+00  1.831e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.187 20.135

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/260400/cmap_HighResolution_436838401_437097601_4FGL_J1200.7+2008_daily_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.76e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-04 20:55:20.790226', job_id='260400', GAL2='0.94', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630814120.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.34e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='762' AND source_name='4FGL J1200.7+2008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 20:55:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 260400: <4FGL_J1200.7+2008_daily_bin762> in cluster <slac> Done

Job <4FGL_J1200.7+2008_daily_bin762> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 20:40:34 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 20:40:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 20:40:37 2021
Terminated at Sat Sep  4 20:55:21 2021
Results reported at Sat Sep  4 20:55:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.7+2008_daily_bin762 180.187 20.1354 436838401 437097601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.7+2008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   859.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            887 sec.

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

