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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin248
RA = 183.001, Dec = -23.4494
tmin = 303609601, tmax = 303868801
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='403812', job_status='RUN', time_executed='2021-09-05 03:43:35.375908', time_epoch_executed='1630838615.38' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='248'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/403812

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/403812/ft1_4FGL_J1212.0-2326_daily_bin248.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/403812/ft2_4FGL_J1212.0-2326_daily_bin248.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/403812/ft1_4FGL_J1212.0-2326_daily_bin248.fits outfile=/scratch/kocevski/403812/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin248.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=303609601.0 tmax=303868801.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.27
user 3.18
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/403812/ft2_4FGL_J1212.0-2326_daily_bin248.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/403812/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin248.fits evtable="EVENTS" outfile="/scratch/kocevski/403812/ft1_filtered_4FGL_J1212.0-2326_daily_bin248.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.62
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/403812/ft1_filtered_4FGL_J1212.0-2326_daily_bin248.fits" evtable="EVENTS" scfile=/scratch/kocevski/403812/ft2_4FGL_J1212.0-2326_daily_bin248.fits sctable="SC_DATA" outfile=/scratch/kocevski/403812/ltcube_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.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/403812/ft2_4FGL_J1212.0-2326_daily_bin248.fits
.....................!
real 12.10
user 11.71
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/403812/ft1_filtered_4FGL_J1212.0-2326_daily_bin248.fits evtable="EVENTS" scfile=/scratch/kocevski/403812/ft2_4FGL_J1212.0-2326_daily_bin248.fits sctable="SC_DATA" expcube=/scratch/kocevski/403812/ltcube_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.fits outfile=/scratch/kocevski/403812/expmap_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.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/403812/ltcube_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.fits
.....................!
real 189.85
user 185.01
sys 4.33

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/403812/ft1_filtered_4FGL_J1212.0-2326_daily_bin248.fits scfile=/scratch/kocevski/403812/ft2_4FGL_J1212.0-2326_daily_bin248.fits outfile=/scratch/kocevski/403812/cmap_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/403812/ft1_filtered_4FGL_J1212.0-2326_daily_bin248.fits scfile=/scratch/kocevski/403812/ft2_4FGL_J1212.0-2326_daily_bin248.fits outfile=/scratch/kocevski/403812/cmap_HighResolution_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.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.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/403812/ft1_filtered_4FGL_J1212.0-2326_daily_bin248.fits evtable="EVENTS" scfile=/scratch/kocevski/403812/ft2_4FGL_J1212.0-2326_daily_bin248.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/403812/Model_4FGL_J1212.0-2326_daily_bin248.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/403812/ft1_filtered_4FGL_J1212.0-2326_daily_bin248.fits.....................!
real 65.02
user 62.55
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/403812/ft1_filtered_4FGL_J1212.0-2326_daily_bin248.fits', '/scratch/kocevski/403812/ft2_4FGL_J1212.0-2326_daily_bin248.fits', expMap='/scratch/kocevski/403812/expmap_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.fits', expCube='/scratch/kocevski/403812/ltcube_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/403812/Model_4FGL_J1212.0-2326_daily_bin248.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/403812/ft1_filtered_4FGL_J1212.0-2326_daily_bin248.fits
Spacecraft file(s): /scratch/kocevski/403812/ft2_4FGL_J1212.0-2326_daily_bin248.fits
Exposure map: /scratch/kocevski/403812/expmap_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.fits
Exposure cube: /scratch/kocevski/403812/ltcube_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/403812/Model_4FGL_J1212.0-2326_daily_bin248.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) = 7437.27723083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.5634       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11436E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    20.548       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.6862       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.4626       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.3821       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.7944       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.5504       1.0000         .10000E-03   10000.    
    19 'norm      '    1.6870       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    14.257       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1872       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94810       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=   7437.244     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2294 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0476        .46081E-07** at limit **
   2  Prefactor     .10000E-03    12.666        .44412E-05** at limit **
   3  norm          3.5633        1.6555       -.43891E-07   -.17110E-03
   4  Prefactor     .10000E-03    28.373       -.50105E-05** at limit **
   5  Prefactor     .10000E-03    3.7004        .45651E-07** at limit **
   6  Prefactor     .10000E-03    67.488       -.51909E-05** at limit **
   7  norm          .10000E-03    8.2936       -.14324E-05** at limit **
   8  Prefactor     .10000E-03    8.3268        .13207E-05** at limit **
   9  norm          20.548        7.0452       -.11173E-06   -.80069E-04
  10  Prefactor     6.6870        6.5237       -.28475E-06   -.34998E-04
  11  Prefactor     .10000E-03    26.463        .68653E-05** at limit **
  12  Prefactor     .10000E-03    31.828       -.11678E-04** at limit **
  13  Prefactor     .10000E-03    12.459       -.47422E-05** at limit **
  14  Prefactor     .10000E-03    39.073        .43707E-05** at limit **
  15  Prefactor     9.4395        23.289       -.10265E-04    .47562E-06
  16  Prefactor     4.3820        5.4813        .17608E-05   -.23363E-03
  17  Prefactor     6.7945        2.7422       -.29946E-06    .44049E-05
  18  Prefactor     8.5502        12.657       -.34062E-06   -.42371E-04
  19  norm          1.6871        1.0389       -.27481E-07   -.25307E-03
  20  Prefactor     .10000E-03    40.823        .98119E-05** at limit **
  21  norm          14.258        6.9450        .91391E-07   -.85695E-04
  22  Prefactor     .10000E-03    2.5009       -.17217E-07** at limit **
  23  Normalizat    1.1874        .23257        .41900E-06    .47379E-04
  24  Prefactor     .94801        .11459        .49291E-06    .49714E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.56329
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 20.548
  Prefactor  = 6.68699
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.43952
  Prefactor  = 4.38199
  Prefactor  = 6.79454
  Prefactor  = 8.55021
  norm       = 1.6871
  Prefactor  = 0.0001
  norm       = 14.2575
  Prefactor  = 0.0001
  Normalizat = 1.18738
  Prefactor  = 0.948015
 **********
 **   18 **HESSE 
 **********

 FCN=   7437.244     FROM HESSE     STATUS=OK           395 CALLS     2689 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0488        .14703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.5633        1.6575        .72749E-04   -1.5330    
   4  Prefactor     .10000E-03    28.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.7785        .16191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    68.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.3070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.3365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          20.548        7.0518        .88360E-04   -1.4801    
  10  Prefactor     6.6870        6.5172        .15518E-03   -1.5191    
  11  Prefactor     .10000E-03    26.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    39.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.4395        23.380        .13028E-03   -1.5093    
  16  Prefactor     4.3820        5.4402        .19240E-03   -1.5289    
  17  Prefactor     6.7945        2.7426        .84946E-04   -1.5187    
  18  Prefactor     8.5502        12.660        .13709E-03   -1.5123    
  19  norm          1.6871        1.0347        .66131E-04   -1.5448    
  20  Prefactor     .10000E-03    40.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          14.258        6.9346        .10608E-03   -1.4953    
  22  Prefactor     .10000E-03    2.5066        .13301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1874        .27236        .34839E-03   -.86994    
  24  Prefactor     .94801        .13479        .19190E-03   -.94483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.44236e-11
