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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin730
RA = 333.226, Dec = -25.4335
tmin = 428544001, tmax = 428803201
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='222791', job_status='RUN', time_executed='2021-09-28 07:08:16.327867', time_epoch_executed='1632838096.33' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222791

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222791/ft1_4FGL_J2212.9-2526_daily_bin730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222791/ft1_4FGL_J2212.9-2526_daily_bin730.fits outfile=/scratch/kocevski/222791/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin730.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=428544001.0 tmax=428803201.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 6.40
user 6.00
sys 0.37

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.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/222791/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin730.fits evtable="EVENTS" outfile="/scratch/kocevski/222791/ft1_filtered_4FGL_J2212.9-2526_daily_bin730.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.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222791/ft1_filtered_4FGL_J2212.9-2526_daily_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/222791/ltcube_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.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/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits
.....................!
real 15.70
user 14.93
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222791/ft1_filtered_4FGL_J2212.9-2526_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/222791/ltcube_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.fits outfile=/scratch/kocevski/222791/expmap_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.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/222791/ltcube_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.fits
.....................!
real 192.22
user 186.40
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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/222791/ft1_filtered_4FGL_J2212.9-2526_daily_bin730.fits scfile=/scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits outfile=/scratch/kocevski/222791/cmap_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.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=333.226 yref=-25.4335 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222791/ft1_filtered_4FGL_J2212.9-2526_daily_bin730.fits scfile=/scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits outfile=/scratch/kocevski/222791/cmap_HighResolution_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.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=333.226 yref=-25.4335 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222791/ft1_filtered_4FGL_J2212.9-2526_daily_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222791/Model_4FGL_J2212.9-2526_daily_bin730.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/222791/ft1_filtered_4FGL_J2212.9-2526_daily_bin730.fits.....................!
real 43.43
user 42.10
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222791/ft1_filtered_4FGL_J2212.9-2526_daily_bin730.fits', '/scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits', expMap='/scratch/kocevski/222791/expmap_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.fits', expCube='/scratch/kocevski/222791/ltcube_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222791/Model_4FGL_J2212.9-2526_daily_bin730.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/222791/ft1_filtered_4FGL_J2212.9-2526_daily_bin730.fits
Spacecraft file(s): /scratch/kocevski/222791/ft2_4FGL_J2212.9-2526_daily_bin730.fits
Exposure map: /scratch/kocevski/222791/expmap_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.fits
Exposure cube: /scratch/kocevski/222791/ltcube_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222791/Model_4FGL_J2212.9-2526_daily_bin730.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) = 4303.79941594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.039       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.543       1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.517       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.174       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15972E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.9363       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2330       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.7971       1.0000         .10000E-03   10000.    
    15 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.087       1.0000         .10000E-03   10000.    
    17 'norm      '    .78973       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10258E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    33.930       1.0000         .10000E-03   10000.    
    20 'norm      '    .77597E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.2194       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11352E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .87013       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .52439       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1630       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4303.675     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     3118 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.7920        .12279E-07** at limit **
   2  Prefactor     13.038        9.0510        .57223E-07   -.10824E-04
   3  Prefactor     .10000E-03    13.227       -.58613E-06** at limit **
   4  norm          10.542        8.6525        .71204E-07   -.41857E-05
   5  Prefactor     40.528        32.661        .12434E-05    .13938E-03
   6  Prefactor     .10000E-03    8.4925        .57660E-07** at limit **
   7  Prefactor     .10000E-03    27.124        .37682E-06** at limit **
   8  norm          11.173        7.1083        .90622E-07   -.26107E-04
   9  Prefactor     .10000E-03    50.684       -.16733E-05** at limit **
  10  norm          1.9363        .56774       -.15713E-08    .71545E-05
  11  Prefactor     1.2292        14.268        .23719E-05   -.82541E-04
  12  Prefactor     .10000E-03    20.227       -.13872E-05** at limit **
  13  Prefactor     .10000E-03    6.0977       -.71587E-07** at limit **
  14  Prefactor     4.7988        181.97        .13564E-05    .20710E-05
  15  norm          .10000E-03    15.563        .58767E-06** at limit **
  16  Prefactor     48.090        26.868        .22243E-06    .30456E-04
  17  norm          .79089        3.0773        .13564E-05    .74722E-04
  18  Prefactor     .10000E-03    45.346        .20499E-05** at limit **
  19  Prefactor     33.930        23.281        .40088E-06    .87805E-04
  20  norm          .10001E-03    5.4564       -.14920E-05** at limit **
  21  Prefactor     6.1978        20.368        .25929E-06    .12574E-03
  22  Prefactor     .10000E-03    14.865       -.16979E-06** at limit **
  23  norm          .87056        .83919        .19770E-06    .10590E-02
  24  Prefactor     .10000E-03    4.3155       -.72824E-07** at limit **
  25  Normalizat    .52414        .27591       -.57941E-06    .48746E-04
  26  Prefactor     1.1632        .19369       -.36544E-06    .10963E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 13.0378
  Prefactor  = 0.0001
  norm       = 10.5418
  Prefactor  = 40.5282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.1734
  Prefactor  = 0.000100001
  norm       = 1.93634
  Prefactor  = 1.22922
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.79875
  norm       = 0.0001
  Prefactor  = 48.0902
  norm       = 0.790887
  Prefactor  = 0.000100001
  Prefactor  = 33.9304
  norm       = 0.000100013
  Prefactor  = 6.19778
  Prefactor  = 0.0001
  norm       = 0.870559
  Prefactor  = 0.0001
  Normalizat = 0.524139
  Prefactor  = 1.16323
 **********
 **   18 **HESSE 
 **********

 FCN=   4303.675     FROM HESSE     STATUS=OK           458 CALLS     3576 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.8020        .12475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.038        9.0593        .11093E-03   -1.4986    
   3  Prefactor     .10000E-03    13.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.542        8.6444        .12340E-03   -1.5058    
   5  Prefactor     40.528        33.257        .62973E-04   -1.4434    
   6  Prefactor     .10000E-03    8.5009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    27.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.173        7.1218        .11985E-03   -1.5039    
   9  Prefactor     .10000E-03    52.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9363        .57036        .24707E-04   -1.5430    
  11  Prefactor     1.2292        14.324        .40471E-03   -1.5486    
  12  Prefactor     .10000E-03    20.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.1147        .15816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.7988        181.76        .18369E-03   -1.5270    
  15  norm          .10000E-03    15.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     48.090        26.900        .57825E-04   -1.4320    
  17  norm          .79089        3.0666        .21632E-03   -1.5530    
  18  Prefactor     .10000E-03    45.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     33.930        23.366        .68795E-04   -1.4542    
  20  norm          .10001E-03    17.184        .25856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.1978        20.088        .16097E-03   -1.5210    
  22  Prefactor     .10000E-03    15.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .87056        .83536        .51970E-03   -1.5521    
  24  Prefactor     .10000E-03    4.3186        .13310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .52414        .30101        .37876E-03   -1.1131    
  26  Prefactor     1.1632        .21471        .20014E-03   -.87471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69081e-10
