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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1494
RA = 183.001, Dec = -23.4494
tmin = 626572801, tmax = 626832001
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='410573', job_status='RUN', time_executed='2021-09-05 04:02:39.530000', time_epoch_executed='1630839759.53' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1494'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410573

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410573/ft1_4FGL_J1212.0-2326_daily_bin1494.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410573/ft2_4FGL_J1212.0-2326_daily_bin1494.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410573/ft1_4FGL_J1212.0-2326_daily_bin1494.fits outfile=/scratch/kocevski/410573/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1494.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=626572801.0 tmax=626832001.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.96
user 2.76
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/410573/ft2_4FGL_J1212.0-2326_daily_bin1494.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/410573/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1494.fits evtable="EVENTS" outfile="/scratch/kocevski/410573/ft1_filtered_4FGL_J1212.0-2326_daily_bin1494.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.64
user 0.34
sys 0.30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410573/ft1_filtered_4FGL_J1212.0-2326_daily_bin1494.fits" evtable="EVENTS" scfile=/scratch/kocevski/410573/ft2_4FGL_J1212.0-2326_daily_bin1494.fits sctable="SC_DATA" outfile=/scratch/kocevski/410573/ltcube_626572801_626832001_4FGL_J1212.0-2326_daily_bin1494.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/410573/ft2_4FGL_J1212.0-2326_daily_bin1494.fits
.....................!
real 12.77
user 12.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410573/ft1_filtered_4FGL_J1212.0-2326_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/410573/ft2_4FGL_J1212.0-2326_daily_bin1494.fits sctable="SC_DATA" expcube=/scratch/kocevski/410573/ltcube_626572801_626832001_4FGL_J1212.0-2326_daily_bin1494.fits outfile=/scratch/kocevski/410573/expmap_626572801_626832001_4FGL_J1212.0-2326_daily_bin1494.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/410573/ltcube_626572801_626832001_4FGL_J1212.0-2326_daily_bin1494.fits
.....................!
real 190.93
user 185.75
sys 4.82

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/410573/ft1_filtered_4FGL_J1212.0-2326_daily_bin1494.fits scfile=/scratch/kocevski/410573/ft2_4FGL_J1212.0-2326_daily_bin1494.fits outfile=/scratch/kocevski/410573/cmap_626572801_626832001_4FGL_J1212.0-2326_daily_bin1494.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410573/ft1_filtered_4FGL_J1212.0-2326_daily_bin1494.fits scfile=/scratch/kocevski/410573/ft2_4FGL_J1212.0-2326_daily_bin1494.fits outfile=/scratch/kocevski/410573/cmap_HighResolution_626572801_626832001_4FGL_J1212.0-2326_daily_bin1494.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/410573/ft1_filtered_4FGL_J1212.0-2326_daily_bin1494.fits evtable="EVENTS" scfile=/scratch/kocevski/410573/ft2_4FGL_J1212.0-2326_daily_bin1494.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410573/Model_4FGL_J1212.0-2326_daily_bin1494.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/410573/ft1_filtered_4FGL_J1212.0-2326_daily_bin1494.fits.....................!
real 62.40
user 61.04
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26534       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.0621       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3475       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8691       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7195       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.092       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1499       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.0571       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.7960       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    8.7349       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.8153       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .77091       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=   7056.405     FROM MIGRAD    STATUS=CONVERGED    577 CALLS     2751 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18806        11.526        .18458E-05   -.21847E-03
   2  Prefactor     .10000E-03    17.882       -.37342E-06** at limit **
   3  norm          .10000E-03    .39331        .61801E-08** at limit **
   4  Prefactor     .10000E-03    29.584        .14404E-07** at limit **
   5  Prefactor     7.0622        6.3306       -.50245E-09    .27996E-04
   6  Prefactor     .10000E-03    18.930        .41540E-06** at limit **
   7  norm          .10000E-03    8.5398       -.97632E-08** at limit **
   8  Prefactor     2.3385        30.631        .11008E-04    .42802E-06
   9  norm          1.8697        4.0077       -.97672E-06   -.18324E-04
  10  Prefactor     2.7343        9.1797       -.21774E-05   -.26672E-03
  11  Prefactor     .10000E-03    76.540        .14938E-05** at limit **
  12  Prefactor     30.015        42.115        .34719E-05   -.29362E-04
  13  Prefactor     .10000E-03    9.7406        .25702E-07** at limit **
  14  Prefactor     .10000E-03    99.046       -.82444E-06** at limit **
  15  Prefactor     2.1244        65.372       -.91938E-06   -.59345E-05
  16  Prefactor     .10000E-03    2.6227        .22061E-08** at limit **
  17  Prefactor     4.0570        1.8128        .11602E-08   -.14543E-05
  18  Prefactor     .10000E-03    15.993        .86509E-07** at limit **
  19  norm          7.7958        2.0348        .18526E-07    .75184E-04
  20  Prefactor     .10000E-03    56.254       -.58448E-06** at limit **
  21  norm          8.7361        7.3656        .12899E-06   -.94042E-05
  22  Prefactor     .10000E-03    3.3847       -.71477E-07** at limit **
  23  Normalizat    1.8153        .25574       -.49141E-06    .47668E-04
  24  Prefactor     .77097        .12338       -.60917E-07   -.13350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.188055
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.06219
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.3385
  norm       = 1.86971
  Prefactor  = 2.73426
  Prefactor  = 0.000100002
  Prefactor  = 30.015
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.12442
  Prefactor  = 0.0001
  Prefactor  = 4.05696
  Prefactor  = 0.0001
  norm       = 7.79584
  Prefactor  = 0.0001
  norm       = 8.73606
  Prefactor  = 0.0001
  Normalizat = 1.8153
  Prefactor  = 0.770966
 **********
 **   18 **HESSE 
 **********

 FCN=   7056.405     FROM HESSE     STATUS=OK           403 CALLS     3154 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18806        15.794        .78271E-01   -1.5621    
   2  Prefactor     .10000E-03    17.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .40346        .10284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.0622        6.3260        .15095E-03   -1.5176    
   6  Prefactor     .10000E-03    18.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.5519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3385        31.064        .13378E-02   -1.5402    
   9  norm          1.8697        3.9899        .21486E-03   -1.5434    
  10  Prefactor     2.7343        9.1792        .24696E-03   -1.5377    
  11  Prefactor     .10000E-03    76.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.015        42.155        .73038E-04   -1.4612    
  13  Prefactor     .10000E-03    9.7522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    101.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1244        65.522        .28102E-03   -1.5416    
  16  Prefactor     .10000E-03    2.6434        .13282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.0570        1.8143        .73712E-04   -1.5305    
  18  Prefactor     .10000E-03    16.114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.7958        2.0348        .58564E-04   -1.5149    
  20  Prefactor     .10000E-03    56.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          8.7361        7.3578        .13562E-03   -1.5117    
  22  Prefactor     .10000E-03    3.3937        .15082E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.8153        .30536        .30768E-03   -.69265    
  24  Prefactor     .77097        .14641        .21853E-03   -1.0081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85425e-07
