aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 66 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1200.2+0201_daily_bin1757
RA = 180.055, Dec = 2.0172
tmin = 694742401, tmax = 695001601
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='195592', job_status='RUN', time_executed='2023-01-10 00:53:50.932483', time_epoch_executed='1673340830.93' WHERE source_name='4FGL J1200.2+0201' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195592

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195592/ft1_4FGL_J1200.2+0201_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195592/ft1_4FGL_J1200.2+0201_daily_bin1757.fits outfile=/scratch/kocevski/195592/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1757.fits ra=180.055 dec=2.0172 rad=12.0 tmin=694742401.0 tmax=695001601.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 2.49
user 2.23
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.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/195592/ft1_filteredMKT_4FGL_J1200.2+0201_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/195592/ft1_filtered_4FGL_J1200.2+0201_daily_bin1757.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.46
user 0.29
sys 0.16

Number of photons that the gtmktime cut: 618

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195592/ft1_filtered_4FGL_J1200.2+0201_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/195592/ltcube_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.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/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits
.....................!
real 17.92
user 16.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195592/ft1_filtered_4FGL_J1200.2+0201_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/195592/ltcube_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.fits outfile=/scratch/kocevski/195592/expmap_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.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/195592/ltcube_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.fits
.....................!
real 162.11
user 156.75
sys 4.93

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