Minuit parameter uncertainties:
  1  2.72994e-06
  2  9.06026
  3  4.20087e-05
  4  8.64539
  5  33.272
  6  6.64773e-06
  7  5.96873e-05
  8  7.12231
  9  0.000461263
  10  0.570365
  11  8.39446
  12  0.000160403
  13  2.24141e-07
  14  59.2617
  15  6.18842e-05
  16  26.9065
  17  3.0672
  18  0.000334516
  19  23.3719
  20  0.000930182
  21  20.1101
  22  8.54268e-05
  23  0.835372
  24  1.38288e-06
  25  0.301953
  26  0.214873
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  1.604e-04  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.163e+00  2.149e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  5.241e-01  3.020e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 9.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222791/likelihoodResults_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.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) = 4303.6756376
delta logL = -0.000231636180615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4303.67540657
delta logL = -6.07185938861e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4303.675     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      251 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6051        .55783E-01** at limit **
   2  Index         3.1062        3.2331        .50000        .90937E-05
   3  Normalizat    .52414        .45057E-02    .85501E-01    .98501E-04
   4  Prefactor     1.1632        .34625E-02    .35564E-01    .85079E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 3.10623
  Normalizat = 0.524139
  Prefactor  = 1.16323
 **********
 **   18 **HESSE 
 **********

 FCN=   4303.675     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1770.8        .31491E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1062        8.4329        .50000       -.38845    
   3  Normalizat    .52414        .73845E-01    .37877E-03   -1.1131    
   4  Prefactor     1.1632        .56632E-01    .20014E-03   -.87471    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.71342e-11
Minuit parameter uncertainties:
  1  0.00316891
  2  49.5747
  3  0.0738584
  4  0.0566347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222791': 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) = 4303.67540653
delta logL = -5.71097189095e-07

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  3.169e-03  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  3.106e+00  4.957e+01  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.163e+00  5.663e-02  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  5.241e-01  7.386e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 333.226 -25.433

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/222791/cmap_HighResolution_428544001_428803201_4FGL_J2212.9-2526_daily_bin730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', job_status='DONE', photon_flux_upper_limit='9.85e-08', time_completed='2021-09-28 07:17:50.419502', job_id='222791', GAL2='1.16', fit_tolerance='1e-08', EG2='0.52', EG='0.52', time_epoch_completed='1632838670.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='-5.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='730' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:17:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 222791: <4FGL_J2212.9-2526_daily_bin730> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 07:05:31 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:05:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 07:05:33 2021
Terminated at Tue Sep 28 07:17:51 2021
Results reported at Tue Sep 28 07:17:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin730 333.226 -25.4335 428544001 428803201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   571.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            740 sec.

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

