/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 5 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 = 7401
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1212.0-2326_daily_bin19
RA = 183.001, Dec = -23.4494
tmin = 244252801, tmax = 244512001
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='402259', job_status='RUN', time_executed='2021-09-05 03:36:17.241123', time_epoch_executed='1630838177.24' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/402259

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/402259/ft1_4FGL_J1212.0-2326_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/402259/ft1_4FGL_J1212.0-2326_daily_bin19.fits outfile=/scratch/kocevski/402259/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin19.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=244252801.0 tmax=244512001.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.40
user 2.19
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.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/402259/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin19.fits evtable="EVENTS" outfile="/scratch/kocevski/402259/ft1_filtered_4FGL_J1212.0-2326_daily_bin19.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/402259/ft1_filtered_4FGL_J1212.0-2326_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/402259/ltcube_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.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/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits
.....................!
real 12.94
user 12.49
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/402259/ft1_filtered_4FGL_J1212.0-2326_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/402259/ltcube_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.fits outfile=/scratch/kocevski/402259/expmap_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.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/402259/ltcube_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.fits
.....................!
real 193.54
user 187.68
sys 5.46

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 J1212.0-2326 @ 183.001 -23.4494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/402259/ft1_filtered_4FGL_J1212.0-2326_daily_bin19.fits scfile=/scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits outfile=/scratch/kocevski/402259/cmap_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.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=183.001 yref=-23.4494 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/402259/ft1_filtered_4FGL_J1212.0-2326_daily_bin19.fits scfile=/scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits outfile=/scratch/kocevski/402259/cmap_HighResolution_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.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=183.001 yref=-23.4494 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/402259/ft1_filtered_4FGL_J1212.0-2326_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/402259/Model_4FGL_J1212.0-2326_daily_bin19.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/402259/ft1_filtered_4FGL_J1212.0-2326_daily_bin19.fits.....................!
real 76.99
user 75.37
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/402259/ft1_filtered_4FGL_J1212.0-2326_daily_bin19.fits', '/scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits', expMap='/scratch/kocevski/402259/expmap_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.fits', expCube='/scratch/kocevski/402259/ltcube_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/402259/Model_4FGL_J1212.0-2326_daily_bin19.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1212.0-2326'

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.799e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/402259/ft1_filtered_4FGL_J1212.0-2326_daily_bin19.fits
Spacecraft file(s): /scratch/kocevski/402259/ft2_4FGL_J1212.0-2326_daily_bin19.fits
Exposure map: /scratch/kocevski/402259/expmap_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.fits
Exposure cube: /scratch/kocevski/402259/ltcube_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/402259/Model_4FGL_J1212.0-2326_daily_bin19.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) = 9074.82668373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    69.721       1.0000         .10000E-03   10000.    
     3 'norm      '    3.1602       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15432E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    23.269       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.025       1.0000         .10000E-03   10000.    
     9 'norm      '    .10707E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6822       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    39.705       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.539       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.2260       1.0000         .10000E-03   10000.    
    20 'Prefactor '    73.288       1.0000         .10000E-03   10000.    
    21 'norm      '    .12044E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10773E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.9231       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73285       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9074.814     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     2699 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.7999       -.11687E-06** at limit **
   2  Prefactor     69.726        43.206        .32661E-07    .22472E-04
   3  norm          3.1603        1.3372       -.71610E-09    .14329E-06
   4  Prefactor     .10000E-03    139.21        .95346E-06** at limit **
   5  Prefactor     .10000E-03    5.3652        .16663E-06** at limit **
   6  Prefactor     .10000E-03    9.5582        .13076E-07** at limit **
   7  norm          23.268        26.558        .14073E-07   -.32608E-05
   8  Prefactor     26.033        15.506       -.20883E-06   -.16980E-04
   9  norm          .10000E-03    3.6038       -.25421E-07** at limit **
  10  Prefactor     8.6876        6.3283        .16619E-05   -.27880E-03
  11  Prefactor     .10000E-03    45.105       -.28102E-07** at limit **
  12  Prefactor     39.651        39.905       -.26608E-05   -.17086E-03
  13  Prefactor     .10000E-03    8.5427       -.10296E-06** at limit **
  14  Prefactor     .10000E-03    33.769       -.15265E-06** at limit **
  15  Prefactor     .10000E-03    6.4730       -.43987E-07** at limit **
  16  Prefactor     .10000E-03    2.8491        .40087E-07** at limit **
  17  Prefactor     11.538        2.8773       -.43736E-08    .81892E-05
  18  Prefactor     .10000E-03    2.8792        .13412E-07** at limit **
  19  norm          2.2263        1.1211        .25708E-07   -.37593E-04
  20  Prefactor     73.289        58.378        .13838E-07    .21188E-05
  21  norm          .10000E-03    3.7272        .10493E-06** at limit **
  22  Prefactor     .10000E-03    3.9331        .66584E-07** at limit **
  23  Normalizat    1.9228        .23251        .27548E-06   -.37357E-04
  24  Prefactor     .73298        .11105       -.24768E-06   -.54457E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 69.7261
  norm       = 3.16027
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.2678
  Prefactor  = 26.0334
  norm       = 0.0001
  Prefactor  = 8.68763
  Prefactor  = 0.0001
  Prefactor  = 39.6508
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.5382
  Prefactor  = 0.0001
  norm       = 2.22627
  Prefactor  = 73.2889
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.92278
  Prefactor  = 0.732984
 **********
 **   18 **HESSE 
 **********

 FCN=   9074.814     FROM HESSE     STATUS=OK           387 CALLS     3086 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     69.726        43.230        .48074E-04   -1.4036    
   3  norm          3.1603        1.3378        .69202E-04   -1.5352    
   4  Prefactor     .10000E-03    142.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.5352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.5637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          23.268        26.601        .83038E-04   -1.4743    
   8  Prefactor     26.033        15.489        .78526E-04   -1.4687    
   9  norm          .10000E-03    3.6500        .17553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.6876        6.3460        .68019E-03   -1.5118    
  11  Prefactor     .10000E-03    45.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     39.651        40.777        .63612E-04   -1.4448    
  13  Prefactor     .10000E-03    8.5604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    33.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.4948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.8729        .15692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.538        2.8760        .78437E-04   -1.5028    
  18  Prefactor     .10000E-03    2.8818        .15786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.2263        1.1158        .68263E-04   -1.5410    
  20  Prefactor     73.289        58.261        .46898E-04   -1.3994    
  21  norm          .10000E-03    3.8009        .17924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.1111        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.9228        .27612        .31147E-03   -.66500    
  24  Prefactor     .73298        .13129        .22708E-03   -1.0225    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19754e-10