Setting source of interest to:
4FGL J1200.2+0201 @ 180.055 2.0172

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/195592/ft1_filtered_4FGL_J1200.2+0201_daily_bin1757.fits scfile=/scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits outfile=/scratch/kocevski/195592/cmap_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.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.055 yref=2.0172 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.49
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195592/ft1_filtered_4FGL_J1200.2+0201_daily_bin1757.fits scfile=/scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits outfile=/scratch/kocevski/195592/cmap_HighResolution_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.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.055 yref=2.0172 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.50
user 0.33
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195592/ft1_filtered_4FGL_J1200.2+0201_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195592/Model_4FGL_J1200.2+0201_daily_bin1757.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/195592/ft1_filtered_4FGL_J1200.2+0201_daily_bin1757.fits.....................!
real 50.94
user 49.61
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/195592/ft1_filtered_4FGL_J1200.2+0201_daily_bin1757.fits', '/scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits', expMap='/scratch/kocevski/195592/expmap_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.fits', expCube='/scratch/kocevski/195592/ltcube_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/195592/Model_4FGL_J1200.2+0201_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1200.2+0201'

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  1.346e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.109e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.748e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/195592/ft1_filtered_4FGL_J1200.2+0201_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/195592/ft2_4FGL_J1200.2+0201_daily_bin1757.fits
Exposure map: /scratch/kocevski/195592/expmap_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.fits
Exposure cube: /scratch/kocevski/195592/ltcube_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/195592/Model_4FGL_J1200.2+0201_daily_bin1757.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) = 6854.80813945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32662E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .67219E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.6656       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8246       1.0000          .0000       .10000E+07
     5 'norm      '    .66241E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.2476       1.0000          .0000       .10000E+07
     7 'Prefactor '    .28357E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85137E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2293       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25164E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.0654       1.0000          .0000       .10000E+07
    12 'Prefactor '    .38079E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    43.273       1.0000          .0000       .10000E+07
    14 'Prefactor '    .74334E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .44261E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .78043E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .89891E-05   1.0000          .0000       .10000E+07
    18 'norm      '    1.5718       1.0000          .0000       .10000E+07
    19 'norm      '    4.7843       1.0000          .0000       .10000E+07
    20 'Prefactor '    27.879       1.0000          .0000       .10000E+07
    21 'norm      '    .22287E-02   1.0000          .0000       .10000E+07
    22 'norm      '    1.7113       1.0000          .0000       .10000E+07
    23 'Prefactor '    .48768E-04   1.0000          .0000       .10000E+07
    24 'norm      '    .27645E-07   1.0000          .0000       .10000E+07
    25 'Prefactor '    .17080E-04   1.0000          .0000       .10000E+07
    26 'Normalizat'    .71109       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2220       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6854.750     FROM MIGRAD    STATUS=CONVERGED    175 CALLS     1901 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9517       -.66491E-06** at limit **
   2  norm          .11102E-09    6.4233       -.18802E-06** at limit **
   3  Prefactor     1.6667        2.2882       -.16167E-07   -.77936E-03
   4  Prefactor     1.6241        1.1941       -.11134E-06    .25465E-02
   5  norm           .0000        1.8888       -.72620E-06** at limit **
   6  Prefactor     4.2376        3.6040       -.12804E-06    .76045E-03
   7  Prefactor     .14433E-07    58.660       -.11127E-04** at limit **
   8  Prefactor     .66613E-09    9.0504       -.77080E-05** at limit **
   9  Prefactor     3.2302        7.8220       -.93776E-06    .89283E-04
  10  Prefactor      .0000        3.2674        .90218E-06** at limit **
  11  Prefactor     8.2396        1.2468       -.43220E-07    .44068E-02
  12  Prefactor     .11102E-09    56.351        .60987E-05** at limit **
  13  Prefactor     43.403        1.2458        .98758E-07   -.12817E-02
  14  Prefactor     .30698E-07    9.1414       -.40751E-05** at limit **
  15  Prefactor     .38858E-09    7.8501        .33178E-05** at limit **
  16  Prefactor     .33529E-07    40.539        .77563E-05** at limit **
  17  Prefactor      .0000        2.5778       -.56277E-06** at limit **
  18  norm          1.5710        1.3532        .33242E-07    .43149E-03
  19  norm          4.7867        2.9982       -.12493E-06   -.13193E-02
  20  Prefactor     27.514        3.7073       -.23224E-06    .57949E-01
  21  norm          .75773E-07    7.8405       -.25904E-05** at limit **
  22  norm          1.7112        .49160       -.58126E-07    .46062E-03
  23  Prefactor      .0000        2.9587       -.13760E-05** at limit **
  24  norm           .0000        .48749       -.62390E-06** at limit **
  25  Prefactor     .99920E-08    14.017        .78060E-05** at limit **
  26  Normalizat    .71112        .20683       -.98318E-05    .77082E-04
  27  Prefactor     1.2220        .17275        .14141E-04    .19834E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.11022e-10
  Prefactor  = 1.66673
  Prefactor  = 1.62407
  norm       = 0
  Prefactor  = 4.23759
  Prefactor  = 1.44329e-08
  Prefactor  = 6.66134e-10
  Prefactor  = 3.23022
  Prefactor  = 0
  Prefactor  = 8.23957
  Prefactor  = 1.11022e-10
  Prefactor  = 43.4031
  Prefactor  = 3.06977e-08
  Prefactor  = 3.88578e-10
  Prefactor  = 3.35287e-08
  Prefactor  = 0
  norm       = 1.57103
  norm       = 4.78669
  Prefactor  = 27.5145
  norm       = 7.57727e-08
  norm       = 1.71125
  Prefactor  = 0
  norm       = 0
  Prefactor  = 9.99201e-09
  Normalizat = 0.711124
  Prefactor  = 1.222
 **********
 **   18 **HESSE 
 **********

 FCN=   6854.750     FROM HESSE     STATUS=OK           536 CALLS     2437 TOTAL
                     EDM=   .86E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    6.4213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.6667        2.3184        .81681E-03   -1.5682    
   4  Prefactor     1.6241        77.163        .77259E-03   -1.5682    
   5  norm           .0000        1.8881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.2376        3.6487        .48866E-03   -1.5667    
   7  Prefactor     .14433E-07    58.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .66613E-09    9.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2302        7.8536        .56345E-03   -1.5672    
  10  Prefactor      .0000        3.2688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.2396        15.055        .35280E-03   -1.5651    
  12  Prefactor     .11102E-09    55.563        .16051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.403        37.915        .15203E-03   -1.5576    
  14  Prefactor     .30698E-07    16.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38858E-09    7.8633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .33529E-07    40.841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.5811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.5710        1.3452        .84752E-03   -1.5683    
  19  norm          4.7867        3.0089        .45973E-03   -1.5664    
  20  Prefactor     27.514        24.367        .18942E-03   -1.5603    
  21  norm          .75773E-07    16.616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7112        .49298        .65268E-03   -1.5682    
  23  Prefactor      .0000        2.9561        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        .48197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .99920E-08    14.011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .71112        .18936        .71534E-01   -1.0346    
  27  Prefactor     1.2220        .15307        .34131E-01   -.85657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.62426e-08