Minuit parameter uncertainties:
  1  3.4468
  2  7.48889e-05
  3  6.95565e-08
  4  1.67231e-08
  5  6.32657
  6  2.4807e-05
  7  8.28783e-07
  8  17.0567
  9  3.99043
  10  9.18388
  11  0.000774384
  12  42.1972
  13  7.77627e-07
  14  0.000814585
  15  23.6242
  16  1.94121e-07
  17  1.81429
  18  3.16073e-05
  19  2.03487
  20  0.000114681
  21  7.3586
  22  6.72746e-06
  23  0.305679
  24  0.146486
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  7.776e-07  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.710e-01  1.465e-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.815e+00  3.057e-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.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410573/likelihoodResults_626572801_626832001_4FGL_J1212.0-2326_daily_bin1494.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) = 7056.40510139
delta logL = -0.000487981880724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7056.40461469
delta logL = -1.28827105073e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12414E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8792       1.0000          .0000       10.000    
     3 'Normalizat'    1.8152       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77104       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=   7056.405     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      201 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    61.983        .90712E-02** at limit **
   2  Index         1.8606        6.6512        .50000        .13910E-04
   3  Normalizat    1.8153        .16167E-01    .69559E-01    .66232E-04
   4  Prefactor     .77097        .79709E-02    .43339E-01    .11284E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Index      = 1.86062
  Normalizat = 1.8153
  Prefactor  = 0.770966
 **********
 **   18 **HESSE 
 **********

 FCN=   7056.405     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    80.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8606        7.4793        .50000       -.67882    
   3  Normalizat    1.8153        .29262        .30768E-03   -.69265    
   4  Prefactor     .77097        .14438        .21853E-03   -1.0081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15409e-09
Minuit parameter uncertainties:
  1  0.00162641
  2  11.0331
  3  0.292907
  4  0.144448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410573': 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) = 7056.40461327
delta logL = 1.37766619446e-07

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.626e-03  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.861e+00  1.103e+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:  7.710e-01  1.444e-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.815e+00  2.929e-01  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/410573/cmap_HighResolution_626572801_626832001_4FGL_J1212.0-2326_daily_bin1494.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.95e-08', time_completed='2021-09-05 04:17:22.547354', job_id='410573', GAL2='0.77', fit_tolerance='1e-08', EG2='1.82', EG='1.82', time_epoch_completed='1630840642.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.38e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1494' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:17:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 410573: <4FGL_J1212.0-2326_daily_bin1494> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1494> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 04:01:09 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:01:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 04:01:10 2021
Terminated at Sun Sep  5 04:17:23 2021
Results reported at Sun Sep  5 04:17:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1494 183.001 -23.4494 626572801 626832001 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 :                                   732.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            974 sec.

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