Minuit parameter uncertainties:
  1  3.50006e-05
  2  43.2495
  3  1.33781
  4  0.000311632
  5  8.32744e-06
  6  4.09515e-06
  7  26.615
  8  15.4909
  9  6.13852e-07
  10  6.34652
  11  6.4427e-07
  12  40.8061
  13  1.65814e-05
  14  2.38781e-05
  15  2.73075e-05
  16  1.43174e-07
  17  2.87606
  18  7.50454e-07
  19  1.11581
  20  58.3066
  21  1.00676e-06
  22  3.26187e-06
  23  0.276351
  24  0.131341
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.658e-05  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  7.330e-01  1.313e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.923e+00  2.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 183.001 -23.449
Photon Flux Upper Limit: 5.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/402259/likelihoodResults_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.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) = 9074.81462586
delta logL = -0.000556080207389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9074.81406995
delta logL = -1.66126483236e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9074.814     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.8885        .90712E-02** at limit **
   2  Index         1.8601        7.4826        .50000        .15627E-04
   3  Normalizat    1.9228        .33726E-02    .70416E-01    .22960E-04
   4  Prefactor     .73298        .16303E-02    .42838E-01    .55369E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.86006
  Normalizat = 1.92278
  Prefactor  = 0.732984
 **********
 **   18 **HESSE 
 **********

 FCN=   9074.814     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      234 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8601        8.9186        .50000       -.67896    
   3  Normalizat    1.9228        .13290E-01    .31147E-03   -.66500    
   4  Prefactor     .73298        .64254E-02    .22708E-03   -1.0225    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.96754e-07
Minuit parameter uncertainties:
  1  0.000258616
  2  139.298
  3  0.0132896
  4  0.00642542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/402259': 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) = 9074.81406962
delta logL = 1.58594048116e-07

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  2.586e-04  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.860e+00  1.393e+02  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  7.330e-01  6.425e-03  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.923e+00  1.329e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 183.001 -23.449

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/402259/cmap_HighResolution_244252801_244512001_4FGL_J1212.0-2326_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.16e-08', time_completed='2021-09-05 03:50:40.799627', job_id='402259', GAL2='0.73', fit_tolerance='1e-08', EG2='1.92', EG='1.92', time_epoch_completed='1630839040.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='19' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 03:50:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 402259: <4FGL_J1212.0-2326_daily_bin19> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin19> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 03:35:58 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:36:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 03:36:00 2021
Terminated at Sun Sep  5 03:50:41 2021
Results reported at Sun Sep  5 03:50:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin19 183.001 -23.4494 244252801 244512001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1212.0-2326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   859.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