Minuit parameter uncertainties:
  1  5.37226e-07
  2  5.54679e-05
  3  2.31843
  4  22.3894
  5  1.30032e-05
  6  3.64875
  7  0.00184359
  8  0.000151921
  9  7.85361
  10  9.49316e-06
  11  15.0553
  12  0.000156601
  13  37.9151
  14  0.00144533
  15  0.000109178
  16  0.00233999
  17  4.92129e-06
  18  1.34517
  19  3.00893
  20  24.3673
  21  0.00224451
  22  0.492977
  23  1.26403e-05
  24  1.25594e-06
  25  0.000748434
  26  0.18953
  27  0.15313
Done.

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

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  3.230e+00  7.854e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.109e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.748e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.222e+00  1.531e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  7.111e-01  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 180.055 2.017
Photon Flux Upper Limit: 8.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195592/likelihoodResults_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.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) = 6854.70655986
delta logL = 0.04388890669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6854.7021572
delta logL = 0.0482915620314

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6506       1.0000          .0000       .10000E+07
     2 'Index     '    2.4455       1.0000          .0000       10.000    
     3 'Normalizat'    .70219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2254       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6854.702     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      269 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6489        8.5530        .12494E-03   -.16131E-02
   2  Index         2.4465        1.3759        .10268E-01   -.28287E-04
   3  Normalizat    .70224        .20478        .31848E-03   -.31848E-03
   4  Prefactor     1.2253        .17294        .21036E-03   -.13262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.6489
  Index      = 2.44647
  Normalizat = 0.70224
  Prefactor  = 1.22533
 **********
 **   18 **HESSE 
 **********

 FCN=   6854.702     FROM HESSE     STATUS=OK            27 CALLS      296 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6489        6.6689        .49974E-05   -1.5675    
   2  Index         2.4465        1.0799        .41071E-03   -.53601    
   3  Normalizat    .70224        .20472        .12739E-04   -1.0380    
   4  Prefactor     1.2253        .17266        .42073E-04   -.85555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02308e-10
Minuit parameter uncertainties:
  1  6.6689
  2  1.09163
  3  0.204948
  4  0.172739
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195592': 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) = 6854.70215662
delta logL = 0.0482921485445

Extracting fit parameters...

4FGL J1200.2+0201
   Spectrum: PowerLaw
285    Prefactor:  2.649e+00  6.669e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.446e+00  1.092e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.748e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.225e+00  1.727e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  7.022e-01  2.049e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
Ra Dec: 180.055 2.017

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/195592/cmap_HighResolution_694742401_695001601_4FGL_J1200.2+0201_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-03', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2023-01-10 01:03:40.974326', job_id='195592', GAL2='1.23', fit_tolerance='1e-08', EG2='0.70', EG='0.71', time_epoch_completed='1673341420.97', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='4.83e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1757' AND source_name='4FGL J1200.2+0201' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 01:03:41 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 195592: <4FGL_J1200.2+0201_daily_bin1757> in cluster <slac> Done

Job <4FGL_J1200.2+0201_daily_bin1757> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jan 10 00:50:18 2023
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 00:52:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 00:52:34 2023
Terminated at Tue Jan 10 01:03:41 2023
Results reported at Tue Jan 10 01:03:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1200.2+0201_daily_bin1757 180.055 2.0172 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1200.2+0201 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   591.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            803 sec.

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

