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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1505
RA = 183.001, Dec = -23.4494
tmin = 629424001, tmax = 629683201
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='410589', job_status='RUN', time_executed='2021-09-05 04:01:48.892201', time_epoch_executed='1630839708.89' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1505'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410589

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410589/ft1_4FGL_J1212.0-2326_daily_bin1505.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410589/ft2_4FGL_J1212.0-2326_daily_bin1505.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410589/ft1_4FGL_J1212.0-2326_daily_bin1505.fits outfile=/scratch/kocevski/410589/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1505.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=629424001.0 tmax=629683201.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 3.51
user 3.29
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410589/ft1_filtered_4FGL_J1212.0-2326_daily_bin1505.fits" evtable="EVENTS" scfile=/scratch/kocevski/410589/ft2_4FGL_J1212.0-2326_daily_bin1505.fits sctable="SC_DATA" outfile=/scratch/kocevski/410589/ltcube_629424001_629683201_4FGL_J1212.0-2326_daily_bin1505.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/410589/ft2_4FGL_J1212.0-2326_daily_bin1505.fits
.....................!
real 11.83
user 11.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410589/ft1_filtered_4FGL_J1212.0-2326_daily_bin1505.fits evtable="EVENTS" scfile=/scratch/kocevski/410589/ft2_4FGL_J1212.0-2326_daily_bin1505.fits sctable="SC_DATA" expcube=/scratch/kocevski/410589/ltcube_629424001_629683201_4FGL_J1212.0-2326_daily_bin1505.fits outfile=/scratch/kocevski/410589/expmap_629424001_629683201_4FGL_J1212.0-2326_daily_bin1505.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/410589/ltcube_629424001_629683201_4FGL_J1212.0-2326_daily_bin1505.fits
.....................!
real 191.77
user 185.41
sys 5.29

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/410589/ft1_filtered_4FGL_J1212.0-2326_daily_bin1505.fits scfile=/scratch/kocevski/410589/ft2_4FGL_J1212.0-2326_daily_bin1505.fits outfile=/scratch/kocevski/410589/cmap_629424001_629683201_4FGL_J1212.0-2326_daily_bin1505.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410589/ft1_filtered_4FGL_J1212.0-2326_daily_bin1505.fits scfile=/scratch/kocevski/410589/ft2_4FGL_J1212.0-2326_daily_bin1505.fits outfile=/scratch/kocevski/410589/cmap_HighResolution_629424001_629683201_4FGL_J1212.0-2326_daily_bin1505.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410589/ft1_filtered_4FGL_J1212.0-2326_daily_bin1505.fits evtable="EVENTS" scfile=/scratch/kocevski/410589/ft2_4FGL_J1212.0-2326_daily_bin1505.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410589/Model_4FGL_J1212.0-2326_daily_bin1505.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/410589/ft1_filtered_4FGL_J1212.0-2326_daily_bin1505.fits.....................!
real 70.85
user 69.16
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9524       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8971       1.0000         .10000E-03   10000.    
     3 'norm      '    2.1500       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.849       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9076       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.5464       1.0000         .10000E-03   10000.    
     8 'Prefactor '    70.125       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9273       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11037E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.629       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 '    12.819       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3662       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.4679       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9292       1.0000         .10000E-03   10000.    
    19 'norm      '    6.9762       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    8.1252       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11228E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3724       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92688       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=   8281.374     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2723 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9519        9.6425        .30266E-05   -.21572E-03
   2  Prefactor     8.8637        85.000       -.10252E-04   -.73564E-04
   3  norm          2.1503        1.5420        .12133E-06    .83296E-04
   4  Prefactor     39.844        52.915       -.57912E-06   -.20917E-04
   5  Prefactor     1.9078        3.2715        .19280E-06   -.49781E-04
   6  Prefactor     .10000E-03    17.888        .68162E-07** at limit **
   7  norm          2.5411        30.951        .87028E-06   -.89532E-05
   8  Prefactor     70.128        22.380       -.35853E-06    .28896E-05
   9  norm          1.9268        4.6038        .92317E-06   -.73249E-04
  10  Prefactor     .10000E-03    4.1467       -.11193E-06** at limit **
  11  Prefactor     .10000E-03    17.999        .29155E-07** at limit **
  12  Prefactor     51.622        35.422       -.47324E-06   -.51879E-04
  13  Prefactor     .10000E-03    6.7469        .21303E-07** at limit **
  14  Prefactor     .10000E-03    19.457       -.34430E-07** at limit **
  15  Prefactor     12.815        22.871       -.58865E-07   -.14918E-04
  16  Prefactor     6.3661        6.1568        .42342E-07   -.20219E-04
  17  Prefactor     5.4679        2.4795       -.59701E-08    .35314E-05
  18  Prefactor     5.9287        14.004        .21182E-06   -.49757E-05
  19  norm          6.9763        1.5672        .73063E-08    .88088E-04
  20  Prefactor     .10000E-03    60.966        .49820E-08** at limit **
  21  norm          8.1288        7.0744        .15315E-06    .48452E-04
  22  Prefactor     .10000E-03    3.9154       -.27855E-06** at limit **
  23  Normalizat    1.3723        .24486        .55937E-06   -.23107E-04
  24  Prefactor     .92693        .11893       -.41602E-06    .69741E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.95192
  Prefactor  = 8.86369
  norm       = 2.1503
  Prefactor  = 39.8444
  Prefactor  = 1.90782
  Prefactor  = 0.0001
  norm       = 2.54109
  Prefactor  = 70.1278
  norm       = 1.92677
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.6221
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8155
  Prefactor  = 6.36611
  Prefactor  = 5.46787
  Prefactor  = 5.92866
  norm       = 6.97625
  Prefactor  = 0.0001
  norm       = 8.12884
  Prefactor  = 0.0001
  Normalizat = 1.37234
  Prefactor  = 0.926929
 **********
 **   18 **HESSE 
 **********

 FCN=   8281.374     FROM HESSE     STATUS=OK           403 CALLS     3126 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9519        9.8284        .82294E-03   -1.5220    
   2  Prefactor     8.8637        94.987        .13438E-03   -1.5112    
   3  norm          2.1503        1.5379        .88625E-04   -1.5415    
   4  Prefactor     39.844        53.069        .63497E-04   -1.4445    
   5  Prefactor     1.9078        3.2448        .20874E-03   -1.5432    
   6  Prefactor     .10000E-03    17.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.5411        31.216        .25589E-03   -1.5389    
   8  Prefactor     70.128        22.114        .47936E-04   -1.4031    
   9  norm          1.9268        4.5334        .25460E-03   -1.5430    
  10  Prefactor     .10000E-03    4.1998        .18041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     51.622        35.450        .55816E-04   -1.4270    
  13  Prefactor     .10000E-03    6.7503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.815        22.878        .11188E-03   -1.4992    
  16  Prefactor     6.3661        6.1614        .15908E-03   -1.5203    
  17  Prefactor     5.4679        2.4809        .90836E-04   -1.5240    
  18  Prefactor     5.9287        14.006        .16491E-03   -1.5221    
  19  norm          6.9763        1.5662        .51704E-04   -1.5180    
  20  Prefactor     .10000E-03    61.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          8.1288        6.5655        .14065E-03   -1.5138    
  22  Prefactor     .10000E-03    8.7206        .32232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3723        .28839        .35585E-03   -.81432    
  24  Prefactor     .92693        .14016        .20845E-03   -.95206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50888e-10