Minuit parameter uncertainties:
  1  7.17513e-07
  2  8.83085e-07
  3  1.65748
  4  6.08395e-06
  5  1.538e-06
  6  6.85392e-05
  7  9.09624e-07
  8  2.57262e-06
  9  7.05205
  10  6.51793
  11  1.92561e-06
  12  0.000139066
  13  2.87791e-06
  14  1.00173e-05
  15  23.4023
  16  5.44078
  17  2.7427
  18  12.6642
  19  1.03474
  20  1.92348e-05
  21  6.93494
  22  2.68621e-06
  23  0.272681
  24  0.134839
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  2.878e-06  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:  9.480e-01  1.348e-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.187e+00  2.727e-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: 6.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/403812/likelihoodResults_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.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) = 7437.24472341
delta logL = -0.000381581612601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7437.24434559
delta logL = -3.76012212655e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9048       1.0000          .0000       10.000    
     3 'Normalizat'    1.1873       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94785       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=   7437.244     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      209 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.860        .90712E-02** at limit **
   2  Index         1.9124        5.9799        .50000       -.51878E-05
   3  Normalizat    1.1874        .13446E-01    .78705E-01    .10931E-04
   4  Prefactor     .94802        .67394E-02    .45612E-01   -.88342E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.91239
  Normalizat = 1.18738
  Prefactor  = 0.948015
 **********
 **   18 **HESSE 
 **********

 FCN=   7437.244     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      242 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    680.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9124        5.8600        .50000       -.66559    
   3  Normalizat    1.1874        .47306E-01    .34839E-03   -.86994    
   4  Prefactor     .94802        .23744E-01    .19190E-03   -.94483    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.92043e-09
Minuit parameter uncertainties:
  1  0.000127836
  2  29.365
  3  0.0473073
  4  0.0237447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/403812': 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) = 7437.24434181
delta logL = 1.81908035302e-08

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.278e-04  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.912e+00  2.936e+01  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:  9.480e-01  2.374e-02  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.187e+00  4.731e-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/403812/cmap_HighResolution_303609601_303868801_4FGL_J1212.0-2326_daily_bin248.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.93e-03', job_status='DONE', photon_flux_upper_limit='6.63e-08', time_completed='2021-09-05 03:55:30.355070', job_id='403812', GAL2='0.95', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630839330.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.82e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='248' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 03:55:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 403812: <4FGL_J1212.0-2326_daily_bin248> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin248> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep  5 03:40:47 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:40:48 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:40:48 2021
Terminated at Sun Sep  5 03:55:33 2021
Results reported at Sun Sep  5 03:55:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin248 183.001 -23.4494 303609601 303868801 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 :                                   708.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            886 sec.

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