Minuit parameter uncertainties:
  1  9.83104
  2  58.1502
  3  1.53798
  4  53.1324
  5  3.24512
  6  3.62129e-06
  7  17.8239
  8  22.1164
  9  4.53423
  10  8.11673e-06
  11  4.72852e-07
  12  35.4643
  13  8.07495e-07
  14  7.46035e-06
  15  22.8934
  16  6.16197
  17  2.48096
  18  14.0142
  19  1.56624
  20  2.04548e-05
  21  6.56605
  22  8.32846e-05
  23  0.288735
  24  0.140216
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  8.075e-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:  9.269e-01  1.402e-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.372e+00  2.887e-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: 4.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410589/likelihoodResults_629424001_629683201_4FGL_J1212.0-2326_daily_bin1505.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) = 8281.37512025
delta logL = -0.000703748753949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8281.37441945
delta logL = -2.94856363325e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11131E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8671       1.0000          .0000       10.000    
     3 'Normalizat'    1.3722       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92685       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=   8281.374     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.934        .90712E-02** at limit **
   2  Index         1.8362        7.7620        .50000        .31920E-04
   3  Normalizat    1.3723        .18231E-01    .80390E-01    .39889E-04
   4  Prefactor     .92693        .90385E-02    .45346E-01    .54194E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.8362
  Normalizat = 1.37235
  Prefactor  = 0.926928
 **********
 **   18 **HESSE 
 **********

 FCN=   8281.374     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1632.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8362        7.5927        .50000       -.68511    
   3  Normalizat    1.3723        .21142        .35585E-03   -.81432    
   4  Prefactor     .92693        .10497        .20845E-03   -.95206    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.76349e-07
Minuit parameter uncertainties:
  1  0.00106326
  2  59.7761
  3  0.21155
  4  0.104992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410589': 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) = 8281.37441597
delta logL = 5.38184394827e-07

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.063e-03  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.836e+00  5.978e+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.269e-01  1.050e-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.372e+00  2.116e-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/410589/cmap_HighResolution_629424001_629683201_4FGL_J1212.0-2326_daily_bin1505.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.83e-08', time_completed='2021-09-05 04:16:09.830412', job_id='410589', GAL2='0.93', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1630840569.83', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.38e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1505' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:16:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 410589: <4FGL_J1212.0-2326_daily_bin1505> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1505> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 04:01:10 2021
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:01:11 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:11 2021
Terminated at Sun Sep  5 04:16:10 2021
Results reported at Sun Sep  5 04:16:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1505 183.001 -23.4494 629424001 629683201 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 :                                   807.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             320.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            900 sec.

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

